{"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\\winningBid\\announcementWinningBid\\component\\transactionPublicity.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\jd_cgpt_fvue\\src\\views\\Normal\\winningBid\\announcementWinningBid\\component\\transactionPublicity.vue","mtime":1720730442290},{"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 _defineProperty from \"D:/jenkins/workspace/jd_cgpt_fvue/node_modules/@babel/runtime/helpers/esm/defineProperty\";\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//\nimport pagination from '@/components/pagination';\nimport { TableMixin } from '@/mixins/tableMixin';\nimport Breadcrumb from '@/components/Breadcrumb/index.vue';\nimport { mapState } from 'vuex';\nimport req from '@/request.js';\nimport utils from '@/utils.js';\nvar portal = window.context.portal;\nimport purchasingUnits from \"./purchasingUnits.vue\";\nexport default {\n name: 'DemandEntry',\n components: {\n pagination: pagination,\n Breadcrumb: Breadcrumb,\n purchasingUnits: purchasingUnits\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n breadcrumbOpt: [{\n breadcrumbName: '单一来源公示'\n }, {\n breadcrumbName: '新增'\n }],\n tableMaxHeight: 400,\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 loading: false,\n tableLoading: false,\n saveing: false,\n form: {\n procureType: 5,\n noticeType: 1,\n procureOrgId: '',\n procureOrgCode: '',\n procureOrgName: '',\n vendorId: '',\n vendorCode: '',\n vendorName: '',\n accessoryList: [],\n procureContact: '',\n procurePhone: '',\n procureAddress: '',\n vendorAddress: '',\n establishmentName: '',\n validityDate: '',\n applicationId: '',\n noticeName: '',\n detailsList: [],\n status: '3'\n },\n tableData: [],\n flexAuto: true,\n methodUnitsList: []\n };\n },\n mounted: function mounted() {},\n created: function created() {\n this.getById();\n },\n methods: {\n //采购申请\n purchasingUnitsBtn: function purchasingUnitsBtn() {\n this.$refs.troubleshooting.add();\n },\n addDetail: function addDetail(list) {\n var _this = this;\n\n console.log(list);\n this.methodUnitsList = list;\n this.form.applicationId = list[0].id;\n var ids = list.map(function (item) {\n return item.id;\n });\n this.form.procureOrgCode = list[0].preparedOrgCode;\n this.form.procureOrgId = list[0].preparedOrgId;\n this.form.procureOrgName = list[0].preparedOrgName;\n this.form.matIfPlat = list[0].matIfPlat;\n this.form.acceptanceTime = list[0].acceptanceTime;\n\n if (list[0].accessoryList.length != 0 && list[0].accessoryList != undefined) {\n this.form.accessoryList = list[0].accessoryList;\n this.form.accessoryList.forEach(function (item) {\n delete item.id;\n });\n }\n\n var params = {\n querys: [{\n group: 'main',\n operation: 'IN',\n parentGroup: '',\n property: 'purchasingApplicationId',\n relation: 'AND',\n value: ids\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 _this.form.detailsList = res.data.value.rows;\n\n _this.form.detailsList.forEach(function (item) {\n item['matCompanyName'] = _this.form.procureOrgName;\n item.applicationDetailId = item.id;\n item.applicationId = list[0].id;\n });\n }\n });\n this.useOrgListValue = list.map(function (item) {\n return item.preparedOrgName;\n }).join(',');\n },\n getById: function getById() {\n var id = this.$route.query.id;\n\n if (id) {\n this.breadcrumbOpt[1].breadcrumbName = '编辑';\n this.getId(id);\n } else {\n this.breadcrumbOpt[1].breadcrumbName = '新增';\n }\n },\n getId: function getId(id) {\n var _this2 = this;\n\n this.$http.post('${portal}/bizWinBiddingNotice/v1/selectOne?id=' + id).then(function (res) {\n if (res.data.state) {\n _this2.form = res.data.value;\n _this2.form.detailsList = _this2.form.winBiddingNoticeDetailList;\n }\n });\n },\n getDictName: function getDictName(code, value) {\n return utils.getDictName(code, value);\n },\n handleOver: function handleOver() {\n this.flexAuto = !this.flexAuto;\n },\n // 上传文件成功回调\n handleSuccess: function handleSuccess(res, accessoryList) {\n if (res.state) {\n this.form.accessoryList.push(res.value);\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 _this3 = this;\n\n this.$confirm('是否确认删除该附件', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'warning'\n }).then(function () {\n _this3.accessoryList.splice(index, 1);\n });\n },\n // 关闭//面包屑点击\n handleClose: function handleClose() {\n this.$router.push({\n name: 'announcementWinningBid',\n params: {\n tabsActiveName: 'singleSource'\n }\n });\n },\n // 顶部搜索\n load: function load() {},\n handleSelectionChange: function handleSelectionChange(currentData) {\n this.currentDataDel = currentData;\n },\n handleSave: function handleSave() {\n var _this4 = this;\n\n this.saveing = true;\n this.form.winBiddingNoticeDetailList = this.form.detailsList;\n this.$http.post('${portal}/bizWinBiddingNotice/v1/saveOrUpdateEntity', this.form).then(function (res) {\n if (res.data.state) {\n _this4.$message.success(res.data.message);\n\n _this4.handleClose();\n }\n\n _this4.saveing = false;\n });\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]}