{"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\\ManagementBid\\bidOpeningManagement\\component\\bidMatApproval.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\jd_cgpt_fvue\\src\\views\\Normal\\ManagementBid\\bidOpeningManagement\\component\\bidMatApproval.vue","mtime":1720557639678},{"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\";\nimport \"core-js/modules/es6.regexp.search\";\nimport \"core-js/modules/es6.function.name\";\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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 bidOpeningUnits from \"./bidOpeningUnits.vue\";\nimport evaluationBid from \"./evaluationBid.vue\";\nimport { TableMixin } from '@/mixins/tableMixin';\nimport routerManagement from '@/api/BasicDataManagement/routerManagement.js';\nexport default {\n name: 'DemandEntry',\n components: {\n pagination: pagination,\n bidOpeningUnits: bidOpeningUnits,\n evaluationBid: evaluationBid\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n currentPage: 1,\n tableMaxHeight: 400,\n loading: false,\n objData: {},\n rounding: false,\n tableLoading: false,\n showTroubleshooting: false,\n markerFlowValue: {},\n roundsTwoLoading: false,\n roundsTwoValue: {},\n bidsLoading: false,\n bidsValue: {\n personnel: '',\n way: ''\n },\n echoValue: {\n name: ''\n },\n viewing: false,\n manageData: [],\n bidOpening: [],\n options: [{\n value: 0,\n label: '否'\n }, {\n value: 1,\n label: '是'\n }],\n tableData: [],\n multipleSelection: [],\n queryParam: {\n pageBean: {\n page: 1,\n pageSize: 20,\n total: 0\n }\n },\n querys: [{\n group: 'main',\n operation: 'IN',\n parentGroup: '',\n property: 'bidStatus',\n relation: 'AND',\n value: ['3', '4', '5']\n }, {\n group: 'main',\n operation: 'LIKE',\n parentGroup: '',\n property: 'bidStatus',\n relation: 'AND',\n value: ''\n }],\n search: {\n code: ''\n },\n // 顶部搜索对象\n flowing: false,\n bidDataList: [],\n showView: false,\n detailsList: [],\n showDetals: false,\n bidsSaveing: false,\n deleteIds: '',\n // 是否选中列表解锁删除按钮\n activeCollapse1: ['1', '2'],\n fileList: [],\n // 文件上传\n edit: false,\n // 是否是修改功能\n currentDataDel: [],\n // 删除时排查是否有在审核的数据\n roundsRules: {\n biddingStartTime: [{\n required: true,\n message: '请选择报价开始时间',\n trigger: ['blur', 'change']\n }],\n biddingEndTime: [{\n required: true,\n message: '请选择报价结束时间',\n trigger: ['blur', 'change']\n }]\n }\n };\n },\n mounted: function mounted() {},\n created: function created() {\n this.loadData();\n },\n methods: {\n // 点击关闭按钮\n handleClose: function handleClose() {\n this.showTroubleshooting = false;\n this.roundsTwoLoading = false;\n this.bidsLoading = false;\n this.bidOpening = [];\n this.bidsValue.personnel = '';\n this.bidsValue.way = '';\n this.echoValue = {};\n },\n close: function close() {\n this.showDetals = false;\n this.showView = false;\n },\n //发起新一轮报价\n roundsTwo: function roundsTwo(row) {\n this.objData = row;\n this.roundsTwoLoading = true;\n },\n //发起新一轮报价保存\n roundsTwoSave: function roundsTwoSave() {\n var _this = this;\n\n var form = this.objData;\n form.bidStatus = 3;\n form.biddingStartTime = this.roundsTwoValue.biddingStartTime;\n form.biddingEndTime = this.roundsTwoValue.biddingEndTime;\n form.newQuoReason = this.roundsTwoValue.newQuoReason;\n console.log(form);\n this.$refs.roundsRules.validate(function (valid) {\n if (valid) {\n _this.rounding = true;\n\n _this.$http.post('${portal}/matApproval/v1/newRoundQuo', form).then(function (res) {\n console.log(res, 'm;ress'); // 表单验证通过\n\n if (res.data.state) {\n _this.$message.success(res.data.message);\n\n _this.roundsTwoValue = {};\n _this.roundsTwoLoading = false;\n }\n\n _this.rounding = false;\n\n _this.loadData();\n });\n }\n });\n },\n //流标保存\n handleSave: function handleSave() {\n var _this2 = this;\n\n this.flowing = true;\n this.showTroubleshooting = false;\n var form = this.flowForm;\n form.bidStatus = 8;\n form.failBidReason = this.markerFlowValue.failBidReason;\n this.$http.post('${portal}/matApproval/v1/newRoundQuo', form).then(function (res) {\n console.log(res, 'res');\n\n if (res.data.state) {\n _this2.$message.success(res.data.message);\n\n _this2.loadData();\n\n _this2.markerFlowValue = {};\n _this2.showTroubleshooting = false;\n _this2.flowing = false;\n } else {\n _this2.flowing = false;\n }\n });\n },\n // 查看报名情况\n handleDetail: function handleDetail() {\n if (this.multipleSelection.length > 1) {\n this.$message.warning('请选择单条数据进行查看');\n return;\n }\n\n this.handleDetails();\n },\n handleView: function handleView() {\n var _this3 = this;\n\n if (this.multipleSelection.length > 1) {\n this.$message.warning('请选择单条数据进行查看');\n return;\n }\n\n var params = {\n pageBean: {\n page: -1,\n pageSize: -1\n },\n querys: []\n };\n params.querys.push({\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'quo.NOTICE_ID_',\n relation: 'AND',\n value: this.multipleSelection[0].id\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'quo.QUOTATION_ROUNDS_',\n relation: 'AND',\n value: this.multipleSelection[0].quotationRoundsNum\n });\n this.$http.post('${portal}/bizBiddingQuotation/v1/pageQuoAndMatDetail', params).then(function (res) {\n if (res.data.state) {\n _this3.detailsList = res.data.value.rows;\n _this3.showView = true;\n }\n });\n },\n //流标\n markerFlow: function markerFlow(row) {\n this.flowForm = row;\n this.showTroubleshooting = true;\n },\n //开标保存\n bidsSave: function bidsSave() {\n var _this4 = this;\n\n this.$confirm('确认当前信息后请点击确定以进行开标?', '提示', {\n confirmButtonText: '确 定',\n cancelButtonText: '取 消',\n type: 'warning'\n }).then(function () {\n _this4.bidsSaveing = true;\n var form = _this4.objData;\n\n if (_this4.bidOpening.length != 0) {\n form.projectEvaluationExpertList = _this4.bidOpening;\n }\n\n _this4.$http.post('${portal}/matApproval/v1/openingBid', form).then(function (res) {\n console.log(res, 'res');\n\n if (res.data.state) {\n _this4.$message.success(res.data.message);\n\n _this4.loadData();\n\n _this4.bidsValue = {};\n _this4.bidsLoading = false;\n _this4.bidsSaveing = false;\n } else {\n _this4.bidsSaveing = false;\n }\n });\n }).catch(function () {\n _this4.$message.info('已取消');\n });\n },\n //开标\n bidsBtn: function bidsBtn(row) {\n var _this5 = this;\n\n this.manageData = [];\n var params = {\n querys: [{\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'noticeId',\n relation: 'AND',\n value: row.id\n }]\n };\n this.$http.post('${portal}/bizBiddingQuotation/v1/matBidOpenOrgData', params).then(function (res) {\n console.log(res, 'res');\n\n if (res.data.state) {\n _this5.objData = res.data.value;\n\n _this5.manageData.push(_this5.objData);\n\n _this5.bidsValue.personnel = _this5.objData.projectEvaluationExpertList.map(function (item) {\n return item.fullname;\n }).join(',');\n _this5.bidsLoading = true;\n }\n });\n },\n //评标人员\n purchasingUnitsBtn: function purchasingUnitsBtn() {\n this.$refs.troubleshooting.add();\n },\n addDetail: function addDetail(list) {\n this.bidOpening = list;\n this.bidsValue.personnel = list.map(function (item) {\n return item.fullname;\n }).join(',');\n console.log(this.bidsValue.personnel);\n },\n //评标办法\n evaluationBid: function evaluationBid() {\n this.$refs.troublebids.add();\n },\n bidsDetail: function bidsDetail(list) {\n this.bidsValue.way = list.name;\n this.echoValue = list;\n this.objData.evaluationTemplateId = this.echoValue.id;\n this.objData.evaluationMethod = this.echoValue.evaluatingMethods;\n },\n //获取数据\n loadData: function loadData() {\n var _this6 = 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 this.queryParam.sorter = [{\n direction: 'DESC',\n property: 'create_time_'\n }];\n this.$http.post('${portal}/matApproval/v1/bidOpenData', this.queryParam).then(function (res) {\n console.log(res, 'res');\n _this6.tableLoading = false;\n\n if (res.data.state) {\n _this6.tableData = res.data.value.rows;\n console.log('返回的表格数据', _this6.tableData);\n _this6.queryParam.pageBean = {\n page: res.data.value.page,\n pageSize: res.data.value.pageSize,\n total: res.data.value.total\n };\n }\n });\n },\n changeCode: function changeCode(val) {\n console.log(val);\n\n if (val == '') {\n this.querys[0].value = ['3', '4', '5'];\n }\n\n if (val == 0) {\n this.querys[0].value = ['3', '4'];\n }\n\n if (val == 1) {\n this.querys[0].value = ['5'];\n }\n },\n handleDetails: function handleDetails() {\n var _this7 = 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: 'round',\n relation: 'AND',\n value: this.multipleSelection[0].quotationRoundsNum\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'noticeId',\n relation: 'AND',\n value: this.multipleSelection[0].id\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'status',\n relation: 'AND',\n value: 1\n }]\n };\n this.$http.post('${portal}/userParticipation/v1/pageRegistraAndBid', params).then(function (res) {\n console.log(res, 'res');\n\n if (res.data.state) {\n _this7.bidDataList = res.data.value.rows;\n _this7.showDetals = true;\n }\n });\n },\n // 顶部搜索\n handleSearch: function handleSearch() {\n this.loadData();\n },\n clearSearchForm: function clearSearchForm() {\n this.querys[0].value = ['3', '4', '5'];\n this.querys[1].value = '';\n this.search.code = '';\n this.loadData();\n },\n handleSelectionChange: function handleSelectionChange(currentData) {\n this.currentDataDel = currentData;\n this.multipleSelection = currentData;\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]}