Browse Source

接口监控看板第二个,报错问题处理

dev_web_online
安虹睿 2 years ago
parent
commit
06e5aa6a14
  1. 2
      fe/PC/public/version.json
  2. 88
      fe/PC/src/views/interfaceBoard/dataExchangeFromOut_file.vue

2
fe/PC/public/version.json

@ -1,3 +1,3 @@
{
"version": "1.0.44"
"version": "1.0.45"
}

88
fe/PC/src/views/interfaceBoard/dataExchangeFromOut_file.vue

@ -31,7 +31,7 @@
import { LoadingMixins } from "@/mixins/LoadingMixins";
import { TableHeaderMixins } from "@/mixins/TableHeaderMixins";
import { mixins } from "@/mixins/mixins";
import { getInterfaceBoard,dataExchangeFromOut_file } from "@/api/wms-interface"
import { dataExchangeFromOut_file } from "@/api/wms-interface"
export default {
name: "dataExchangeFromOut_file",
@ -49,68 +49,70 @@
this.defaultFreshBtn(),//
// this.defaultFilterBtn(),//
],
setInterfaceBoardTableColumns:this.setTableColumns()
// setInterfaceBoardTableColumns:this.setTableColumns()
};
},
mounted() {
this.paging();
},
methods: {
setTableColumns(){
let interfaceBoardColumnsNames = localStorage.getItem("interfaceBoardColumnsNames")
if(!interfaceBoardColumnsNames){
console.log('获取接口监控看板表头数据并存储')
// setTableColumns(){
// let interfaceBoardColumnsNames = localStorage.getItem("interfaceBoardColumnsNames")
// if(!interfaceBoardColumnsNames){
// console.log('')
.catch(err => {
})
}else{
let _Dashboard = JSON.parse(localStorage.getItem("interfaceBoardColumnsNames")) //
return [
{ label: '11111', prop: "number" },
{ label: _Dashboard.ArchivedOutgoingToExternalNumber, prop: "number" },
{ label: _Dashboard.ArchivedOutgoingToExternalRemark, prop: "remark", type:"showDetail" },
{ label: _Dashboard.ArchivedOutgoingToExternalDataType, prop: "dataType" },
{ label: _Dashboard.ArchivedOutgoingToExternalTableType, prop: "tableType" },
{ label: _Dashboard.ArchivedOutgoingToExternalDataAction, prop: "dataAction" },
{ label: _Dashboard.ArchivedOutgoingToExternalEffectiveDate, prop: "effectiveDate",type:'dateTime' },
{ label: _Dashboard.ArchivedOutgoingToExternalStatus, prop: "status" },
{ label: _Dashboard.ArchivedOutgoingToExternalSourceSystem, prop: "sourceSystem" },
{ label: _Dashboard.ArchivedOutgoingToExternalSourceDataId, prop: "sourceDataId" },
{ label: _Dashboard.ArchivedOutgoingToExternalSourceDataGroupCode, prop: "sourceDataGroupCode" },
{ label: _Dashboard.ArchivedOutgoingToExternalSourceDataDetailCode, prop: "sourceDataDetailCode" },
{ label: _Dashboard.ArchivedOutgoingToExternalSourceDataContent, prop: "sourceDataContent", type:"showJsonTable" },
{ label: _Dashboard.ArchivedOutgoingToExternalWriteTime, prop: "writeTime",type:'dateTime' },
{ label: _Dashboard.ArchivedOutgoingToExternalWriter, prop: "writer" },
{ label: _Dashboard.ArchivedOutgoingToExternalDestinationSystem, prop: "destinationSystem" },
{ label: _Dashboard.ArchivedOutgoingToExternalDestinationDataId, prop: "destinationDataId" },
{ label: _Dashboard.ArchivedOutgoingToExternalDestinationDataContent, prop: "destinationDataContent", type:"showJsonTable" },
{ label: _Dashboard.ArchivedOutgoingToExternalReadTime, prop: "readTime",type:'dateTime' },
{ label: _Dashboard.ArchivedOutgoingToExternalReader, prop: "reader" },
{ label: _Dashboard.ArchivedOutgoingToExternalErrorCode, prop: "errorCode" },
{ label: _Dashboard.ArchivedOutgoingToExternalErrorMessage, prop: "errorMessage", type:"showDetail" },
{ label: _Dashboard.ArchivedOutgoingToExternalRetryTimes, prop: "retryTimes" },
// ************** ************************
// { label: _Public.creationTime, prop: "creationTime",type:'dateTime' },
// { label: _Public.creatorId, prop: "creatorId" },
// { label: _Public.lastModificationTime", prop: "lastModificationTime",type:'dateTime' },
// { label: _Public.lastModifierId, prop: "lastModifierId" },
// { label: _Public.ID, prop: "ID" },
]
}
// .catch(err => {
// })
// }else{
// let _Dashboard = JSON.parse(localStorage.getItem("interfaceBoardColumnsNames")) //
// return [
// { label: '11111', prop: "number" },
// { label: _Dashboard.ArchivedOutgoingToExternalNumber, prop: "number" },
// { label: _Dashboard.ArchivedOutgoingToExternalRemark, prop: "remark", type:"showDetail" },
// { label: _Dashboard.ArchivedOutgoingToExternalDataType, prop: "dataType" },
// { label: _Dashboard.ArchivedOutgoingToExternalTableType, prop: "tableType" },
// { label: _Dashboard.ArchivedOutgoingToExternalDataAction, prop: "dataAction" },
// { label: _Dashboard.ArchivedOutgoingToExternalEffectiveDate, prop: "effectiveDate",type:'dateTime' },
// { label: _Dashboard.ArchivedOutgoingToExternalStatus, prop: "status" },
// { label: _Dashboard.ArchivedOutgoingToExternalSourceSystem, prop: "sourceSystem" },
// { label: _Dashboard.ArchivedOutgoingToExternalSourceDataId, prop: "sourceDataId" },
// { label: _Dashboard.ArchivedOutgoingToExternalSourceDataGroupCode, prop: "sourceDataGroupCode" },
// { label: _Dashboard.ArchivedOutgoingToExternalSourceDataDetailCode, prop: "sourceDataDetailCode" },
// { label: _Dashboard.ArchivedOutgoingToExternalSourceDataContent, prop: "sourceDataContent", type:"showJsonTable" },
// { label: _Dashboard.ArchivedOutgoingToExternalWriteTime, prop: "writeTime",type:'dateTime' },
// { label: _Dashboard.ArchivedOutgoingToExternalWriter, prop: "writer" },
// { label: _Dashboard.ArchivedOutgoingToExternalDestinationSystem, prop: "destinationSystem" },
// { label: _Dashboard.ArchivedOutgoingToExternalDestinationDataId, prop: "destinationDataId" },
// { label: _Dashboard.ArchivedOutgoingToExternalDestinationDataContent, prop: "destinationDataContent", type:"showJsonTable" },
// { label: _Dashboard.ArchivedOutgoingToExternalReadTime, prop: "readTime",type:'dateTime' },
// { label: _Dashboard.ArchivedOutgoingToExternalReader, prop: "reader" },
// { label: _Dashboard.ArchivedOutgoingToExternalErrorCode, prop: "errorCode" },
// { label: _Dashboard.ArchivedOutgoingToExternalErrorMessage, prop: "errorMessage", type:"showDetail" },
// { label: _Dashboard.ArchivedOutgoingToExternalRetryTimes, prop: "retryTimes" },
// // ************** ************************
// // { label: _Public.creationTime, prop: "creationTime",type:'dateTime' },
// // { label: _Public.creatorId, prop: "creatorId" },
// // { label: _Public.lastModificationTime", prop: "lastModificationTime",type:'dateTime' },
// // { label: _Public.lastModifierId, prop: "lastModifierId" },
// // { label: _Public.ID, prop: "ID" },
// ]
// }
},
// },
//
paging(callback) {
this.Loading.tableLoading = true;
this.PageListParams.SkipCount = (this.oldSkipCount - 1) * this.PageListParams.MaxResultCount,
dataExchangeFromOut_file(this.PageListParams)
.then(result => {
console.log(108)
let res = result.data
this.tableData = res.items
this.totalCount = res.totalCount
this.pagingCallback(callback)
})
.catch(err => {
console.log(115)
this.Loading.tableLoading = false
})
},

Loading…
Cancel
Save