Browse Source

接口监控开发暂存

dev_web_online 1.23.0705.1
安虹睿 2 years ago
parent
commit
acc2d660c7
  1. 1
      fe/PC/public/config.js
  2. 42
      fe/PC/src/api/wms-interface.js
  3. 28
      fe/PC/src/permission.js
  4. 474
      fe/PC/src/utils/tableColumns/index_new.js
  5. 43
      fe/PC/src/utils/tabsDesTions/index.js
  6. 412
      fe/PC/src/views/interfaceBoard/TestSchool.vue
  7. 304
      fe/PC/src/views/interfaceBoard/_dataExchangeFromOut.vue
  8. 3
      fe/PC/src/views/interfaceBoard/dataExchangeFromOut.vue
  9. 4
      fe/PC/src/views/login/index.vue

1
fe/PC/public/config.js

@ -23,6 +23,7 @@ window.SITE_CONFIG['versionUrl'] = 'http://dev.ccwin-in.com:60070'
window.SITE_CONFIG['companyName'] = '长春一汽富维东阳汽车塑料零部件(安徽)有限公司'
// 接口看板地址
window.SITE_CONFIG['interfaceBoardUrl'] = 'http://dev.ccwin-in.com:60090/'
// window.SITE_CONFIG['interfaceBoardUrl'] = 'http://dev.ccwin-in.com:60069/'
// 接口看板表头获取地址
window.SITE_CONFIG['interfaceBoardColumnsApi'] = 'api/abp/application-configuration'

42
fe/PC/src/api/wms-interface.js

