From 7b8788b57b587da2a0a606d9a00718911d0057f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E5=A5=89=E6=BA=90?= <1976974459@qq.com> Date: Thu, 7 Sep 2023 14:22:12 +0800 Subject: [PATCH] =?UTF-8?q?2023-09-07=20plm=E5=AE=A2=E6=88=B7=E6=8F=90?= =?UTF-8?q?=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/customer/projectInformation.js | 27 + .../customerInformationManagement.vue | 1001 +++++++++++++---- 2 files changed, 803 insertions(+), 225 deletions(-) create mode 100644 src/api/customer/projectInformation.js diff --git a/src/api/customer/projectInformation.js b/src/api/customer/projectInformation.js new file mode 100644 index 0000000..86186a7 --- /dev/null +++ b/src/api/customer/projectInformation.js @@ -0,0 +1,27 @@ +import { createAPI } from "@/utils/httpRequest.js"; + +/** + * 客户项目信息列表查询 + * @param data + * @returns {*} + */ +export const projectInformationSearch = data => createAPI(`/plm/projectInformation/projectInformationSearch`,'post',data) +/** + * 客户项目信息新增 + * @param data + * @returns {*} + */ +export const projectInformationSave = data => createAPI(`/plm/projectInformation/projectInformationSave`,'post',data) +/** + * 客户项目信息编辑 + * @param data + * @returns {*} + */ +export const projectInformationEdit = data => createAPI(`/plm/projectInformation/projectInformationEdit`,'post',data) +/** + * 客户项目信息删除 + * @param data + * @returns {*} + */ +export const projectInformationDelete = data => createAPI(`/plm/projectInformation/projectInformationDelete`,'post',data) + diff --git a/src/views/modules/customer/customerInformationManagement.vue b/src/views/modules/customer/customerInformationManagement.vue index 12507db..e72c23e 100644 --- a/src/views/modules/customer/customerInformationManagement.vue +++ b/src/views/modules/customer/customerInformationManagement.vue @@ -1,5 +1,6 @@ @@ -394,6 +492,12 @@ customerAddressEdit, // 客户联系地址编辑 customerAddressDelete, // 客户联系地址删除 } from '@/api/customer/customerAddress.js' + import { + projectInformationSearch, // 客户项目信息列表查询 + projectInformationSave, // 客户项目信息新增 + projectInformationEdit, // 客户项目信息编辑 + projectInformationDelete, // 客户项目信息删除 + } from '@/api/customer/projectInformation.js' export default { watch: { searchData: { @@ -411,15 +515,20 @@ }, data () { return { - // 是否收藏 - favorite: false, - // 导出 start + // 导出 exportData: [], exportName: '设备分类' + this.dayjs().format('YYYYMMDDHHmmss'), exportHeader: ['设备分类'], exportFooter: [], resultList: [], - // 导出 end + // ======== 行高 ======== + height: 200, + secondHeight: 200, + // ======== 分页 ======== + pageIndex: 1, + pageSize: 50, + totalPage: 0, + // 条件查询 searchData: { site: this.$store.state.user.site, customerNo: '', @@ -429,16 +538,11 @@ page: 1, limit: 10 }, - height: 200, - secondHeight: 200, - pageIndex: 1, - pageSize: 50, - totalPage: 0, - dataList: [], + // 其它 dataListLoading: false, - dataListSelections: [], - modalFlag: false, - modalDisableFlag: false, + // 初始页签 + activeTable: 'customer_contact', + // ======== 数据对象 ======== modalData: { flag: '', title: '', @@ -503,8 +607,29 @@ updateDate: '', updateBy: '' }, - departmentList: [], - // 展示列集 + projectInformationModalData: { + flag: '', + title: '', + site: this.$store.state.user.site, + customerNo: '', + addressId: '', + addressName: '', + unit: '', + primaryAddress: '', + addressStatus: '', + addressType: '', + remark: '', + createDate: '', + createBy: '', + updateDate: '', + updateBy: '' + }, + // ======== 数据列表 ======== + dataList: [], + contactList: [], + addressList: [], + projectInformationList: [], + // ======== 列表表头 ======== columnList: [ { userId: this.$store.state.user.name, @@ -694,135 +819,6 @@ fixed: '' } ], - levelList: [], - rules: { - customerNo: [ - { - required: true, - message: ' ', - trigger: 'change' - } - ], - customerDesc: [ - { - required: true, - message: ' ', - trigger: 'change' - } - ], - customerIndustry: [ - { - required: true, - message: ' ', - trigger: 'change' - } - ], - customerCurrency: [ - { - required: true, - message: ' ', - trigger: 'change' - } - ], - contactName: [ - { - required: true, - message: ' ', - trigger: 'change' - } - ], - contactPhoneNumber1: [ - { - required: true, - message: ' ', - trigger: 'change' - } - ], - importantCustomer: [ - { - required: true, - message: ' ', - trigger: 'change' - } - ], - customerStatus: [ - { - required: true, - message: ' ', - trigger: 'change' - } - ], - }, - contactRules: { - contactName: [ - { - required: true, - message: ' ', - trigger: 'change' - } - ], - position: [ - { - required: true, - message: ' ', - trigger: 'change' - } - ], - primaryContact: [ - { - required: true, - message: ' ', - trigger: 'change' - } - ], - contactStatus: [ - { - required: true, - message: ' ', - trigger: 'change' - } - ] - }, - addressRules: { - addressName: [ - { - required: true, - message: ' ', - trigger: 'change' - } - ], - primaryAddress: [ - { - required: true, - message: ' ', - trigger: 'change' - } - ], - addressStatus: [ - { - required: true, - message: ' ', - trigger: 'change' - } - ], - addressType: [ - { - required: true, - message: ' ', - trigger: 'change' - } - ] - }, - detailModalFlag: false, - customerSelections: [], - contactSelections: [], - addressSelections: [], - customerCurrentRow: {}, - contactCurrentRow:{}, - addressCurrentRow:{}, - activeTable: 'customer_contact', - contactList: [], - addressList: [], customerContactArray: [ { userId: this.$store.state.user.name, @@ -1167,45 +1163,368 @@ fixed: '' } ], - contactDetailModalFlag: false, - contactModalFlag: false, - addressDetailModalFlag: false, - addressModalFlag: false - } - }, - mounted () { - this.$nextTick(() => { - this.height = window.innerHeight / 2 - 30; - /*第二个表格高度的动态调整*/ - this.secondHeight = window.innerHeight / 2 - 190; - }) - }, - created () { - this.getDataList() - }, - methods: { - /** - * 获取数据列表 - */ - getDataList () { - this.searchData.limit = this.pageSize - this.searchData.page = this.pageIndex - customerInformationSearch(this.searchData).then(({data}) => { - if (data.code === 0) { - this.dataList = data.page.list - this.pageIndex = data.page.currPage - this.pageSize = data.page.pageSize - this.totalPage = data.page.totalCount - //判断是否全部存在数据 - if(this.totalPage > 0){ - //设置选中行 - this.$refs.customerTable.setCurrentRow(this.dataList[0]); - this.refreshCurrentTabTable();//加载当前的页签的table - } + projectInformationArray: [ + { + userId: this.$store.state.user.name, + functionId: 101001, + serialNumber: '101001Table4AddressName', + tableId: '101001Table4', + tableName: 'common', + columnProp: 'addressName', + headerAlign: 'center', + align: 'center', + columnLabel: '地址', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '' + }, + { + userId: this.$store.state.user.name, + functionId: 101001, + serialNumber: '101001Table4Unit', + tableId: '101001Table4', + tableName: 'common', + columnProp: 'unit', + headerAlign: 'center', + align: 'center', + columnLabel: '单位', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '' + }, + { + userId: this.$store.state.user.name, + functionId: 101001, + serialNumber: '101001Table4AddressType', + tableId: '101001Table4', + tableName: 'common', + columnProp: 'addressType', + headerAlign: 'center', + align: 'center', + columnLabel: '地址类型', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '' + }, + { + userId: this.$store.state.user.name, + functionId: 101001, + serialNumber: '101001Table4Active', + tableId: '101001Table4', + tableName: 'common', + columnProp: 'primaryAddress', + headerAlign: 'center', + align: 'center', + columnLabel: '主要地址', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '' + }, + { + userId: this.$store.state.user.name, + functionId: 101001, + serialNumber: '101001Table4AddressStatus', + tableId: '101001Table4', + tableName: 'common', + columnProp: 'addressStatus', + headerAlign: 'center', + align: 'center', + columnLabel: '状态', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '' + }, + { + userId: this.$store.state.user.name, + functionId: 101001, + serialNumber: '101001Table4CreateDate', + tableId: '101001Table4', + tableName: 'common', + columnProp: 'createDate', + headerAlign: 'center', + align: 'center', + columnLabel: '创建时间', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '' + }, + { + userId: this.$store.state.user.name, + functionId: 101001, + serialNumber: '101001Table4CreateBy', + tableId: '101001Table4', + tableName: 'common', + columnProp: 'createBy', + headerAlign: 'center', + align: 'center', + columnLabel: '创建人', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '' + }, + { + userId: this.$store.state.user.name, + functionId: 101001, + serialNumber: '101001Table4UpdateDate', + tableId: '101001Table4', + tableName: 'common', + columnProp: 'updateDate', + headerAlign: 'center', + align: 'center', + columnLabel: '更新时间', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '' + }, + { + userId: this.$store.state.user.name, + functionId: 101001, + serialNumber: '101001Table4UpdateBy', + tableId: '101001Table4', + tableName: 'common', + columnProp: 'updateBy', + headerAlign: 'center', + align: 'center', + columnLabel: '更新人', + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '' } - this.dataListLoading = false - }) + ], + // ======== 必填规则 ======== + rules: { + customerNo: [ + { + required: true, + message: ' ', + trigger: 'change' + } + ], + customerDesc: [ + { + required: true, + message: ' ', + trigger: 'change' + } + ], + customerIndustry: [ + { + required: true, + message: ' ', + trigger: 'change' + } + ], + customerCurrency: [ + { + required: true, + message: ' ', + trigger: 'change' + } + ], + contactName: [ + { + required: true, + message: ' ', + trigger: 'change' + } + ], + contactPhoneNumber1: [ + { + required: true, + message: ' ', + trigger: 'change' + } + ], + importantCustomer: [ + { + required: true, + message: ' ', + trigger: 'change' + } + ], + customerStatus: [ + { + required: true, + message: ' ', + trigger: 'change' + } + ], + }, + contactRules: { + contactName: [ + { + required: true, + message: ' ', + trigger: 'change' + } + ], + position: [ + { + required: true, + message: ' ', + trigger: 'change' + } + ], + primaryContact: [ + { + required: true, + message: ' ', + trigger: 'change' + } + ], + contactStatus: [ + { + required: true, + message: ' ', + trigger: 'change' + } + ] + }, + addressRules: { + addressName: [ + { + required: true, + message: ' ', + trigger: 'change' + } + ], + primaryAddress: [ + { + required: true, + message: ' ', + trigger: 'change' + } + ], + addressStatus: [ + { + required: true, + message: ' ', + trigger: 'change' + } + ], + addressType: [ + { + required: true, + message: ' ', + trigger: 'change' + } + ] + }, + projectInformationRules: { + addressName: [ + { + required: true, + message: ' ', + trigger: 'change' + } + ], + primaryAddress: [ + { + required: true, + message: ' ', + trigger: 'change' + } + ], + addressStatus: [ + { + required: true, + message: ' ', + trigger: 'change' + } + ], + addressType: [ + { + required: true, + message: ' ', + trigger: 'change' + } + ] + }, + // ======== 复选数据集 ======== + customerSelections: [], + contactSelections: [], + addressSelections: [], + projectInformationSelections: [], + // ======== 选中的当前行数据 ======== + customerCurrentRow: {}, + contactCurrentRow:{}, + addressCurrentRow:{}, + projectInformationCurrentRow:{}, + // ======== 模态框开关控制 ======== + modalFlag: false, + modalDisableFlag: false, + detailModalFlag: false, + contactModalFlag: false, + contactDetailModalFlag: false, + addressModalFlag: false, + addressDetailModalFlag: false, + projectInformationModalFlag: false, + projectInformationDetailModalFlag: false, + } + }, + mounted () { + this.$nextTick(() => { + this.height = window.innerHeight / 2 - 30; + /*第二个表格高度的动态调整*/ + this.secondHeight = window.innerHeight / 2 - 190; + }) + }, + created () { + this.getDataList() + }, + methods: { + // ======== 分页相关方法 ======== + /** + * 每页数 + * @param val + */ + sizeChangeHandle (val) { + this.pageSize = val + this.pageIndex = 1 + this.getDataList() + }, + /** + * 当前页 + * @param val + */ + currentChangeHandle (val) { + this.pageIndex = val + this.getDataList() + }, + + // ======== 列表选择相关方法 ======== + selectFlag(){ + return true; }, + + // ======== 页签切换相关方法 ======== /** * 列表表格选择替换 * @param tab @@ -1215,6 +1534,19 @@ // 刷新列表数据 this.refreshCurrentTabTable() }, + /** + * 当前值发生变化的时候修改 + * @param row + * @param oldRow + */ + changeCurrentRow(row, oldRow){ + // 判断是否是获取焦点的事件 + if(row){ + this.customerCurrentRow = JSON.parse(JSON.stringify(row)); + //刷新当前页表 + this.refreshCurrentTabTable(); + } + }, /** * 刷新页签的table数据 */ @@ -1223,8 +1555,34 @@ this.getCustomerContactList(); } else if (this.activeTable === 'customer_address') { this.getCustomerAddressList(); + } else if (this.activeTable === 'project_information') { + this.getProjectInformationList(); } }, + + // ======== 列表数据刷新方法 ======== + /** + * 获取数据列表 + */ + getDataList () { + this.searchData.limit = this.pageSize + this.searchData.page = this.pageIndex + customerInformationSearch(this.searchData).then(({data}) => { + if (data.code === 0) { + this.dataList = data.page.list + this.pageIndex = data.page.currPage + this.pageSize = data.page.pageSize + this.totalPage = data.page.totalCount + //判断是否全部存在数据 + if(this.totalPage > 0){ + //设置选中行 + this.$refs.customerTable.setCurrentRow(this.dataList[0]); + this.refreshCurrentTabTable();//加载当前的页签的table + } + } + this.dataListLoading = false + }) + }, /** * 刷新客户联系人的列表 */ @@ -1258,27 +1616,23 @@ }); }, /** - * 每页数 - * @param val - */ - sizeChangeHandle (val) { - this.pageSize = val - this.pageIndex = 1 - this.getDataList() - }, - /** - * 当前页 - * @param val + * 刷新客户项目信息的列表 */ - currentChangeHandle (val) { - this.pageIndex = val - this.getDataList() - }, - // 多选 - selectionChangeHandle (val) { - this.dataListSelections = val + getProjectInformationList() { + let tempData = { + site: this.$store.state.user.site, + customerNo: this.customerCurrentRow.customerNo + } + projectInformationSearch(tempData).then(({data}) => { + if (data && data.code === 0) { + this.projectInformationList = data.rows; + } else { + this.projectInformationList = []; + } + }); }, + // ======== 新增模态框 ======== /** * 客户信息新增模态框 */ @@ -1304,6 +1658,9 @@ primaryContact: '', contactStatus: '', addressName: '', + primaryAddress: 'Y', + addressStatus: '启用', + addressType: '类型一', createBy: this.$store.state.user.name } this.modalDisableFlag = false @@ -1358,7 +1715,32 @@ this.addressDetailModalFlag = false this.addressModalFlag = true }, + /** + * 客户项目信息新增模态框 + */ + projectInformationSaveModal () { + this.projectInformationModalData = { + flag: '1', + title: '项目信息新增', + site: this.$store.state.user.site, + + customerNo: this.customerCurrentRow.customerNo, + addressId: '', + addressName: '', + unit: '', + primaryAddress: '', + addressStatus: '', + addressType: '', + remark: '', + + createDate: '', + createBy: this.$store.state.user.name, + } + this.projectInformationDetailModalFlag = false + this.projectInformationModalFlag = true + }, + // ======== 编辑模态框 ======== /** * 客户信息编辑模态框 * @param row @@ -1385,6 +1767,7 @@ primaryContact: 'Y', contactStatus: row.contactStatus, addressName: row.addressName, + primaryAddress: 'Y', updateBy: this.$store.state.user.name } this.modalDisableFlag = true @@ -1441,7 +1824,33 @@ this.addressDetailModalFlag = false this.addressModalFlag = true }, + /** + * 客户项目信息编辑模态框 + * @param row + */ + updateProjectInformationModal (row) { + this.projectInformationModalData = { + flag: '2', + title: '项目信息编辑', + site: row.site, + + customerNo: row.customerNo, + addressId: row.addressId, + addressName: row.addressName, + unit: row.unit, + primaryAddress: row.primaryAddress, + addressStatus: row.addressStatus, + addressType: row.addressType, + remark: row.remark, + + updateDate: '', + updateBy: this.$store.state.user.name + } + this.projectInformationDetailModalFlag = false + this.projectInformationModalFlag = true + }, + // ======== 详情模态框 ======== /** * 客户信息详情模态框 * @param row @@ -1474,7 +1883,7 @@ this.modalFlag = true }, /** - * 客户信息详情模态框 + * 客户联系人详情模态框 * @param row */ detailContactModal (row) { @@ -1498,6 +1907,51 @@ this.contactDetailModalFlag = true this.contactModalFlag = true }, + /** + * 客户联系地址详情模态框 + * @param row + */ + detailAddressModal (row) { + this.addressModalData = { + flag: '3', + title: '联系地址详情', + site: row.site, + customerNo: row.customerNo, + addressId: row.addressId, + addressName: row.addressName, + unit: row.unit, + primaryAddress: row.primaryAddress, + addressStatus: row.addressStatus, + addressType: row.addressType, + remark: row.remark, + } + this.addressDetailModalFlag = true + this.addressModalFlag = true + }, + /** + * 客户项目信息详情模态框 + * @param row + */ + detailProjectInformationModal (row) { + this.projectInformationModalData = { + flag: '3', + title: '项目信息详情', + site: row.site, + + customerNo: row.customerNo, + addressId: row.addressId, + addressName: row.addressName, + unit: row.unit, + primaryAddress: row.primaryAddress, + addressStatus: row.addressStatus, + addressType: row.addressType, + remark: row.remark, + } + this.addressDetailModalFlag = true + this.addressModalFlag = true + }, + + // ======== 删除方法 ======== /** * 客户信息删除 */ @@ -1571,7 +2025,45 @@ }) }, /** - * 客户信息新增 + * 客户联系地址删除 + */ + addressDeleteModal () { + if(this.addressSelections.length === 0){ + this.$message.warning('请勾选要删除的地址!') + return + } + this.$confirm(`是否删除这 `+ this.addressSelections.length +` 条地址?`, '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', + type: 'warning' + }).then(() => { + let tempData = { + addressList: this.addressSelections + } + customerAddressDelete(tempData).then(({data}) => { + if (data && data.code === 0) { + this.getCustomerAddressList() + this.addressSelections = [] + this.$message({ + message: '操作成功', + type: 'success', + duration: 1500, + onClose: () => { + } + }) + } else { + this.$alert(data.msg, '错误', { + confirmButtonText: '确定' + }) + } + }) + }).catch(() => { + }) + }, + + // ======== 新增/编辑方法 ======== + /** + * 客户信息新增/编辑 */ saveData(){ if (this.modalData.customerNo === '' || this.modalData.customerNo == null) { @@ -1647,7 +2139,7 @@ } }, /** - * 客户联系人新增 + * 客户联系人新增/编辑 */ saveContactData(){ if (this.contactModalData.contactName === '' || this.contactModalData.contactName == null) { @@ -1669,7 +2161,7 @@ if(this.contactModalData.flag === '1'){ customerContactSave(this.contactModalData).then(({data}) => { if (data && data.code === 0) { - this.getDataList() + this.getCustomerContactList() this.contactModalFlag = false this.$message({ message: '操作成功', @@ -1687,7 +2179,7 @@ }else { customerContactEdit(this.contactModalData).then(({data}) => { if (data && data.code === 0) { - this.getDataList() + this.getCustomerContactList() this.contactModalFlag = false this.$message({ message: '操作成功', @@ -1705,7 +2197,7 @@ } }, /** - * 客户联系地址新增 + * 客户联系地址新增/编辑 */ saveAddressData(){ if (this.addressModalData.addressName === '' || this.addressModalData.addressName == null) { @@ -1727,7 +2219,7 @@ if(this.addressModalData.flag === '1'){ customerAddressSave(this.addressModalData).then(({data}) => { if (data && data.code === 0) { - this.getDataList() + this.getCustomerAddressList() this.addressModalFlag = false this.$message({ message: '操作成功', @@ -1745,7 +2237,7 @@ }else { customerAddressEdit(this.addressModalData).then(({data}) => { if (data && data.code === 0) { - this.getDataList() + this.getCustomerAddressList() this.addressModalFlag = false this.$message({ message: '操作成功', @@ -1762,15 +2254,72 @@ }) } }, - selectFlag(){ - return true; + /** + * 客户项目信息新增/编辑 + */ + saveProjectInformationData(){ + if (this.projectInformationModalData.addressName === '' || this.projectInformationModalData.addressName == null) { + this.$message.warning('请输入地址!') + return + } + if (this.projectInformationModalData.primaryAddress === '' || this.projectInformationModalData.primaryAddress == null) { + this.$message.warning('请选择是否为主要地址!') + return + } + if (this.projectInformationModalData.addressStatus === '' || this.projectInformationModalData.addressStatus == null) { + this.$message.warning('请选择状态!') + return + } + if (this.projectInformationModalData.addressType === '' || this.projectInformationModalData.addressType == null) { + this.$message.warning('请选择地址类型!') + return + } + if(this.projectInformationModalData.flag === '1'){ + projectInformationSave(this.projectInformationModalData).then(({data}) => { + if (data && data.code === 0) { + this.getProjectInformationList() + this.projectInformationModalFlag = false + this.$message({ + message: '操作成功', + type: 'success', + duration: 1500, + onClose: () => { + } + }) + } else { + this.$alert(data.msg, '错误', { + confirmButtonText: '确定' + }) + } + }) + }else { + projectInformationEdit(this.projectInformationModalData).then(({data}) => { + if (data && data.code === 0) { + this.getProjectInformationList() + this.projectInformationModalFlag = false + this.$message({ + message: '操作成功', + type: 'success', + duration: 1500, + onClose: () => { + } + }) + } else { + this.$alert(data.msg, '错误', { + confirmButtonText: '确定' + }) + } + }) + } }, + + // ======== 列表单机选中方法 ======== /** * 单机选中客户信息 * @param row */ customerClickRow(row){ - this.$refs.customerTable.toggleRowSelection(row); + //this.$refs.customerTable.toggleRowSelection(row); this.customerCurrentRow = JSON.parse(JSON.stringify(row)); }, /** @@ -1789,6 +2338,16 @@ this.$refs.addressTable.toggleRowSelection(row); this.addressCurrentRow = JSON.parse(JSON.stringify(row)); }, + /** + * 单机选中客户项目信息 + * @param row + */ + projectInformationClickRow(row){ + this.$refs.projectInformationTable.toggleRowSelection(row); + this.projectInformationCurrentRow = JSON.parse(JSON.stringify(row)); + }, + + // ======== 列表复选方法 ======== /** * 复选客户信息 * @param val @@ -1811,19 +2370,14 @@ this.addressSelections = val }, /** - * 当前值发生变化的时候修改 - * @param row - * @param oldRow + * 复选客户项目信息 + * @param val */ - changeCurrentRow(row, oldRow){ - // 判断是否是获取焦点的事件 - if(row){ - this.customerCurrentRow = JSON.parse(JSON.stringify(row)); - //刷新当前页表 - this.refreshCurrentTabTable(); - } + selectionProjectInformation(val){ + this.projectInformationSelections = val }, + // ======== 导出相关方法 ======== /** * 导出excel */ @@ -1836,10 +2390,8 @@ return this.resultList }, startDownload () { - }, finishDownload () { - }, fields () { let json = '{' @@ -1854,7 +2406,6 @@ let s = eval('(' + json + ')') return s } - } }