{"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\\bidOpeningManagement\\component\\bidTenderProcurement.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\jd_cgpt_fvue\\src\\views\\Normal\\ManagementBid\\bidOpeningManagement\\component\\bidTenderProcurement.vue","mtime":1718743212304},{"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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 {mapState} from 'vuex'\r\nimport pagination from '@/components/pagination'\r\nimport {TableMixin} from '@/mixins/tableMixin'\r\nimport routerManagement from '@/api/BasicDataManagement/routerManagement.js'\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 objData: {},\r\n expertTitle: '选择评标人员',\r\n rounding: false,\r\n tableLoading: false,\r\n showTroubleshooting: false,\r\n markerFlowValue: {},\r\n bidsLoading: false,\r\n echoValue: {\r\n name: '',\r\n },\r\n manageData: [],\r\n bidOpening: [],\r\n options: [\r\n {\r\n value: 0,\r\n label: '未开标',\r\n },\r\n {\r\n value: 1,\r\n label: '已开标',\r\n },\r\n ],\r\n fileList: [],\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 },\r\n querys: [\r\n {\r\n group: 'main',\r\n operation: 'IN',\r\n parentGroup: '',\r\n property: 'bidStatus',\r\n relation: 'AND',\r\n value: ['3', '4', '5'],\r\n },\r\n {\r\n group: 'main',\r\n operation: 'EQUAL',\r\n parentGroup: '',\r\n property: 'procureType',\r\n relation: 'AND',\r\n value: 1,\r\n },\r\n {\r\n group: 'main',\r\n operation: 'LESS',\r\n parentGroup: '',\r\n property: 'biddingEndTime',\r\n relation: 'AND',\r\n value: '',\r\n },\r\n ],\r\n search: {\r\n code: 0,\r\n }, // 顶部搜索对象\r\n flowing: false,\r\n bidDataList: [],\r\n showDetals: false,\r\n visible:false,\r\n bidsSaveing: false,\r\n edit: false, // 是否是修改功能\r\n registrationList:[]\r\n }\r\n },\r\n mounted() {},\r\n created() {\r\n const moment = require('moment')\r\n this.querys[2].value = moment().format('YYYY-MM-DD HH:mm:ss')\r\n this.loadData()\r\n },\r\n computed: {\r\n ...mapState({\r\n headers: (state) => {\r\n return {Authorization: `Bearer ${state.login.currentUser.token}`}\r\n },\r\n action: function () {\r\n return window.context.portal + '/biz/universal/v1/minioUpload'\r\n },\r\n }),\r\n },\r\n methods: {\r\n // 文件状态改变时的钩子,添加文件、上传成功和上传失败时都会被调用,function(file, fileList)\r\n handleSuccess(res, file, fileList) {\r\n console.log(res, fileList)\r\n this.fileList.push(res.value)\r\n },\r\n // 点击关闭按钮\r\n handleClose() {\r\n this.showTroubleshooting = false\r\n this.bidsLoading = false\r\n },\r\n close() {\r\n this.showDetals = false\r\n this.visible = false\r\n },\r\n handleAdd(){\r\n let data = {\r\n pageBean:{\r\n page:-1,\r\n pageSize:-1\r\n },\r\n querys:[\r\n {\r\n group: 'main',\r\n operation: 'EQUAL',\r\n parentGroup: '',\r\n property: 'noticeId',\r\n relation: 'AND',\r\n value: this.multipleSelection[0].id,\r\n },\r\n {\r\n group: 'main',\r\n operation: 'EQUAL',\r\n parentGroup: '',\r\n property: 'status',\r\n relation: 'AND',\r\n value: 1,\r\n },\r\n ]\r\n }\r\n this.$http.post('${portal}/userParticipation/v1/pageAll',data).then(res=>{\r\n if(res.data.state){\r\n this.registrationList = res.data.value.rows\r\n this.visible = true\r\n }\r\n })\r\n },\r\n //流标保存\r\n handleSave() {\r\n this.flowing = true\r\n this.showTroubleshooting = false\r\n let form = this.flowForm\r\n form.bidStatus = 8\r\n form.failBidReason = this.markerFlowValue.failBidReason\r\n this.$http\r\n .post('${portal}/matApproval/v1/newRoundQuo', form)\r\n .then((res) => {\r\n console.log(res, 'res')\r\n if (res.data.state) {\r\n this.$message.success(res.data.message)\r\n this.loadData()\r\n this.markerFlowValue = {}\r\n this.showTroubleshooting = false\r\n this.flowing = false\r\n } else {\r\n this.flowing = false\r\n }\r\n })\r\n },\r\n //流标\r\n markerFlow(row) {\r\n this.flowForm = row\r\n this.showTroubleshooting = true\r\n },\r\n //开标保存\r\n bidsSave() {\r\n this.bidsSaveing = true\r\n let form = this.objData\r\n if (this.bidOpening.length != 0) {\r\n form.projectEvaluationExpertList = this.bidOpening\r\n }\r\n this.$http\r\n .post('${portal}/matApproval/v1/openingBid', form)\r\n .then((res) => {\r\n console.log(res, 'res')\r\n if (res.data.state) {\r\n this.$message.success(res.data.message)\r\n this.loadData()\r\n this.bidsLoading = false\r\n this.bidsSaveing = false\r\n } else {\r\n this.bidsSaveing = false\r\n }\r\n })\r\n },\r\n //开标\r\n bidsBtn(row) {\r\n let params = {\r\n querys: [\r\n {\r\n group: 'main',\r\n operation: 'EQUAL',\r\n parentGroup: '',\r\n property: 'noticeId',\r\n relation: 'AND',\r\n value: row.id,\r\n },\r\n ],\r\n }\r\n this.$http\r\n .post('${portal}/bizBiddingQuotation/v1/matBidOpenOrgData', params)\r\n .then((res) => {\r\n console.log(res, 'res')\r\n if (res.data.state) {\r\n this.objData = res.data.value\r\n this.manageData = res.data.value.quotationList\r\n this.bidsLoading = true\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 this.$http\r\n .post('${portal}/matApproval/v1/bidOpenData', this.queryParam)\r\n .then((res) => {\r\n console.log(res, 'res')\r\n this.tableLoading = false\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 })\r\n },\r\n handleDetails(row) {\r\n console.log(row, 'row')\r\n let params = {\r\n querys: [\r\n {\r\n group: 'main',\r\n operation: 'EQUAL',\r\n parentGroup: '',\r\n property: 'quo.QUOTATION_COMPANY_ID_',\r\n relation: 'AND',\r\n value: row.quotationCompanyId,\r\n },\r\n {\r\n group: 'main',\r\n operation: 'EQUAL',\r\n parentGroup: '',\r\n property: 'quo.NOTICE_ID_',\r\n relation: 'AND',\r\n value: row.noticeId,\r\n },\r\n ],\r\n }\r\n\r\n this.$http\r\n .post('${portal}/matApprovalDetails/v1/bidOpenManageData', params)\r\n .then((res) => {\r\n console.log(res, 'res')\r\n if (res.data.state) {\r\n this.bidDataList = res.data.value.rows\r\n this.showDetals = true\r\n }\r\n })\r\n },\r\n clearSearchForm() {\r\n this.querys[0].value = ['3', '4', '5']\r\n this.querys[1].value = '1'\r\n const moment = require('moment')\r\n this.querys[2].value = moment().format('YYYY-MM-DD HH:mm:ss')\r\n this.loadData()\r\n },\r\n // 顶部搜索\r\n handleSearch() {\r\n this.loadData()\r\n },\r\n handleSelectionChange(currentData) {\r\n this.multipleSelection = currentData\r\n if (this.multipleSelection.length > 1) {\r\n this.$refs.multipleSelection.toggleRowSelection(\r\n this.multipleSelection[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(this.queryParam)\r\n },\r\n handleSizeChange(pageSize) {\r\n this.queryParam.pageBean = {...this.queryParam.pageBean, pageSize}\r\n this.loadData(this.queryParam)\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]}