{"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\\evaluationBid\\component\\minProcurementBid.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\jd_cgpt_fvue\\src\\views\\Normal\\ManagementBid\\evaluationBid\\component\\minProcurementBid.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 _defineProperty from \"D:/jenkins/workspace/jd_cgpt_fvue/node_modules/@babel/runtime/helpers/esm/defineProperty\";\nimport \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/es6.object.keys\";\nimport \"core-js/modules/web.dom.iterable\";\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//\nimport procurementUnits from \"./procurementUnits.vue\";\nimport { getMergeCells } from '@/utils/mergingTable.js';\nimport { mapState } from 'vuex';\nimport Breadcrumb from '@/components/Breadcrumb/index.vue';\nimport pagination from '@/components/pagination';\nimport { TableMixin } from '@/mixins/tableMixin';\nimport routerManagement from '@/api/BasicDataManagement/routerManagement.js';\nexport default {\n name: 'evaluationManagement',\n components: {\n pagination: pagination,\n Breadcrumb: Breadcrumb,\n procurementUnits: procurementUnits\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n breadcrumbOpt: [{\n breadcrumbName: '物资采购'\n }, {\n breadcrumbName: '最低评标法'\n }],\n loading: false,\n tableLoading: false,\n activeName: 'first',\n dataList: [],\n params: {},\n saving: false,\n tableData: [],\n multipleSelection: [],\n form: {},\n selectArr: [],\n fileList: [],\n //招标文件\n clarifyList: [],\n //补遗文件\n scoreData: [],\n tableHeadData: [],\n // 自定义报价表头\n currentUser: {},\n tenderList: [] //投标文件\n\n };\n },\n mounted: function mounted() {},\n created: function created() {\n this.tableHeadData = [{\n label: '报价金额',\n width: 100,\n prop: 'quoArrange'\n }, {\n label: '合计金额',\n width: 100,\n prop: 'amount'\n }];\n this.params = this.$route.params;\n console.log(this.$route);\n this.loadData();\n this.currentUser = JSON.parse(sessionStorage.getItem('currentUserDetail'));\n },\n methods: {\n // 切换tab选项\n handleClick: function handleClick() {\n var _this = this;\n\n if (this.activeName == 'five') {}\n\n if (this.activeName == 'second') {\n this.tenderList = [];\n var parmas = {\n pageBean: {\n pageSize: -1,\n page: -1\n },\n querys: []\n };\n parmas.querys.push({\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'projectApprovalId',\n relation: 'AND',\n value: this.$route.params.ids\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: 'supplierId',\n // relation: 'AND',\n // value: this.currentUser.org[0].orgId,\n // }\n );\n this.tenderList = [];\n this.$http.post('${portal}/bidDocuments/v1/page', parmas).then(function (res) {\n var data = res.data.value.rows;\n data.forEach(function (item) {\n if (item.accessoryList && item.accessoryList.length != 0) {\n item.accessoryList.forEach(function (val) {\n if (item.id == val.sourceId) {\n _this.tenderList.push(val);\n }\n });\n }\n });\n });\n }\n\n if (this.activeName == 'question') {}\n\n if (this.activeName == 'addendum') {}\n },\n //保存\n handleSave: function handleSave() {\n var _this2 = this;\n\n if (this.selectList.length > 1) {\n this.$message.warning('请选择一家供应商进行评标');\n return;\n }\n\n this.saving = true;\n var form = {\n quotationList: [],\n noticeDetailedId: '',\n noticeType: 1,\n noticeId: ''\n };\n this.selectList.forEach(function (item) {\n form.quotationList.push(item);\n });\n form.noticeDetailedId = this.form.id;\n form.noticeId = this.params.ids;\n this.$http.post('${portal}/bidEvaluation/v1/choiceBidEvaLowest', form).then(function (res) {\n _this2.saving = false;\n\n if (res.data.state) {\n _this2.$message.success(res.data.message);\n\n _this2.getSupplier(_this2.form);\n }\n\n _this2.loadData();\n });\n },\n //查看文件\n downloadFile: function downloadFile(name, url) {\n console.log(name, 'name');\n var link = document.createElement('a');\n link.style.display = 'none';\n link.target = '_blank'; // 设置下载地址\n\n link.setAttribute('href', url); // 设置文件名\n\n link.setAttribute('download', name);\n link.download = name;\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n },\n //获取数据\n loadData: function loadData() {\n var _this3 = 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: 'detail.NOTICE_ID_',\n relation: 'AND',\n value: this.params.ids\n }]\n };\n this.tableLoading = true;\n this.$http.post('${portal}/matApproval/v1/getDataById?id=' + this.params.ids).then(function (res) {\n console.log(res, 1111111111111);\n _this3.tableLoading = false;\n var data = res && res.data || {};\n _this3.tableData = data.value.detailsList || [];\n\n if (data.value.zbDocument != undefined) {\n _this3.fileList = data.value.zbDocument.accessoryList;\n }\n\n _this3.clarifyList = [];\n\n if (data.value.byDocument != undefined) {\n data.value.byDocument.forEach(function (item) {\n if (item.accessoryList && item.accessoryList.length != 0) {\n item.accessoryList.forEach(function (val) {\n if (item.id == val.sourceId) {\n val.describe = item.describe;\n\n _this3.clarifyList.push(val);\n }\n });\n }\n });\n }\n });\n },\n getSupplier: function getSupplier(row) {\n var _this4 = this;\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: 'noticeId',\n relation: 'AND',\n value: this.params.ids\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'noticeType',\n relation: 'AND',\n value: 1\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'quotationRounds',\n relation: 'AND',\n value: this.$route.query.rows.quotationRounds\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'noticeDetailedId',\n relation: 'AND',\n value: row.id\n });\n this.loading = true;\n this.$http.post('${portal}/bizBiddingQuotation/v1/pageLowestEva', params).then(function (res) {\n if (res.data.state) {\n var data = res.data.value.rows;\n _this4.scoreData = res.data.value.rows;\n\n _this4.scoreData.forEach(function (item) {\n item.evaExplainAccessory = [];\n item.name = '';\n item.quoArrange = item.quotationTemplateDetailDataList[0].value;\n item.quotationTemplateDetailDataList.forEach(function (object) {\n var arr = [];\n arr = Object.keys(item.quotationTemplateDetailDataList[0]);\n\n _this4.tableHeadData.forEach(function (val) {\n arr.forEach(function (e) {\n if (e == val.prop && object.quoArrange != '') {\n val.label = item.quotationTemplateDetailDataList[0].quoArrange;\n }\n });\n });\n });\n });\n\n _this4.$nextTick(function () {\n if (data.length != 0) {\n _this4.scoreData.forEach(function (item) {\n if (item.isLowest == 1 && item.isEva == 0) {\n // if(item.isEva == 1){\n // this.$refs.multipleTable.toggleRowSelection(item, true)\n // }else{\n // this.$refs.multipleTable.toggleRowSelection(item, false)\n // }\n _this4.$refs.multipleTable.toggleRowSelection(item, true);\n } else if (item.isLowest == 1 && item.isEva == 1) {\n _this4.$refs.multipleTable.toggleRowSelection(item, true);\n }\n });\n }\n });\n }\n\n _this4.loading = false;\n });\n },\n handleSuccess: function handleSuccess(res, val, fileList) {\n val.evaExplainAccessory.push(res.value);\n this.scoreData.forEach(function (item) {\n if (val.id == item.id) {\n val.evaExplainAccessory.forEach(function (e) {\n item.name = e.name;\n });\n }\n });\n this.$forceUpdate();\n },\n // 关闭//面包屑点击\n handleClose: function handleClose() {\n this.$router.push({\n name: 'evaluationBid',\n params: {\n tabsActiveName: 'procurementMaterial',\n pageBean: this.$route.query.pageBean\n }\n });\n },\n handleSelectionChange: function handleSelectionChange(value) {\n this.selectList = value;\n this.multipleSelection = value.map(function (item) {\n return item.id;\n });\n },\n selectionChange: function selectionChange(val) {\n this.selectArr = val;\n\n if (this.selectArr.length > 1) {\n this.$refs.multipleSelection.toggleRowSelection(this.selectArr[0], false);\n }\n },\n // 表格行点击\n handleBtn: function handleBtn(rows) {\n this.form = rows;\n\n if (this.selectArr.length == 0) {\n this.selectArr.push(rows);\n }\n\n if (this.selectArr.length > 1) {\n this.selectArr = [];\n }\n\n this.getSupplier(rows);\n },\n getRowKeys: function getRowKeys(row) {\n return row.id;\n }\n },\n computed: _objectSpread({\n SearchPanel: function SearchPanel() {\n return {\n '--searchPanel': this.searchPanel + 'px'\n };\n }\n }, mapState({\n headers: function headers(state) {\n return {\n Authorization: \"Bearer \".concat(state.login.currentUser.token)\n };\n },\n action: function action() {\n return window.context.portal + '/biz/universal/v1/minioUpload';\n }\n }))\n};",null]}