{"remainingRequest":"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\\ManagementBid\\calibration\\component\\materialProcurement.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\jd_cgpt_fvue\\src\\views\\Normal\\ManagementBid\\calibration\\component\\materialProcurement.vue","mtime":1720298438141},{"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":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\r\nimport pagination from '@/components/pagination'\r\nimport {TableMixin} from '@/mixins/tableMixin'\r\nimport routerManagement from '@/api/BasicDataManagement/routerManagement.js'\r\nimport req from '@/request.js'\r\nimport utils from '@/utils.js'\r\nconst portal = window.context.portal\r\nexport default {\r\n name: 'DemandEntry',\r\n components: {\r\n pagination,\r\n },\r\n mixins: [TableMixin],\r\n data() {\r\n return {\r\n currentPage: 1,\r\n tableMaxHeight: 400,\r\n loading: false,\r\n tableLoading: false,\r\n tableData: [],\r\n multipleSelection: [],\r\n querys: [\r\n {\r\n group: 'mains',\r\n operation: 'EQUAL',\r\n parentGroup: '',\r\n property: 'bidStatus',\r\n relation: 'AND',\r\n value: '6',\r\n },\r\n {\r\n group: 'mains',\r\n operation: 'EQUAL',\r\n parentGroup: '',\r\n property: 'bidStatus',\r\n relation: 'OR',\r\n value: '10',\r\n },\r\n {\r\n group: 'main',\r\n operation: 'EQUAL',\r\n parentGroup: '',\r\n property: 'calibraStatus',\r\n relation: 'AND',\r\n value: '0',\r\n },\r\n {\r\n group: 'main',\r\n operation: 'LIKE',\r\n parentGroup: '',\r\n property: 'noticeTitle',\r\n relation: 'AND',\r\n value: '',\r\n },\r\n {\r\n group: 'main',\r\n operation: 'BEWTEEN',\r\n parentGroup: '',\r\n property: 'noticeTitle',\r\n relation: 'AND',\r\n value: '',\r\n }\r\n ],\r\n params: {\r\n pageBean: {\r\n page: 1,\r\n pageSize: 20,\r\n total: 0,\r\n },\r\n },\r\n queryParam: {\r\n pageBean: {\r\n page: 1,\r\n pageSize: 20,\r\n total: 0,\r\n },\r\n },\r\n fileList: [], // 文件上传\r\n currentDataDel: [], // 删除时排查是否有在审核的数据\r\n }\r\n },\r\n mounted() {},\r\n created() {\r\n this.loadData()\r\n },\r\n methods: {\r\n getDictName(code, value) {\r\n return utils.getDictName(code, value)\r\n },\r\n //评标确认\r\n quoteConfirm(rows) {\r\n if (rows.evaluationMethod == 1||rows.evaluationMethod == 2) {\r\n this.$router.push({\r\n path: `/materialEvaluation/${rows.id}`,\r\n query:{evaluationMethod:rows.evaluationMethod}\r\n })\r\n }\r\n if (rows.evaluationMethod == 2&& rows.evaluationMode==2) {\r\n this.$router.push({\r\n path: `/materialProcurementBid/${rows.id}`,\r\n })\r\n }\r\n },\r\n //获取数据\r\n loadData() {\r\n this.tableLoading = true\r\n this.queryParam.querys = []\r\n if (this.querys[0].value) {\r\n this.queryParam.querys.push(this.querys[0])\r\n }\r\n if (this.querys[1].value) {\r\n this.queryParam.querys.push(this.querys[1])\r\n }\r\n if (this.querys[2].value) {\r\n this.queryParam.querys.push(this.querys[2])\r\n }\r\n if (this.querys[3].value) {\r\n this.queryParam.querys.push(this.querys[3])\r\n }\r\n if (this.querys[4].value) {\r\n this.queryParam.querys.push(this.querys[4])\r\n }\r\n this.queryParam.sorter = [\r\n {\r\n direction: 'DESC',\r\n property: 'create_time_',\r\n },\r\n ]\r\n this.$http\r\n .post('${portal}/matApproval/v1/page', this.queryParam)\r\n .then((res) => {\r\n console.log(res, 'resss')\r\n this.tableLoading = false\r\n if (res.data.state) {\r\n this.tableData = res.data.value.rows || []\r\n this.queryParam.pageBean = {\r\n page: res.data.value.page,\r\n pageSize: res.data.value.pageSize,\r\n total: res.data.value.total,\r\n }\r\n }\r\n })\r\n },\r\n // 定标\r\n handleCalibration() {\r\n this.loading = true\r\n this.$http\r\n .post(\r\n '${portal}/matApproval/v1/modifyCalibraStatus?ids=' +\r\n this.currentDataDel[0].id +\r\n '&status=2'\r\n )\r\n .then((res) => {\r\n console.log(res)\r\n this.loading = false\r\n if (res.data.state) {\r\n this.$message.success(res.data.message)\r\n this.loadData()\r\n }\r\n })\r\n },\r\n // 顶部搜索\r\n handleSearch() {\r\n this.loadData()\r\n },\r\n // 重置\r\n clearSearchForm() {\r\n this.querys[0].value = '6'\r\n this.querys[1].value = '10'\r\n this.querys[2].value = '0'\r\n this.querys[3].value = ''\r\n this.querys[4].value = ''\r\n this.loadData()\r\n },\r\n handleSelectionChange(currentData) {\r\n this.currentDataDel = currentData\r\n if (this.currentDataDel.length > 1) {\r\n this.$refs.multipleSelection.toggleRowSelection(\r\n this.currentDataDel[0],\r\n false\r\n )\r\n }\r\n },\r\n handleCurrentChange(page) {\r\n this.queryParam.pageBean = {...this.queryParam.pageBean, page}\r\n this.loadData()\r\n },\r\n handleSizeChange(pageSize) {\r\n this.queryParam.pageBean = {...this.queryParam.pageBean, pageSize}\r\n this.loadData()\r\n },\r\n },\r\n computed: {\r\n SearchPanel() {\r\n return {\r\n '--searchPanel': this.searchPanel + 'px',\r\n }\r\n },\r\n },\r\n}\r\n",null]}