{"remainingRequest":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\yhxt-web\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\yhxt-web\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\yhxt-web\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\yhxt-web\\src\\views\\specialProjectManagement\\flowComponents\\RectificationTable.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\yhxt-web\\src\\views\\specialProjectManagement\\flowComponents\\RectificationTable.vue","mtime":1719598404560},{"path":"D:\\jenkins\\workspace\\yhxt-web\\babel.config.js","mtime":1667326389982},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\babel-loader\\lib\\index.js","mtime":456789000000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\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/yhxt-web/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nimport \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/web.dom.iterable\";\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : 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\nimport basicData from '@/api/basicData.js';\nimport fileUpload from '@/components/upload/fileUploadProject.vue';\nexport default {\n name: 'RectificationTable',\n components: {\n fileUpload: fileUpload\n },\n data: function data() {\n return {\n rowData: {},\n visible: false,\n loading: false,\n data: [],\n fullscreenLoading: false,\n pageResult: {\n page: 1,\n pageSize: 20,\n total: 0\n },\n dialogVisible: false,\n dadToSonBefore: {\n bizPath: 'specialproject',\n fileList: []\n },\n dadToSonAfter: {\n bizPath: 'specialproject',\n fileList: []\n },\n form: {\n type: 0,\n reformFlag: 1,\n accessories: []\n },\n disabledSave: false,\n userRules: {\n reformDepart: {\n required: true,\n message: '请输入整改责任人',\n trigger: 'blur'\n },\n reformDate: {\n required: true,\n message: '请选择整改时限',\n trigger: 'blur'\n },\n reformOpinion: {\n required: true,\n message: '请输入整改意见',\n trigger: 'blur'\n },\n reformDescription: {\n required: true,\n message: '请输入整改要求',\n trigger: 'blur'\n }\n },\n flowStatusOptions: [{\n label: '待整改',\n name: '待整改',\n value: 0\n }, {\n label: '待审批',\n name: '待审批',\n value: 1\n }, {\n label: '已完成',\n name: '已完成',\n value: 2\n }]\n };\n },\n methods: {\n getOptionName: function getOptionName(key, options) {\n var label = '-';\n var target = this[options].filter(function (item) {\n return item.value === key;\n })[0];\n if (target && target.label) {\n label = target.label;\n }\n return label;\n },\n //取消弹窗\n handleCancel: function handleCancel() {\n this.form = {\n reformFlag: 1,\n type: 0,\n accessories: []\n };\n this.dadToSonBefore = {\n fileList: []\n };\n this.dadToSonAfter = {\n fileList: []\n };\n this.dialogVisible = false;\n },\n sonToDad: function sonToDad(data) {\n console.log(data);\n var arr = [];\n data.forEach(function (item) {\n arr.push({\n isDele: item.isDele,\n attachmentName: item.name,\n attachmentPath: item.url,\n attachmentSuffix: item.suffix,\n attachmentType: item.type,\n type: 0\n });\n });\n this.accessories = arr;\n this.form.accessories = arr;\n // 防止用户打开了文件选择框之后不选择文件而出现效验失败\n if (this.form.accessories) {\n this.$refs.form.clearValidate('accessories');\n }\n },\n handleOpen: function handleOpen(row) {\n console.log(222);\n console.log('this.rowData', row);\n this.rowData = row;\n this.form = _objectSpread({\n companyName: this.rowData.companyName,\n companyId: this.rowData.companyId,\n roadSegmentName: this.rowData.roadSegmentName,\n roadSegmentId: this.rowData.roadSegmentId,\n projectId: this.rowData.projectId,\n projectName: this.rowData.projectName,\n sourceId: this.rowData.id\n }, this.form);\n console.log('fdsfsdfdsf', row, this.form);\n this.visible = true;\n this.loadData({\n pageBean: {\n page: 1,\n pageSize: 20,\n total: 0\n },\n sorter: [{\n direction: 'DESC',\n property: 'id_'\n }]\n });\n },\n loadData: function loadData(param, cb) {\n var _this = this;\n if (typeof this.topQuery !== 'undefined' && this.topQuery.length !== 0) {\n param.querys = typeof param.querys !== 'undefined' ? param.querys : [];\n this.topQuery.forEach(function (item) {\n param.querys.push(item);\n });\n param.querys = this.uniqueFunc(param.querys, 'property');\n }\n if (param.querys && param.querys.length) {\n param.querys.push({\n group: 'advance',\n operation: 'EQUAL',\n property: 'sourceId',\n relation: 'AND',\n value: this.rowData.id\n });\n } else {\n param.querys = [{\n group: 'advance',\n operation: 'EQUAL',\n property: 'sourceId',\n relation: 'AND',\n value: this.rowData.id\n }];\n }\n this.exportQuery = param;\n this.$http.post('${yhxt}/bizRectificationCommon/v1/getJsonVo', param).then(function (response) {\n console.log(response, '123');\n response.data.rows.forEach(function (item, index) {\n item.reformFlag = item.bizRectificationCommon.reformFlag;\n item.reformDate = item.bizRectificationCommon.reformDate;\n item.reformDepart = item.bizRectificationCommon.reformDepart;\n item.reformDescription = item.bizRectificationCommon.reformDescription;\n item.reformOpinion = item.bizRectificationCommon.reformOpinion;\n item.indexNo = index + 1;\n });\n _this.data = response.data.rows;\n _this.pageResult = {\n page: response.data.page,\n pageSize: response.data.pageSize,\n total: response.data.total\n };\n }).finally(function () {\n if (cb) {\n cb();\n }\n });\n },\n //新增\n handleAdd: function handleAdd() {\n this.projectOptions = [];\n this.disabledSave = false;\n this.disabled = false;\n this.isShowForm = true;\n this.dialogVisible = true;\n this.type = 'add';\n },\n handleDetail: function handleDetail(row) {\n this.dialogVisible = true;\n this.type = 'detail';\n this.form = row;\n this.dadToSonBefore.fileList = row.bizEngineeringAccessoriesListBefore || [];\n this.dadToSonAfter.fileList = row.bizEngineeringAccessoriesListAfter || [];\n },\n handleRoadSegmentChanged: function handleRoadSegmentChanged(id) {\n var _this2 = this;\n this.roadSegmentOptions.forEach(function (item) {\n if (item.id == id) {\n _this2.form = _objectSpread({\n companyName: item.companyName,\n companyId: item.companyId,\n roadSegmentName: item.name,\n roadSegmentId: id\n }, _this2.form);\n _this2.projectOptions = [];\n _this2.getProjectInfo(id);\n }\n });\n },\n getProjectInfo: function getProjectInfo(roadSegmentId) {\n var _this3 = this;\n this.projectParams.querys[0].value = roadSegmentId;\n this.$http.post('${yhxt}/bizEngineeringProject/v1/getJson', this.projectParams).then(function (res) {\n _this3.projectOptions = res.data.rows;\n });\n },\n handleClose: function handleClose() {\n this.visible = false;\n this.data = [];\n },\n handleCloseDialog: function handleCloseDialog() {\n this.dialogVisible = false;\n this.form = {\n reformFlag: 1,\n type: 0,\n accessories: []\n };\n }\n }\n};",null]}