@ -1,7 +1,9 @@
// 接口监控看板相关api
import axios from 'axios'
import request from '@/utils/request'
let filter = 'get-page-list-by-filter'
let base_api = localStorage.getItem('interfaceBoardUrl')
let colum_url = localStorage.getItem('interfaceBoardColumnsApi')
let interfaceBoard_api = base_api + 'api/app/'
// 转义传参
const initParams = (data) => {
@ -11,6 +13,15 @@ const initParams = (data) => {
sorting:data.Sorting
}
}
// 获取表头数据
export function getInterfaceBoard() {
return axios({
method:'get',
url: base_api + colum_url
})
}
//外部数据转换
export function dataExchangeFromOut(data) {
return axios({
@ -83,21 +94,32 @@ export function comingFromOut_file(data) {
})
}
//外部数据转换新增、编辑
export function dataExchangeFromOut_save(data,add) {
let _type = add ? 'CreateModal' : 'EditModal'
// 测试数据-列表
export function TestSchool(data, includeDetails) {
return axios({
method:'post',
url: base_api + 'api/TestSchool/base/get-list-page-by-filter?includeDetails='+Boolean(includeDetails),
data
})
}
// 测试数据-新增、编辑
export function TestSchool_save(data,isAdd) {
let _type = isAdd ? 'create' : 'update-by-id'
// let _url = isEdit ? '/api/TestSchool/base/update-by-id?id='+ data.id : '/api/TestSchool/base/create'
return axios({
method:'post',
headers: {
'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
},
url: base_api + 'AppBusiness/OutgoingToExternal/OutgoingToExternal/'+_type,
data:data
// headers: {
// 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
// },
url: base_api + 'api/TestSchool/base/'+_type,
data:data,
params:{id:data.id}
})
}
//外部数据转换删除
export function dataExchangeFromOut_delete(id) {
// 测试数据-删除
export function TestSchool_delete(id) {
return axios({
method:'DELETE',
url: base_api + 'outgoing-to-external/' + id,

28
fe/PC/src/permission.js

@ -12,7 +12,6 @@ import getPageTitle from '@/utils/get-page-title'
import {
asyncRoutes
} from '@/router'
import { getInterfaceBoard } from "@/api/wms-interface"
NProgress.configure({
showSpinner: false
@ -33,6 +32,16 @@ router.beforeEach(async (to, from, next) => {
const hasToken = getToken()
if (hasToken) {
// if(from.path != '/login'){
// let _interfaceBoardColumnsNames = localStorage.getItem("interfaceBoardColumnsNames")
// if(!_interfaceBoardColumnsNames){
// console.log(39,_interfaceBoardColumnsNames)
// // next({
// // path: '/'
// // })
// // NProgress.done()
// }
// }
if (to.path === '/login') {
// if is logged in, redirect to the home page
next({
@ -48,18 +57,15 @@ router.beforeEach(async (to, from, next) => {
try {
// get user info
// note: roles must be a object array! such as: ['admin'] or ,['developer','editor']
// 除了登录页以外,如果缓存中没有 interfaceBoardColumnsNames(监控数据表头信息) 的缓存 则跳出登录页
// getInterfaceBoard().then(result => {
// 如果缓存中没有 interfaceBoardColumnsNames(接口监控看板表头信息) 的缓存数据 则退出登录
// let _interfaceBoardColumnsNames = localStorage.getItem("interfaceBoardColumnsNames")
// if(!_interfaceBoardColumnsNames){
// await store.dispatch('user/logout')
// next(`/login?redirect=${to.path}`)
// NProgress.done()
// // let _obj = {"OutgoingToExternal":"外部数据转换","OutgoingToExternalNumber":"编号","OutgoingToExternalRemark":"备注11111111111","OutgoingToExternalDataType":"数据类型","OutgoingToExternalTableType":"数据表类型","OutgoingToExternalDataAction":"数据动作","OutgoingToExternalEffectiveDate":"生效日期","OutgoingToExternalStatus":"数据状态","OutgoingToExternalSourceSystem":"来源系统","OutgoingToExternalSourceDataId":"来源数据ID","OutgoingToExternalSourceDataGroupCode":"来源数据组码","OutgoingToExternalSourceDataDetailCode":"来源数据明细码","OutgoingToExternalSourceDataContent":"来源数据内容","OutgoingToExternalWriteTime":"写入时间","OutgoingToExternalWriter":"写入者","OutgoingToExternalDestinationDataId":"目标数据ID","OutgoingToExternalDestinationDataContent":"目标数据内容","OutgoingToExternalDestinationSystem":"目标系统","OutgoingToExternalReadTime":"读取时间","OutgoingToExternalReader":"读取者","OutgoingToExternalErrorCode":"错误代码","OutgoingToExternalErrorMessage":"错误信息","OutgoingToExternalRetryTimes":"重试次数"}
// // localStorage.setItem("interfaceBoardColumnsNames", JSON.stringify(_obj));
// // localStorage.setItem("interfaceBoardColumnsNames", JSON.stringify(result.data.localization.values.Dashboard));
// // console.log(5858585858,localStorage.getItem("interfaceBoardColumnsNames"))
// })
// .catch(err => {
// })
// }
const {
roles
} = await store.dispatch('user/getInfo')

474
fe/PC/src/utils/tableColumns/index_new.js

@ -2,15 +2,8 @@
const orderWidth = 180
import zh from '@/lang/zh'
let _Public = zh.ColumsPublic // 字段通用
// let _Dashboard = zh.ColumsDashboard // 接口监控看板
let _Dashboard = JSON.parse(localStorage.getItem("interfaceBoardColumnsNames")) // 接口监控看板
let _Names = zh.ColumsNames // 接口监控看板
window.addEventListener('setItemEvent', (item) => {
if(item.key == "interfaceBoardColumnsNames"){
_Dashboard = JSON.parse(localStorage.getItem("interfaceBoardColumnsNames")) // 接口监控看板
console.log(11,_Dashboard)
}
})
let _Names = zh.ColumsNames
// 基础信息数据管理
/**/
// 物品基础信息
@ -3538,17 +3531,25 @@ export const Department = [
]
// 接口监控看板
// let _Dashboard = zh.ColumsDashboard // 接口监控看板
let _Dashboard = localStorage.getItem("interfaceBoardColumnsNames")
if(_Dashboard && _Dashboard != 'undefined' && _Dashboard != 'null') {
_Dashboard = JSON.parse(localStorage.getItem("interfaceBoardColumnsNames"))
}
// window.addEventListener('setItemEvent', (item) => {
// if(item.key == "interfaceBoardColumnsNames"){
// _Dashboard = JSON.parse(localStorage.getItem("interfaceBoardColumnsNames")) // 接口监控看板
// console.log(11,_Dashboard)
// }
// })
// 用于处理刚进来的时候没有表头数据问题处理
const initDashboardLable = (data) => {
return _Dashboard ? _Dashboard[data] : null
}
// 外部数据转换
export const dataExchangeFromOut = [
{
label: initDashboardLable('OutgoingToExternalNumber'),
prop: "number",
// fixed: "left",
// type: "name"
},
{ label: initDashboardLable('OutgoingToExternalNumber'), prop: "number" },
{ label: initDashboardLable('OutgoingToExternalRemark'), prop: "remark", type:"showDetail" },
{ label: initDashboardLable('OutgoingToExternalDataType'), prop: "dataType", type:"showDetail" },
{ label: initDashboardLable('OutgoingToExternalTableType'), prop: "tableType" },
@ -3610,22 +3611,261 @@ export const dataExchangeFromOut_file = [
// { label: _Public.ID, prop: "ID" },
]
// WMS数据接收
export const comingToWms = [
{ label: initDashboardLable('IncomingToWmsNumber'), prop: "number" },
{ label: initDashboardLable('IncomingToWmsRemark'), prop: "remark", type:"showDetail" },
{ label: initDashboardLable('IncomingToWmsDataType'), prop: "dataType" },
{ label: initDashboardLable('IncomingToWmsDataAction'), prop: "dataAction" },
{ label: initDashboardLable('IncomingToWmsEffectiveDate'), prop: "effectiveDate",type:'dateTime' },
{ label: initDashboardLable('IncomingToWmsStatus'), prop: "status" },
{ label: initDashboardLable('IncomingToWmsDataIdentityCode'), prop: "dataIdentityCode" },
{ label: initDashboardLable('IncomingToWmsDataContent'), prop: "dataContent", type:"showJsonTable" },
{ label: initDashboardLable('IncomingToWmsSourceSystem'), prop: "sourceSystem" },
{ label: initDashboardLable('IncomingToWmsWriteTime'), prop: "writeTime",type:'dateTime' },
{ label: initDashboardLable('IncomingToWmsReadTime'), prop: "readTime",type:'dateTime' },
{ label: initDashboardLable('IncomingToWmsErrorCode'), prop: "errorCode" },
{ label: initDashboardLable('IncomingToWmsErrorMessage'), prop: "errorMessage", type:"showDetail" },
{ label: initDashboardLable('IncomingToWmsRetryTimes'), 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" },
]
// // 归档WMS数据接收
export const comingToWms_file = [
{ label: initDashboardLable('ArchivedIncomingToWmsNumber'), prop: "number" },
{ label: initDashboardLable('ArchivedIncomingToWmsRemark'), prop: "remark", type:"showDetail" },
{ label: initDashboardLable('ArchivedIncomingToWmsDataType'), prop: "dataType" },
{ label: initDashboardLable('ArchivedIncomingToWmsDataAction'), prop: "dataAction" },
{ label: initDashboardLable('ArchivedIncomingToWmsEffectiveDate'), prop: "effectiveDate",type:'dateTime' },
{ label: initDashboardLable('ArchivedIncomingToWmsStatus'), prop: "status" },
{ label: initDashboardLable('ArchivedIncomingToWmsDataIdentityCode'), prop: "dataIdentityCode" },
{ label: initDashboardLable('ArchivedIncomingToWmsDataContent'), prop: "dataContent", type:"showJsonTable" },
{ label: initDashboardLable('ArchivedIncomingToWmsSourceSystem'), prop: "sourceSystem" },
{ label: initDashboardLable('ArchivedIncomingToWmsWriteTime'), prop: "writeTime",type:'dateTime' },
{ label: initDashboardLable('ArchivedIncomingToWmsReadTime'), prop: "readTime",type:'dateTime' },
{ label: initDashboardLable('ArchivedIncomingToWmsErrorCode'), prop: "errorCode" },
{ label: initDashboardLable('ArchivedIncomingToWmsErrorMessage'), prop: "errorMessage", type:"showDetail" },
{ label: initDashboardLable('ArchivedIncomingToWmsRetryTimes'), 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" },
]
// // WMS数据转换
export const dataExchangeFromWms = [
{ label: initDashboardLable('DataExchange_OutgoingFromWmsNumber'), prop: "number" },
{ label: initDashboardLable('DataExchange_OutgoingFromWmsRemark'), prop: "remark", type:"showDetail" },
{ label: initDashboardLable('DataExchange_OutgoingFromWmsDataType'), prop: "dataType" },
{ label: initDashboardLable('DataExchange_OutgoingFromWmsDataAction'), prop: "dataAction" },
{ label: initDashboardLable('DataExchange_OutgoingFromWmsEffectiveDate'), prop: "effectiveDate",type:'dateTime' },
{ label: initDashboardLable('DataExchange_OutgoingFromWmsStatus'), prop: "status" },
{ label: initDashboardLable('DataExchange_OutgoingFromWmsDataIdentityCode'), prop: "dataIdentityCode" },
{ label: initDashboardLable('DataExchange_OutgoingFromWmsDataContent'), prop: "dataContent", type:"showJsonTable" },
{ label: initDashboardLable('DataExchange_OutgoingFromWmsSourceSystem'), prop: "sourceSystem" },
{ label: initDashboardLable('DataExchange_OutgoingFromWmsWriteTime'), prop: "writeTime",type:'dateTime' },
{ label: initDashboardLable('DataExchange_OutgoingFromWmsDestinationSystem'), prop: "destinationSystem" },
{ label: initDashboardLable('DataExchange_OutgoingFromWmsReadTime'), prop: "readTime",type:'dateTime' },
{ label: initDashboardLable('DataExchange_OutgoingFromWmsErrorCode'), prop: "errorCode" },
{ label: initDashboardLable('DataExchange_OutgoingFromWmsErrorMessage'), prop: "errorMessage", type:"showDetail" },
{ label: initDashboardLable('DataExchange_OutgoingFromWmsRetryTimes'), 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" },
]
// // 归档WMS数据转换
export const dataExchangeFromWms_file = [
{ label: initDashboardLable('DataExchange_ArchivedOutgoingFromWmsNumber'), prop: "number" },
{ label: initDashboardLable('DataExchange_ArchivedOutgoingFromWmsRemark'), prop: "remark", type:"showDetail" },
{ label: initDashboardLable('DataExchange_ArchivedOutgoingFromWmsDataType'), prop: "dataType" },
{ label: initDashboardLable('DataExchange_ArchivedOutgoingFromWmsDataAction'), prop: "dataAction" },
{ label: initDashboardLable('DataExchange_ArchivedOutgoingFromWmsEffectiveDate'), prop: "effectiveDate",type:'dateTime' },
{ label: initDashboardLable('DataExchange_ArchivedOutgoingFromWmsStatus'), prop: "status" },
{ label: initDashboardLable('DataExchange_ArchivedOutgoingFromWmsDataIdentityCode'), prop: "dataIdentityCode" },
{ label: initDashboardLable('DataExchange_ArchivedOutgoingFromWmsDataContent'), prop: "dataContent", type:"showJsonTable" },
{ label: initDashboardLable('DataExchange_ArchivedOutgoingFromWmsSourceSystem'), prop: "sourceSystem" },
{ label: initDashboardLable('DataExchange_ArchivedOutgoingFromWmsWriteTime'), prop: "writeTime",type:'dateTime' },
// { label: _Dashboard.destinationSystem, prop: "destinationSystem" },
{ label: initDashboardLable('DataExchange_ArchivedOutgoingFromWmsReadTime'), prop: "readTime",type:'dateTime' },
{ label: initDashboardLable('DataExchange_ArchivedOutgoingFromWmsErrorCode'), prop: "errorCode" },
{ label: initDashboardLable('DataExchange_ArchivedOutgoingFromWmsErrorMessage'), prop: "errorMessage", type:"showDetail" },
{ label: initDashboardLable('DataExchange_ArchivedOutgoingFromWmsRetryTimes'), 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" },
]
// // 外部数据接收
export const comingFromOut = [
{ label: initDashboardLable('DataExchange_IncomingFromExternalNumber'), prop: "number" },
{ label: initDashboardLable('DataExchange_IncomingFromExternalRemark'), prop: "remark", type:"showDetail" },
{ label: initDashboardLable('DataExchange_IncomingFromExternalDataType'), prop: "dataType" },
{ label: initDashboardLable('DataExchange_IncomingFromExternalTableType'), prop: "tableType" },
{ label: initDashboardLable('DataExchange_IncomingFromExternalDataAction'), prop: "dataAction" },
{ label: initDashboardLable('DataExchange_IncomingFromExternalEffectiveDate'), prop: "effectiveDate",type:'dateTime' },
{ label: initDashboardLable('DataExchange_IncomingFromExternalStatus'), prop: "status" },
{ label: initDashboardLable('DataExchange_IncomingFromExternalSourceSystem'), prop: "sourceSystem" },
{ label: initDashboardLable('DataExchange_IncomingFromExternalSourceDataId'), prop: "sourceDataId" },
{ label: initDashboardLable('DataExchange_IncomingFromExternalSourceDataGroupCode'), prop: "sourceDataGroupCode" },
{ label: initDashboardLable('DataExchange_IncomingFromExternalSourceDataDetailCode'), prop: "sourceDataDetailCode" },
{ label: initDashboardLable('DataExchange_IncomingFromExternalSourceDataContent'), prop: "sourceDataContent", type:"showJsonTable" },
{ label: initDashboardLable('DataExchange_IncomingFromExternalWriteTime'), prop: "writeTime",type:'dateTime' },
{ label: initDashboardLable('DataExchange_IncomingFromExternalWriter'), prop: "writer" },
{ label: initDashboardLable('DataExchange_IncomingFromExternalDestinationSystem'), prop: "destinationSystem" },
{ label: initDashboardLable('DataExchange_IncomingFromExternalDestinationDataId'), prop: "destinationDataId" },
{ label: initDashboardLable('DataExchange_IncomingFromExternalDestinationDataContent'), prop: "destinationDataContent", type:"showJsonTable" },
{ label: initDashboardLable('DataExchange_IncomingFromExternalReadTime'), prop: "readTime",type:'dateTime' },
{ label: initDashboardLable('DataExchange_IncomingFromExternalReader'), prop: "reader" },
{ label: initDashboardLable('DataExchange_IncomingFromExternalErrorCode'), prop: "errorCode" },
{ label: initDashboardLable('DataExchange_IncomingFromExternalErrorMessage'), prop: "errorMessage", type:"showDetail" },
{ label: initDashboardLable('DataExchange_IncomingFromExternalRetryTimes'), 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" },
]
// // 归档外部数据接收
export const comingFromOut_file = [
{ label: initDashboardLable('DataExchange_ArchivedIncomingFromExternalNumber'), prop: "number" },
{ label: initDashboardLable('DataExchange_ArchivedIncomingFromExternalRemark'), prop: "remark", type:"showDetail" },
{ label: initDashboardLable('DataExchange_ArchivedIncomingFromExternalDataType'), prop: "dataType" },
{ label: initDashboardLable('DataExchange_ArchivedIncomingFromExternalTableType'), prop: "tableType" },
{ label: initDashboardLable('DataExchange_ArchivedIncomingFromExternalDataAction'), prop: "dataAction" },
{ label: initDashboardLable('DataExchange_ArchivedIncomingFromExternalEffectiveDate'), prop: "effectiveDate",type:'dateTime' },
{ label: initDashboardLable('DataExchange_ArchivedIncomingFromExternalStatus'), prop: "status" },
{ label: initDashboardLable('DataExchange_ArchivedIncomingFromExternalSourceSystem'), prop: "sourceSystem" },
{ label: initDashboardLable('DataExchange_ArchivedIncomingFromExternalSourceDataId'), prop: "sourceDataId" },
{ label: initDashboardLable('DataExchange_ArchivedIncomingFromExternalSourceDataGroupCode'), prop: "sourceDataGroupCode" },
{ label: initDashboardLable('DataExchange_ArchivedIncomingFromExternalSourceDataDetailCode'), prop: "sourceDataDetailCode" },
{ label: initDashboardLable('DataExchange_ArchivedIncomingFromExternalSourceDataContent'), prop: "sourceDataContent", type:"showJsonTable" },
{ label: initDashboardLable('DataExchange_ArchivedIncomingFromExternalWriteTime'), prop: "writeTime",type:'dateTime' },
{ label: initDashboardLable('DataExchange_ArchivedIncomingFromExternalWriter'), prop: "writer" },
{ label: initDashboardLable('DataExchange_ArchivedIncomingFromExternalDestinationSystem'), prop: "destinationSystem" },
{ label: initDashboardLable('DataExchange_ArchivedIncomingFromExternalDestinationDataId'), prop: "destinationDataId" },
{ label: initDashboardLable('DataExchange_ArchivedIncomingFromExternalDestinationDataContent'), prop: "destinationDataContent", type:"showJsonTable" },
{ label: initDashboardLable('DataExchange_ArchivedIncomingFromExternalReadTime'), prop: "readTime",type:'dateTime' },
{ label: initDashboardLable('DataExchange_ArchivedIncomingFromExternalReader'), prop: "reader" },
{ label: initDashboardLable('DataExchange_ArchivedIncomingFromExternalErrorCode'), prop: "errorCode" },
{ label: initDashboardLable('DataExchange_ArchivedIncomingFromExternalErrorMessage'), prop: "errorMessage", type:"showDetail" },
{ label: initDashboardLable('DataExchange_ArchivedIncomingFromExternalRetryTimes'), 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" },
]
// 测试数据
export const TestSchool = [
{ label: '名称', prop: "schoolName", fixed: "left", type: "name" },
{ label: 'orderType', prop: "orderType" },
{ label: '创建时间', prop: "creationTime", type:'dateTime' },
]
// 外部数据转换
// export const dataExchangeFromOut = [
// {
// label: _Dashboard.number,
// prop: "number",
// // fixed: "left",
// // type: "name"
// },
// { label: _Public.remark, prop: "remark", type:"showDetail" },
// { label: _Dashboard.dataType, prop: "dataType", type:"showDetail" },
// { label: _Dashboard.tableType, prop: "tableType" },
// { label: _Dashboard.dataAction, prop: "dataAction" },
// { label: _Dashboard.effectiveDate, prop: "effectiveDate",type:'dateTime' },
// { label: _Dashboard.status, prop: "status" },
// { label: _Dashboard.sourceSystem, prop: "sourceSystem", type:"showDetail" },
// { label: _Dashboard.sourceDataId, prop: "sourceDataId" },
// { label: _Dashboard.sourceDataGroupCode, prop: "sourceDataGroupCode", type:"showDetail" },
// { label: _Dashboard.sourceDataDetailCode, prop: "sourceDataDetailCode", type:"showDetail" },
// { label: _Dashboard.sourceDataContent, prop: "sourceDataContent", type:"showJsonTable" },
// { label: _Dashboard.writeTime, prop: "writeTime",type:'dateTime' },
// { label: _Dashboard.writer, prop: "writer" },
// { label: _Dashboard.destinationSystem, prop: "destinationSystem", type:"showDetail" },
// { label: _Dashboard.destinationDataId, prop: "destinationDataId" },
// { label: _Dashboard.destinationDataContent, prop: "destinationDataContent", type:"showJsonTable" },
// { label: _Dashboard.readTime, prop: "readTime",type:'dateTime' },
// { label: _Dashboard.reader, prop: "reader" },
// { label: _Dashboard.errorCode, prop: "errorCode" },
// { label: _Dashboard.errorMessage, prop: "errorMessage", type:"showDetail" },
// { label: _Dashboard.retryTimes, 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" },
// ]
// // 归档外部数据转换
// export const dataExchangeFromOut_file = [
// { label: _Dashboard.number, prop: "number" },
// { label: _Public.remark, prop: "remark", type:"showDetail" },
// { label: _Dashboard.dataType, prop: "dataType" },
// { label: _Dashboard.tableType, prop: "tableType" },
// { label: _Dashboard.dataAction, prop: "dataAction" },
// { label: _Dashboard.effectiveDate, prop: "effectiveDate",type:'dateTime' },
// { label: _Dashboard.status, prop: "status" },
// { label: _Dashboard.sourceSystem, prop: "sourceSystem" },
// { label: _Dashboard.sourceDataId, prop: "sourceDataId" },
// { label: _Dashboard.sourceDataGroupCode, prop: "sourceDataGroupCode" },
// { label: _Dashboard.sourceDataDetailCode, prop: "sourceDataDetailCode" },
// { label: _Dashboard.sourceDataContent, prop: "sourceDataContent", type:"showJsonTable" },
// { label: _Dashboard.writeTime, prop: "writeTime",type:'dateTime' },
// { label: _Dashboard.writer, prop: "writer" },
// { label: _Dashboard.destinationSystem, prop: "destinationSystem" },
// { label: _Dashboard.destinationDataId, prop: "destinationDataId" },
// { label: _Dashboard.destinationDataContent, prop: "destinationDataContent", type:"showJsonTable" },
// { label: _Dashboard.readTime, prop: "readTime",type:'dateTime' },
// { label: _Dashboard.reader, prop: "reader" },
// { label: _Dashboard.errorCode, prop: "errorCode" },
// { label: _Dashboard.errorMessage, prop: "errorMessage", type:"showDetail" },
// { label: _Dashboard.retryTimes, 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" },
// ]
// WMS数据接收
// export const comingToWms = [
// { label: _Dashboard.IncomingToWmsNumber, prop: "number" },
// { label: _Dashboard.IncomingToWmsRemark, prop: "remark", type:"showDetail" },
// { label: _Dashboard.IncomingToWmsDataType, prop: "dataType" },
// { label: _Dashboard.IncomingToWmsDataAction, prop: "dataAction" },
// { label: _Dashboard.IncomingToWmsEffectiveDate, prop: "effectiveDate",type:'dateTime' },
// { label: _Dashboard.IncomingToWmsStatus, prop: "status" },
// { label: _Dashboard.IncomingToWmsDataIdentityCode, prop: "dataIdentityCode" },
// { label: _Dashboard.IncomingToWmsDataContent, prop: "dataContent", type:"showJsonTable" },
// { label: _Dashboard.IncomingToWmsSourceSystem, prop: "sourceSystem" },
// { label: _Dashboard.IncomingToWmsWriteTime, prop: "writeTime",type:'dateTime' },
// { label: _Dashboard.IncomingToWmsReadTime, prop: "readTime",type:'dateTime' },
// { label: _Dashboard.IncomingToWmsErrorCode, prop: "errorCode" },
// { label: _Dashboard.IncomingToWmsErrorMessage, prop: "errorMessage", type:"showDetail" },
// { label: _Dashboard.IncomingToWmsRetryTimes, prop: "retryTimes" },
// { label: _Dashboard.number, prop: "number" },
// { label: _Public.remark, prop: "remark", type:"showDetail" },
// { label: _Dashboard.dataType, prop: "dataType" },
// { label: _Dashboard.dataAction, prop: "dataAction" },
// { label: _Dashboard.effectiveDate, prop: "effectiveDate",type:'dateTime' },
// { label: _Dashboard.status, prop: "status" },
// { label: _Dashboard.dataIdentityCode, prop: "dataIdentityCode" },
// { label: _Dashboard.dataContent, prop: "dataContent", type:"showJsonTable" },
// { label: _Dashboard.sourceSystem, prop: "sourceSystem" },
// { label: _Dashboard.writeTime, prop: "writeTime",type:'dateTime' },
// { label: _Dashboard.readTime, prop: "readTime",type:'dateTime' },
// { label: _Dashboard.errorCode, prop: "errorCode" },
// { label: _Dashboard.errorMessage, prop: "errorMessage", type:"showDetail" },
// { label: _Dashboard.retryTimes, prop: "retryTimes" },
// // ************** 暂时隐藏 ************************
// // { label: _Public.creationTime, prop: "creationTime",type:'dateTime' },
// // { label: _Public.creatorId, prop: "creatorId" },
@ -3636,20 +3876,20 @@ export const dataExchangeFromOut_file = [
// // 归档WMS数据接收
// export const comingToWms_file = [
// { label: _Dashboard.ArchivedIncomingToWmsNumber, prop: "number" },
// { label: _Dashboard.ArchivedIncomingToWmsRemark, prop: "remark", type:"showDetail" },
// { label: _Dashboard.ArchivedIncomingToWmsDataType, prop: "dataType" },
// { label: _Dashboard.ArchivedIncomingToWmsDataAction, prop: "dataAction" },
// { label: _Dashboard.ArchivedIncomingToWmsEffectiveDate, prop: "effectiveDate",type:'dateTime' },
// { label: _Dashboard.ArchivedIncomingToWmsStatus, prop: "status" },
// { label: _Dashboard.ArchivedIncomingToWmsDataIdentityCode, prop: "dataIdentityCode" },
// { label: _Dashboard.ArchivedIncomingToWmsDataContent, prop: "dataContent", type:"showJsonTable" },
// { label: _Dashboard.ArchivedIncomingToWmsSourceSystem, prop: "sourceSystem" },
// { label: _Dashboard.ArchivedIncomingToWmsWriteTime, prop: "writeTime",type:'dateTime' },
// { label: _Dashboard.ArchivedIncomingToWmsReadTime, prop: "readTime",type:'dateTime' },
// { label: _Dashboard.ArchivedIncomingToWmsErrorCode, prop: "errorCode" },
// { label: _Dashboard.ArchivedIncomingToWmsErrorMessage, prop: "errorMessage", type:"showDetail" },
// { label: _Dashboard.ArchivedIncomingToWmsRetryTimes, prop: "retryTimes" },
// { label: _Dashboard.number, prop: "number" },
// { label: _Public.remark, prop: "remark", type:"showDetail" },
// { label: _Dashboard.dataType, prop: "dataType" },
// { label: _Dashboard.dataAction, prop: "dataAction" },
// { label: _Dashboard.effectiveDate, prop: "effectiveDate",type:'dateTime' },
// { label: _Dashboard.status, prop: "status" },
// { label: _Dashboard.dataIdentityCode, prop: "dataIdentityCode" },
// { label: _Dashboard.dataContent, prop: "dataContent", type:"showJsonTable" },
// { label: _Dashboard.sourceSystem, prop: "sourceSystem" },
// { label: _Dashboard.writeTime, prop: "writeTime",type:'dateTime' },
// { label: _Dashboard.readTime, prop: "readTime",type:'dateTime' },
// { label: _Dashboard.errorCode, prop: "errorCode" },
// { label: _Dashboard.errorMessage, prop: "errorMessage", type:"showDetail" },
// { label: _Dashboard.retryTimes, prop: "retryTimes" },
// // ************** 暂时隐藏 ************************
// // { label: _Public.creationTime, prop: "creationTime",type:'dateTime' },
// // { label: _Public.creatorId, prop: "creatorId" },
@ -3660,21 +3900,21 @@ export const dataExchangeFromOut_file = [
// // WMS数据转换
// export const dataExchangeFromWms = [
// { label: _Dashboard.DataExchange_OutgoingFromWmsNumber, prop: "number" },
// { label: _Dashboard.DataExchange_OutgoingFromWmsRemark, prop: "remark", type:"showDetail" },
// { label: _Dashboard.DataExchange_OutgoingFromWmsDataType, prop: "dataType" },
// { label: _Dashboard.DataExchange_OutgoingFromWmsDataAction, prop: "dataAction" },
// { label: _Dashboard.DataExchange_OutgoingFromWmsEffectiveDate, prop: "effectiveDate",type:'dateTime' },
// { label: _Dashboard.DataExchange_OutgoingFromWmsStatus, prop: "status" },
// { label: _Dashboard.DataExchange_OutgoingFromWmsDataIdentityCode, prop: "dataIdentityCode" },
// { label: _Dashboard.DataExchange_OutgoingFromWmsDataContent, prop: "dataContent", type:"showJsonTable" },
// { label: _Dashboard.DataExchange_OutgoingFromWmsSourceSystem, prop: "sourceSystem" },
// { label: _Dashboard.DataExchange_OutgoingFromWmsWriteTime, prop: "writeTime",type:'dateTime' },
// { label: _Dashboard.DataExchange_OutgoingFromWmsDestinationSystem, prop: "destinationSystem" },
// { label: _Dashboard.DataExchange_OutgoingFromWmsReadTime, prop: "readTime",type:'dateTime' },
// { label: _Dashboard.DataExchange_OutgoingFromWmsErrorCode, prop: "errorCode" },
// { label: _Dashboard.DataExchange_OutgoingFromWmsErrorMessage, prop: "errorMessage", type:"showDetail" },
// { label: _Dashboard.DataExchange_OutgoingFromWmsRetryTimes, prop: "retryTimes" },
// { label: _Dashboard.number, prop: "number" },
// { label: _Public.remark, prop: "remark", type:"showDetail" },
// { label: _Dashboard.dataType, prop: "dataType" },
// { label: _Dashboard.dataAction, prop: "dataAction" },
// { label: _Dashboard.effectiveDate, prop: "effectiveDate",type:'dateTime' },
// { label: _Dashboard.status, prop: "status" },
// { label: _Dashboard.dataIdentityCode, prop: "dataIdentityCode" },
// { label: _Dashboard.dataContent, prop: "dataContent", type:"showJsonTable" },
// { label: _Dashboard.sourceSystem, prop: "sourceSystem" },
// { label: _Dashboard.writeTime, prop: "writeTime",type:'dateTime' },
// { label: _Dashboard.destinationSystem, prop: "destinationSystem" },
// { label: _Dashboard.readTime, prop: "readTime",type:'dateTime' },
// { label: _Dashboard.errorCode, prop: "errorCode" },
// { label: _Dashboard.errorMessage, prop: "errorMessage", type:"showDetail" },
// { label: _Dashboard.retryTimes, prop: "retryTimes" },
// // ************** 暂时隐藏 ************************
// // { label: _Public.creationTime, prop: "creationTime",type:'dateTime' },
// // { label: _Public.creatorId, prop: "creatorId" },
@ -3685,21 +3925,21 @@ export const dataExchangeFromOut_file = [
// // 归档WMS数据转换
// export const dataExchangeFromWms_file = [
// { label: _Dashboard.DataExchange_ArchivedOutgoingFromWmsNumber, prop: "number" },
// { label: _Dashboard.DataExchange_ArchivedOutgoingFromWmsRemark, prop: "remark", type:"showDetail" },
// { label: _Dashboard.DataExchange_ArchivedOutgoingFromWmsDataType, prop: "dataType" },
// { label: _Dashboard.DataExchange_ArchivedOutgoingFromWmsDataAction, prop: "dataAction" },
// { label: _Dashboard.DataExchange_ArchivedOutgoingFromWmsEffectiveDate, prop: "effectiveDate",type:'dateTime' },
// { label: _Dashboard.DataExchange_ArchivedOutgoingFromWmsStatus, prop: "status" },
// { label: _Dashboard.DataExchange_ArchivedOutgoingFromWmsDataIdentityCode, prop: "dataIdentityCode" },
// { label: _Dashboard.DataExchange_ArchivedOutgoingFromWmsDataContent, prop: "dataContent", type:"showJsonTable" },
// { label: _Dashboard.DataExchange_ArchivedOutgoingFromWmsSourceSystem, prop: "sourceSystem" },
// { label: _Dashboard.DataExchange_ArchivedOutgoingFromWmsWriteTime, prop: "writeTime",type:'dateTime' },
// // { label: _Dashboard.destinationSystem, prop: "destinationSystem" },
// { label: _Dashboard.DataExchange_ArchivedOutgoingFromWmsReadTime, prop: "readTime",type:'dateTime' },
// { label: _Dashboard.DataExchange_ArchivedOutgoingFromWmsErrorCode, prop: "errorCode" },
// { label: _Dashboard.DataExchange_ArchivedOutgoingFromWmsErrorMessage, prop: "errorMessage", type:"showDetail" },
// { label: _Dashboard.DataExchange_ArchivedOutgoingFromWmsRetryTimes, prop: "retryTimes" },
// { label: _Dashboard.number, prop: "number" },
// { label: _Public.remark, prop: "remark", type:"showDetail" },
// { label: _Dashboard.dataType, prop: "dataType" },
// { label: _Dashboard.dataAction, prop: "dataAction" },
// { label: _Dashboard.effectiveDate, prop: "effectiveDate",type:'dateTime' },
// { label: _Dashboard.status, prop: "status" },
// { label: _Dashboard.dataIdentityCode, prop: "dataIdentityCode" },
// { label: _Dashboard.dataContent, prop: "dataContent", type:"showJsonTable" },
// { label: _Dashboard.sourceSystem, prop: "sourceSystem" },
// { label: _Dashboard.writeTime, prop: "writeTime",type:'dateTime' },
// { label: _Dashboard.destinationSystem, prop: "destinationSystem" },
// { label: _Dashboard.readTime, prop: "readTime",type:'dateTime' },
// { label: _Dashboard.errorCode, prop: "errorCode" },
// { label: _Dashboard.errorMessage, prop: "errorMessage", type:"showDetail" },
// { label: _Dashboard.retryTimes, prop: "retryTimes" },
// // ************** 暂时隐藏 ************************
// // { label: _Public.creationTime, prop: "creationTime",type:'dateTime' },
// // { label: _Public.creatorId, prop: "creatorId" },
@ -3711,28 +3951,28 @@ export const dataExchangeFromOut_file = [
// // 外部数据接收
// export const comingFromOut = [
// { label: _Dashboard.DataExchange_IncomingFromExternalNumber, prop: "number" },
// { label: _Dashboard.DataExchange_IncomingFromExternalRemark, prop: "remark", type:"showDetail" },
// { label: _Dashboard.DataExchange_IncomingFromExternalDataType, prop: "dataType" },
// { label: _Dashboard.DataExchange_IncomingFromExternalTableType, prop: "tableType" },
// { label: _Dashboard.DataExchange_IncomingFromExternalDataAction, prop: "dataAction" },
// { label: _Dashboard.DataExchange_IncomingFromExternalEffectiveDate, prop: "effectiveDate",type:'dateTime' },
// { label: _Dashboard.DataExchange_IncomingFromExternalStatus, prop: "status" },
// { label: _Dashboard.DataExchange_IncomingFromExternalSourceSystem, prop: "sourceSystem" },
// { label: _Dashboard.DataExchange_IncomingFromExternalSourceDataId, prop: "sourceDataId" },
// { label: _Dashboard.DataExchange_IncomingFromExternalSourceDataGroupCode, prop: "sourceDataGroupCode" },
// { label: _Dashboard.DataExchange_IncomingFromExternalSourceDataDetailCode, prop: "sourceDataDetailCode" },
// { label: _Dashboard.DataExchange_IncomingFromExternalSourceDataContent, prop: "sourceDataContent", type:"showJsonTable" },
// { label: _Dashboard.DataExchange_IncomingFromExternalWriteTime, prop: "writeTime",type:'dateTime' },
// { label: _Dashboard.DataExchange_IncomingFromExternalWriter, prop: "writer" },
// { label: _Dashboard.DataExchange_IncomingFromExternalDestinationSystem, prop: "destinationSystem" },
// { label: _Dashboard.DataExchange_IncomingFromExternalDestinationDataId, prop: "destinationDataId" },
// { label: _Dashboard.DataExchange_IncomingFromExternalDestinationDataContent, prop: "destinationDataContent", type:"showJsonTable" },
// { label: _Dashboard.DataExchange_IncomingFromExternalReadTime, prop: "readTime",type:'dateTime' },
// { label: _Dashboard.DataExchange_IncomingFromExternalReader, prop: "reader" },
// { label: _Dashboard.DataExchange_IncomingFromExternalErrorCode, prop: "errorCode" },
// { label: _Dashboard.DataExchange_IncomingFromExternalErrorMessage, prop: "errorMessage", type:"showDetail" },
// { label: _Dashboard.DataExchange_IncomingFromExternalRetryTimes, prop: "retryTimes" },
// { label: _Dashboard.number, prop: "number" },
// { label: _Public.remark, prop: "remark", type:"showDetail" },
// { label: _Dashboard.dataType, prop: "dataType" },
// { label: _Dashboard.tableType, prop: "tableType" },
// { label: _Dashboard.dataAction, prop: "dataAction" },
// { label: _Dashboard.effectiveDate, prop: "effectiveDate",type:'dateTime' },
// { label: _Dashboard.status, prop: "status" },
// { label: _Dashboard.sourceSystem, prop: "sourceSystem" },
// { label: _Dashboard.sourceDataId, prop: "sourceDataId" },
// { label: _Dashboard.sourceDataGroupCode, prop: "sourceDataGroupCode" },
// { label: _Dashboard.sourceDataDetailCode, prop: "sourceDataDetailCode" },
// { label: _Dashboard.sourceDataContent, prop: "sourceDataContent", type:"showJsonTable" },
// { label: _Dashboard.writeTime, prop: "writeTime",type:'dateTime' },
// { label: _Dashboard.writer, prop: "writer" },
// { label: _Dashboard.destinationSystem, prop: "destinationSystem" },
// { label: _Dashboard.destinationDataId, prop: "destinationDataId" },
// { label: _Dashboard.destinationDataContent, prop: "destinationDataContent", type:"showJsonTable" },
// { label: _Dashboard.readTime, prop: "readTime",type:'dateTime' },
// { label: _Dashboard.reader, prop: "reader" },
// { label: _Dashboard.errorCode, prop: "errorCode" },
// { label: _Dashboard.errorMessage, prop: "errorMessage", type:"showDetail" },
// { label: _Dashboard.retryTimes, prop: "retryTimes" },
// // ************** 暂时隐藏 ************************
// // { label: _Public.creationTime, prop: "creationTime",type:'dateTime' },
// // { label: _Public.creatorId, prop: "creatorId" },
@ -3743,28 +3983,28 @@ export const dataExchangeFromOut_file = [
// // 归档外部数据接收
// export const comingFromOut_file = [
// { label: _Dashboard.DataExchange_ArchivedIncomingFromExternalNumber, prop: "number" },
// { label: _Dashboard.DataExchange_ArchivedIncomingFromExternalRemark, prop: "remark", type:"showDetail" },
// { label: _Dashboard.DataExchange_ArchivedIncomingFromExternalDataType, prop: "dataType" },
// { label: _Dashboard.DataExchange_ArchivedIncomingFromExternalTableType, prop: "tableType" },
// { label: _Dashboard.DataExchange_ArchivedIncomingFromExternalDataAction, prop: "dataAction" },
// { label: _Dashboard.DataExchange_ArchivedIncomingFromExternalEffectiveDate, prop: "effectiveDate",type:'dateTime' },
// { label: _Dashboard.DataExchange_ArchivedIncomingFromExternalStatus, prop: "status" },
// { label: _Dashboard.DataExchange_ArchivedIncomingFromExternalSourceSystem, prop: "sourceSystem" },
// { label: _Dashboard.DataExchange_ArchivedIncomingFromExternalSourceDataId, prop: "sourceDataId" },
// { label: _Dashboard.DataExchange_ArchivedIncomingFromExternalSourceDataGroupCode, prop: "sourceDataGroupCode" },
// { label: _Dashboard.DataExchange_ArchivedIncomingFromExternalSourceDataDetailCode, prop: "sourceDataDetailCode" },
// { label: _Dashboard.DataExchange_ArchivedIncomingFromExternalSourceDataContent, prop: "sourceDataContent", type:"showJsonTable" },
// { label: _Dashboard.DataExchange_ArchivedIncomingFromExternalWriteTime, prop: "writeTime",type:'dateTime' },
// { label: _Dashboard.DataExchange_ArchivedIncomingFromExternalWriter, prop: "writer" },
// { label: _Dashboard.DataExchange_ArchivedIncomingFromExternalDestinationSystem, prop: "destinationSystem" },
// { label: _Dashboard.DataExchange_ArchivedIncomingFromExternalDestinationDataId, prop: "destinationDataId" },
// { label: _Dashboard.DataExchange_ArchivedIncomingFromExternalDestinationDataContent, prop: "destinationDataContent", type:"showJsonTable" },
// { label: _Dashboard.DataExchange_ArchivedIncomingFromExternalReadTime, prop: "readTime",type:'dateTime' },
// { label: _Dashboard.DataExchange_ArchivedIncomingFromExternalReader, prop: "reader" },
// { label: _Dashboard.DataExchange_ArchivedIncomingFromExternalErrorCode, prop: "errorCode" },
// { label: _Dashboard.DataExchange_ArchivedIncomingFromExternalErrorMessage, prop: "errorMessage", type:"showDetail" },
// { label: _Dashboard.DataExchange_ArchivedIncomingFromExternalRetryTimes, prop: "retryTimes" },
// { label: _Dashboard.number, prop: "number" },
// { label: _Public.remark, prop: "remark", type:"showDetail" },
// { label: _Dashboard.dataType, prop: "dataType" },
// { label: _Dashboard.tableType, prop: "tableType" },
// { label: _Dashboard.dataAction, prop: "dataAction" },
// { label: _Dashboard.effectiveDate, prop: "effectiveDate",type:'dateTime' },
// { label: _Dashboard.status, prop: "status" },
// { label: _Dashboard.sourceSystem, prop: "sourceSystem" },
// { label: _Dashboard.sourceDataId, prop: "sourceDataId" },
// { label: _Dashboard.sourceDataGroupCode, prop: "sourceDataGroupCode" },
// { label: _Dashboard.sourceDataDetailCode, prop: "sourceDataDetailCode" },
// { label: _Dashboard.sourceDataContent, prop: "sourceDataContent", type:"showJsonTable" },
// { label: _Dashboard.writeTime, prop: "writeTime",type:'dateTime' },
// { label: _Dashboard.writer, prop: "writer" },
// { label: _Dashboard.destinationSystem, prop: "destinationSystem" },
// { label: _Dashboard.destinationDataId, prop: "destinationDataId" },
// { label: _Dashboard.destinationDataContent, prop: "destinationDataContent", type:"showJsonTable" },
// { label: _Dashboard.readTime, prop: "readTime",type:'dateTime' },
// { label: _Dashboard.reader, prop: "reader" },
// { label: _Dashboard.errorCode, prop: "errorCode" },
// { label: _Dashboard.errorMessage, prop: "errorMessage", type:"showDetail" },
// { label: _Dashboard.retryTimes, prop: "retryTimes" },
// // ************** 暂时隐藏 ************************
// // { label: _Public.creationTime, prop: "creationTime",type:'dateTime' },
// // { label: _Public.creatorId, prop: "creatorId" },

43
fe/PC/src/utils/tabsDesTions/index.js

@ -1,7 +1,5 @@
import zh from '@/lang/zh'
let _Public = zh.ColumsPublic // 字段通用
// let _Dashboard = zh.ColumsDashboard // 接口监控看板
let _Dashboard = JSON.parse(localStorage.getItem("interfaceBoardColumnsNames")) // 接口监控看板
let _Names = zh.ColumsNames // 接口监控看板
// 基础信息数据管理
@ -2690,44 +2688,3 @@ export const Department = [
// { label: "ID", prop: 'id' },
// ************** 确认隐藏 ************************
]
// 接口监控看板
const initDashboardLable = (data) => {
return _Dashboard ? _Dashboard[data] : null
}
// 外部数据转换
export const dataExchangeFromOut = [
{
label: initDashboardLable('OutgoingToExternalNumber'),
prop: "number",
// fixed: "left",
// type: "name"
},
{ label: initDashboardLable('OutgoingToExternalRemark'), prop: "remark", type:"showDetail" },
{ label: initDashboardLable('OutgoingToExternalDataType'), prop: "dataType", type:"showDetail" },
{ label: initDashboardLable('OutgoingToExternalTableType'), prop: "tableType" },
{ label: initDashboardLable('OutgoingToExternalDataAction'), prop: "dataAction" },
{ label: initDashboardLable('OutgoingToExternalEffectiveDate'), prop: "effectiveDate",type:'dateTime' },
{ label: initDashboardLable('OutgoingToExternalStatus'), prop: "status" },
{ label: initDashboardLable('OutgoingToExternalSourceSystem'), prop: "sourceSystem", type:"showDetail" },
{ label: initDashboardLable('OutgoingToExternalSourceDataId'), prop: "sourceDataId" },
{ label: initDashboardLable('OutgoingToExternalSourceDataGroupCode'), prop: "sourceDataGroupCode", type:"showDetail" },
{ label: initDashboardLable('OutgoingToExternalSourceDataDetailCode'), prop: "sourceDataDetailCode", type:"showDetail" },
{ label: initDashboardLable('OutgoingToExternalSourceDataContent'), prop: "sourceDataContent", type:"showJsonTable" },
{ label: initDashboardLable('OutgoingToExternalWriteTime'), prop: "writeTime",type:'dateTime' },
{ label: initDashboardLable('OutgoingToExternalWriter'), prop: "writer" },
{ label: initDashboardLable('OutgoingToExternalDestinationSystem'), prop: "destinationSystem", type:"showDetail" },
{ label: initDashboardLable('OutgoingToExternalDestinationDataId'), prop: "destinationDataId" },
{ label: initDashboardLable('OutgoingToExternalDestinationDataContent'), prop: "destinationDataContent", type:"showJsonTable" },
{ label: initDashboardLable('OutgoingToExternalReadTime'), prop: "readTime",type:'dateTime' },
{ label: initDashboardLable('OutgoingToExternalReader'), prop: "reader" },
{ label: initDashboardLable('OutgoingToExternalErrorCode'), prop: "errorCode" },
{ label: initDashboardLable('OutgoingToExternalErrorMessage'), prop: "errorMessage", type:"showDetail" },
{ label: initDashboardLable('OutgoingToExternalRetryTimes'), 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" },
]

412
fe/PC/src/views/interfaceBoard/TestSchool.vue

@ -1,95 +1,341 @@
<template>
<div class="page-box" v-loading="Loading.appMainLoading">
<tablePagination
:currenButtonData="currenButtonData"
:tableData="tableData"
:tableLoading="Loading.tableLoading"
:tableColumns="tableColumns"
@rowDrop="rowDrop"
:totalCount="totalCount"
:multipleSelection="multipleSelection"
:MaxResultCount="PageListParams.MaxResultCount"
@topbutton="topbutton"
@inlineDialog="inlineDialog"
@sortChange="sortChange"
@alertoldSkipCount="alertoldSkipCount"
@alterResultCount="alterResultCount"
@handleSelectionChange="handleSelectionChange"
:currentPageProps="oldSkipCount"
:quicklySearchOption="quicklySearchOption"
@quicklySearchClick="quicklySearchClick"
@quicklySearchClear="quicklySearchClear"
:primarySearchOption="primarySearchOption"
@overallSearchFormClick="overallSearchFormClick"
:httpOverallSearchData="httpOverallSearchData"
>
</tablePagination>
</div>
</template>
<script>
import { tableMixins } from "@/mixins/TableMixins";
import { LoadingMixins } from "@/mixins/LoadingMixins";
import { drawerMixins } from "@/mixins/drawerMixins"
import { TableHeaderMixins } from "@/mixins/TableHeaderMixins";
import { newAndEdiDialogMixins } from "@/mixins/newAndEdiDialogMixins"
import { mixins } from "@/mixins/mixins";
import { filterSelectMixins } from '@/mixins/filter-Select'
import { getInterfaceBoard,dataExchangeFromOut,dataExchangeFromOut_save,dataExchangeFromOut_delete } from "@/api/wms-interface"
import { getToken } from '@/utils/auth'
export default {
name: "dataExchangeFromOut",
mixins: [
tableMixins,
LoadingMixins,
drawerMixins,
TableHeaderMixins,
mixins,
filterSelectMixins,
newAndEdiDialogMixins
],
computed: {
editDialog: {
get: function () {
return this.displayDialog.newDialog || this.displayDialog.editDialog;
<div class="page-box" v-loading="Loading.appMainLoading">
<tablePagination
:currenButtonData="currenButtonData"
:tableData="tableData"
:tableLoading="Loading.tableLoading"
:tableColumns="tableColumns"
@rowDrop="rowDrop"
:totalCount="totalCount"
:multipleSelection="multipleSelection"
:MaxResultCount="PageListParams.MaxResultCount"
@topbutton="topbutton"
@inlineDialog="inlineDialog"
@sortChange="sortChange"
@alertoldSkipCount="alertoldSkipCount"
@alterResultCount="alterResultCount"
@handleSelectionChange="handleSelectionChange"
:currentPageProps="oldSkipCount"
:quicklySearchOption="quicklySearchOption"
@quicklySearchClick="quicklySearchClick"
@quicklySearchClear="quicklySearchClear"
:primarySearchOption="primarySearchOption"
@overallSearchFormClick="overallSearchFormClick"
:httpOverallSearchData="httpOverallSearchData"
>
</tablePagination>
<!-- 新增与编辑 -->
<newAndEdiDialog
ref="newAndEdiDialog"
:loading="Loading.newAndEdiLoading"
:active="active"
:pageStatus="pageStatus"
:formReveal="formReveal"
:formTitle="formTitle"
:displayDialog="editDialog"
:FormData="formReveal ? CreateFormData : editFormData"
:Form="formReveal ? CreateForm : editForm"
:Options="editOptions"
:Handle="editHandle"
:Rules="formReveal ? editRules.cerateRule : editRules.editRule"
@FormSubmit="FormSubmit"
@close="FormClose"
@goBack="goBack"
></newAndEdiDialog>
<curren-Drawer
:title="tableColumns"
:tableColumns="tableColumns"
:DrawerLoading="Loading.DrawerLoading"
:drawer="displayDialog.detailsDialog"
:dropdownData="dropdownData"
:propsData="propsData"
:tabsDesTions="tabsDesTions"
@drawerShut="(val) => (displayDialog.detailsDialog = val)"
@drawerbutton="drawerbutton"
@handleCommand="drawerHandle"
@close-value="closeValue"
></curren-Drawer>
</div>
</template>
<script>
import { tableMixins } from "@/mixins/TableMixins";
import { LoadingMixins } from "@/mixins/LoadingMixins";
import { drawerMixins } from "@/mixins/drawerMixins"
import { TableHeaderMixins } from "@/mixins/TableHeaderMixins";
import { newAndEdiDialogMixins } from "@/mixins/newAndEdiDialogMixins"
import { mixins } from "@/mixins/mixins";
import { filterSelectMixins } from '@/mixins/filter-Select'
import { TestSchool,TestSchool_save,TestSchool_delete } from "@/api/wms-interface"
import { getToken } from '@/utils/auth'
export default {
name: "TestSchool",
mixins: [
tableMixins,
LoadingMixins,
drawerMixins,
TableHeaderMixins,
mixins,
filterSelectMixins,
newAndEdiDialogMixins
],
computed: {
editDialog: {
get: function () {
return this.displayDialog.newDialog || this.displayDialog.editDialog;
},
},
},
data() {
// let _Dashboard = JSON.parse(localStorage.getItem("interfaceBoardColumnsNames")) //
return {
tableLoading:false,
//
currenButtonData: [
this.defaultAddBtn(),//
this.defaultFieldSettingBtn(),//
this.defaultFreshBtn(),//
this.defaultFilterBtn(),//
],
//
CreateFormData: {
schoolName:null,
orderType:null,
// number: null,//+*
// remark: null,
// dataType: null,
// tableType: null,//+*
// dataAction: null,//+*
// effectiveDate: null,//*
// status: null,//+*
// sourceSystem: null,
// sourceDataId: null,
// sourceDataGroupCode: null,
// sourceDataDetailCode: null,
// sourceDataContent: null,
// writeTime: null,//*
// writer: null,
// destinationSystem: null,
// destinationDataId: null,
// destinationDataContent: null,
// readTime: null,//*
// reader: null,
// errorCode: null,//+*
// errorMessage: null,
// retryTimes: null,//+*
},
//
editFormData: {
id:null,
schoolName:null,
orderType:null,
// number: null,//+*
// remark: null,
// dataType: null,
// tableType: null,//+*
// dataAction: null,//+*
// effectiveDate: null,//*
// status: null,//+*
// sourceSystem: null,
// sourceDataId: null,
// sourceDataGroupCode: null,
// sourceDataDetailCode: null,
// sourceDataContent: null,
// writeTime: null,//*
// writer: null,
// destinationSystem: null,
// destinationDataId: null,
// destinationDataContent: null,
// readTime: null,//*
// reader: null,
// errorCode: null,//+*
// errorMessage: null,
// retryTimes: null,//+*
},
CreateForm: [
{ type: "input", label: '名称', prop: 'schoolName', colSpan: 12 },
{ type: "input", label: 'orderType', prop: 'orderType', colSpan: 12 },
// { type: "input", label: _Dashboard.OutgoingToExternalDataType, prop: 'dataType', colSpan: 12, },
// { type: "input", label: _Dashboard.OutgoingToExternalTableType, prop: 'tableType', colSpan: 12, validType:'pointNumber' },
// { type: "input", label: _Dashboard.OutgoingToExternalDataAction, prop: 'dataAction', colSpan: 12, validType:'pointNumber' },
// { type: "dateTime", label: _Dashboard.OutgoingToExternalEffectiveDate, prop: 'effectiveDate', colSpan: 12, },
// { type: "input", label: _Dashboard.OutgoingToExternalStatus, prop: 'status', colSpan: 12, validType:'pointNumber' },
// { type: "input", label: _Dashboard.OutgoingToExternalSourceSystem, prop: 'sourceSystem', colSpan: 12, },
// { type: "input", label: _Dashboard.OutgoingToExternalSourceDataId, prop: 'sourceDataId', colSpan: 12, },
// { type: "input", label: _Dashboard.OutgoingToExternalSourceDataGroupCode, prop: 'sourceDataGroupCode', colSpan: 12, },
// { type: "input", label: _Dashboard.OutgoingToExternalSourceDataDetailCode, prop: 'sourceDataDetailCode', colSpan: 12, },
// { type: "input", label: _Dashboard.OutgoingToExternalSourceDataContent, prop: 'sourceDataContent', colSpan: 12, },
// { type: "dateTime", label: _Dashboard.OutgoingToExternalWriteTime, prop: 'writeTime', colSpan: 12, },
// { type: "input", label: _Dashboard.OutgoingToExternalWriter, prop: 'writer', colSpan: 12, },
// { type: "input", label: _Dashboard.OutgoingToExternalDestinationSystem, prop: 'destinationSystem', colSpan: 12, },
// { type: "input", label: _Dashboard.OutgoingToExternalDestinationDataId, prop: 'destinationDataId', colSpan: 12, },
// { type: "input", label: _Dashboard.OutgoingToExternalDestinationDataContent, prop: 'destinationDataContent', colSpan: 12, },
// { type: "dateTime", label: _Dashboard.OutgoingToExternalReadTime, prop: 'readTime', colSpan: 12, },
// { type: "input", label: _Dashboard.OutgoingToExternalReader, prop: 'reader', colSpan: 12, },
// { type: "input", label: _Dashboard.OutgoingToExternalErrorCode, prop: 'errorCode', colSpan: 12, validType:'pointNumber' },
// { type: "input", label: _Dashboard.OutgoingToExternalErrorMessage, prop: 'errorMessage', colSpan: 12, },
// { type: "input", label: _Dashboard.OutgoingToExternalRetryTimes, prop: 'retryTimes', colSpan: 12, validType:'pointNumber'},
],
editForm: [
{ type: "input", label: '名称', prop: 'schoolName', colSpan: 12 },
{ type: "input", label: 'orderType', prop: 'orderType', colSpan: 12 },
// { type: "input", label: _Dashboard.OutgoingToExternalNumber, prop: 'number', colSpan: 12, validType:'pointNumber' },
// { type: "input", label: _Dashboard.OutgoingToExternalRemark, prop: 'remark', colSpan: 12, },
// { type: "input", label: _Dashboard.OutgoingToExternalDataType, prop: 'dataType', colSpan: 12, },
// { type: "input", label: _Dashboard.OutgoingToExternalTableType, prop: 'tableType', colSpan: 12, validType:'pointNumber' },
// { type: "input", label: _Dashboard.OutgoingToExternalDataAction, prop: 'dataAction', colSpan: 12, validType:'pointNumber' },
// { type: "dateTime", label: _Dashboard.OutgoingToExternalEffectiveDate, prop: 'effectiveDate', colSpan: 12, },
// { type: "input", label: _Dashboard.OutgoingToExternalStatus, prop: 'status', colSpan: 12, validType:'pointNumber' },
// { type: "input", label: _Dashboard.OutgoingToExternalSourceSystem, prop: 'sourceSystem', colSpan: 12, },
// { type: "input", label: _Dashboard.OutgoingToExternalSourceDataId, prop: 'sourceDataId', colSpan: 12, },
// { type: "input", label: _Dashboard.OutgoingToExternalSourceDataGroupCode, prop: 'sourceDataGroupCode', colSpan: 12, },
// { type: "input", label: _Dashboard.OutgoingToExternalSourceDataDetailCode, prop: 'sourceDataDetailCode', colSpan: 12, },
// { type: "input", label: _Dashboard.OutgoingToExternalSourceDataContent, prop: 'sourceDataContent', colSpan: 12, },
// { type: "dateTime", label: _Dashboard.OutgoingToExternalWriteTime, prop: 'writeTime', colSpan: 12, },
// { type: "input", label: _Dashboard.OutgoingToExternalWriter, prop: 'writer', colSpan: 12, },
// { type: "input", label: _Dashboard.OutgoingToExternalDestinationSystem, prop: 'destinationSystem', colSpan: 12, },
// { type: "input", label: _Dashboard.OutgoingToExternalDestinationDataId, prop: 'destinationDataId', colSpan: 12, },
// { type: "input", label: _Dashboard.OutgoingToExternalDestinationDataContent, prop: 'destinationDataContent', colSpan: 12, },
// { type: "dateTime", label: _Dashboard.OutgoingToExternalReadTime, prop: 'readTime', colSpan: 12, },
// { type: "input", label: _Dashboard.OutgoingToExternalReader, prop: 'reader', colSpan: 12, },
// { type: "input", label: _Dashboard.OutgoingToExternalErrorCode, prop: 'errorCode', colSpan: 12, validType:'pointNumber' },
// { type: "input", label: _Dashboard.OutgoingToExternalErrorMessage, prop: 'errorMessage', colSpan: 12, },
// { type: "input", label: _Dashboard.OutgoingToExternalRetryTimes, prop: 'retryTimes', colSpan: 12, validType:'pointNumber'},
],
editOptions: {},
editRules: {
cerateRule: {
schoolName: [{ required: true, trigger: "blur", message: "不可为空" }],
// number: [{ required: true, trigger: "blur", message: "" }],
// tableType: [{ required: true, trigger: "blur", message: "" }],
// dataAction: [{ required: true, trigger: "blur", message: "" }],
// effectiveDate: [{ required: true, trigger: "blur", message: "" }],
// status: [{ required: true, trigger: "blur", message: "" }],
// writeTime: [{ required: true, trigger: "blur", message: "" }],
// readTime: [{ required: true, trigger: "blur", message: "" }],
// errorCode: [{ required: true, trigger: "blur", message: "" }],
// retryTimes: [{ required: true, trigger: "blur", message: "" }],
},
editRule: {
schoolName: [{ required: true, trigger: "blur", message: "不可为空" }],
// number: [{ required: true, trigger: "blur", message: "" }],
// tableType: [{ required: true, trigger: "blur", message: "" }],
// dataAction: [{ required: true, trigger: "blur", message: "" }],
// effectiveDate: [{ required: true, trigger: "blur", message: "" }],
// status: [{ required: true, trigger: "blur", message: "" }],
// writeTime: [{ required: true, trigger: "blur", message: "" }],
// readTime: [{ required: true, trigger: "blur", message: "" }],
// errorCode: [{ required: true, trigger: "blur", message: "" }],
// retryTimes: [{ required: true, trigger: "blur", message: "" }],
}
},
};
},
mounted() {
this.paging();
},
methods: {
//
paging(callback) {
this.Loading.tableLoading = true;
this.PageListParams.SkipCount = (this.oldSkipCount - 1) * this.PageListParams.MaxResultCount
TestSchool(this.PageListParams,true)
.then(result => {
let res = result.data
this.tableData = res.items
this.totalCount = res.totalCount
this.pagingCallback(callback)
})
.catch(err => {
this.Loading.tableLoading = false
})
},
data() {
let _this = this
return {
tableLoading:false,
//
currenButtonData: [
// this.defaultAddBtn(),//
this.defaultFieldSettingBtn(),//
this.defaultFreshBtn(),//
// this.defaultFilterBtn(),//
],
};
//
inlineDialog(val) {
this.Loading.DrawerLoading = true
this.displayDialog.detailsDialog = true;
TestSchool(this.PageListParams)
.then(result => {
this.propsData = result.data.items.filter(item=>{
return item.id == val.id
})[0]
this.inlineDialogCallback()
})
.catch(err => {
this.Loading.DrawerLoading = false
})
},
mounted() {
this.paging();
// /
FormSubmit(val){
this.Loading.tableLoading = true
let _data = this.formReveal ? this.CreateFormData : this.editFormData
TestSchool_save(_data,this.formReveal)
.then(result => {
this.FormResult("success")
this.Loading.tableLoading = false
})
.catch(err => {
this.FormResult("error")
this.Loading.tableLoading = false
})
// const _data = new URLSearchParams();
// for(let item in this.CreateFormData){
// _data.append('ViewModel.'+item.slice(0,1).toUpperCase() +item.slice(1).toLowerCase(), this.CreateFormData[item])
// }
// // todo:1302 2token
// _data.append('__RequestVerificationToken',getToken())
// // this.formReveal
// TestSchool_save(_data,this.formReveal)
// .then(result => {
// this.Loading.tableLoading = false
// })
// .catch(err => {
// this.Loading.tableLoading = false
// })
},
methods: {
//
paging(callback) {
this.Loading.tableLoading = true;
this.PageListParams.SkipCount = (this.oldSkipCount - 1) * this.PageListParams.MaxResultCount
dataExchangeFromOut(this.PageListParams)
.then(result => {
let res = result.data
this.tableData = res.items
this.totalCount = res.totalCount
this.pagingCallback(callback)
})
.catch(err => {
this.Loading.tableLoading = false
// FormSubmit(val){
// this.Loading.tableLoading = true
// const _data = new URLSearchParams();
// for(let item in this.CreateFormData){
// _data.append('ViewModel.'+item.slice(0,1).toUpperCase() +item.slice(1).toLowerCase(), this.CreateFormData[item])
// }
// // todo:1302 2token
// _data.append('__RequestVerificationToken',getToken())
// // this.formReveal
// TestSchool_save(_data,this.formReveal)
// .then(result => {
// this.Loading.tableLoading = false
// })
// .catch(err => {
// this.Loading.tableLoading = false
// })
// },
//
drawerHandle(val) {
if (val == 'delete') {
this.$confirm('此操作将永久删除该消息, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.Loading.appMainLoading = true
this.displayDialog.detailsDialog = false
// todo:1302
TestSchool_delete(this.propsData.id).then(res => {
this.$successMsg('删除成功!')
this.Loading.appMainLoading = false
this.paging()
}).catch(err => {
this.Loading.appMainLoading = false
})
},
}).catch(() => {
//
});
}
}
}
</script>
}
</script>
<style lang="scss" scoped>
@import "@/styles/basicData.scss";
</style>

304
fe/PC/src/views/interfaceBoard/_dataExchangeFromOut.vue

@ -1,304 +0,0 @@
<template>
<div class="page-box" v-loading="Loading.appMainLoading">
<tablePagination
:currenButtonData="currenButtonData"
:tableData="tableData"
:tableLoading="Loading.tableLoading"
:tableColumns="tableColumns"
@rowDrop="rowDrop"
:totalCount="totalCount"
:multipleSelection="multipleSelection"
:MaxResultCount="PageListParams.MaxResultCount"
@topbutton="topbutton"
@inlineDialog="inlineDialog"
@sortChange="sortChange"
@alertoldSkipCount="alertoldSkipCount"
@alterResultCount="alterResultCount"
@handleSelectionChange="handleSelectionChange"
:currentPageProps="oldSkipCount"
:quicklySearchOption="quicklySearchOption"
@quicklySearchClick="quicklySearchClick"
@quicklySearchClear="quicklySearchClear"
:primarySearchOption="primarySearchOption"
@overallSearchFormClick="overallSearchFormClick"
:httpOverallSearchData="httpOverallSearchData"
>
</tablePagination>
<!-- 新增与编辑 -->
<newAndEdiDialog
:loading="Loading.newAndEdiLoading"
:active="active"
:pageStatus="pageStatus"
:formReveal="formReveal"
:formTitle="formTitle"
:displayDialog="editDialog"
:FormData="formReveal ? CreateFormData : editFormData"
:Form="formReveal ? CreateForm : editForm"
:Options="editOptions"
:Handle="editHandle"
:Rules="formReveal ? editRules.cerateRule : editRules.editRule"
@FormSubmit="FormSubmit"
@close="FormClose"
@goBack="goBack"
></newAndEdiDialog>
<curren-Drawer
:title="tableColumns"
:tableColumns="tableColumns"
:DrawerLoading="Loading.DrawerLoading"
:drawer="displayDialog.detailsDialog"
:dropdownData="dropdownData"
:propsData="propsData"
:tabsDesTions="tabsDesTions"
@drawerShut="(val) => (displayDialog.detailsDialog = val)"
@drawerbutton="drawerbutton"
@handleCommand="drawerHandle"
@close-value="closeValue"
></curren-Drawer>
</div>
</template>
<script>
import { tableMixins } from "@/mixins/TableMixins";
import { LoadingMixins } from "@/mixins/LoadingMixins";
import { drawerMixins } from "@/mixins/drawerMixins"
import { TableHeaderMixins } from "@/mixins/TableHeaderMixins";
import { newAndEdiDialogMixins } from "@/mixins/newAndEdiDialogMixins"
import { mixins } from "@/mixins/mixins";
import { filterSelectMixins } from '@/mixins/filter-Select'
import { dataExchangeFromOut,dataExchangeFromOut_save,dataExchangeFromOut_delete } from "@/api/wms-interface"
import { getToken } from '@/utils/auth'
export default {
name: "dataExchangeFromOut",
mixins: [
tableMixins,
LoadingMixins,
drawerMixins,
TableHeaderMixins,
mixins,
filterSelectMixins,
newAndEdiDialogMixins
],
computed: {
editDialog: {
get: function () {
return this.displayDialog.newDialog || this.displayDialog.editDialog;
},
},
},
data() {
let _Dashboard = JSON.parse(localStorage.getItem("interfaceBoardColumnsNames")) //
return {
tableLoading:false,
//
currenButtonData: [
// this.defaultAddBtn(),//
this.defaultFieldSettingBtn(),//
this.defaultFreshBtn(),//
// this.defaultFilterBtn(),//
],
//
CreateFormData: {
number: null,//+*
remark: null,
dataType: null,
tableType: null,//+*
dataAction: null,//+*
effectiveDate: null,//*
status: null,//+*
sourceSystem: null,
sourceDataId: null,
sourceDataGroupCode: null,
sourceDataDetailCode: null,
sourceDataContent: null,
writeTime: null,//*
writer: null,
destinationSystem: null,
destinationDataId: null,
destinationDataContent: null,
readTime: null,//*
reader: null,
errorCode: null,//+*
errorMessage: null,
retryTimes: null,//+*
},
//
editFormData: {
number: null,//+*
remark: null,
dataType: null,
tableType: null,//+*
dataAction: null,//+*
effectiveDate: null,//*
status: null,//+*
sourceSystem: null,
sourceDataId: null,
sourceDataGroupCode: null,
sourceDataDetailCode: null,
sourceDataContent: null,
writeTime: null,//*
writer: null,
destinationSystem: null,
destinationDataId: null,
destinationDataContent: null,
readTime: null,//*
reader: null,
errorCode: null,//+*
errorMessage: null,
retryTimes: null,//+*
},
CreateForm: [
{ type: "input", label: _Dashboard.OutgoingToExternalNumber, prop: 'number', colSpan: 12, validType:'pointNumber' },
{ type: "input", label: _Dashboard.OutgoingToExternalRemark, prop: 'remark', colSpan: 12, },
{ type: "input", label: _Dashboard.OutgoingToExternalDataType, prop: 'dataType', colSpan: 12, },
{ type: "input", label: _Dashboard.OutgoingToExternalTableType, prop: 'tableType', colSpan: 12, validType:'pointNumber' },
{ type: "input", label: _Dashboard.OutgoingToExternalDataAction, prop: 'dataAction', colSpan: 12, validType:'pointNumber' },
{ type: "dateTime", label: _Dashboard.OutgoingToExternalEffectiveDate, prop: 'effectiveDate', colSpan: 12, },
{ type: "input", label: _Dashboard.OutgoingToExternalStatus, prop: 'status', colSpan: 12, validType:'pointNumber' },
{ type: "input", label: _Dashboard.OutgoingToExternalSourceSystem, prop: 'sourceSystem', colSpan: 12, },
{ type: "input", label: _Dashboard.OutgoingToExternalSourceDataId, prop: 'sourceDataId', colSpan: 12, },
{ type: "input", label: _Dashboard.OutgoingToExternalSourceDataGroupCode, prop: 'sourceDataGroupCode', colSpan: 12, },
{ type: "input", label: _Dashboard.OutgoingToExternalSourceDataDetailCode, prop: 'sourceDataDetailCode', colSpan: 12, },
{ type: "input", label: _Dashboard.OutgoingToExternalSourceDataContent, prop: 'sourceDataContent', colSpan: 12, },
{ type: "dateTime", label: _Dashboard.OutgoingToExternalWriteTime, prop: 'writeTime', colSpan: 12, },
{ type: "input", label: _Dashboard.OutgoingToExternalWriter, prop: 'writer', colSpan: 12, },
{ type: "input", label: _Dashboard.OutgoingToExternalDestinationSystem, prop: 'destinationSystem', colSpan: 12, },
{ type: "input", label: _Dashboard.OutgoingToExternalDestinationDataId, prop: 'destinationDataId', colSpan: 12, },
{ type: "input", label: _Dashboard.OutgoingToExternalDestinationDataContent, prop: 'destinationDataContent', colSpan: 12, },
{ type: "dateTime", label: _Dashboard.OutgoingToExternalReadTime, prop: 'readTime', colSpan: 12, },
{ type: "input", label: _Dashboard.OutgoingToExternalReader, prop: 'reader', colSpan: 12, },
{ type: "input", label: _Dashboard.OutgoingToExternalErrorCode, prop: 'errorCode', colSpan: 12, validType:'pointNumber' },
{ type: "input", label: _Dashboard.OutgoingToExternalErrorMessage, prop: 'errorMessage', colSpan: 12, },
{ type: "input", label: _Dashboard.OutgoingToExternalRetryTimes, prop: 'retryTimes', colSpan: 12, validType:'pointNumber'},
],
editForm: [
{ type: "input", label: _Dashboard.OutgoingToExternalNumber, prop: 'number', colSpan: 12, validType:'pointNumber' },
{ type: "input", label: _Dashboard.OutgoingToExternalRemark, prop: 'remark', colSpan: 12, },
{ type: "input", label: _Dashboard.OutgoingToExternalDataType, prop: 'dataType', colSpan: 12, },
{ type: "input", label: _Dashboard.OutgoingToExternalTableType, prop: 'tableType', colSpan: 12, validType:'pointNumber' },
{ type: "input", label: _Dashboard.OutgoingToExternalDataAction, prop: 'dataAction', colSpan: 12, validType:'pointNumber' },
{ type: "dateTime", label: _Dashboard.OutgoingToExternalEffectiveDate, prop: 'effectiveDate', colSpan: 12, },
{ type: "input", label: _Dashboard.OutgoingToExternalStatus, prop: 'status', colSpan: 12, validType:'pointNumber' },
{ type: "input", label: _Dashboard.OutgoingToExternalSourceSystem, prop: 'sourceSystem', colSpan: 12, },
{ type: "input", label: _Dashboard.OutgoingToExternalSourceDataId, prop: 'sourceDataId', colSpan: 12, },
{ type: "input", label: _Dashboard.OutgoingToExternalSourceDataGroupCode, prop: 'sourceDataGroupCode', colSpan: 12, },
{ type: "input", label: _Dashboard.OutgoingToExternalSourceDataDetailCode, prop: 'sourceDataDetailCode', colSpan: 12, },
{ type: "input", label: _Dashboard.OutgoingToExternalSourceDataContent, prop: 'sourceDataContent', colSpan: 12, },
{ type: "dateTime", label: _Dashboard.OutgoingToExternalWriteTime, prop: 'writeTime', colSpan: 12, },
{ type: "input", label: _Dashboard.OutgoingToExternalWriter, prop: 'writer', colSpan: 12, },
{ type: "input", label: _Dashboard.OutgoingToExternalDestinationSystem, prop: 'destinationSystem', colSpan: 12, },
{ type: "input", label: _Dashboard.OutgoingToExternalDestinationDataId, prop: 'destinationDataId', colSpan: 12, },
{ type: "input", label: _Dashboard.OutgoingToExternalDestinationDataContent, prop: 'destinationDataContent', colSpan: 12, },
{ type: "dateTime", label: _Dashboard.OutgoingToExternalReadTime, prop: 'readTime', colSpan: 12, },
{ type: "input", label: _Dashboard.OutgoingToExternalReader, prop: 'reader', colSpan: 12, },
{ type: "input", label: _Dashboard.OutgoingToExternalErrorCode, prop: 'errorCode', colSpan: 12, validType:'pointNumber' },
{ type: "input", label: _Dashboard.OutgoingToExternalErrorMessage, prop: 'errorMessage', colSpan: 12, },
{ type: "input", label: _Dashboard.OutgoingToExternalRetryTimes, prop: 'retryTimes', colSpan: 12, validType:'pointNumber'},
],
editOptions: {},
editRules: {
cerateRule: {
number: [{ required: true, trigger: "blur", message: "不可为空" }],
tableType: [{ required: true, trigger: "blur", message: "不可为空" }],
dataAction: [{ required: true, trigger: "blur", message: "不可为空" }],
effectiveDate: [{ required: true, trigger: "blur", message: "不可为空" }],
status: [{ required: true, trigger: "blur", message: "不可为空" }],
writeTime: [{ required: true, trigger: "blur", message: "不可为空" }],
readTime: [{ required: true, trigger: "blur", message: "不可为空" }],
errorCode: [{ required: true, trigger: "blur", message: "不可为空" }],
retryTimes: [{ required: true, trigger: "blur", message: "不可为空" }],
},
editRule: {
number: [{ required: true, trigger: "blur", message: "不可为空" }],
tableType: [{ required: true, trigger: "blur", message: "不可为空" }],
dataAction: [{ required: true, trigger: "blur", message: "不可为空" }],
effectiveDate: [{ required: true, trigger: "blur", message: "不可为空" }],
status: [{ required: true, trigger: "blur", message: "不可为空" }],
writeTime: [{ required: true, trigger: "blur", message: "不可为空" }],
readTime: [{ required: true, trigger: "blur", message: "不可为空" }],
errorCode: [{ required: true, trigger: "blur", message: "不可为空" }],
retryTimes: [{ required: true, trigger: "blur", message: "不可为空" }],
}
},
};
},
mounted() {
this.paging();
},
methods: {
//
paging(callback) {
this.Loading.tableLoading = true;
this.PageListParams.SkipCount = (this.oldSkipCount - 1) * this.PageListParams.MaxResultCount
dataExchangeFromOut(this.PageListParams)
.then(result => {
let res = result.data
this.tableData = res.items
this.totalCount = res.totalCount
this.pagingCallback(callback)
})
.catch(err => {
this.Loading.tableLoading = false
})
},
//
inlineDialog(val) {
this.Loading.DrawerLoading = true
this.displayDialog.detailsDialog = true;
dataExchangeFromOut(this.PageListParams)
.then(result => {
this.propsData = result.data.items.filter(item=>{
return item.id == val.id
})[0]
this.inlineDialogCallback()
})
.catch(err => {
this.Loading.DrawerLoading = false
})
},
// /
FormSubmit(val){
this.Loading.tableLoading = true
const _data = new URLSearchParams();
for(let item in this.CreateFormData){
_data.append('ViewModel.'+item.slice(0,1).toUpperCase() +item.slice(1).toLowerCase(), this.CreateFormData[item])
}
// todo:1302 2token
_data.append('__RequestVerificationToken',getToken())
// this.formReveal
dataExchangeFromOut_save(_data,this.formReveal)
.then(result => {
this.Loading.tableLoading = false
})
.catch(err => {
this.Loading.tableLoading = false
})
},
//
drawerHandle(val) {
if (val == 'delete') {
this.$confirm('此操作将永久删除该消息, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.Loading.appMainLoading = true
this.displayDialog.detailsDialog = false
// todo:1302
dataExchangeFromOut_delete(this.propsData.id).then(res => {
this.$successMsg('删除成功!')
this.Loading.appMainLoading = false
this.paging()
}).catch(err => {
this.Loading.appMainLoading = false
})
}).catch(() => {
//
});
}
}
}
}
</script>
<style lang="scss" scoped>
@import "@/styles/basicData.scss";
</style>

3
fe/PC/src/views/interfaceBoard/dataExchangeFromOut.vue

@ -34,8 +34,7 @@
import { newAndEdiDialogMixins } from "@/mixins/newAndEdiDialogMixins"
import { mixins } from "@/mixins/mixins";
import { filterSelectMixins } from '@/mixins/filter-Select'
import { getInterfaceBoard,dataExchangeFromOut,dataExchangeFromOut_save,dataExchangeFromOut_delete } from "@/api/wms-interface"
import { getToken } from '@/utils/auth'
import { dataExchangeFromOut } from "@/api/wms-interface"
export default {
name: "dataExchangeFromOut",

4
fe/PC/src/views/login/index.vue

@ -171,8 +171,12 @@ export default {
//
// getInterfaceBoard().then(result => {
// localStorage.setItem("interfaceBoardColumnsNames", JSON.stringify(result.data.localization.values.Dashboard));
// this.$router.push({ path: '/'})
// this.loading = false
// })
// .catch(err => {
// this.$message.error('')
// this.loading = false
// })
this.$router.push({ path: '/'})
this.loading = false

Loading…
Cancel
Save