{"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\\participateRegistration\\component\\projectParticipate.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\jd_cgpt_fvue\\src\\views\\Normal\\ManagementBid\\participateRegistration\\component\\projectParticipate.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 _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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 {\n name: 'DemandEntry',\n components: {\n pagination: pagination\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n currentPage: 1,\n tableMaxHeight: 400,\n loading: false,\n queryParam: {\n pageBean: {\n pageSize: 20,\n page: 1,\n total: 0\n }\n },\n dialogVisible: false,\n tableLoading: false,\n tableData: [],\n multipleSelection: [],\n searchForm: {},\n // 顶部搜索对象\n deleteIds: '',\n // 是否选中列表解锁删除按钮\n currentDataDel: [],\n // 删除时排查是否有在审核的数据\n querys: [{\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'BID_STATUS_',\n relation: 'AND',\n value: '3'\n }, {\n group: 'main',\n operation: 'LIKE',\n parentGroup: '',\n property: 'projectNumber',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'LESS',\n parentGroup: '',\n property: 'biddingEndTime',\n relation: 'AND',\n value: ''\n }]\n };\n },\n mounted: function mounted() {},\n created: function created() {\n var moment = require('moment');\n\n this.querys[2].value = moment().format('YYYY-MM-DD HH:mm:ss');\n this.loadData();\n },\n methods: {\n getDictName: function getDictName(code, value) {\n return utils.getDictName(code, value);\n },\n //获取数据\n loadData: function loadData() {\n var _this = this;\n\n this.tableLoading = true;\n this.queryParam.querys = [];\n\n if (this.querys[0].value) {\n this.queryParam.querys.push(this.querys[0]);\n }\n\n if (this.querys[1].value) {\n this.queryParam.querys.push(this.querys[1]);\n } // if (this.querys[2].value) {\n // this.queryParam.querys.push(this.querys[2])\n // }\n\n\n this.$http.post('${portal}/projectApproval/v1/signData', this.queryParam).then(function (res) {\n if (res.data.state) {\n _this.tableLoading = false;\n _this.tableData = res.data.value.rows;\n _this.queryParam.pageBean = {\n page: res.data.value.page,\n pageSize: res.data.value.pageSize,\n total: res.data.value.total\n };\n }\n\n _this.tableData.forEach(function (item) {\n _this.$set(item, 'joining', false);\n\n _this.$set(item, 'cancle', false);\n });\n\n _this.$set(_this.tableData);\n\n console.log('返回的表格数据', _this.tableData);\n });\n },\n // 参与报名\n handleJoin: function handleJoin(row) {\n var _this2 = this;\n\n console.log(row, 'row');\n row.joining = true;\n\n if (row.joinStatus == 0) {\n var form = {\n noticeId: row.id,\n noticeTitle: row.noticeTitle,\n noticeType: '2',\n status: '1',\n noticeCode: row.projectNumber,\n price: row.bond\n };\n this.$http.post('${portal}/userParticipation/v1/participate', form).then(function (res) {\n console.log(res, 'data');\n\n if (res.data.state) {\n _this2.$message.success(res.data.message);\n\n _this2.loadData();\n }\n\n row.joining = false;\n });\n } else {\n this.$http.post('${portal}/userParticipation/v1/modifyStatus?ids=' + row.partId + '&status=1').then(function (res) {\n console.log(res, 'data');\n\n if (res.data.state) {\n _this2.$message.success(res.data.message);\n\n _this2.loadData();\n }\n\n row.joining = false;\n });\n }\n },\n dialogBeforeClose: function dialogBeforeClose() {\n this.dialogVisible = false;\n this.visible = false;\n this.showDialog = false;\n },\n // 取消报名\n handleCanle: function handleCanle(row) {\n var _this3 = this;\n\n row.cancle = true;\n this.$http.post('${portal}/userParticipation/v1/modifyStatus?ids=' + row.partId + '&status=5').then(function (res) {\n console.log(res, 'data');\n\n if (res.data.state) {\n _this3.$message.success(res.data.message);\n\n _this3.loadData();\n }\n\n row.cancle = false;\n });\n },\n //重置\n clearSearchForm: function clearSearchForm() {\n this.querys[1].value = '';\n this.querys[2].value = '';\n this.loadData();\n },\n // 顶部搜索\n handleSearch: function handleSearch() {\n this.loadData();\n },\n // 查看明细\n handleDetails: function handleDetails(row) {\n var _this4 = this;\n\n this.$http.post('${portal}/matApproval/v1/getDataById?id=' + row.id).then(function (res) {\n if (res.data.state) {\n _this4.detailsList = res.data.value.detailsList;\n _this4.dialogVisible = true;\n }\n });\n },\n //去结算\n goCheckout: function goCheckout() {\n this.$router.push({\n path: \"participateRecording/\".concat(2)\n });\n },\n handleSelectionChange: function handleSelectionChange(currentData) {\n this.currentDataDel = currentData;\n if (currentData.length === 0) return this.deleteIds = '';\n var ids = [];\n currentData.forEach(function (item) {\n ids.push(item.id);\n });\n this.deleteIds = ids.join(',');\n },\n handleCurrentChange: function handleCurrentChange(page) {\n this.queryParam.pageBean = _objectSpread(_objectSpread({}, this.queryParam.pageBean), {}, {\n page: page\n });\n this.loadData(this.queryParam);\n },\n handleSizeChange: function handleSizeChange(pageSize) {\n this.queryParam.pageBean = _objectSpread(_objectSpread({}, this.queryParam.pageBean), {}, {\n pageSize: pageSize\n });\n this.loadData(this.queryParam);\n }\n },\n computed: {\n SearchPanel: function SearchPanel() {\n return {\n '--searchPanel': this.searchPanel + 'px'\n };\n }\n }\n};",null]}