{"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\\MeetingManagement\\MattersAdvance.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\MeetingManagement\\MattersAdvance.vue","mtime":1685953070074},{"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/web.dom.iterable\";\nimport \"core-js/modules/es6.function.name\";\nimport _defineProperty from \"D:/jenkins/workspace/reform-fvue/node_modules/@babel/runtime/helpers/esm/defineProperty\";\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//\nimport pagination from '@/components/pagination';\nimport MattersAdvanceDialog from \"./dialog/MattersAdvanceDialog\";\nimport OrgSelectDialog from '@/components/dialog/OrgSelectDialog.vue';\nimport filePreview from '@/components/FilePreview/filePreview.vue';\nimport { TableMixin } from '@/mixins/tableMixin';\nimport req from '@/request.js';\nimport utils from '@/utils.js';\nvar portal = window.context.portal;\nexport default {\n name: 'MattersAdvance',\n components: {\n pagination: pagination,\n OrgSelectDialog: OrgSelectDialog,\n filePreview: filePreview,\n MattersAdvanceDialog: MattersAdvanceDialog\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n tableMaxHeight: 400,\n loading: false,\n tableLoading: false,\n tableData: [],\n multipleSelection: [],\n params: {\n pageBean: {\n page: 1,\n pageSize: 20,\n total: 0\n },\n querys: []\n },\n pageResult: {\n page: 1,\n pageSize: 20,\n total: 0\n },\n searchForm: {},\n // 顶部搜索对象\n activeCollapse1: ['1', '2'],\n dialog: {\n title: '添加',\n visible: false\n },\n dialogForm: {},\n disabled: false,\n // 是否禁止输入输入\n edit: false,\n // 是否是修改功能\n isShowBtn: false,\n // 是否显示弹层底部按钮\n options: [{\n value: 0,\n label: '已完成对接'\n }, {\n value: 1,\n label: '未完成对接'\n }],\n rules: {\n propulsiveStatus: {\n required: true,\n message: '请选择对接方式',\n trigger: 'blur'\n },\n propulsiveUpdateStatus: {\n required: true,\n message: '请选择对接详情',\n trigger: 'blur'\n },\n propulsiveDetailed: {\n required: true,\n message: '请输入办理详情',\n trigger: 'blur'\n }\n }\n };\n },\n created: function created() {\n this.loadData(this.params);\n },\n methods: {\n exportExcel: function exportExcel() {\n var obj = JSON.parse(JSON.stringify(this.searchForm));\n var querys = [];\n\n for (var i in obj) {\n querys.push({\n group: 'main',\n operation: i == 'u.UNIT_NAME_' || i == 'd.MEETING_TASK_' || i == 'e.MEETING_NAME_' ? 'LIKE' : 'EQUAL',\n parentGroup: '',\n property: i,\n relation: 'AND',\n value: obj[i]\n });\n }\n\n this.params.querys = querys;\n var reqData = JSON.parse(JSON.stringify(this.params));\n reqData.pageBean = {\n page: -1,\n pageSize: -1\n };\n req.downloadPostCopy(portal + \"/bizMeetingEventDetails/v1/export?isAffirm=false\", reqData).then(function (res) {\n console.log(res);\n });\n },\n // 撤回\n revokeReview: function revokeReview(data) {\n var _this = this;\n\n this.$confirm('确认执行撤销操作吗?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'error'\n }).then(function () {\n _this.markLoading = true;\n req.post(portal + '/bizMeetingEventPush/v1/modifyStatus?id=' + data.pushId + '&projectId=' + data.id + '&status=0&approvalResults=2').then(function (res) {\n if (res.status == 200) {\n _this.$message.success('撤销操作成功');\n\n _this.markLoading = false;\n\n _this.loadData(_this.params);\n }\n });\n });\n },\n // 责任单位选择\n handleSelectOrg: function handleSelectOrg() {\n this.$refs.orgSeleect.open();\n },\n handleOrgSelect: function handleOrgSelect(row) {\n this.dialogForm = _objectSpread(_objectSpread({}, this.dialogForm), {}, {\n unitId: row[0].id,\n unitName: row[0].name,\n unitCode: row[0].code,\n unitGrade: row[0].grade\n });\n },\n getDictName: function getDictName(code, value) {\n return utils.getDictName(code, value);\n },\n handleSelect: function handleSelect(val) {\n var _this2 = this;\n\n this.options.forEach(function (item) {\n if (item.value == val) {\n _this2.dialogForm.propulsiveDetailed = item.label;\n }\n });\n },\n //获取数据\n loadData: function loadData(params) {\n var _this3 = this;\n\n this.tableLoading = true;\n req.post(portal + \"/bizMeetingEventDetails/v1/queryByPage?isAffirm=\".concat(false), params).then(function (res) {\n console.log(res.data.value);\n _this3.tableLoading = false;\n var data = res && res.data && res.data.value || {};\n _this3.tableData = data.rows || [];\n _this3.pageResult = {\n page: data.page,\n pageSize: data.pageSize,\n total: data.total\n };\n });\n },\n handleAdd: function handleAdd(row, flag) {\n if (flag == 'appear') {\n this.title = '编辑';\n this.$refs.MattersAdvanceDialog.openForm(row, this.title);\n }\n\n if (flag == 'waitUpdata') {\n this.title = '添加';\n this.$refs.MattersAdvanceDialog.openForm(row, this.title);\n }\n\n if (flag == 'renew') {\n this.title = '更新';\n this.$refs.MattersAdvanceDialog.openForm(row, this.title);\n }\n },\n // 更新\n handleUpdata: function handleUpdata(data) {\n this.fileList = data.files || [];\n this.isShowBtn = true;\n this.dialogForm = _objectSpread({\n propulsiveDetailed: '',\n classified: '0'\n }, data);\n this.disabled = true;\n this.dialog.visible = true;\n },\n handleDetils: function handleDetils(data) {\n this.fileList = data.files || [];\n this.isShowBtn = false;\n this.dialogForm = data;\n this.dialog.visible = true;\n },\n // 分发\n handleAppear: function handleAppear(row) {\n var _this4 = this;\n\n console.log(row);\n this.markLoading = true;\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 _this4.markLoading = true; // data.status = 1\n\n _this4.tableLoading = true;\n req.post(portal + '/bizMeetingEventPush/v1/modifyStatus?id=' + row.pushId + '&projectId=' + row.id + '&status=1').then(function (res) {\n if (res.data.state) {\n _this4.$message.success('上报成功');\n } else {\n _this4.$message.error('上报失败');\n }\n\n _this4.markLoading = false;\n\n _this4.loadData(_this4.params);\n });\n }); // let data = {}\n // let param = {\n // querys: [],\n // pageBean: {\n // pageSize: 2\n // },\n // sorter: [\n // {\n // direction: 'DESC',\n // property: 'LAST_TIME_'\n // }\n // ]\n // }\n // param.querys.push(\n // {\n // group: 'main',\n // operation: 'EQUAL',\n // parentGroup: '',\n // property: 'DETAILS_ID_',\n // relation: 'AND',\n // value: row.id\n // },\n // {\n // group: 'main',\n // operation: 'EQUAL',\n // parentGroup: '',\n // property: 'UNIT_ID_',\n // relation: 'AND',\n // value: row.unitId\n // }\n // )\n // req\n // .post(portal + '/bizMeetingEventPush/v1/queryHistory', param)\n // .then(res => {\n // console.log(res, 'wwwwwww')\n // if (res.data.state) {\n // if (res.data.value.length == 0) {\n // data = {}\n // } else {\n // data = res.data.value[0]\n // }\n // }\n // if (Object.keys(data).length == 0)\n // return this.$confirm('请先更新数据', this.$t('common.tips'), {\n // confirmButtonText: this.$t('common.confirm'),\n // cancelButtonText: this.$t('common.cancel'),\n // type: 'info'\n // }).then(()=> {\n // this.markLoading = false\n // }).catch(()=> {this.markLoading = false})\n // this.markLoading = false\n // this.$confirm('确认上报吗?', this.$t('common.tips'), {\n // confirmButtonText: this.$t('common.confirm'),\n // cancelButtonText: this.$t('common.cancel'),\n // type: 'warning'\n // }).then(() => {\n // this.markLoading = true\n // data.status = 1\n // this.tableLoading = true\n // req\n // .post(\n // portal +\n // '/bizMeetingEventPush/v1/modifyStatus?ids=' +\n // data.id +\n // '&status=1'\n // )\n // .then(res => {\n // if (res.data.state) {\n // this.$message.success('上报成功')\n // } else {\n // this.$message.error('上报失败')\n // }\n // this.markLoading = false\n // this.loadData(this.params)\n // })\n // })\n // })\n },\n // 顶部搜索\n handleSearch: function handleSearch() {\n var obj = this.searchForm;\n var querys = []; // if (obj.status == -1) {\n // this.operation = 'IS_NULL'\n // } else {\n // this.operation = 'EQUAL'\n // }\n // querys.push({\n // group: 'main',\n // operation: 'EQUAL',\n // property: 'me.SEND_STATUS_',\n // relation: 'AND',\n // value: '1'\n // })\n\n for (var i in obj) {\n if (obj[i]) {\n if (i == 'u.UNIT_NAME_' || i == 'd.MEETING_TASK_' || i == 'e.MEETING_NAME_' ? 'LIKE' : 'EQUAL') {\n querys.push({\n group: 'main',\n operation: 'LIKE',\n parentGroup: '',\n property: i,\n relation: 'AND',\n value: obj[i]\n });\n } else {\n querys.push({\n group: 'main',\n operation: this.operation,\n parentGroup: '',\n property: i,\n relation: 'AND',\n value: obj[i]\n });\n }\n }\n }\n\n this.params.querys = querys;\n this.loadData(this.params);\n },\n //查看详情\n handleLookDetiles_: function handleLookDetiles_(row) {\n this.title = '详情';\n this.$refs.MattersAdvanceDialog.openForm(row, this.title);\n this.$refs.MattersAdvanceDialog.showDetails = true;\n },\n // 弹层关闭\n handleDialogClose: function handleDialogClose() {\n this.dialog.visible = false;\n },\n // 表单提交保存\n submit: function submit() {\n var _this5 = this;\n\n this.$refs.form.validate(function (valid) {\n if (valid) {\n _this5.loading = true;\n req.post(portal + '/bizMeetingEventPush/v1/saveOrUpdateList', _this5.dialogForm).then(function (res) {\n if (res.data.state) {\n _this5.dialog.visible = false; // this.loadData(this.params)\n\n _this5.handleSearch();\n }\n\n _this5.loading = false;\n }).catch(function () {\n _this5.loading = false;\n });\n } else {\n return false;\n }\n });\n },\n handleCurrentChange: function handleCurrentChange(page) {\n this.params.pageBean = _objectSpread(_objectSpread({}, this.params.pageBean), {}, {\n page: page\n });\n this.loadData(this.params);\n },\n handleSizeChange: function handleSizeChange(pageSize) {\n this.params.pageBean = _objectSpread(_objectSpread({}, this.params.pageBean), {}, {\n pageSize: pageSize\n });\n this.loadData(this.params);\n }\n }\n};",null]}