{"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\\ProjectManagement\\projectProcurementApproval\\component\\projectApprovalAddDialog.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\jd_cgpt_fvue\\src\\views\\Normal\\ProjectManagement\\projectProcurementApproval\\component\\projectApprovalAddDialog.vue","mtime":1719607232277},{"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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 Breadcrumb from '@/components/Breadcrumb/index.vue'\r\nimport {quillEditor} from 'vue-quill-editor' //调用编辑器\r\nimport 'quill/dist/quill.core.css'\r\nimport 'quill/dist/quill.snow.css'\r\nimport {mapState} from 'vuex'\r\nimport 'quill/dist/quill.bubble.css'\r\nimport purchasingUnits from './purchasingUnits.vue'\r\nimport expertUesrs from './expertUesrs.vue'\r\nimport evaluationBid from './evaluationBid.vue'\r\nimport quotationTemplateDialog from './quotationTemplateDialog.vue'\r\nimport procurementManagement from '@/api/procurementManagement'\r\nimport expertPoolUnits from '@/components/dialog/expertPoolUnits.vue'\r\n\r\nconst toolbarOptions = [\r\n ['bold', 'italic', 'underline', 'strike'], // toggled buttons\r\n ['blockquote', 'code-block'],\r\n\r\n [{header: 1}, {header: 2}], // custom button values\r\n [{list: 'ordered'}, {list: 'bullet'}],\r\n [{script: 'sub'}, {script: 'super'}], // superscript/subscript\r\n [{indent: '-1'}, {indent: '+1'}], // outdent/indent\r\n [{direction: 'rtl'}], // text direction\r\n\r\n [{size: ['small', false, 'large', 'huge']}], // custom dropdown\r\n [{header: [1, 2, 3, 4, 5, 6, false]}],\r\n\r\n [{color: []}, {background: []}], // dropdown with defaults from theme\r\n [{font: []}],\r\n [{align: []}],\r\n ['link', 'image', 'upload'],\r\n ['clean'], // remove formatting button\r\n]\r\nimport {Quill} from 'vue-quill-editor'\r\n// 自定义插入a链接\r\nvar Link = Quill.import('formats/link')\r\nclass FileBlot extends Link {\r\n // 继承Link Blot\r\n static create(value) {\r\n let node = undefined\r\n if (value && !value.href) {\r\n // 适应原本的Link Blot\r\n node = super.create(value)\r\n } else {\r\n // 自定义Link Blot\r\n node = super.create(value.href)\r\n // node.setAttribute('download', value.innerText); // 左键点击即下载\r\n node.innerText = value.innerText\r\n node.download = value.innerText\r\n }\r\n return node\r\n }\r\n}\r\nFileBlot.blotName = 'link'\r\nFileBlot.tagName = 'A'\r\nQuill.register(FileBlot)\r\nexport default {\r\n name: 'domesticDialog',\r\n components: {\r\n Breadcrumb,\r\n purchasingUnits,\r\n expertUesrs,\r\n evaluationBid,\r\n quillEditor,\r\n quotationTemplateDialog,\r\n expertPoolUnits,\r\n },\r\n props: {\r\n editData: Object,\r\n },\r\n data() {\r\n return {\r\n importData: {\r\n title: '明细导入',\r\n templateName: '明细导入模板.xls',\r\n downloadUrl: '/../fvue/static/excel/material.xlsx',\r\n importUrl: window.context.portal + '/biz/Gs/v1/importExcelData',\r\n showProject: true,\r\n header: '明细导入',\r\n },\r\n editorOption: {\r\n // 改变提示文字内容\r\n placeholder: '请输入内容......',\r\n modules: {\r\n toolbar: {\r\n container: toolbarOptions, // 工具栏\r\n handlers: {\r\n upload: (value) => {\r\n if (value) {\r\n document.querySelector('.uploadFile input').click()\r\n }\r\n },\r\n },\r\n },\r\n },\r\n },\r\n saveing: false,\r\n bidList: [],\r\n supplierList: [],\r\n qualificationsList: [],\r\n active: '1',\r\n centralizedData: [\r\n {name: '是', id: 1},\r\n {name: '否', id: 0},\r\n ],\r\n breadcrumbOpt: [{breadcrumbName: '采购立项'}, {breadcrumbName: '新增'}],\r\n expertList: [],\r\n activeName: '1',\r\n rules: {\r\n projectNumber: [\r\n {\r\n required: true,\r\n message: '请输入项目编号',\r\n trigger: 'blur',\r\n },\r\n ],\r\n noticeTitle: [\r\n {\r\n required: true,\r\n message: '请输入公告标题',\r\n trigger: 'blur',\r\n },\r\n ],\r\n procureOrgName: [\r\n {\r\n required: true,\r\n message: '请选择采购单位',\r\n trigger: 'blur',\r\n },\r\n ],\r\n applicationType: [\r\n {\r\n required: true,\r\n message: '请选择项目类型',\r\n trigger: 'blur',\r\n },\r\n ],\r\n matIfPlat: [\r\n {\r\n required: true,\r\n message: '请选择是否集中采购',\r\n trigger: 'blur',\r\n },\r\n ],\r\n procureType: [\r\n {\r\n required: true,\r\n message: '请选择采购类型',\r\n trigger: 'blur',\r\n },\r\n ],\r\n isTax: [\r\n {\r\n required: true,\r\n message: '请选择是否含税价',\r\n trigger: 'blur',\r\n },\r\n ],\r\n releaseMethod: [\r\n {\r\n required: true,\r\n message: '请选择发布方式',\r\n trigger: 'blur',\r\n },\r\n ],\r\n vendorName: [\r\n {\r\n required: true,\r\n message: '请选择供应商',\r\n trigger: 'blur',\r\n },\r\n ],\r\n establishmentName: [\r\n {\r\n required: true,\r\n message: '请输入项目内容',\r\n trigger: 'blur',\r\n },\r\n ],\r\n quotationMethod: [\r\n {\r\n required: true,\r\n message: '请选择付款方式',\r\n trigger: 'blur',\r\n },\r\n ],\r\n acceptanceTime: [\r\n {\r\n required: true,\r\n message: '请选择承兑时间',\r\n trigger: 'blur',\r\n },\r\n ],\r\n pendingTime: [\r\n {\r\n required: true,\r\n message: '请选择挂账时间',\r\n trigger: 'blur',\r\n },\r\n ],\r\n hasQualification: [\r\n {\r\n required: true,\r\n message: '请选择资质要求',\r\n trigger: 'blur',\r\n },\r\n ],\r\n qualificationsCoutentName: [\r\n {\r\n required: true,\r\n message: '请选择资质标签',\r\n trigger: 'blur',\r\n },\r\n ],\r\n hasBond: [\r\n {\r\n required: true,\r\n message: '请选择有无保证金',\r\n trigger: 'blur',\r\n },\r\n ],\r\n bond: [\r\n {\r\n required: true,\r\n message: '请输入保证金',\r\n trigger: 'blur',\r\n },\r\n ],\r\n quotationRounds: [\r\n {\r\n required: true,\r\n message: '请输入报价轮数',\r\n trigger: 'blur',\r\n },\r\n ],\r\n quotationTemplateName: [\r\n {\r\n required: true,\r\n message: '请选择报价模板',\r\n trigger: 'blur',\r\n },\r\n ],\r\n evaluationMethod: [\r\n {\r\n required: true,\r\n message: '请选择评标方法',\r\n trigger: 'blur',\r\n },\r\n ],\r\n expertList: [\r\n {\r\n required: true,\r\n message: '请选择评标人',\r\n trigger: 'blur',\r\n },\r\n ],\r\n biddingStartTime: [\r\n {\r\n required: true,\r\n message: '请选择投标开始时间',\r\n trigger: 'blur',\r\n },\r\n ],\r\n biddingEndTime: [\r\n {\r\n required: true,\r\n message: '请选择投标结束时间',\r\n trigger: 'blur',\r\n },\r\n ],\r\n clarificationSupplementDeadlineTime: [\r\n {\r\n required: true,\r\n message: '请选择澄清补遗时间',\r\n trigger: 'blur',\r\n },\r\n ],\r\n raisingQuestionsDeadlineTime: [\r\n {\r\n required: true,\r\n message: '请选择供货商提出问题的截止时间',\r\n trigger: 'blur',\r\n },\r\n ],\r\n responseTimeDeadline: [\r\n {\r\n required: true,\r\n message: '请选择响应截止时间',\r\n trigger: 'blur',\r\n },\r\n ],\r\n winBidValidity: [\r\n {\r\n required: true,\r\n message: '请输入中标结果有效期',\r\n trigger: 'blur',\r\n },\r\n ],\r\n },\r\n useOrgListValue: '',\r\n dataList: [],\r\n fileList: [],\r\n methodUnitsList: [],\r\n parameter: {\r\n projectNumber: '',\r\n noticeTitle: '',\r\n establishmentName: '',\r\n projectApprovalType: '1',\r\n detailsList: [],\r\n bidStatus: '0',\r\n procureOrgName: '',\r\n applicationType: '',\r\n quotationRounds: 1,\r\n matIfPlat: '',\r\n hasQualification: '1',\r\n vendorName: '',\r\n isTax: '',\r\n templateDetails: [],\r\n procureType: '1',\r\n tenderDocumentList: [],\r\n quotationTemplate: '',\r\n approvalInviteVendorList: [],\r\n quotationTemplateName: '',\r\n releaseMethod: '1',\r\n evaluationMethod: '1',\r\n biddingStartTime: '',\r\n biddingEndTime: '',\r\n raisingQuestionsDeadlineTime: '',\r\n clarificationSupplementDeadlineTime: '',\r\n quotationMethod: '',\r\n hasBond: '0',\r\n responseTimeDeadline: '',\r\n quotationTemplateDetailApprovalList: [],\r\n byDocument: {\r\n type: '',\r\n accessoryList: [],\r\n describe: '',\r\n },\r\n zbDocument: {\r\n type: '',\r\n accessoryList: [],\r\n },\r\n },\r\n }\r\n },\r\n created() {\r\n this.addModifyBtn()\r\n this.getQualifications()\r\n let moment = require('moment')\r\n this.parameter.biddingStartTime = moment().format('yyyy-MM-DD HH:mm:ss')\r\n this.parameter.biddingEndTime = moment()\r\n .add(2, 'hours')\r\n .format('YYYY-MM-DD HH:mm:ss')\r\n this.parameter.clarificationSupplementDeadlineTime = moment()\r\n .add(2, 'hours')\r\n .format('YYYY-MM-DD HH:mm:ss')\r\n this.parameter.raisingQuestionsDeadlineTime = moment()\r\n .add(2, 'hours')\r\n .format('YYYY-MM-DD HH:mm:ss')\r\n this.parameter.responseTimeDeadline = moment()\r\n .add(2, 'hours')\r\n .format('YYYY-MM-DD HH:mm:ss')\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 actionBz: function () {\r\n return window.context.portal + '/matApproval/v1/uploadTenderDoc'\r\n },\r\n }),\r\n },\r\n mounted() {},\r\n methods: {\r\n // 获取资质标签内容\r\n getQualifications() {\r\n let params = {\r\n querys: [],\r\n pageBean: {\r\n pageSize: -1,\r\n page: -1,\r\n },\r\n }\r\n this.$http\r\n .post('${portal}/bizQualificationLabel/v1/page', params)\r\n .then((res) => {\r\n if (res.data.state) {\r\n this.qualificationsList = res.data.value.rows\r\n }\r\n })\r\n },\r\n changeQualifications(val) {\r\n console.log(val, 'val')\r\n this.parameter.qualificationsCoutent = val.join(',')\r\n },\r\n // 切换tab\r\n handleClick(tab, e) {},\r\n // 上传文件成功回调\r\n handleSuccess(res, fileList) {\r\n if (this.active == 1) {\r\n if (res.state) {\r\n this.dataList.push(res.value)\r\n this.dataList.forEach((item) => {\r\n item['type'] = 1\r\n })\r\n }\r\n this.parameter.zbDocument.type = 1\r\n this.parameter.zbDocument.accessoryList = this.dataList\r\n }\r\n if (this.active == 2) {\r\n if (res.state) {\r\n this.fileList.push(res.value)\r\n }\r\n this.fileList.forEach((item) => {\r\n item['type'] = 2\r\n })\r\n this.parameter.byDocument.type = 2\r\n this.parameter.byDocument.accessoryList = this.fileList\r\n }\r\n },\r\n //下载按钮回调\r\n downloadFile(name, url) {\r\n var a = document.createElement('a')\r\n var event = new MouseEvent('click')\r\n a.download = name\r\n a.target = '_blank'\r\n a.href = url\r\n a.dispatchEvent(event)\r\n },\r\n // 删除\r\n deleteHandle(index) {\r\n this.$confirm('是否确认删除该附件', '提示', {\r\n confirmButtonText: '确定',\r\n cancelButtonText: '取消',\r\n type: 'warning',\r\n }).then(() => {\r\n if (this.active == 1) {\r\n this.dataList.splice(index, 1)\r\n }\r\n if (this.active == 2) {\r\n this.fileList.splice(index, 1)\r\n }\r\n })\r\n },\r\n //采购单位\r\n purchasingUnitsBtn() {\r\n this.$refs.troubleshooting.add()\r\n },\r\n openExpert() {\r\n this.$refs.expert.add()\r\n },\r\n // 选择供应商\r\n openVendor() {\r\n this.$refs.poolUnits.add()\r\n },\r\n // 获取供应商数据\r\n getSupplierList(list) {\r\n list.forEach((item) => {\r\n this.parameter.approvalInviteVendorList.push({\r\n vendorId: item.id,\r\n vendorCode: item.code,\r\n vendorName: item.name,\r\n })\r\n })\r\n\r\n this.supplierList = list\r\n this.parameter.vendorName = list\r\n .map((item) => {\r\n return item.name\r\n })\r\n .join(',')\r\n },\r\n // 选择评标模板\r\n handleTemplate() {\r\n this.$refs.template.add()\r\n },\r\n // 获取评标模板数据\r\n openTemplate(data) {\r\n this.parameter.templateDetails = data\r\n this.parameter.quotationTemplate = data[0].id\r\n this.parameter.quotationTemplateName = data[0].name\r\n this.parameter.templateDetails.forEach((item) => {\r\n delete item.id\r\n })\r\n this.$forceUpdate()\r\n },\r\n evaluationBid() {\r\n this.$refs.evaluationBid.add()\r\n },\r\n open(list) {\r\n console.log(list)\r\n this.bidList = list\r\n this.expertList = list\r\n .map((item) => {\r\n return item.fullname\r\n })\r\n .join(',')\r\n },\r\n addDetail(list) {\r\n console.log(list)\r\n this.methodUnitsList = list\r\n this.parameter.procureOrgCode = list[0].purchasingOrgCode\r\n this.parameter.procureOrgId = list[0].purchasingOrgID\r\n this.parameter.procureOrgName = list[0].purchasingOrgName\r\n this.parameter.applicationType = list[0].applicationType\r\n let params = {\r\n querys: [\r\n {\r\n group: 'main',\r\n operation: 'EQUAL',\r\n parentGroup: '',\r\n property: 'projectInfoId',\r\n relation: 'AND',\r\n value: list[0].id,\r\n },\r\n ],\r\n pageBean: {\r\n pageSize: -1,\r\n page: -1,\r\n },\r\n }\r\n this.$http\r\n .post('${portal}/projectInfoDetail/v1/page', params)\r\n .then((res) => {\r\n if (res.data.state) {\r\n this.parameter.detailsList = res.data.value.rows\r\n }\r\n })\r\n this.useOrgListValue = list\r\n .map((item) => {\r\n return item.preparedOrgName\r\n })\r\n .join(',')\r\n },\r\n // 公告文件上传\r\n handleFileSuccess(res, file) {\r\n this.quillUrl = res.value.url\r\n let quill = this.$refs.myQuillEditor.quill\r\n // 插入链接\r\n let length = quill.getSelection().index\r\n quill.insertEmbed(\r\n length,\r\n 'link',\r\n {href: this.quillUrl, innerText: file.name},\r\n 'api'\r\n )\r\n quill.setSelection(length + 1)\r\n },\r\n handleAdd(list) {\r\n console.log(list, 'list')\r\n this.parameter.projectEvaluationExpertList = list\r\n this.parameter.projectEvaluationExpertList.forEach((item) => {\r\n item['expertId'] = item.id\r\n delete item.id\r\n })\r\n this.expertList = list\r\n .map((item) => {\r\n return item.fullname\r\n })\r\n .join(',')\r\n },\r\n //列表删除行\r\n addTable() {\r\n this.parameter.detailsList.push({})\r\n },\r\n //列表删除行\r\n delTable(index, row) {\r\n this.parameter.detailsList.splice(index, 1)\r\n if (row.id) {\r\n this.parameter.deleteDetailsId.push(row.id)\r\n }\r\n },\r\n //编辑\r\n addModifyBtn() {\r\n if (this.$route.query.editRows) {\r\n console.log()\r\n this.breadcrumbOpt[1].breadcrumbName = '编辑'\r\n this.modifychoData(this.$route.query.editRows)\r\n } else {\r\n this.breadcrumbOpt[1].breadcrumbName = '新增'\r\n }\r\n },\r\n changeTab() {\r\n this.activeName = 1\r\n },\r\n changeTab1() {\r\n this.activeName = 2\r\n },\r\n changeTab2() {\r\n this.activeName = 3\r\n },\r\n //获取修改回显数据\r\n modifychoData(val) {\r\n procurementManagement.projectApprovalProDetails(val.id).then((res) => {\r\n this.parameter = res.value\r\n if (this.parameter.zbDocument != undefined) {\r\n delete this.parameter.zbDocument.id\r\n this.dataList = this.parameter.zbDocument.accessoryList\r\n }\r\n if (this.parameter.byDocument != undefined) {\r\n delete this.parameter.byDocument.id\r\n this.fileList = this.parameter.byDocument.accessoryList\r\n }\r\n this.parameter.qualificationsCoutentName =\r\n this.parameter.qualificationsCoutent.split(',')\r\n this.expertList = this.parameter.projectEvaluationExpertList\r\n .map((item) => {\r\n return item.fullname\r\n })\r\n .join(',')\r\n this.parameter.vendorName = this.parameter.approvalInviteVendorList\r\n .map((item) => {\r\n return item.vendorName\r\n })\r\n .join(',')\r\n this.supplierList = this.parameter.approvalInviteVendorList\r\n })\r\n },\r\n // 关闭//面包屑点击\r\n handleClose() {\r\n if (this.breadcrumbOpt[1].breadcrumbName === '编辑') {\r\n this.$router.push({\r\n name: 'projectProcurementApproval',\r\n params: {\r\n pageBean: this.$route.query.pageBean,\r\n },\r\n })\r\n } else {\r\n this.$router.push({\r\n name: 'projectProcurementApproval',\r\n })\r\n }\r\n this.parameter = {}\r\n },\r\n // 保存\r\n handleSave() {\r\n this.parameter.detailsList.forEach((item) => {\r\n delete item.id\r\n })\r\n this.$refs.formInfo3.validate((valid) => {\r\n if (valid) {\r\n this.saveing = true\r\n procurementManagement\r\n .projectApprovalProDetailsSaveOrUpdate(this.parameter)\r\n .then((res) => {\r\n this.saveing = false\r\n if (res.state) {\r\n this.$message.success(res.message)\r\n if (this.breadcrumbOpt[1].breadcrumbName === '编辑') {\r\n this.$router.push({\r\n name: 'projectProcurementApproval',\r\n params: {\r\n pageBean: this.$route.query.pageBean,\r\n },\r\n })\r\n } else {\r\n this.$router.push({\r\n name: 'projectProcurementApproval',\r\n })\r\n }\r\n }\r\n })\r\n }\r\n })\r\n },\r\n next(){\r\n this.$refs.formInfo1.validate((valid) => {\r\n if (valid) {\r\n this.activeName = 2\r\n }\r\n })\r\n },\r\n next1(){\r\n this.$refs.formInfo2.validate((valid) => {\r\n if (valid) {\r\n this.activeName = 3\r\n }\r\n })\r\n },\r\n up(){\r\n this.activeName = 1\r\n },\r\n up1(){\r\n this.activeName = 2\r\n }\r\n },\r\n}\r\n",null]}