{"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\\quotesMy\\component\\biddingRecording.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\jd_cgpt_fvue\\src\\views\\Normal\\ManagementBid\\quotesMy\\component\\biddingRecording.vue","mtime":1709930439392},{"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 _toConsumableArray from \"D:/jenkins/workspace/jd_cgpt_fvue/node_modules/@babel/runtime/helpers/esm/toConsumableArray\";\nimport \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/es6.string.ends-with\";\nimport \"core-js/modules/web.dom.iterable\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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';\nexport default {\n name: 'domesticDialog',\n components: {\n Breadcrumb: Breadcrumb\n },\n props: {\n editData: Object\n },\n data: function data() {\n return {\n form: {},\n totalValue: 0,\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 breadcrumbOpt: [{\n breadcrumbName: '招标采购'\n }, {\n breadcrumbName: '报价'\n }],\n tableData: [{\n id: 1,\n quote: 1000,\n upset: 1000,\n date: '2016-05-02',\n auctionStatus: 1,\n endStatus: 1,\n auctionStartDate: '2030-01-01 16:00.00',\n endCountdown: '2024-01-01 16:00.00',\n dateTime: {},\n endDateTime: {},\n name: '王小虎',\n isEdit: false,\n address: '上海市普陀区金沙江路 1518 弄'\n }, {\n id: 2,\n quote: 0,\n upset: 10000,\n date: '2016-05-04',\n auctionStatus: 1,\n endStatus: 2,\n auctionStartDate: '2030-01-01 16:00.00',\n name: '王小虎',\n dateTime: {},\n endDateTime: {},\n isEdit: false,\n address: '上海市普陀区金沙江路 1517 弄'\n }, {\n id: 3,\n quote: 0,\n upset: 100000,\n date: '2016-05-01',\n auctionStatus: 2,\n endStatus: 2,\n name: '王小虎',\n dateTime: {},\n endDateTime: {},\n isEdit: false,\n address: '上海市普陀区金沙江路 1519 弄'\n }, {\n id: 4,\n quote: 0,\n upset: 1000000,\n date: '2016-05-03',\n auctionStatus: 3,\n endStatus: 3,\n name: '王小虎',\n dateTime: {},\n endDateTime: {},\n isEdit: false,\n address: '上海市普陀区金沙江路 1516 弄'\n }],\n dataList: [{\n attachName: '招标采购'\n }, {\n attachName: '项目采购'\n }, {\n attachName: '招标采购'\n }, {\n attachName: '项目采购'\n }],\n addendumList: [{\n attachName: '招标补遗'\n }, {\n attachName: '项目采购'\n }, {\n attachName: '招标采购'\n }, {\n attachName: '项目采购'\n }],\n quoteForm: {},\n activeName: '0',\n activeList: [{\n value: '0',\n name: '招标文件'\n }, {\n value: '1',\n name: '澄清提问'\n }],\n tableLoading: false,\n searchForm: {\n num: 1,\n num1: 1\n },\n // 顶部搜索对象\n params: {\n pageBean: {\n page: 1,\n pageSize: 20,\n total: 0\n }\n }\n };\n },\n created: function created() {\n this.addModifyBtn();\n this.totalChange();\n },\n mounted: function mounted() {\n var _this = this;\n\n this.tableData.forEach(function (ele) {\n ele.dateTime = {\n dd: '**',\n hh: '**',\n mm: '**',\n ss: '**'\n };\n\n _this.countDownMethod(ele);\n });\n },\n computed: {\n uploadHeaders: function uploadHeaders() {\n return {\n Authorization: this.$store.state.login.currentUser && 'Bearer ' + this.$store.state.login.currentUser.token\n };\n }\n },\n methods: {\n handleClick: function handleClick() {},\n //报价总额\n totalChange: function totalChange() {\n var _this2 = this;\n\n this.totalValue = 0;\n this.tableData.forEach(function (item) {\n _this2.totalValue += item.quote;\n });\n },\n //删除文件\n deleteHandle: function deleteHandle() {},\n //查看文件\n downloadFile: function downloadFile() {},\n //文件上传\n hadleUploadResult: function hadleUploadResult(response) {\n this.fullscreenLoading = false;\n\n if (response.state) {\n this.$message.success(response.message);\n this.dialogImportVisible = false;\n this.$emit('load', response.value);\n } else {\n this.$message.error(response.message);\n }\n },\n onExceed: function onExceed() {\n this.$message.warning('只能选择一个Excel文件!');\n },\n beforeUpload: function beforeUpload(file) {\n this.fileInfo = file;\n\n if (!file.name.endsWith('.xlsx') && !file.name.endsWith('.xls')) {\n this.$message.warning('只能导入Excel文件!');\n return false;\n }\n\n this.fullscreenLoading = true;\n },\n\n /** 鼠标移入cell */\n handleCellEnter: function handleCellEnter(row, column, cell, event) {\n row.isEdit = true;\n },\n\n /** 鼠标移出cell */\n handleCellLeave: function handleCellLeave(row, column, cell, event) {\n row.isEdit = false;\n this.totalChange();\n },\n // 倒计时定时器\n countDownMethod: function countDownMethod(row) {\n var _this3 = this;\n\n row.countDown = setInterval(function () {\n var date = new Date(row.auctionStartDate) - new Date();\n\n if (date > 0) {\n row.dateTime = _this3.formatDate(date);\n _this3.tableData = _toConsumableArray(_this3.tableData);\n } else {\n clearInterval(row.countDown);\n }\n }, 1000);\n row.endDown = setInterval(function () {\n var endDate = new Date(row.endCountdown) - new Date();\n\n if (endDate > 0) {\n row.endDateTime = _this3.formatDate(endDate);\n _this3.tableData = _toConsumableArray(_this3.tableData);\n } else {\n clearInterval(row.endDown);\n }\n }, 1000);\n },\n formatDate: function formatDate(time) {\n var date = new Date(time);\n var days = this.addZero(Math.floor(time / 1000 / 60 / 60 / 24)); //天\n\n var hours = this.addZero(Math.floor(time / 1000 / 60 / 60 % 24)); //时\n\n var minutes = this.addZero(Math.floor(time / 1000 / 60 % 60)); //分\n\n var seconds = this.addZero(Math.floor(time / 1000 % 60)); //秒\n\n var dd = date.getDate() < 10 ? '0' + date.getDate() : date.getDate();\n var hh = date.getHours() < 10 ? '0' + date.getHours() : date.getHours();\n var mm = date.getMinutes() < 10 ? '0' + date.getMinutes() : date.getMinutes();\n var ss = date.getSeconds() < 10 ? '0' + date.getSeconds() : date.getSeconds();\n return {\n days: days,\n hours: hours,\n minutes: minutes,\n seconds: seconds\n };\n },\n addZero: function addZero(d) {\n return parseInt(d) < 10 ? '0' + d : d;\n },\n load: function load() {// this.loadData()\n },\n //获取列表\n addModifyBtn: function addModifyBtn() {\n console.log(this.$route.query.recordData);\n },\n // 关闭//面包屑点击\n handleClose: function handleClose() {\n this.$router.push({\n name: 'quotesMy',\n params: {\n tabsActiveName: 'TenderProcurement',\n pageBean: this.$route.query.pageBean\n }\n });\n },\n //重置\n clearSearchForm: function clearSearchForm() {},\n // 顶部搜索\n handleSearch: function handleSearch(searchForm) {\n debugger;\n var obj = 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 console.log(querys, 'querys');\n this.params.querys = querys;\n console.log(this.params, 'params');\n this.loadData(this.params);\n }\n }\n};",null]}