{"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\\bidOpeningManagement\\component\\bidOpeningUnits.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\jd_cgpt_fvue\\src\\views\\Normal\\ManagementBid\\bidOpeningManagement\\component\\bidOpeningUnits.vue","mtime":1720039235281},{"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/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//\nimport { TableMixin } from '@/mixins/tableMixin'; // import nineLittlePlaceApi from '@/views/Manage/saftyDanger/api/nineLittlePlaceApi'\n\nexport default {\n name: 'CmgtSaftyDangerCheckplanFormDialogTroubleshooting',\n // 排查计划明细\n props: {\n bidOpening: {\n type: Array,\n default: ''\n }\n },\n data: function data() {\n return {\n tableMaxHeight: 400,\n showTroubleshooting: false,\n // 控制弹层显示与隐藏\n tableData: [],\n querys: [{\n group: 'main',\n operation: 'LIKE',\n parentGroup: '',\n property: 'unit_name_',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'LIKE',\n parentGroup: '',\n property: 'small_place_area_',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'LIKE',\n parentGroup: '',\n property: 'type_',\n relation: 'AND',\n value: ''\n }],\n queryParam: {\n pageBean: {\n page: 1,\n pageSize: 20\n }\n },\n sorter: [{\n direction: 'DESC',\n property: 'createTime'\n }] // 排序数据\n\n };\n },\n mixins: [TableMixin],\n created: function created() {},\n methods: {\n //搜索\n handleSearch: function handleSearch() {// this.getData()\n },\n //重置\n handleReset: function handleReset() {// this.getData()\n },\n //显示弹框\n add: function add() {\n var _this = this;\n\n this.showTroubleshooting = true;\n this.getData();\n\n if (this.bidOpening.length !== 0) {\n this.$nextTick(function () {\n _this.bidOpening.forEach(function (item) {\n if (_this.tableData.some(function (data) {\n return data.idCard === item.idCard;\n })) {\n _this.$refs.multipleSelection.toggleRowSelection(item, true); //这样就可以了\n\n } else {\n _this.$refs.multipleSelection.toggleRowSelection(item, true); //这样就可以了\n\n }\n });\n });\n }\n },\n // 获取list\n getData: function getData(page) {\n var _this2 = this;\n\n if (page) {\n this.queryParam.pageBean.page = page;\n } // 不分页\n\n\n this.queryParam.pageBean.pageSize = -1;\n this.loading = true;\n this.tableData = [];\n this.queryParam.querys = [];\n this.queryParam.sorter = this.sorter;\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 }\n\n if (this.querys[2].value) {\n this.queryParam.querys.push(this.querys[2]);\n }\n\n this.$http.post('${portal}/bizExpertDatabase/v1/query', this.queryParam).then(function (res) {\n console.log(res, 'resss'); // this.total = res.data.value.total\n\n _this2.tableData = res.data.rows;\n\n _this2.$set(_this2.tableData);\n\n _this2.loading = false;\n });\n },\n // 重置\n clearQuerys: function clearQuerys() {\n this.querys[0].value = '';\n this.querys[1].value = '';\n },\n handleSelectionChange: function handleSelectionChange(val) {\n this.multipleSelection = val;\n },\n // 点击关闭按钮\n handleClose: function handleClose() {\n this.$refs.multipleSelection.clearSelection();\n this.showTroubleshooting = false;\n },\n // 保存按钮\n handleSave: function handleSave() {\n var list = [];\n list = this.multipleSelection;\n\n if (list.length < 3) {\n this.$message.warning('请至少选择三位评标人');\n return;\n }\n\n if (list.length % 2 == 0) {\n this.$message.warning('请选择奇数位评标人');\n return;\n }\n\n this.$emit('addDetail', list);\n this.handleClose();\n }\n }\n};",null]}