{"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\\winningBid\\notificationWinningBid\\component\\materialNotice.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\jd_cgpt_fvue\\src\\views\\Normal\\winningBid\\notificationWinningBid\\component\\materialNotice.vue","mtime":1720557639694},{"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//\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 pushing: false,\r\n tableData: [],\r\n multipleSelection: [],\r\n queryParam: {\r\n pageBean: {\r\n page: 1,\r\n pageSize: 20,\r\n total: 0,\r\n },\r\n querys: [],\r\n },\r\n searchForm: {\r\n calibraStatus: '2',\r\n winNoticeStatus: '1',\r\n }, // 顶部搜索对象\r\n deleteIds: '', // 是否选中列表解锁删除按钮\r\n edit: false, // 是否是修改功能\r\n currentDataDel: [], // 删除时排查是否有在审核的数据\r\n }\r\n },\r\n mounted() {},\r\n created() {\r\n this.handleSearch()\r\n },\r\n methods: {\r\n // 管理成交通知(列表按钮回调)\r\n handleNotifcation(rows) {\r\n if (rows.evaluationMethod == 2 && rows.evaluationMode == 2) {\r\n this.$router.push({\r\n name: 'notificationWinningBidAddDialog',\r\n query: {rows},\r\n })\r\n }\r\n if ((rows.evaluationMethod == 1 || rows.evaluationMethod == 2)&&rows.evaluationMode != 2) {\r\n this.$router.push({\r\n path: `/notificationWinningBidDetail/${rows.id}`,\r\n query: {evaluationMethod: rows.evaluationMethod},\r\n })\r\n }\r\n },\r\n getDictName(code, value) {\r\n return utils.getDictName(code, value)\r\n },\r\n\r\n //获取数据\r\n loadData() {\r\n this.tableLoading = true\r\n this.$http\r\n .post('${portal}/matApproval/v1/page', this.queryParam)\r\n .then((res) => {\r\n console.log(res, 'res')\r\n if (res.data.state) {\r\n this.tableData = res.data.value.rows\r\n console.log('返回的表格数据', this.tableData)\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 this.tableLoading = false\r\n })\r\n },\r\n clearSearchForm() {\r\n this.searchForm = {\r\n calibraStatus: '2',\r\n winNoticeStatus: '1',\r\n }\r\n this.handleSearch()\r\n },\r\n // 顶部搜索\r\n handleSearch() {\r\n let obj = this.searchForm\r\n let querys = []\r\n for (let i in obj) {\r\n if (obj[i]) {\r\n querys.push({\r\n group: 'main',\r\n operation:\r\n i == 'procureOrgName' || i == 'noticeTitle' ? 'LIKE' : 'EQUAL',\r\n parentGroup: '',\r\n property: i,\r\n relation: 'AND',\r\n value: obj[i],\r\n })\r\n }\r\n }\r\n this.queryParam.querys = querys\r\n this.loadData()\r\n },\r\n // 发布\r\n handlePush() {\r\n this.pushing = true\r\n let data = {\r\n noticeId: this.currentDataDel[0].id,\r\n }\r\n this.$http\r\n .post('${portal}/bizWinBiddingNotice/v1/pushWinBidNotice', data)\r\n .then((res) => {\r\n this.pushing = false\r\n if (res.data.state) {\r\n this.$message.success(res.data.message)\r\n this.handleSearch()\r\n }\r\n })\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]}