{"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\\ProcurementManagement\\multipleRoundsApproval\\component\\quotationTemplateDialog.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\jd_cgpt_fvue\\src\\views\\Normal\\ProcurementManagement\\multipleRoundsApproval\\component\\quotationTemplateDialog.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//\nimport { TableMixin } from '@/mixins/tableMixin';\nimport basicData from '@/api/basicData';\nimport procurementManagement from '@/api/procurementManagement';\nexport default {\n name: 'CmgtSaftyDangerCheckplanFormDialogTroubleshooting',\n // 排查计划明细\n props: {\n useOrgList: Array\n },\n data: function data() {\n return {\n showTroubleshooting: false,\n // 控制弹层显示与隐藏\n multipleSelection: [],\n selectedValue: [],\n loading: false,\n params: {},\n querys: [{\n group: 'main',\n operation: 'LIKE',\n parentGroup: '',\n property: 'name',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'isTax',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'quotationMethod',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'targetType',\n relation: 'AND',\n value: '1'\n }],\n queryParam: {\n pageBean: {\n page: 1,\n pageSize: 20,\n total: 0\n }\n }\n };\n },\n mixins: [TableMixin],\n created: function created() {\n this.loadData();\n },\n methods: {\n rowKey: function rowKey(row) {\n return row.id;\n },\n //搜索\n handleSearch: function handleSearch() {\n this.loadData();\n },\n //重置\n handleReset: function handleReset() {\n this.querys[0].value = '';\n this.querys[1].value = '';\n this.querys[2].value = '';\n this.querys[3].value = '1';\n this.loadData();\n },\n //显示弹框\n add: function add(row) {\n console.log(row, 1111111);\n this.params = row;\n this.showTroubleshooting = true;\n\n if (row.quotationMethod) {\n this.querys[2].value = row.quotationMethod;\n }\n\n if (row.isTax) {\n this.querys[1].value = row.isTax;\n } // this.$nextTick(function() {\n // this.useOrgList.forEach(item => {\n // if (this.tableData.some(data => data.id === item.id)) {\n // this.$refs.multipleSelection.toggleRowSelection(item, true) //这样就可以了\n // } else {\n // this.$refs.multipleSelection.toggleRowSelection(item, true) //这样就可以了\n // }\n // })\n // })\n\n\n this.loadData();\n },\n // 获取list\n loadData: function loadData() {\n var _this = this;\n\n this.loading = true;\n this.tableData = [];\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 }\n\n if (this.querys[2].value) {\n this.queryParam.querys.push(this.querys[2]);\n }\n\n if (this.querys[3].value) {\n this.queryParam.querys.push(this.querys[3]);\n }\n\n this.$http.post('${portal}/quotationTemplate/v1/page', this.queryParam).then(function (res) {\n _this.loading = false;\n var data = res && res.data || {};\n _this.tableData = data.value.rows || [];\n _this.pageResult = {\n page: data.value.page,\n pageSize: data.value.pageSize,\n total: data.value.total\n };\n });\n },\n tableSelect: function tableSelect(rows, row) {\n var selected = rows.length && rows.indexOf(row) !== -1;\n\n if (!selected) {\n this.selectedValue = rows;\n } else {\n this.selectedValue = [];\n }\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 this.$emit('template', list);\n this.handleClose();\n },\n handleCurrentChange: function handleCurrentChange(page) {\n this.queryParam.pageBean = _objectSpread(_objectSpread({}, this.queryParam.pageBean), {}, {\n page: page\n });\n this.loadData();\n },\n handleSizeChange: function handleSizeChange(pageSize) {\n this.queryParam.pageBean = _objectSpread(_objectSpread({}, this.queryParam.pageBean), {}, {\n pageSize: pageSize\n });\n this.loadData();\n }\n }\n};",null]}