{"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\\AdvanceUpdates.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\MeetingManagement\\AdvanceUpdates.vue","mtime":1716368601157},{"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//\nimport pagination from '@/components/pagination';\nimport OrgSelectDialog from '@/components/dialog/OrgSelectDialog.vue';\nimport { TableMixin } from '@/mixins/tableMixin';\nimport DocumentEntryForm from \"./dialog/DocumentEntryForm.vue\";\nimport FileDetails from \"./dialog/FileDetails.vue\";\nimport req from '@/request.js';\nimport utils from '@/utils.js';\nimport meet from '@/api/meeting';\nvar portal = window.context.portal;\nexport default {\n name: 'DemandEntry',\n components: {\n pagination: pagination,\n OrgSelectDialog: OrgSelectDialog,\n DocumentEntryForm: DocumentEntryForm,\n FileDetails: FileDetails\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n markLoading: false,\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 group: 'main',\n operation: 'IN',\n property: 'C.SEND_STATUS_',\n relation: 'AND',\n value: [1]\n }]\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 };\n },\n created: function created() {\n this.loadData(this.params);\n },\n methods: {\n // 撤回\n revokeReview: function revokeReview(item) {\n var _this = this;\n\n this.$confirm('确认执行撤销操作吗?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'error'\n }).then(function () {\n _this.markLoading = true;\n var data = JSON.parse(JSON.stringify(item));\n data.approvalResults = 2;\n data.status = 0;\n meet.updateStatus(data, function (res) {\n if (res.state) {\n _this.$message.success('撤销操作成功');\n\n _this.loadData(_this.params);\n } else {\n _this.$message.success('撤销操作失败');\n\n _this.loadData(_this.params);\n }\n\n _this.markLoading = false;\n });\n });\n },\n flushed: function flushed() {\n this.loadData(this.params);\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 meet.queryAudit(params, false, function (res) {\n console.log(res);\n _this3.tableLoading = false;\n _this3.tableData = res.rows || [];\n _this3.pageResult.total = res.total;\n }); // req\n // .post(portal + '/bizMeetingDocumentsConsidered/v1/getUnitList', params)\n // .then(res => {\n // this.tableLoading = false\n // const data = (res && res.data && res.data.value) || {}\n // this.tableData = data.rows || []\n // this.pageResult = {\n // page: data.page,\n // pageSize: data.pageSize,\n // total: data.total\n // }\n // })\n },\n // 更新\n handleUpdata: function handleUpdata(data) {\n this.$refs.DocumentEntryForm.isUpdateEntry = data.status == 0 ? true : false;\n this.$refs.DocumentEntryForm.openForm(data);\n },\n handleDetils: function handleDetils(data) {\n this.$refs.FileDetails.open(data);\n },\n // 上报\n handleAppear: function handleAppear(data) {\n var _this4 = this;\n\n console.log(data);\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;\n data.status = 1;\n meet.updateStatus(data, function (res) {\n if (res.state) {\n data.status = 1;\n\n _this4.$message.success('上报成功');\n\n _this4.markLoading = false;\n } else {\n _this4.$message.success('上报失败');\n\n _this4.markLoading = false;\n }\n });\n });\n },\n // 顶部搜索\n handleSearch: function handleSearch() {\n var obj = this.searchForm;\n var querys = [];\n\n for (var i in obj) {\n if (obj[i]) {\n querys.push({\n group: 'main',\n operation: i == 'c.FILE_NAME_' || i == 'c.MEETING_NAME_' ? 'LIKE' : 'EQUAL',\n parentGroup: '',\n property: i,\n relation: 'AND',\n value: obj[i]\n });\n }\n }\n\n this.params.querys = querys;\n this.loadData(this.params);\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 + '/bizMeetingDocumentsConsidered/v1/updateInfo', _this5.dialogForm).then(function (res) {\n if (res.data.state) {\n _this5.dialog.visible = false;\n\n _this5.loadData(_this5.params);\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.handleSearch();\n },\n handleSizeChange: function handleSizeChange(pageSize) {\n this.params.pageBean = _objectSpread(_objectSpread({}, this.params.pageBean), {}, {\n pageSize: pageSize\n });\n this.handleSearch();\n }\n }\n};",null]}