From b1b42b9a78025d228ef742cd153a7b120ffd18ba Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Mon, 3 Jun 2024 11:10:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=88=97=E8=A1=A8=E5=BA=8F?= =?UTF-8?q?=E5=8F=B7=EF=BC=8C=E5=88=86=E9=A1=B5=E6=97=B6=E5=BB=B6=E7=BB=AD?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sgzb-ui/src/components/TableModel/index.vue | 235 ++++++++++-------- .../src/views/scrapManage/Inventory/config.js | 2 +- .../forecastWaste/auditing/config.js | 2 +- .../forecastWaste/auditingReturn/config.js | 4 +- .../forecastWaste/listing/config.js | 4 +- .../scrapManage/scrap/disposition/config.js | 2 +- .../scrapManage/scrap/scrapAuditing/config.js | 4 +- 7 files changed, 136 insertions(+), 117 deletions(-) diff --git a/sgzb-ui/src/components/TableModel/index.vue b/sgzb-ui/src/components/TableModel/index.vue index 9af0289d..11700e98 100644 --- a/sgzb-ui/src/components/TableModel/index.vue +++ b/sgzb-ui/src/components/TableModel/index.vue @@ -3,6 +3,7 @@ @@ -19,6 +20,10 @@ ref="tableRef" select-on-indeterminate @selection-change="handleSelectionChange" + v-loading="loading" + element-loading-text="数据正在加载,请稍后" + element-loading-spinner="el-icon-loading" + element-loading-background="rgba(0, 0, 0, 0.6)" > + + diff --git a/sgzb-ui/src/views/scrapManage/Inventory/config.js b/sgzb-ui/src/views/scrapManage/Inventory/config.js index 83b29ee6..04e312ed 100644 --- a/sgzb-ui/src/views/scrapManage/Inventory/config.js +++ b/sgzb-ui/src/views/scrapManage/Inventory/config.js @@ -15,7 +15,7 @@ export const config = { { f_label: '创建时间', f_model: 'time', f_type: 'date' }, ], columnsList: [ - { t_width: '55px', t_props: '', t_label: '序号' }, + // { t_width: '55px', t_props: '', t_label: '序号' }, { t_props: '', t_label: '预报废单号' }, { t_props: '', t_label: '机具类型' }, { t_props: '', t_label: '任务创建人' }, diff --git a/sgzb-ui/src/views/scrapManage/forecastWaste/auditing/config.js b/sgzb-ui/src/views/scrapManage/forecastWaste/auditing/config.js index 463327cc..96181aea 100644 --- a/sgzb-ui/src/views/scrapManage/forecastWaste/auditing/config.js +++ b/sgzb-ui/src/views/scrapManage/forecastWaste/auditing/config.js @@ -37,7 +37,7 @@ export const config = { { f_label: '创建时间', f_model: 'time', f_type: 'date' }, ], columnsList: [ - { t_width: '55px', t_props: '', t_label: '序号' }, + // { t_width: '55px', t_props: '', t_label: '序号' }, { t_width: '', t_props: 'scrapNum', t_label: '预报废单号', }, { t_width: '', t_props: '', t_label: '报废来源', t_slot: 'source', }, { t_width: '', t_props: 'repairNum', t_label: '单号', t_slot: 'code', }, diff --git a/sgzb-ui/src/views/scrapManage/forecastWaste/auditingReturn/config.js b/sgzb-ui/src/views/scrapManage/forecastWaste/auditingReturn/config.js index 0f2c33d9..0ec50372 100644 --- a/sgzb-ui/src/views/scrapManage/forecastWaste/auditingReturn/config.js +++ b/sgzb-ui/src/views/scrapManage/forecastWaste/auditingReturn/config.js @@ -12,7 +12,7 @@ export const config = { { f_label: '规格型号', f_model: 'backPro', f_type: 'sel', f_selList: [] }, ], columnsList: [ - { t_width: '55px', t_props: '', t_label: '序号' }, + // { t_width: '55px', t_props: '', t_label: '序号' }, { t_width: '', t_props: 'demo', t_label: '类型名称' }, { t_width: '', t_props: '', t_label: '规格型号' }, { t_width: '', t_props: '', t_label: '数量' }, @@ -44,7 +44,7 @@ export const dialogConfig = { ], columnsList: [ - { t_width: '55px', t_props: '', t_label: '序号' }, + // { t_width: '55px', t_props: '', t_label: '序号' }, { t_width: '', t_props: 'demo', t_label: '设备类型' }, { t_width: '', t_props: '', t_label: '规格型号' }, { t_width: '', t_props: '', t_label: '设备编码' }, diff --git a/sgzb-ui/src/views/scrapManage/forecastWaste/listing/config.js b/sgzb-ui/src/views/scrapManage/forecastWaste/listing/config.js index c5bb5372..da1c71af 100644 --- a/sgzb-ui/src/views/scrapManage/forecastWaste/listing/config.js +++ b/sgzb-ui/src/views/scrapManage/forecastWaste/listing/config.js @@ -40,7 +40,7 @@ export const config = { }, ], columnsList: [ - { t_width: '55px', t_props: '', t_label: '序号' }, + // { t_width: '55px', t_props: '', t_label: '序号' }, { t_width: '', t_props: 'scrapNum', t_label: '报废单号' }, { t_width: '', t_props: '', t_label: '报废来源', t_slot: 'source' }, { t_width: '', t_props: 'repairNum', t_label: '预报废单号' }, @@ -74,7 +74,7 @@ export const dialogConfig = { ], columnsList: [ - { t_width: '55px', t_props: '', t_label: '序号' }, + // { t_width: '55px', t_props: '', t_label: '序号' }, { t_width: '', t_props: 'machineTypeName', t_label: '设备类型' }, { t_width: '', t_props: 'specificationType', t_label: '规格型号' }, { t_width: '', t_props: 'maCode', t_label: '设备编码' }, diff --git a/sgzb-ui/src/views/scrapManage/scrap/disposition/config.js b/sgzb-ui/src/views/scrapManage/scrap/disposition/config.js index e2164a30..0bfb9647 100644 --- a/sgzb-ui/src/views/scrapManage/scrap/disposition/config.js +++ b/sgzb-ui/src/views/scrapManage/scrap/disposition/config.js @@ -43,7 +43,7 @@ export const dialogConfig = { { f_label: '类型名称', f_model: 'keywords', f_type: 'ipt' }, ], columnsList: [ - { t_width: '55px', t_props: '', t_label: '序号' }, + // { t_width: '55px', t_props: '', t_label: '序号' }, { t_width: '', t_props: 'machineTypeName', t_label: '设备类型' }, { t_width: '', t_props: 'specificationType', t_label: '规格型号' }, { t_width: '', t_props: 'maCode', t_label: '设备编码' }, diff --git a/sgzb-ui/src/views/scrapManage/scrap/scrapAuditing/config.js b/sgzb-ui/src/views/scrapManage/scrap/scrapAuditing/config.js index dded2c17..c1589db1 100644 --- a/sgzb-ui/src/views/scrapManage/scrap/scrapAuditing/config.js +++ b/sgzb-ui/src/views/scrapManage/scrap/scrapAuditing/config.js @@ -15,7 +15,7 @@ export const config = { { f_label: '创建时间', f_model: 'time', f_type: 'date' }, ], columnsList: [ - { t_width: '55px', t_props: '', t_label: '序号' }, + // { t_width: '55px', t_props: '', t_label: '序号' }, { t_props: 'scrapNum', t_label: '报废单号' }, { t_props: 'scrapSource', t_label: '报废来源', t_slot: 'source' }, { t_props: 'repairNum', t_label: '预报废单号' }, @@ -43,7 +43,7 @@ export const dialogConfig = { { f_label: '类型名称', f_model: 'keywords', f_type: 'ipt' }, ], columnsList: [ - { t_width: '55px', t_props: '', t_label: '序号' }, + // { t_width: '55px', t_props: '', t_label: '序号' }, { t_width: '', t_props: 'machineTypeName', t_label: '设备类型' }, { t_width: '', t_props: 'specificationType', t_label: '规格型号' }, { t_width: '', t_props: 'maCode', t_label: '设备编码' },