{"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\\ProcurementManagement\\materialProjectManagement\\component\\approvalAdd.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\jd_cgpt_fvue\\src\\views\\Normal\\ProcurementManagement\\materialProjectManagement\\component\\approvalAdd.vue","mtime":1719607232277},{"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/es6.object.keys\";\nimport \"core-js/modules/es6.regexp.to-string\";\nimport \"core-js/modules/es6.reflect.construct\";\nimport \"core-js/modules/es6.regexp.split\";\nimport \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/web.dom.iterable\";\nimport _defineProperty from \"D:/jenkins/workspace/jd_cgpt_fvue/node_modules/@babel/runtime/helpers/esm/defineProperty\";\nimport _classCallCheck from \"D:/jenkins/workspace/jd_cgpt_fvue/node_modules/@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"D:/jenkins/workspace/jd_cgpt_fvue/node_modules/@babel/runtime/helpers/esm/createClass\";\nimport _get from \"D:/jenkins/workspace/jd_cgpt_fvue/node_modules/@babel/runtime/helpers/esm/get\";\nimport _inherits from \"D:/jenkins/workspace/jd_cgpt_fvue/node_modules/@babel/runtime/helpers/esm/inherits\";\nimport _possibleConstructorReturn from \"D:/jenkins/workspace/jd_cgpt_fvue/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn\";\nimport _getPrototypeOf from \"D:/jenkins/workspace/jd_cgpt_fvue/node_modules/@babel/runtime/helpers/esm/getPrototypeOf\";\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\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 Breadcrumb from '@/components/Breadcrumb/index.vue';\nimport { quillEditor } from 'vue-quill-editor'; //调用编辑器\n\nimport 'quill/dist/quill.core.css';\nimport 'quill/dist/quill.snow.css';\nimport { mapState } from 'vuex';\nimport 'quill/dist/quill.bubble.css';\nimport procurementManagement from '@/api/procurementManagement';\nvar toolbarOptions = [['bold', 'italic', 'underline', 'strike'], // toggled buttons\n['blockquote', 'code-block'], [{\n header: 1\n}, {\n header: 2\n}], // custom button values\n[{\n list: 'ordered'\n}, {\n list: 'bullet'\n}], [{\n script: 'sub'\n}, {\n script: 'super'\n}], // superscript/subscript\n[{\n indent: '-1'\n}, {\n indent: '+1'\n}], // outdent/indent\n[{\n direction: 'rtl'\n}], // text direction\n[{\n size: ['small', false, 'large', 'huge']\n}], // custom dropdown\n[{\n header: [1, 2, 3, 4, 5, 6, false]\n}], [{\n color: []\n}, {\n background: []\n}], // dropdown with defaults from theme\n[{\n font: []\n}], [{\n align: []\n}], ['link', 'image', 'upload'], ['clean'] // remove formatting button\n];\nimport { Quill } from 'vue-quill-editor';\nimport moment from 'moment'; // 自定义插入a链接\n\nvar Link = Quill.import('formats/link');\n\nvar FileBlot = /*#__PURE__*/function (_Link) {\n _inherits(FileBlot, _Link);\n\n var _super = _createSuper(FileBlot);\n\n function FileBlot() {\n _classCallCheck(this, FileBlot);\n\n return _super.apply(this, arguments);\n }\n\n _createClass(FileBlot, null, [{\n key: \"create\",\n // 继承Link Blot\n value: function create(value) {\n var node = undefined;\n\n if (value && !value.href) {\n // 适应原本的Link Blot\n node = _get(_getPrototypeOf(FileBlot), \"create\", this).call(this, value);\n } else {\n // 自定义Link Blot\n node = _get(_getPrototypeOf(FileBlot), \"create\", this).call(this, value.href); // node.setAttribute('download', value.innerText); // 左键点击即下载\n\n node.innerText = value.innerText;\n node.download = value.innerText;\n }\n\n return node;\n }\n }]);\n\n return FileBlot;\n}(Link);\n\nFileBlot.blotName = 'link';\nFileBlot.tagName = 'A';\nQuill.register(FileBlot);\nexport default {\n name: 'domesticDialog',\n components: {\n Breadcrumb: Breadcrumb,\n quillEditor: quillEditor\n },\n props: {\n editData: Object\n },\n data: function data() {\n return {\n importData: {\n title: '明细导入',\n templateName: '明细导入模板.xls',\n downloadUrl: '/../fvue/static/excel/material.xlsx',\n importUrl: window.context.portal + '/biz/Gs/v1/importExcelData',\n showProject: true,\n header: '明细导入'\n },\n activeName: '1',\n supplierList: [],\n describe: '',\n editorOption: {\n // 改变提示文字内容\n placeholder: '请输入内容......',\n modules: {\n toolbar: {\n container: toolbarOptions,\n // 工具栏\n handlers: {\n upload: function upload(value) {\n if (value) {\n document.querySelector('.uploadFile input').click();\n }\n }\n }\n }\n }\n },\n saveing: false,\n bidList: [],\n qualificationsList: [],\n active: '1',\n centralizedData: [{\n name: '是',\n id: 1\n }, {\n name: '否',\n id: 0\n }],\n breadcrumbOpt: [{\n breadcrumbName: '采购立项'\n }, {\n breadcrumbName: '新增'\n }],\n expertList: [],\n useOrgListValue: '',\n dataList: [],\n fileList: [],\n methodUnitsList: [],\n parameter: {\n projectNumber: '',\n noticeTitle: '',\n establishmentName: '',\n projectApprovalType: '1',\n detailsList: [],\n bidStatus: '0',\n procureOrgName: '',\n applicationType: '',\n quotationRounds: 1,\n matIfPlat: '',\n hasQualification: '1',\n vendorName: '',\n isTax: '',\n templateDetails: [],\n procureType: '1',\n tenderDocumentList: [],\n quotationTemplate: '',\n approvalInviteVendorList: [],\n quotationTemplateName: '',\n releaseMethod: '1',\n evaluationMethod: '1',\n biddingStartTime: '',\n biddingEndTime: '',\n raisingQuestionsDeadlineTime: '',\n clarificationSupplementDeadlineTime: '',\n quotationMethod: '',\n hasBond: '0',\n responseTimeDeadline: '',\n quotationTemplateDetailApprovalList: [],\n byDocument: {\n type: '',\n accessoryList: [],\n describe: ''\n },\n zbDocument: {\n type: '',\n accessoryList: []\n }\n }\n };\n },\n created: function created() {\n this.addModifyBtn();\n this.parameter.matIfPlat = this.$route.query.type;\n this.getQualifications();\n\n var moment = require('moment');\n\n this.parameter.biddingStartTime = moment().format('YYYY-MM-DD HH:mm:ss');\n this.parameter.biddingEndTime = moment().add(2, 'hours').format('YYYY-MM-DD HH:mm:ss');\n this.parameter.clarificationSupplementDeadlineTime = moment().add(2, 'hours').format('YYYY-MM-DD HH:mm:ss');\n this.parameter.raisingQuestionsDeadlineTime = moment().add(2, 'hours').format('YYYY-MM-DD HH:mm:ss');\n this.parameter.responseTimeDeadline = moment().add(2, 'hours').format('YYYY-MM-DD HH:mm:ss');\n },\n computed: _objectSpread({}, 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 actionBz: function actionBz() {\n return window.context.portal + '/matApproval/v1/uploadTenderDoc';\n }\n })),\n mounted: function mounted() {},\n methods: {\n // 获取资质标签内容\n getQualifications: function getQualifications() {\n var _this = this;\n\n var params = {\n querys: [],\n pageBean: {\n pageSize: -1,\n page: -1\n }\n };\n this.$http.post('${portal}/bizQualificationLabel/v1/page', params).then(function (res) {\n if (res.data.state) {\n _this.qualificationsList = res.data.value.rows;\n }\n });\n },\n changeQualifications: function changeQualifications(val) {\n this.parameter.qualificationsCoutent = val.join(',');\n },\n // 切换tab\n handleClick: function handleClick(tab, e) {},\n // 上传文件成功回调\n handleSuccess: function handleSuccess(res, fileList) {\n if (this.active == 1) {\n if (res.state) {\n this.dataList.push(res.value);\n this.dataList.forEach(function (item) {\n item['type'] = 1;\n });\n }\n\n this.parameter.zbDocument.type = 1;\n this.parameter.zbDocument.accessoryList = this.dataList;\n }\n\n if (this.active == 2) {\n if (res.state) {\n this.fileList.push(res.value);\n }\n\n this.fileList.forEach(function (item) {\n item['type'] = 2;\n });\n this.parameter.byDocument.type = 2;\n this.parameter.byDocument.accessoryList = this.fileList;\n }\n },\n //下载按钮回调\n downloadFile: function downloadFile(name, url) {\n var a = document.createElement('a');\n var event = new MouseEvent('click');\n a.download = name;\n a.target = '_blank';\n a.href = url;\n a.dispatchEvent(event);\n },\n // 删除\n deleteHandle: function deleteHandle(index) {\n var _this2 = this;\n\n this.$confirm('是否确认删除该附件', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'warning'\n }).then(function () {\n if (_this2.active == 1) {\n _this2.dataList.splice(index, 1);\n }\n\n if (_this2.active == 2) {\n _this2.fileList.splice(index, 1);\n }\n });\n },\n changeTab: function changeTab() {\n this.activeName = 1;\n },\n changeTab1: function changeTab1() {\n this.activeName = 2;\n },\n changeTab2: function changeTab2() {\n this.activeName = 3;\n },\n //采购单位\n purchasingUnitsBtn: function purchasingUnitsBtn() {\n this.$refs.troubleshooting.add(this.parameter.matIfPlat);\n },\n // 选择供应商\n openVendor: function openVendor() {\n this.$refs.poolUnits.add();\n },\n // 获取供应商数据\n getSupplierList: function getSupplierList(list) {\n var _this3 = this;\n\n list.forEach(function (item) {\n _this3.parameter.approvalInviteVendorList.push({\n vendorId: item.id,\n vendorCode: item.code,\n vendorName: item.name\n });\n });\n this.supplierList = list;\n this.parameter.vendorName = list.map(function (item) {\n return item.name;\n }).join(',');\n },\n openExpert: function openExpert() {\n this.$refs.expert.add();\n },\n // 选择评标模板\n handleTemplate: function handleTemplate() {\n this.$refs.template.add();\n },\n // 获取评标模板数据\n openTemplate: function openTemplate(data) {\n console.log(data, 'data');\n this.parameter.quotationTemplateDetailApprovalList = data;\n this.parameter.quotationTemplate = data[0].id;\n this.parameter.quotationTemplateName = data[0].name;\n this.parameter.quotationTemplateDetailApprovalList.forEach(function (item) {\n delete item.id;\n });\n this.$forceUpdate();\n },\n evaluationBid: function evaluationBid() {\n this.$refs.evaluationBid.add();\n },\n open: function open(list) {\n console.log(list);\n this.bidList = list; // this.expertList = list\n // .map(item => {\n // return item.fullname\n // })\n // .join(',')\n },\n addDetail: function addDetail(list) {\n var _this4 = this;\n\n console.log(list);\n this.methodUnitsList = list;\n this.parameter.procureOrgCode = list[0].preparedOrgCode;\n this.parameter.procureOrgId = list[0].preparedOrgId;\n this.parameter.procureOrgName = list[0].preparedOrgName;\n this.parameter.applicationType = list[0].applicationType;\n this.parameter.matIfPlat = list[0].matIfPlat;\n this.parameter.isTax = list[0].isTax;\n this.parameter.quotationMethod = list[0].isTax;\n var params = {\n querys: [{\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'purchasingApplicationId',\n relation: 'AND',\n value: list[0].id\n }],\n pageBean: {\n pageSize: -1,\n page: -1\n }\n };\n this.$http.post('${portal}/bizPurchasingApplicationDetails/v1/page', params).then(function (res) {\n if (res.data.state) {\n _this4.parameter.detailsList = res.data.value.rows;\n }\n });\n this.useOrgListValue = list.map(function (item) {\n return item.preparedOrgName;\n }).join(',');\n },\n // 公告文件上传\n handleFileSuccess: function handleFileSuccess(res, file) {\n this.quillUrl = res.value.url;\n var quill = this.$refs.myQuillEditor.quill; // 插入链接\n\n var length = quill.getSelection().index;\n quill.insertEmbed(length, 'link', {\n href: this.quillUrl,\n innerText: file.name\n }, 'api');\n quill.setSelection(length + 1);\n },\n handleAdd: function handleAdd(list) {\n console.log(list, 'list');\n this.parameter.projectEvaluationExpertList = list;\n this.parameter.projectEvaluationExpertList.forEach(function (item) {\n item['expertId'] = item.id;\n delete item.id;\n });\n this.expertList = list.map(function (item) {\n return item.fullname;\n }).join(',');\n },\n //列表删除行\n addTable: function addTable() {\n this.parameter.detailsList.push({});\n },\n //列表删除行\n delTable: function delTable(index, row) {\n this.parameter.detailsList.splice(index, 1);\n\n if (row.id) {\n this.parameter.deleteDetailsId.push(row.id);\n }\n },\n //编辑\n addModifyBtn: function addModifyBtn() {\n if (this.$route.query.editRows) {\n console.log();\n this.breadcrumbOpt[1].breadcrumbName = '详情';\n this.modifychoData(this.$route.query.editRows);\n } else {\n this.breadcrumbOpt[1].breadcrumbName = '新增';\n }\n },\n //获取修改回显数据\n modifychoData: function modifychoData(val) {\n var _this5 = this;\n\n procurementManagement.bizProjectApprovalSelectOne(val.id).then(function (res) {\n _this5.parameter = res.value;\n\n if (_this5.parameter.zbDocument != undefined) {\n delete _this5.parameter.zbDocument.id;\n _this5.dataList = _this5.parameter.zbDocument.accessoryList;\n }\n\n if (_this5.parameter.byDocument != undefined) {\n var arr = [];\n delete _this5.parameter.byDocument.id;\n\n _this5.parameter.byDocument.forEach(function (item, index) {\n if (item.accessoryList.length != 0) {\n item.accessoryList.forEach(function (val) {\n val['describe'] = item.describe;\n arr.push(val);\n });\n }\n });\n\n _this5.fileList = arr;\n }\n\n _this5.parameter.qualificationsCoutentName = _this5.parameter.qualificationsCoutent.split(',');\n _this5.expertList = _this5.parameter.projectEvaluationExpertList.map(function (item) {\n return item.fullname;\n }).join(',');\n _this5.parameter.vendorName = _this5.parameter.approvalInviteVendorList.map(function (item) {\n return item.vendorName;\n }).join(',');\n _this5.supplierList = _this5.parameter.approvalInviteVendorList;\n });\n },\n // 关闭//面包屑点击\n handleClose: function handleClose() {\n if (this.$route.query.type == 1) {\n this.$router.push({\n name: 'materialProjectManagement',\n params: {\n tabsActiveName: 'focusMaterialProjectManagement'\n }\n });\n }\n\n if (this.$route.query.type == 0) {\n this.$router.push({\n name: 'materialProjectManagement',\n params: {\n tabsActiveName: 'selfMaterialProjectManagement'\n }\n });\n } // if (this.breadcrumbOpt[1].breadcrumbName === '编辑') {\n // this.$router.push({\n // name: 'approvalProcurement',\n // params: {\n // pageBean: this.$route.query.pageBean\n // }\n // })\n // } else {\n // this.$router.push({\n // name: 'approvalProcurement'\n // })\n // }\n\n\n this.parameter = {};\n },\n next: function next() {\n if (this.activeName == 1) {\n this.activeName = 2;\n }\n },\n next1: function next1() {\n this.activeName = 3;\n },\n up: function up() {\n if (this.activeName == 2) {\n this.activeName = 1;\n }\n },\n up1: function up1() {\n if (this.activeName == 3) {\n this.activeName = 2;\n }\n }\n }\n};",null]}