{"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\\ReformSituation\\components\\addFormDialog.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\ReformSituation\\components\\addFormDialog.vue","mtime":1745572395279},{"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 \"core-js/modules/es7.object.values\";\nimport \"core-js/modules/web.dom.iterable\";\nimport _defineProperty from \"D:/jenkins/workspace/reform-fvue/node_modules/@babel/runtime/helpers/esm/defineProperty\";\nimport _toConsumableArray from \"D:/jenkins/workspace/reform-fvue/node_modules/@babel/runtime/helpers/esm/toConsumableArray\";\nimport \"core-js/modules/es6.function.name\";\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//\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//\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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nvar portal = window.context.portal;\nimport { TableMixin } from '@/mixins/tableMixin';\nimport projectCase from '@/views/ReformSituation/components/projectCase.vue';\nimport pilotCase from '@/views/ReformSituation/components/pilotCase.vue';\nimport addNation from '@/views/ReformSituation/components/addNation.vue';\nimport countyApi from '@/api/ReformSituation/countyApi';\nimport RejectInfoBlockDialog from '@/components/dialog/RejectInfoBlockDialog.vue';\nimport req from '@/request';\nexport default {\n name: 'AddFormDialog',\n components: {\n RejectInfoBlockDialog: RejectInfoBlockDialog,\n projectCase: projectCase,\n pilotCase: pilotCase,\n addNation: addNation\n },\n mixins: [TableMixin],\n props: {},\n data: function data() {\n return {\n routeName: '',\n item: {},\n visible: false,\n reqLoading: false,\n activeNames: '',\n title: '',\n base: {\n municipalProjectTotalNum: 0,\n municipalProjectPlanNum: 0,\n municipalProjectFinishNum: 0,\n newProjectTotalNum: 0,\n newProjectPlanNum: 0,\n newProjectFinishNum: 0,\n selfProjectTotalNum: 0,\n selfProjectPlanNum: 0,\n selfProjectFinishNum: 0,\n nationPointProcessNum: 0,\n nationPointNewNum: 0,\n nationPointFinishNum: 0,\n municipalPointProcessNum: 0,\n municipalPointNewNum: 0,\n municipalPointFinishNum: 0,\n nationwideAffirmNum: 0\n },\n baseBack: {\n municipalProjectTotalNum: 0,\n municipalProjectPlanNum: 0,\n municipalProjectFinishNum: 0,\n newProjectTotalNum: 0,\n newProjectPlanNum: 0,\n newProjectFinishNum: 0,\n selfProjectTotalNum: 0,\n selfProjectPlanNum: 0,\n selfProjectFinishNum: 0,\n nationPointProcessNum: 0,\n nationPointNewNum: 0,\n nationPointFinishNum: 0,\n municipalPointProcessNum: 0,\n municipalPointNewNum: 0,\n municipalPointFinishNum: 0,\n nationwideAffirmNum: 0\n },\n municipalProjectList: [],\n newProjectList: [],\n selfProjectList: [],\n nationPointList: [],\n municipalPointList: [],\n nationList: [],\n historyMunicipalProjectList: [],\n historyNationPointList: [],\n historyNewProjectList: [],\n historySelfProjectList: [],\n historyMunicipalPointList: [],\n historyNationList: [],\n rules: {},\n echoData: {},\n reformOffice: false,\n municipalDepartment: false,\n details: {},\n showLoading: true,\n isSave1: false,\n isSave2: false,\n isSave3: false,\n isSave4: false,\n isSave5: false,\n isSave6: false,\n isBtnLoading: false,\n isHistory: false,\n isApi: false\n };\n },\n created: function created() {\n var name = this.$route.name;\n this.routeName = name;\n },\n methods: {\n isEdit: function isEdit() {\n return true;\n },\n isDetails: function isDetails() {\n return this.title !== '详情';\n },\n upDate: function upDate(item, title) {\n this.title = title;\n this.item = item;\n this.visible = true; // 判断是否有status 有掉详情接口,没则掉历史接口\n\n if (item.status >= 0) {\n this.getDetails();\n } else {\n this.getHistoryDataChange();\n }\n\n if (title === '责任单位审核') {\n this.reformOffice = true;\n }\n\n if (title === '改革办审核') {\n this.municipalDepartment = true;\n }\n },\n // 详情回显\n getDetails: function getDetails() {\n var _this = this;\n\n this.reqLoading = true;\n countyApi.countiesAreDisplayed(this.item.id).then(function (res) {\n _this.isApi = true;\n _this.details = res;\n _this.base = res.base; // 根据isHistory字段判断\n\n _this.historyMunicipalProjectList = res.municipalProjectList.filter(function (item) {\n return item.isHistory === '1';\n });\n _this.municipalProjectList = res.municipalProjectList.filter(function (item) {\n return item.isHistory === '0';\n });\n _this.historyNationPointList = res.nationPointList.filter(function (item) {\n return item.isHistory === '1';\n });\n _this.nationPointList = res.nationPointList.filter(function (item) {\n return item.isHistory === '0';\n });\n _this.historyNewProjectList = res.newProjectList.filter(function (item) {\n return item.isHistory === '1';\n });\n _this.newProjectList = res.newProjectList.filter(function (item) {\n return item.isHistory === '0';\n });\n _this.historySelfProjectList = res.selfProjectList.filter(function (item) {\n return item.isHistory === '1';\n });\n _this.selfProjectList = res.selfProjectList.filter(function (item) {\n return item.isHistory === '0';\n });\n _this.historyMunicipalPointList = res.municipalPointList.filter(function (item) {\n return item.isHistory === '1';\n });\n _this.municipalPointList = res.municipalPointList.filter(function (item) {\n return item.isHistory === '0';\n });\n _this.nationList = res.nationList;\n _this.showLoading = false;\n _this.reqLoading = false;\n });\n },\n // 查看历史通过数据\n getHistoryDataChange: function getHistoryDataChange() {\n var _this2 = this;\n\n var param = {\n id: this.item.id,\n unitId: this.item.unitId,\n createTime: this.item.createTime\n };\n this.reqLoading = true;\n countyApi.countyHistory(param).then(function (res) {\n if (JSON.stringify(res) !== '{}') {\n _this2.details = res;\n _this2.base = res.base;\n _this2.isHistory = true; //判断第一次新增的时候\n\n _this2.municipalProjectList = res.municipalProjectList ? res.municipalProjectList : [];\n _this2.newProjectList = res.newProjectList ? res.newProjectList : [];\n _this2.selfProjectList = res.selfProjectList ? res.selfProjectList : [];\n _this2.nationPointList = res.nationPointList ? res.nationPointList : [];\n _this2.municipalPointList = res.municipalPointList ? res.municipalPointList : [];\n _this2.nationList = res.nationList ? res.nationList : [];\n _this2.historyMunicipalProjectList = res.municipalProjectList ? res.municipalProjectList : [];\n _this2.historyNationPointList = res.nationPointList ? res.nationPointList : [];\n _this2.historyNewProjectList = res.newProjectList ? res.newProjectList : [];\n _this2.historySelfProjectList = res.selfProjectList ? res.selfProjectList : [];\n _this2.historyMunicipalPointList = res.municipalPointList ? res.municipalPointList : [];\n _this2.showLoading = false;\n _this2.reqLoading = false;\n }\n });\n },\n // 保存\n handlSaveOrUpdate: function handlSaveOrUpdate(type) {\n var _this3 = this;\n\n if (!this.isSave1 && !this.isHistory) {\n this.municipalProjectList = [].concat(_toConsumableArray(this.municipalProjectList), _toConsumableArray(this.historyMunicipalProjectList));\n }\n\n if (!this.isSave2 && !this.isHistory) {\n this.newProjectList = [].concat(_toConsumableArray(this.newProjectList), _toConsumableArray(this.historyNewProjectList));\n }\n\n if (!this.isSave3 && !this.isHistory) {\n this.selfProjectList = [].concat(_toConsumableArray(this.selfProjectList), _toConsumableArray(this.historySelfProjectList));\n }\n\n if (!this.isSave4 && !this.isHistory) {\n this.nationPointList = [].concat(_toConsumableArray(this.nationPointList), _toConsumableArray(this.historyNationPointList));\n }\n\n if (!this.isSave5 && !this.isHistory) {\n this.municipalPointList = [].concat(_toConsumableArray(this.municipalPointList), _toConsumableArray(this.historyMunicipalPointList));\n }\n\n var params = _objectSpread(_objectSpread({\n base: this.base,\n municipalProjectList: this.municipalProjectList,\n newProjectList: this.newProjectList,\n selfProjectList: this.selfProjectList,\n nationPointList: this.nationPointList,\n municipalPointList: this.municipalPointList,\n nationList: this.nationList\n }, this.item), {}, {\n status: type\n });\n\n this.isBtnLoading = true;\n\n if (this.item.status >= 0) {\n countyApi.renewalOfDistrictsAndCounties(params).then(function (res) {\n if (res.state) {\n _this3.handleClose();\n\n _this3.$emit('confirm');\n\n _this3.$message.success('更新成功');\n }\n });\n } else {\n countyApi.renewalOfDistrictsAndFirst(params).then(function (res) {\n if (res.state) {\n _this3.handleClose();\n\n _this3.$emit('confirm');\n\n _this3.$message.success('更新成功');\n }\n });\n }\n },\n // 取消\n handleClose: function handleClose() {\n this.visible = false;\n this.isSave1 = false;\n this.isSave2 = false;\n this.isSave3 = false;\n this.isSave4 = false;\n this.isSave5 = false;\n this.isSave6 = false;\n this.isBtnLoading = false;\n this.showLoading = true;\n this.isHistory = false;\n this.reformOffice = false;\n this.municipalDepartment = false;\n this.base = JSON.parse(JSON.stringify(this.baseBack));\n },\n // 63填报,40项,因地制宜\n filingChange: function filingChange(title) {\n var data = [];\n var historyData = [];\n\n if (title === '对接市委六届六次全会部署63项') {\n if (!this.isSave1) {\n if (this.isHistory) {\n data = [];\n historyData = this.historyMunicipalProjectList;\n } else {\n data = this.municipalProjectList;\n historyData = this.historyMunicipalProjectList;\n }\n\n this.isSave1 = false;\n } else {\n // 根据isHistory字段判断 (弹窗保存时 这个时候 融合到一起了)\n data = this.municipalProjectList.filter(function (item) {\n return item.isHistory === '0';\n });\n historyData = this.municipalProjectList.filter(function (item) {\n return item.isHistory === '1';\n });\n }\n } else if (title === '对接新推进40项') {\n if (!this.isSave2) {\n if (this.isHistory) {\n data = [];\n historyData = this.historyNewProjectList;\n } else {\n data = this.newProjectList;\n historyData = this.historyNewProjectList;\n }\n\n this.isSave2 = false;\n } else {\n data = this.newProjectList.filter(function (item) {\n return item.isHistory === '0';\n });\n historyData = this.newProjectList.filter(function (item) {\n return item.isHistory === '1';\n });\n }\n } else {\n if (!this.isSave3) {\n if (this.isHistory) {\n data = [];\n historyData = this.historySelfProjectList;\n } else {\n data = this.selfProjectList;\n historyData = this.historySelfProjectList;\n }\n\n this.isSave3 = false;\n } else {\n data = this.selfProjectList.filter(function (item) {\n return item.isHistory === '0';\n });\n historyData = this.selfProjectList.filter(function (item) {\n return item.isHistory === '1';\n });\n }\n }\n\n this.$refs.projectCase.upDate(title, data, this.title, historyData, this.details);\n },\n //国家级改革、市级改革\n pilotReform: function pilotReform(title) {\n var data = [];\n var historyData = [];\n\n if (title === '国家级') {\n if (!this.isSave4) {\n if (this.isHistory) {\n data = [];\n historyData = this.historyNationPointList;\n } else {\n data = this.nationPointList;\n historyData = this.historyNationPointList;\n }\n\n this.isSave4 = false;\n } else {\n // 根据isHistory字段判断 (弹窗保存时 这个时候 融合到一起了)\n data = this.nationPointList.filter(function (item) {\n return item.isHistory === '0';\n });\n historyData = this.nationPointList.filter(function (item) {\n return item.isHistory === '1';\n });\n }\n } else {\n if (!this.isSave5) {\n if (this.isHistory) {\n data = [];\n historyData = this.historyMunicipalPointList;\n } else {\n data = this.municipalPointList;\n historyData = this.historyMunicipalPointList;\n }\n\n this.isSave5 = false;\n } else {\n // 根据isHistory字段判断 (弹窗保存时 这个时候 融合到一起了)\n data = this.municipalPointList.filter(function (item) {\n return item.isHistory === '0';\n });\n historyData = this.municipalPointList.filter(function (item) {\n return item.isHistory === '1';\n });\n }\n }\n\n this.$refs.pilotCase.upDate(title, data, this.title, historyData, this.details);\n },\n //改革经验\n nationChange: function nationChange() {\n this.isSave6 = false;\n this.$refs.addNation.upDate(this.nationList, this.title, this.details);\n },\n // 将3个数组转为一个\n mergeProjects: function mergeProjects(arrays) {\n if (arrays.length <= 0) {\n return [];\n } else {\n var merged = {};\n arrays.forEach(function (array) {\n array.forEach(function (item) {\n var key = item.key;\n\n if (!merged[key]) {\n merged[key] = {\n key: key\n }; // 初始化\n }\n\n Object.assign(merged[key], item); // 合并内容\n });\n });\n return Object.values(merged); // 转换为数组\n }\n },\n onComfirm: function onComfirm(data, title) {\n var datas = this.mergeProjects([data.projectList, data.researchList, data.introducedList]);\n var dataHistory = this.mergeProjects([data.historyProjectList, data.historyResearchList, data.histotyIntroducedList]);\n\n if (title === '对接市委六届六次全会部署63项') {\n this.isSave1 = true;\n this.municipalProjectList = [].concat(_toConsumableArray(dataHistory), _toConsumableArray(datas));\n this.base.municipalProjectTotalNum = data.projectList.length + data.historyProjectList.length;\n this.base.municipalProjectFinishNum = data.researchList.length + data.historyResearchList.length;\n this.base.municipalProjectPlanNum = data.introducedList.length + data.histotyIntroducedList.length;\n } else if (title === '对接新推进40项') {\n this.isSave2 = true;\n this.newProjectList = [].concat(_toConsumableArray(dataHistory), _toConsumableArray(datas));\n this.base.newProjectTotalNum = data.projectList.length + data.historyProjectList.length;\n this.base.newProjectFinishNum = data.researchList.length + data.historyResearchList.length;\n this.base.newProjectPlanNum = data.introducedList.length + data.histotyIntroducedList.length;\n } else {\n this.isSave3 = true;\n this.selfProjectList = [].concat(_toConsumableArray(dataHistory), _toConsumableArray(datas));\n this.base.selfProjectTotalNum = data.projectList.length + data.historyProjectList.length;\n this.base.selfProjectFinishNum = data.researchList.length + data.historyResearchList.length;\n this.base.selfProjectPlanNum = data.introducedList.length + data.histotyIntroducedList.length;\n }\n },\n onPilotComfirm: function onPilotComfirm(data, title) {\n var datas = this.mergeProjects([data.projectList, data.researchList, data.introducedList]);\n var dataHistory = this.mergeProjects([data.historyProjectList, data.historyResearchList, data.histotyIntroducedList]);\n\n if (title === '国家级') {\n this.isSave4 = true;\n this.nationPointList = [].concat(_toConsumableArray(dataHistory), _toConsumableArray(datas));\n this.base.nationPointProcessNum = data.projectList.length - data.researchList.length + (data.historyProjectList.length - data.historyResearchList.length);\n this.base.nationPointFinishNum = data.researchList.length + data.historyResearchList.length;\n this.base.nationPointNewNum = data.introducedList.length + data.histotyIntroducedList.length;\n } else {\n this.isSave5 = true;\n this.municipalPointList = [].concat(_toConsumableArray(dataHistory), _toConsumableArray(datas));\n this.base.municipalPointProcessNum = data.projectList.length - data.researchList.length + (data.historyProjectList.length - data.historyResearchList.length);\n this.base.municipalPointFinishNum = data.researchList.length + data.historyResearchList.length;\n this.base.municipalPointNewNum = data.introducedList.length + data.histotyIntroducedList.length;\n }\n },\n nationComfirm: function nationComfirm(data, type) {\n this.isSave6 = true;\n this.nationList = [].concat(_toConsumableArray(data.historyNationList), _toConsumableArray(data.nationList));\n this.base.nationwideAffirmNum = data.nationList.length + data.historyNationList.length;\n },\n handleVerify: function handleVerify(status) {\n var _this4 = this;\n\n this.$confirm(\"*: \\u5982\\u6709\\u4FEE\\u6539\\uFF0C\\u8BF7\\u5148\\u70B9\\u51FB\\u201C\\u4FDD\\u5B58\\u201D\\u6309\\u94AE\\uFF0C\\u4FDD\\u5B58\\u6210\\u529F\\u4E4B\\u540E\\u518D\\u8FDB\\u884C\\u64CD\\u4F5C\\uFF01\\u8BF7\\u786E\\u8BA4\\u5BA1\\u6838\\u662F\\u5426\\u901A\\u8FC7\\uFF1F\", this.$t('common.tips'), {\n confirmButtonText: this.$t('common.confirm'),\n cancelButtonText: this.$t('common.cancel'),\n dangerouslyUseHTMLString: true,\n type: 'warning'\n }).then(function () {\n var formData = new FormData();\n formData.append('id', _this4.item.id);\n formData.append('status', status);\n formData.append('approvalResults', 0);\n _this4.isBtnLoading = true;\n _this4.reqLoading = true;\n countyApi.updateByStatus(formData).then(function (res) {\n if (res.state) {\n _this4.handleClose();\n\n _this4.reqLoading = false;\n\n _this4.$emit('confirm');\n\n _this4.$message.success('审核成功');\n }\n });\n });\n },\n handleReject: function handleReject() {\n var _this5 = this;\n\n this.$confirm(\"*: \\u5982\\u6709\\u4FEE\\u6539\\uFF0C\\u8BF7\\u5148\\u70B9\\u51FB\\u201C\\u4FDD\\u5B58\\u201D\\u6309\\u94AE\\uFF0C\\u4FDD\\u5B58\\u6210\\u529F\\u4E4B\\u540E\\u518D\\u8FDB\\u884C\\u64CD\\u4F5C\\uFF01\\u8BF7\\u786E\\u8BA4\\u9A73\\u56DE\\u5417\\uFF1F\", this.$t('common.tips'), {\n confirmButtonText: this.$t('common.confirm'),\n cancelButtonText: this.$t('common.cancel'),\n dangerouslyUseHTMLString: true,\n type: 'error'\n }).then(function () {\n _this5.$refs.RejectInfoBlockDialog.open();\n });\n },\n // 驳回提交数据\n sendRejectInfo: function sendRejectInfo(rejectInfo) {\n var _this6 = this;\n\n var status = this.$route.name === 'qxReviewOfReform' ? 2 : 4;\n\n if (!rejectInfo) {\n this.saveLoading = false;\n return;\n }\n\n var formData = new FormData();\n formData.append('id', this.item.id);\n formData.append('status', status);\n formData.append('approvalResults', 1);\n formData.append('approvalComments', rejectInfo);\n this.isBtnLoading = true;\n this.reqLoading = true;\n countyApi.updateByStatus(formData).then(function (res) {\n if (res.state) {\n _this6.handleClose();\n\n _this6.reqLoading = false;\n\n _this6.$emit('confirm');\n\n _this6.$message.success('驳回成功');\n }\n });\n },\n // 驳回原因查看\n opdismissedView: function opdismissedView(data) {\n this.$alert(data, '驳回详情', {\n customClass: 'message_box_alert',\n showConfirmButton: false\n });\n },\n auditSave: function auditSave() {\n var _this7 = this;\n\n this.$confirm('确认修改并保存吗?', this.$t('common.tips'), {\n confirmButtonText: this.$t('common.confirm'),\n cancelButtonText: this.$t('common.cancel'),\n type: 'warning'\n }).then(function () {\n if (!_this7.isSave1) {\n _this7.municipalProjectList = [].concat(_toConsumableArray(_this7.municipalProjectList), _toConsumableArray(_this7.historyMunicipalProjectList));\n }\n\n if (!_this7.isSave2) {\n _this7.newProjectList = [].concat(_toConsumableArray(_this7.newProjectList), _toConsumableArray(_this7.historyNewProjectList));\n }\n\n if (!_this7.isSave3) {\n _this7.selfProjectList = [].concat(_toConsumableArray(_this7.selfProjectList), _toConsumableArray(_this7.historySelfProjectList));\n }\n\n if (!_this7.isSave4) {\n _this7.nationPointList = [].concat(_toConsumableArray(_this7.nationPointList), _toConsumableArray(_this7.historyNationPointList));\n }\n\n if (!_this7.isSave5) {\n _this7.municipalPointList = [].concat(_toConsumableArray(_this7.municipalPointList), _toConsumableArray(_this7.historyMunicipalPointList));\n }\n\n if (!_this7.isSave6) {\n _this7.nationList = [].concat(_toConsumableArray(_this7.nationList), _toConsumableArray(_this7.historyNationList));\n }\n\n var params = _objectSpread({\n base: _this7.base,\n municipalProjectList: _this7.municipalProjectList,\n newProjectList: _this7.newProjectList,\n selfProjectList: _this7.selfProjectList,\n nationPointList: _this7.nationPointList,\n municipalPointList: _this7.municipalPointList,\n nationList: _this7.nationList\n }, _this7.item);\n\n _this7.isBtnLoading = true;\n countyApi.updateForm(params).then(function (res) {\n if (res.state) {\n _this7.handleClose();\n\n _this7.$emit('confirm');\n\n _this7.$message.success('保存成功');\n }\n });\n });\n }\n }\n};",null]}