{"remainingRequest":"D:\\jenkins\\workspace\\jd_cgpt_fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\jd_cgpt_fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\jd_cgpt_fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\jd_cgpt_fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\jd_cgpt_fvue\\src\\views\\Normal\\ProcurementManagement\\supplementManage\\component\\focusSupplementManage.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\jd_cgpt_fvue\\src\\views\\Normal\\ProcurementManagement\\supplementManage\\component\\focusSupplementManage.vue","mtime":1717533647326},{"path":"D:\\jenkins\\workspace\\jd_cgpt_fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\jd_cgpt_fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\jd_cgpt_fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\jd_cgpt_fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\jd_cgpt_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/jd_cgpt_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//\nimport pagination from '@/components/pagination';\nimport { TableMixin } from '@/mixins/tableMixin';\nimport procurementManagement from '@/api/procurementManagement';\nimport { label } from 'three/examples/jsm/nodes/Nodes.js';\nexport default {\n name: 'DemandEntry',\n components: {\n pagination: pagination\n },\n mixins: [TableMixin],\n data: function data() {\n return _defineProperty({\n tableHeight: 1000,\n tableData: [],\n handleDeleteActive: true,\n handleDeleteId: [],\n submiting: false,\n tableLoading: false,\n visible: false,\n loading: false,\n describe: '',\n fileList: [],\n queryParam: {\n pageBean: {\n page: 1,\n pageSize: 20,\n total: 0\n },\n sorter: [{\n direction: 'DESC',\n property: 'create_time_'\n }]\n },\n dialogVisible: false,\n querys: [// {\n // group: 'main',\n // operation: 'EQUAL',\n // parentGroup: '',\n // property: 'type',\n // relation: 'AND',\n // value: 2\n // },\n // {\n // group: 'main',\n // operation: 'EQUAL',\n // parentGroup: '',\n // property: 'projectApprovalType',\n // relation: 'AND',\n // value: 1\n // },\n // {\n // group: 'main',\n // operation: 'EQUAL',\n // parentGroup: '',\n // property: 'projectApprovalType',\n // relation: 'AND',\n // value: 1\n // }\n {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'bidStatus',\n relation: 'AND',\n value: 3\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'projectCode',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'matIfPlat',\n relation: 'AND',\n value: '1'\n }],\n rows: {},\n accessoryList: []\n }, \"handleDeleteId\", []);\n },\n mounted: function mounted() {\n //页面缩放从新计算表格的高度\n window.addEventListener('resize', this.calcTableHeight);\n },\n created: function created() {\n this.loadData();\n },\n beforeDestroy: function beforeDestroy() {\n window.removeEventListener('resize', this.calcTableHeight);\n },\n methods: {\n // 动态计算表格的高度,自适应当前容器\n calcTableHeight: function calcTableHeight() {\n this.tableHeight = this.$refs.tableContent.offsetHeight;\n },\n //获取数据\n loadData: function loadData() {\n var _this = this;\n\n this.tableLoading = true;\n this.queryParam.querys = [];\n\n if (this.querys[0].value) {\n this.queryParam.querys.push(this.querys[0]);\n }\n\n if (this.querys[1].value) {\n this.queryParam.querys.push(this.querys[1]);\n }\n\n if (this.querys[2].value) {\n this.queryParam.querys.push(this.querys[2]);\n }\n\n procurementManagement.bizProjectApprovalPage(this.queryParam).then(function (res) {\n _this.tableLoading = false;\n\n if (res.state) {\n _this.tableData = res.value.rows;\n _this.queryParam.pageBean = {\n page: res.value.page,\n pageSize: res.value.pageSize,\n total: res.value.total\n };\n }\n });\n },\n getByData: function getByData(row) {\n var _this2 = this;\n\n var params = {\n pageBean: {\n page: -1,\n pageSize: -1\n },\n querys: [{\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'type',\n relation: 'AND',\n value: 2\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'projectApprovalType',\n relation: 'AND',\n value: 1\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'projectApprovalId',\n relation: 'AND',\n value: row.id\n }]\n };\n this.loading = true;\n this.$http.post('${portal}/tenderDocument/v1/pageAccessory', params).then(function (res) {\n if (res.data.value) {\n _this2.fileList = res.data.value.rows;\n }\n\n _this2.loading = false;\n });\n },\n //下载按钮回调\n downloadFile: function downloadFile(name, url) {\n var a = document.createElement('a');\n var event = new MouseEvent('click');\n a.download = name;\n a.target = '_blank';\n a.href = url;\n a.dispatchEvent(event);\n },\n // 删除\n deleteHandle: function deleteHandle(id, index) {\n var _this3 = this;\n\n var ids = [];\n ids.push(id);\n this.$confirm('是否确认删除该附件', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'warning'\n }).then(function () {\n if (id) {\n _this3.$http.post('${portal}/tenderDocument/v1/removeByIds', ids).then(function (res) {\n console.log(res, '11111111111');\n\n _this3.getByData(_this3.rows);\n });\n }\n });\n },\n handleCheck: function handleCheck(row) {\n this.visible = true;\n this.accessoryList = row.accessoryList;\n },\n //下架\n shelvesTaken: function shelvesTaken() {\n var _this4 = this;\n\n var ids = this.handleDeleteId.join(',');\n this.$http.post('${portal}/tenderDocument/v1/modifyReleaseStatus?ids=' + ids + '&status=1').then(function (res) {\n if (res.data.state) {\n _this4.$message.success(res.data.message);\n }\n\n _this4.getByData(_this4.rows);\n });\n },\n // 编辑\n handleEdit: function handleEdit(rows) {\n this.rows = rows;\n this.getByData(rows);\n this.dialogVisible = true;\n this.loading = true;\n },\n dialogClose: function dialogClose() {\n this.visible = false;\n },\n //重置\n clearSearchForm: function clearSearchForm() {\n this.querys[0].value = '';\n this.querys[1].value = '';\n this.querys[2].value = '1';\n this.loadData();\n },\n dialogBeforeClose: function dialogBeforeClose() {\n this.dialogVisible = false;\n },\n publishBtn: function publishBtn() {\n var _this5 = this;\n\n var ids = this.handleDeleteId.join(',');\n this.submiting = true;\n this.$http.post('${portal}/tenderDocument/v1/modifyReleaseStatus?status=2' + '&ids=' + ids).then(function (res) {\n _this5.submiting = false;\n\n if (res.data.state) {\n _this5.$message.success(res.data.message);\n }\n\n _this5.getByData(_this5.rows);\n });\n },\n // 顶部搜索\n handleSearch: function handleSearch() {\n this.loadData();\n },\n handleSelectionChange: function handleSelectionChange(val) {\n if (val.length !== 0) {\n this.handleDeleteActive = false;\n this.handleDeleteId = val.map(function (item) {\n return item.id;\n });\n } else {\n this.handleDeleteActive = true;\n }\n },\n handleCurrentChange: function handleCurrentChange(page) {\n this.queryParam.pageBean = _objectSpread(_objectSpread({}, this.queryParam.pageBean), {}, {\n page: page\n });\n this.loadData(this.queryParam);\n },\n handleSizeChange: function handleSizeChange(pageSize) {\n this.queryParam.pageBean = _objectSpread(_objectSpread({}, this.queryParam.pageBean), {}, {\n pageSize: pageSize\n });\n this.loadData(this.queryParam);\n }\n },\n computed: {\n SearchPanel: function SearchPanel() {\n return {\n '--searchPanel': this.searchPanel + 'px'\n };\n }\n }\n};",null]}