{"remainingRequest":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\reform-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\reform-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\reform-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\reform-fvue\\src\\views\\MajorReformProjects\\MonthlyPlan\\MonthlyPlanConfirm.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\MajorReformProjects\\MonthlyPlan\\MonthlyPlanConfirm.vue","mtime":1741235516720},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es7.object.get-own-property-descriptors\";\nimport \"core-js/modules/es6.object.keys\";\nimport _defineProperty from \"D:/jenkins/workspace/reform-fvue/node_modules/@babel/runtime/helpers/esm/defineProperty\";\nimport \"core-js/modules/web.dom.iterable\";\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport pagination from '@/components/pagination';\nimport { TableMixin } from '@/mixins/tableMixin';\nimport apiList from '@/api/MajorReformProjects/MonthlyPlan';\nimport MonthlyPlanDialog from \"./components/MonthlyPlanDialog.vue\";\nimport moment from 'moment';\nvar portal = window.context.portal;\nexport default {\n name: 'MonthlyPlanConfirm',\n components: {\n pagination: pagination,\n MonthlyPlanDialog: MonthlyPlanDialog\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n markLoading: false,\n searchForm: {\n projectName: '',\n projectField: '',\n projectRunway: '',\n leader: '',\n status: 3,\n projectCategory: ''\n },\n // 顶部搜索对象\n tableMaxHeight: 400,\n tableLoading: false,\n params: {\n pageBean: {\n page: 1,\n pageSize: 20,\n showTotal: true\n },\n querys: [{\n group: 'main',\n operation: 'IN',\n parentGroup: '',\n property: 'a.status_',\n relation: 'AND',\n value: [5, 6, 7]\n }]\n },\n tableData: [],\n multipleSelection: [],\n operation: 'EQUAL',\n deleteIds: '',\n // 是否选中列表解锁删除按钮\n switchStatus: false\n };\n },\n created: function created() {\n this.getDataList(this.params);\n },\n methods: {\n // 撤回\n revokeReview: function revokeReview(row) {\n var _this = this;\n\n console.log(row);\n this.$confirm('确认执行撤销操作吗?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'error'\n }).then(function () {\n _this.markLoading = true;\n var data = {\n flowType: row.flowType,\n id: row.id,\n status: 5,\n approvalResults: 2\n };\n apiList.verify(data, function (res) {\n if (res.state) {\n _this.$message.success('撤销操作成功');\n\n _this.handleSearch();\n } else {\n _this.$message.success('撤销操作失败');\n }\n\n _this.markLoading = false;\n });\n });\n },\n reload: function reload() {\n this.getDataList(this.params);\n },\n // 分页查询数据\n getDataList: function getDataList(data) {\n var _this2 = this;\n\n this.tableLoading = true;\n apiList.queryPageFillList(data, 'true', function (res) {\n if (res) {\n console.log(res.rows);\n _this2.tableData = res.rows;\n _this2.params.pageBean = {\n page: res.page || 1,\n pageSize: res.pageSize || 20,\n total: res.total\n };\n }\n\n _this2.tableLoading = false;\n });\n },\n // 顶部搜索\n handleSearch: function handleSearch(page) {\n var _this$searchForm = this.searchForm,\n projectName = _this$searchForm.projectName,\n projectField = _this$searchForm.projectField,\n projectRunway = _this$searchForm.projectRunway,\n leader = _this$searchForm.leader,\n status = _this$searchForm.status,\n projectCategory = _this$searchForm.projectCategory;\n var data = [{\n group: 'main',\n operation: 'LIKE',\n property: 'projectName',\n relation: 'AND',\n value: projectName\n }, {\n group: 'main',\n operation: 'EQUAL',\n property: 'projectField',\n relation: 'AND',\n value: projectField\n }, {\n group: 'main',\n operation: 'EQUAL',\n property: 'projectRunway',\n relation: 'AND',\n value: projectRunway\n }, {\n group: 'main',\n operation: 'LIKE',\n property: 'leader',\n relation: 'AND',\n value: leader\n }, {\n group: 'main',\n operation: 'IN',\n parentGroup: '',\n property: 'a.status_',\n relation: 'AND',\n value: [5, 6, 7] //status\n\n }, {\n group: 'main',\n operation: 'LIKE',\n property: 'project_Category_',\n relation: 'AND',\n value: projectCategory\n }];\n this.params.querys = data;\n\n if (page) {\n this.params.pageBean.page = page - 0;\n }\n\n this.getDataList(this.params);\n },\n // 页面中swatch回调事件\n handleSwitch: function handleSwitch(bol) {\n this.switchStatus = bol;\n\n if (bol) {\n // 已办\n this.operation = 'IN';\n this.searchForm.status = [6, 7];\n } else {\n // 代办\n this.operation = 'EQUAL';\n this.searchForm.status = 5;\n }\n\n this.handleSearch();\n },\n // 详情\n handleDetils: function handleDetils(item) {\n this.$refs.MonthlyPlanDialog.openForm(item, '详情', 3, 'read');\n },\n // 审核\n handleAudits: function handleAudits(item) {\n this.$refs.MonthlyPlanDialog.openForm(item, '审核', 3, 'audit');\n },\n handleSelectionChange: function handleSelectionChange(currentData) {\n if (currentData.length === 0) return this.deleteIds = '';\n var ids = [];\n currentData.forEach(function (item) {\n ids.push(item.id);\n });\n this.deleteIds = ids.join(',');\n },\n handleCurrentChange: function handleCurrentChange(page) {\n this.params.pageBean = _objectSpread(_objectSpread({}, this.params.pageBean), {}, {\n page: page\n });\n this.getDataList(this.params);\n },\n handleSizeChange: function handleSizeChange(pageSize) {\n this.params.pageBean = _objectSpread(_objectSpread({}, this.params.pageBean), {}, {\n pageSize: pageSize\n });\n this.getDataList(this.params);\n }\n }\n};",null]}