{"remainingRequest":"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\\bidOpeningManagement\\component\\evaluationBid.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\jd_cgpt_fvue\\src\\views\\Normal\\ManagementBid\\bidOpeningManagement\\component\\evaluationBid.vue","mtime":1712176808357},{"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":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\r\nimport {TableMixin} from '@/mixins/tableMixin'\r\n// import nineLittlePlaceApi from '@/views/Manage/saftyDanger/api/nineLittlePlaceApi'\r\nexport default {\r\n name: 'CmgtSaftyDangerCheckplanFormDialogTroubleshooting', // 排查计划明细\r\n props: {\r\n echoValue: {\r\n type: Object,\r\n default: ''\r\n }\r\n },\r\n data() {\r\n return {\r\n tableMaxHeight: 400,\r\n showTroubleshooting: false, // 控制弹层显示与隐藏\r\n activeName: '综合评标法',\r\n tableData: [],\r\n querys: [\r\n {\r\n group: 'main',\r\n operation: 'LIKE',\r\n parentGroup: '',\r\n property: 'unit_name_',\r\n relation: 'AND',\r\n value: ''\r\n },\r\n {\r\n group: 'main',\r\n operation: 'LIKE',\r\n parentGroup: '',\r\n property: 'small_place_area_',\r\n relation: 'AND',\r\n value: ''\r\n },\r\n {\r\n group: 'main',\r\n operation: 'LIKE',\r\n parentGroup: '',\r\n property: 'EVALUATING_METHODS_',\r\n relation: 'AND',\r\n value: '1'\r\n }\r\n ],\r\n queryParam: {\r\n pageBean: {\r\n page: 1,\r\n pageSize: 20\r\n }\r\n },\r\n checkedGh: '',\r\n sorter: [\r\n {\r\n direction: 'DESC',\r\n property: 'createTime'\r\n }\r\n ] // 排序数据\r\n }\r\n },\r\n mixins: [TableMixin],\r\n created() {},\r\n methods: {\r\n // 单选框选中数据\r\n handleSelectionChange(selection) {\r\n if (selection.length > 1) {\r\n this.$refs.multipleSelection.clearSelection()\r\n this.$refs.multipleSelection.toggleRowSelection(selection.pop())\r\n }\r\n this.multipleSelection = selection\r\n },\r\n //搜索\r\n handleSearch() {\r\n this.loadData()\r\n },\r\n //重置\r\n handleReset() {\r\n this.loadData()\r\n },\r\n //显示弹框\r\n add() {\r\n this.showTroubleshooting = true\r\n this.loadData()\r\n if (this.echoValue.id) {\r\n this.$nextTick(function() {\r\n this.$refs.multipleSelection.toggleRowSelection(this.echoValue)\r\n })\r\n }\r\n },\r\n // 切换tab选项\r\n handleClick(tab, event) {\r\n this.activeName = event.target.innerText\r\n if (this.activeName == '综合评标法') {\r\n this.querys[2].value = 1\r\n } else {\r\n this.querys[2].value = 2\r\n }\r\n if (this.echoValue.id) {\r\n this.$nextTick(function() {\r\n this.$refs.multipleSelection.toggleRowSelection(this.echoValue)\r\n })\r\n }\r\n // this.querys = this.$options.data().querys\r\n // this.loadData()\r\n },\r\n // 获取list\r\n loadData(page) {\r\n if (page) {\r\n this.queryParam.pageBean.page = page\r\n }\r\n // 不分页\r\n this.queryParam.pageBean.pageSize = -1\r\n this.loading = true\r\n this.tableData = []\r\n this.queryParam.querys = []\r\n this.queryParam.sorter = this.sorter\r\n if (this.querys[0].value) {\r\n this.queryParam.querys.push(this.querys[0])\r\n }\r\n if (this.querys[1].value) {\r\n this.queryParam.querys.push(this.querys[1])\r\n }\r\n if (this.querys[2].value) {\r\n this.queryParam.querys.push(this.querys[2])\r\n }\r\n this.$http\r\n .post('${portal}/bizEvaluationSystem/v1/page', this.queryParam)\r\n .then(res => {\r\n console.log(res, 'res')\r\n this.total = res.data.value.total\r\n this.tableData = res.data.value.rows\r\n this.$set(this.tableData)\r\n this.tableData.forEach(item => {\r\n item.orgs = item.orgs\r\n .map(item => {\r\n return item.name\r\n })\r\n .join(',')\r\n })\r\n this.loading = false\r\n })\r\n },\r\n // handleSelectionChange(val) {\r\n // this.multipleSelection = val\r\n // },\r\n // 重置\r\n clearQuerys() {\r\n this.querys[0].value = ''\r\n this.querys[1].value = ''\r\n },\r\n // 点击关闭按钮\r\n handleClose() {\r\n this.$refs.multipleSelection.clearSelection()\r\n this.showTroubleshooting = false\r\n },\r\n // 保存按钮\r\n handleSave() {\r\n this.$emit('addDetail', this.multipleSelection[0])\r\n this.handleClose()\r\n }\r\n }\r\n}\r\n",null]}