Browse Source

exchangeData批量操作页面筛选及优化处理

faster_develop
安虹睿 2 years ago
parent
commit
95894cb7df
  1. 8
      fe/PC/src/utils/tableColumns/index.js
  2. 11
      fe/PC/src/views/interfaceBoard/exchangeDataMaintenancePage.vue

8
fe/PC/src/utils/tableColumns/index.js

@ -199,7 +199,7 @@ export const BomInner = [
{ label: _Public.creationTime, prop: "creationTime", type:'dateTime' }, { label: _Public.creationTime, prop: "creationTime", type:'dateTime' },
{ label: _Public.lastModificationTime, prop: "lastModificationTime", type:'dateTime' }, { label: _Public.lastModificationTime, prop: "lastModificationTime", type:'dateTime' },
// ************** 确认隐藏 ************************ // ************** 确认隐藏 ************************
// { label: _Public.tenantId, prop: "tenantId" }, // { label: _Names.tenantId, prop: "tenantId" },
// { label: _Public.creatorId, prop: "creatorId" }, // { label: _Public.creatorId, prop: "creatorId" },
// { label: _Public.lastModifierId, prop: "lastModifierId" }, // { label: _Public.lastModifierId, prop: "lastModifierId" },
// { label: _Public.id, prop: 'id' }, // { label: _Public.id, prop: 'id' },
@ -3768,6 +3768,8 @@ export const comingFromOut_file = [
// exchangeData批量操作页面 // exchangeData批量操作页面
export const exchangeDataMaintenancePage = [ export const exchangeDataMaintenancePage = [
{ label: 'tyrpNumber', prop: "tyrpNumber" },
{ label: _Public.id, prop: "id" },
{ label: _Dashboard.dataAction, prop: "dataAction"}, { label: _Dashboard.dataAction, prop: "dataAction"},
{ label: _Dashboard.dataContent, prop: "dataContent", type:"showJsonTable" }, { label: _Dashboard.dataContent, prop: "dataContent", type:"showJsonTable" },
{ label: _Dashboard.dataIdentityCode, prop: "dataIdentityCode" }, { label: _Dashboard.dataIdentityCode, prop: "dataIdentityCode" },
@ -3775,14 +3777,12 @@ export const exchangeDataMaintenancePage = [
{ label: _Dashboard.destinationSystem, prop: "destinationSystem", type:"showDetail" }, { label: _Dashboard.destinationSystem, prop: "destinationSystem", type:"showDetail" },
{ label: _Dashboard.effectiveDate, prop: "effectiveDate",type:'dateTime' }, { label: _Dashboard.effectiveDate, prop: "effectiveDate",type:'dateTime' },
{ label: _Dashboard.sourceSystem, prop: "sourceSystem" }, { label: _Dashboard.sourceSystem, prop: "sourceSystem" },
{ label: 'tyrpNumber', prop: "tyrpNumber" },
{ label: _Public.remark, prop: "remark", type:"showDetail" }, { label: _Public.remark, prop: "remark", type:"showDetail" },
{ label: _Public.creationTime, prop: "creationTime",type:'dateTime' }, { label: _Public.creationTime, prop: "creationTime",type:'dateTime' },
{ label: _Public.creatorId, prop: "creatorId" }, { label: _Public.creatorId, prop: "creatorId" },
{ label: _Public.lastModificationTime, prop: "lastModificationTime",type:'dateTime' }, { label: _Public.lastModificationTime, prop: "lastModificationTime",type:'dateTime' },
{ label: _Public.lastModifierId, prop: "lastModifierId" }, { label: _Public.lastModifierId, prop: "lastModifierId" },
{ label: _Public.tenantId, prop: "tenantId" }, { label: _Names.tenantId, prop: "tenantId" },
{ label: _Public.id, prop: "ID" },
] ]

11
fe/PC/src/views/interfaceBoard/exchangeDataMaintenancePage.vue

@ -49,7 +49,7 @@
currenButtonData: [ currenButtonData: [
this.defaultFieldSettingBtn(),// this.defaultFieldSettingBtn(),//
this.defaultFreshBtn(),// this.defaultFreshBtn(),//
// this.defaultFilterBtn(),// this.defaultFilterBtn(),//
{ {
type: "primary", type: "primary",
icon: "el-icon-refresh", icon: "el-icon-refresh",
@ -70,7 +70,12 @@
}, },
topbuttonHandle(val,item){ topbuttonHandle(val,item){
if(val == 'resend'){ if(val == 'resend'){
if(this.selectData && this.selectData.length > 0){
this.Loading.appMainLoading = true
this.resendHandle(0) this.resendHandle(0)
}else{
this.$warningMsg('请选择数据')
}
}else{ }else{
this.topbutton(val,item) this.topbutton(val,item)
} }
@ -78,7 +83,8 @@
// //
async resendHandle(index){ async resendHandle(index){
if(index >= this.selectData.length){ if(index >= this.selectData.length){
this.$successMsg("全部数据重发成功!") this.Loading.appMainLoading = false
this.$successMsg("全部数据(共"+ this.selectData.length +"条)重发成功!")
return return
} }
let _resultBack = await this.resendApiHandle(this.selectData[index].id) let _resultBack = await this.resendApiHandle(this.selectData[index].id)
@ -89,6 +95,7 @@
} }
// //
else{ else{
this.Loading.appMainLoading = false
this.$errorMsg(`${this.selectData[index].id} 重发失败`) this.$errorMsg(`${this.selectData[index].id} 重发失败`)
} }
}, },

Loading…
Cancel
Save