{"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\\DigitalChongqing\\AdvanceApproval.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\DigitalChongqing\\AdvanceApproval.vue","mtime":1695570472815},{"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/web.dom.iterable\";\nimport \"core-js/modules/es6.object.keys\";\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//\nimport _ from 'lodash';\nimport pagination from '@/components/pagination';\nimport { TableMixin } from '@/mixins/tableMixin';\nimport apilist from '@/api/digitalApi';\nimport utils from '@/utils.js';\nimport addForm from \"./components/addForm.vue\";\nimport searchPromotion from \"./components/searchPromotion.vue\";\nimport searchFullLibrary from \"./components/searchFullLibrary.vue\";\nexport default {\n name: 'AdvanceApproval',\n components: {\n pagination: pagination,\n addForm: addForm,\n searchPromotion: searchPromotion,\n searchFullLibrary: searchFullLibrary\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n activeName: 'first',\n dialogVisible: false,\n markLoading: false,\n tableMaxHeight: 400,\n tableData: [],\n pageResult: {\n page: 1,\n pageSize: 50,\n total: 0\n },\n reqData: {\n pageBean: {\n page: 1,\n pageSize: 50,\n showTotal: true\n } // querys: [{\n // group: 'main',\n // operation: 'IN',\n // parentGroup: '',\n // property: 'c.STATUS_',\n // relation: 'AND',\n // value: [0,1,2,3,4]\n // }]\n\n },\n tableLoading: false,\n deleteIds: '',\n reqId: '',\n unitId: '',\n title: '核准'\n };\n },\n created: function created() {\n this.getData(this.reqData);\n },\n methods: {\n getTableData: function getTableData(val) {\n if (this.auditStatus != val) {\n this.auditStatus = val;\n this.getStatusList();\n }\n },\n getStatusList: _.debounce(function () {\n this.reqData.pageBean.page = 1;\n this.reqData.querys[0].value = this.auditStatus ? [2, 3, 4, 5, 6, 7] : [1];\n }, 500),\n //获取数据\n getData: function getData(data) {\n var _this = this;\n\n this.tableLoading = true;\n apilist.getTableData(data, function (res) {\n _this.pageResult.total = res.total;\n _this.tableLoading = false;\n _this.tableData = res.rows;\n });\n },\n // 查看详情 编辑 添加\n openDialog: function openDialog(item, title) {\n var _this2 = this;\n\n var id = item.id,\n unitId = item.unitId; // this.reqId = id\n // this.unitId = unitId\n // this.title = title\n\n this.dialogVisible = true;\n this.$nextTick(function () {\n _this2.$refs.addform.reqId = id;\n _this2.$refs.addform.unitId = unitId;\n _this2.$refs.addform.title = title; // this.$refs.addform.date = createTime\n\n _this2.$refs.addform.getDetail(id);\n });\n },\n handleClose: function handleClose(e) {\n this.reqId = '';\n this.unitId = '';\n this.$refs.addform.oldData = null;\n this.$refs.addform.copyData = null;\n this.dialogVisible = false;\n\n if (e === 'refresh') {\n this.getData(this.reqData);\n }\n },\n // 撤回\n revocation: function revocation(item) {\n var _this3 = this;\n\n var data = {\n status: 1,\n id: item.recId\n };\n this.$confirm('确认执行撤销操作吗?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'error'\n }).then(function () {\n _this3.markLoading = true;\n data.approvalResults = 2;\n pilot.updateMunStatus(data, function (res) {\n if (res.state) {\n _this3.$message.success('撤销操作成功');\n }\n\n _this3.markLoading = false;\n });\n });\n },\n getDictName: function getDictName(code, value) {\n return utils.getDictName(code, value);\n },\n handleCurrentChange: function handleCurrentChange(page) {\n this.reqData.pageBean = _objectSpread(_objectSpread({}, this.reqData.pageBean), {}, {\n page: page\n });\n this.getData(this.reqData);\n },\n handleSizeChange: function handleSizeChange(pageSize) {\n this.reqData.pageBean = _objectSpread(_objectSpread({}, this.reqData.pageBean), {}, {\n pageSize: pageSize\n });\n this.getData(this.reqData);\n }\n }\n};",null]}