{"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\\singleSource.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\jd_cgpt_fvue\\src\\views\\Normal\\winningBid\\announcementWinningBid\\component\\singleSource.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/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\";\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//\nimport { mapState } from 'vuex';\nimport pagination from '@/components/pagination';\nimport { TableMixin } from '@/mixins/tableMixin';\nimport routerManagement from '@/api/BasicDataManagement/routerManagement.js';\nimport req from '@/request.js';\nimport utils from '@/utils.js';\nvar portal = window.context.portal;\nexport default _defineProperty({\n name: 'DemandEntry',\n components: {\n pagination: pagination\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n tableMaxHeight: 400,\n loading: false,\n dialogVisible: false,\n tableLoading: false,\n tableData: [],\n multipleSelection: [],\n params: {\n pageBean: {\n page: 1,\n pageSize: 20,\n total: 0\n }\n },\n searchForm: {\n status: 1,\n procureType: 5\n },\n // 顶部搜索对象\n selectArr: []\n };\n },\n mounted: function mounted() {},\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 })),\n created: function created() {\n this.handleSearch();\n },\n methods: {\n handleAdd: function handleAdd() {\n this.$router.push({\n name: 'transactionPublicity'\n });\n },\n // 发布\n handleRelease: function handleRelease() {\n var _this = this;\n\n var selection = this.$refs.multipleSelection.selection;\n this.dialogVisible = true;\n\n if (selection.length !== 0) {\n this.$confirm('确定要发布吗?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'warning'\n }).then(function () {\n _this.$http.post('${portal}/bizWinBiddingNotice/v1/updateStatusById?id=' + selection[0].id + '&status=1').then(function (res) {\n if (res.data.state) {\n _this.$message.success(res.data.message);\n\n _this.handleSearch();\n }\n });\n });\n } else {\n this.$message.info('请选择要发布的数据!');\n }\n },\n clearSearchForm: function clearSearchForm() {\n this.searchForm = {\n status: 1,\n procureType: 5\n };\n this.handleSearch();\n },\n // 导出数据\n handleDownload: function handleDownload() {\n var _this2 = this;\n\n var selection = this.$refs.multipleSelection.selection;\n\n if (selection.length !== 0) {\n this.$confirm('确定要导出选中数据吗?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'warning'\n }).then(function () {\n _this2.$message.success('导出数据成功!');\n });\n } else {\n this.$message.info('请选择要导出的数据!');\n }\n },\n getDictName: function getDictName(code, value) {\n return utils.getDictName(code, value);\n },\n //获取数据\n loadData: function loadData(params) {\n var _this3 = this;\n\n this.tableLoading = true;\n this.$http.post('${portal}/bizWinBiddingNotice/v1/pageAll', params).then(function (res) {\n console.log(res, 'res');\n _this3.tableLoading = false;\n var data = res && res.data || {};\n _this3.tableData = data.value.rows || [];\n console.log('返回的表格数据', _this3.tableData);\n _this3.pageResult = {\n page: data.value.page,\n pageSize: data.value.pageSize,\n total: data.value.total\n };\n });\n },\n dialogBeforeClose: function dialogBeforeClose() {\n this.dialogVisible = false;\n },\n //添加\n handleView: function handleView(row) {\n this.$router.push({\n name: 'announcementWinningBidView',\n query: {\n id: row.id\n }\n });\n },\n handleEdit: function handleEdit(row) {\n this.$router.push({\n name: 'transactionPublicity',\n query: {\n id: row.id\n }\n });\n },\n // 顶部搜索\n handleSearch: function handleSearch() {\n var obj = this.searchForm;\n console.log(obj);\n var querys = [];\n\n for (var i in obj) {\n if (obj[i]) {\n querys.push({\n group: 'main',\n operation: i == 'name' || i == 'code' || i == 'companyName' ? 'LIKE' : 'EQUAL',\n parentGroup: '',\n property: i,\n relation: 'AND',\n value: obj[i]\n });\n }\n }\n\n this.params.querys = querys;\n this.loadData(this.params);\n },\n handleSelectionChange: function handleSelectionChange(currentData) {\n this.currentDataDel = currentData;\n if (currentData.length === 0) return this.deleteIds = '';\n var ids = [];\n },\n selectChange: function selectChange(selection, row) {\n if (selection.length > 1) {\n var del_row = selection.shift();\n this.$refs.multipleSelection.toggleRowSelection(del_row, false);\n }\n },\n selectAll: function selectAll(selection) {\n if (selection.length > 1) {\n selection.length = 1;\n }\n },\n handleCurrentChange: function handleCurrentChange(page) {\n this.params.pageBean = _objectSpread(_objectSpread({}, this.params.pageBean), {}, {\n page: page\n });\n this.loadData(this.params);\n },\n handleSizeChange: function handleSizeChange(pageSize) {\n this.params.pageBean = _objectSpread(_objectSpread({}, this.params.pageBean), {}, {\n pageSize: pageSize\n });\n this.loadData(this.params);\n }\n }\n}, \"computed\", {\n SearchPanel: function SearchPanel() {\n return {\n '--searchPanel': this.searchPanel + 'px'\n };\n }\n});",null]}