{"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\\ProjectActionIteration\\components\\IterativeDialog.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\ProjectActionIteration\\components\\IterativeDialog.vue","mtime":1682514745564},{"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/web.dom.iterable\";\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 org from '@/api/org.js';\nimport utils from '@/utils.js';\nimport dictUtils from '@/components/dict/DictSelectUtils.js';\nimport measureIterationApplication from '@/api/projectActionIteration/measureIterationApplication.js';\nimport IterativeDialogDetails from \"./IterativeDialogDetails.vue\";\nexport default {\n name: 'IterativeDialog',\n components: {\n IterativeDialogDetails: IterativeDialogDetails\n },\n data: function data() {\n return {\n visible: false,\n title: '新增',\n loading: false,\n saveloading: false,\n cancelloading: false,\n tableData: [],\n queryParam: {\n pageBean: {\n page: 1,\n pageSize: -1\n }\n },\n parameter: {},\n params: {\n ids: [],\n status: null\n }\n };\n },\n created: function created() {\n console.log(dictUtils.getDictItemsFromCache('shzt'));\n },\n mounted: function mounted() {},\n methods: {\n getData: function getData(val, index) {\n console.log(val, index);\n\n if (index >= 0) {\n console.log(1);\n this.$set(this.parameter.pilotSpecificMeasuresList, index, val);\n } else {\n this.parameter.pilotSpecificMeasuresList.push(val);\n this.$set(this.parameter);\n }\n },\n getDictName: function getDictName(code, value) {\n return utils.getDictName(code, value);\n },\n //表格选中\n handleSelectionChange: function handleSelectionChange(val) {\n var _this = this;\n\n this.multipleSelection = [];\n this.$refs.multipleSelection.selection.forEach(function (item) {\n _this.multipleSelection.push(item.id);\n });\n },\n add: function add(val) {\n console.log(val);\n this.parameter = JSON.parse(JSON.stringify(val));\n this.title = '审核';\n this.visible = true;\n this.measureData();\n },\n //获取列表\n measureData: function measureData() {\n var _this2 = this;\n\n this.loading = true; // this.parameter.pilotSpecificMeasuresList = []\n\n this.queryParam.querys = [{\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'project_id_',\n relation: 'AND',\n value: this.parameter.id\n }, {\n group: 'statusGroup',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'status_',\n relation: 'AND',\n value: 3\n }];\n measureIterationApplication.auditQuery(this.queryParam, function (res) {\n if (res.rows) {\n _this2.$set(_this2.parameter, 'pilotSpecificMeasuresList', res.rows); // this.$nextTick(() => {\n // \tthis.parameter.pilotSpecificMeasuresList = res.rows\n // \t//\n // })\n\n }\n\n _this2.loading = false;\n });\n },\n // 关闭新增人员窗口\n handleClose: function handleClose() {\n this.visible = false;\n this.parameter = {};\n this.title = '';\n },\n //编辑\n handleDbClick: function handleDbClick(val) {\n this.$refs.IterativeDialogDetails.edit(val);\n },\n //驳回\n submit: function submit() {\n var _this3 = this;\n\n this.cancelloading = true;\n this.params.ids = [];\n this.parameter.pilotSpecificMeasuresList.forEach(function (e) {\n _this3.params.ids.push(e.pilotSpecificMeasures.id);\n });\n this.params.status = 4;\n\n if (this.params.ids.length <= 0) {\n this.$message.warning('暂无可驳回数据');\n this.cancelloading = false;\n return;\n }\n\n measureIterationApplication.auditSave(this.params, function (res) {\n if (res.state) {\n _this3.cancelloading = false;\n\n _this3.$message.success('驳回成功');\n\n _this3.handleClose();\n }\n });\n },\n // 通过\n handleSave: function handleSave() {\n var _this4 = this;\n\n this.saveloading = true;\n this.params.ids = [];\n this.parameter.pilotSpecificMeasuresList.forEach(function (e) {\n _this4.params.ids.push(e.pilotSpecificMeasures.id);\n });\n this.params.status = 5;\n\n if (this.params.ids.length <= 0) {\n this.$message.warning('暂无可审核数据');\n this.saveloading = false;\n return;\n }\n\n measureIterationApplication.auditSave(this.params, function (res) {\n if (res.state) {\n _this4.$message.success('审核成功');\n\n _this4.saveloading = false;\n\n _this4.handleClose();\n }\n });\n }\n }\n};",null]}