Browse Source

1、6个看板+导出配置页面开发

2、代码更新+整理
noToken
安虹睿 1 year ago
parent
commit
b7e43b69fc
  1. 1
      PC/InterFace.Dash/public/config.js
  2. 1
      PC/InterFace.Dash/src/App.vue
  3. 10
      PC/InterFace.Dash/src/api/wms-api.js
  4. 7
      PC/InterFace.Dash/src/components/umyTable/index.vue
  5. 5
      PC/InterFace.Dash/src/permission.js
  6. 9
      PC/InterFace.Dash/src/router/modules/baseConfig.js
  7. 51
      PC/InterFace.Dash/src/router/modules/interfaceBoard.js
  8. 40
      PC/InterFace.Dash/src/utils/baseData/urlOption.js
  9. 3179
      PC/InterFace.Dash/src/utils/detailsTableColumns/index.js
  10. 24
      PC/InterFace.Dash/src/utils/detailsTableColumns_api/index.js
  11. 23
      PC/InterFace.Dash/src/utils/index.js
  12. 9
      PC/InterFace.Dash/src/utils/quicklySearchOption/index.js
  13. 85
      PC/InterFace.Dash/src/utils/summaryTableColumns/index.js
  14. 12
      PC/InterFace.Dash/src/utils/tableColumns/index.js
  15. 4026
      PC/InterFace.Dash/src/utils/tableColumns/index_new.js
  16. 176
      PC/InterFace.Dash/src/utils/tableColumns_api/index.js
  17. 2689
      PC/InterFace.Dash/src/utils/tabsDesTions/index.js
  18. 34
      PC/InterFace.Dash/src/utils/tabsDesTions_api/index.js
  19. 51
      PC/InterFace.Dash/src/views/basicConfig/ExportCustomUserSetting.vue
  20. 2
      PC/InterFace.Dash/src/views/interfaceBoard/IncomingData.vue
  21. 101
      PC/InterFace.Dash/src/views/interfaceBoard/IncomingDataHistory.vue
  22. 101
      PC/InterFace.Dash/src/views/interfaceBoard/MesProductL7PartsNote.vue
  23. 101
      PC/InterFace.Dash/src/views/interfaceBoard/MessageReceive.vue
  24. 101
      PC/InterFace.Dash/src/views/interfaceBoard/OutgoingData.vue
  25. 101
      PC/InterFace.Dash/src/views/interfaceBoard/OutgoingDataHistory.vue

1
PC/InterFace.Dash/public/config.js

@ -1,6 +1,7 @@
// dev_win
window.SITE_CONFIG['base'] = 'http://dev.ccwin-in.com:60068'
window.SITE_CONFIG['columnsApiNames'] = '/api/abp/application-configuration'
window.SITE_CONFIG['columnsApiNamesZh'] = 'Z'
window.SITE_CONFIG['isAutoLogin'] = true
window.SITE_CONFIG['isSinglePage'] = false
window.SITE_CONFIG['userNameOrEmailAddress'] = 'admin'

1
PC/InterFace.Dash/src/App.vue

@ -10,6 +10,7 @@ export default {
}
localStorage.setItem('base',window.SITE_CONFIG['base'])
localStorage.setItem('columnsApiNames',window.SITE_CONFIG['columnsApiNames'])
localStorage.setItem('columnsApiNamesZh',window.SITE_CONFIG['columnsApiNamesZh'])
localStorage.setItem('isAutoLogin',window.SITE_CONFIG['isAutoLogin'])
localStorage.setItem('isSinglePage',window.SITE_CONFIG['isSinglePage'])
localStorage.setItem('userNameOrEmailAddress',window.SITE_CONFIG['userNameOrEmailAddress'])

10
PC/InterFace.Dash/src/api/wms-api.js

@ -23,9 +23,11 @@ export function postCreate(data, url) {
//编辑
export function postUpdate(data, id, url) {
return request({
url: baseURL + url + '/' + id,
// url: baseURL + url + '/' + id,
url: baseURL + url,
method: 'put',
data
data,
params:{id:id}
})
}
//申请流程
@ -47,8 +49,10 @@ export function postDetailUpdate(data, id, UrlData, url) {
//删除
export function postDelete(id, url) {
return request({
url: baseURL + url + '/' + id,
// url: baseURL + url + '/' + id,
url: baseURL + url,
method: 'delete',
params:{id:id}
})
}
//子表删除

7
PC/InterFace.Dash/src/components/umyTable/index.vue

@ -368,7 +368,8 @@
label="值"
>
<template slot-scope="scope">
<span v-if="scope.row.name != 'Details'">{{scope.row.value}}</span>
<!-- DETAILS todo:DETAILS判断条件需要优化使用传参的方式 -->
<span v-if="(scope.row.name).toUpperCase != 'DETAILS'">{{scope.row.value}}</span>
<el-table
v-else
height="300"
@ -793,8 +794,8 @@ export default {
}else{
//
if(Array.isArray(_json[item])){
// Details
let _value = item == 'Details' ? __initJson(_json[item][0]) : (_json[item]).join(",")
// DETAILS todo:DETAILS使
let _value = (item).toUpperCase == 'DETAILS' ? __initJson(_json[item][0]) : (_json[item]).join(",")
_arr.push({name:item,value:_value})
}
//

5
PC/InterFace.Dash/src/permission.js

@ -83,9 +83,10 @@ router.beforeEach(async (to, from, next) => {
}else{
// 重新获取api接口表头
const _interfaceBoardColumnsNames = localStorage.getItem("interfaceBoardColumnsNames")
if( !_interfaceBoardColumnsNames ){
if( !_interfaceBoardColumnsNames || _interfaceBoardColumnsNames == 'undefined' || _interfaceBoardColumnsNames == 'null'){
getInterfaceBoard().then(result => {
localStorage.setItem("interfaceBoardColumnsNames", JSON.stringify(result.localization.values.Winin));
let _zh = localStorage.getItem('columnsApiNamesZh')
localStorage.setItem("interfaceBoardColumnsNames", JSON.stringify(result.localization.values[_zh]));
setTimeout(()=>{
next()
},0)

9
PC/InterFace.Dash/src/router/modules/baseConfig.js

@ -1,4 +1,5 @@
import Layout from '@/layout'
import { initFromApiColumnsLable } from '@/utils/index'
const interfaceBoardRouter = {
path: '/basicConfig',
alwaysShow:true,
@ -10,11 +11,11 @@ const interfaceBoardRouter = {
roles:'skip'
},
children: [{
path: 'exportConfig',
name: 'exportConfig',
component: () => import('@/views/basicConfig/exportConfig'),
path: 'ExportCustomUserSetting',
name: 'ExportCustomUserSetting',
component: () => import('@/views/basicConfig/ExportCustomUserSetting'),
meta: {
title: '导出配置',
title: initFromApiColumnsLable('ExportCustomUserSetting'),
icon: '用户',
roles: 'skip'
}

51
PC/InterFace.Dash/src/router/modules/interfaceBoard.js

@ -1,4 +1,5 @@
import Layout from '@/layout'
import { initFromApiColumnsLable } from '@/utils/index'
const interfaceBoardRouter = {
path: '/interfaceBoard',
alwaysShow:true,
@ -8,14 +9,58 @@ const interfaceBoardRouter = {
title: '接口看板管理',
icon: '报表查看',
roles:'skip'
},
// IncomingData MesProductL7PartsNote IncomingDataHistory MessageReceive OutgoingData OutgoingDataHistory
},
children: [{
path: 'IncomingData',
name: 'IncomingData',
component: () => import('@/views/interfaceBoard/IncomingData'),
meta: {
title: 'IncomingData',
title: initFromApiColumnsLable('IncomingData'),
icon: '用户',
roles: 'skip'
}
},{
path: 'IncomingDataHistory',
name: 'IncomingDataHistory',
component: () => import('@/views/interfaceBoard/IncomingDataHistory'),
meta: {
title: initFromApiColumnsLable('IncomingDataHistory'),
icon: '用户',
roles: 'skip'
}
},{
path: 'OutgoingData',
name: 'OutgoingData',
component: () => import('@/views/interfaceBoard/OutgoingData'),
meta: {
title: initFromApiColumnsLable('OutgoingData'),
icon: '用户',
roles: 'skip'
}
},{
path: 'OutgoingDataHistory',
name: 'OutgoingDataHistory',
component: () => import('@/views/interfaceBoard/OutgoingDataHistory'),
meta: {
title: initFromApiColumnsLable('OutgoingDataHistory'),
icon: '用户',
roles: 'skip'
}
},{
path: 'MessageReceive',
name: 'MessageReceive',
component: () => import('@/views/interfaceBoard/MessageReceive'),
meta: {
title: initFromApiColumnsLable('MessageReceive'),
icon: '用户',
roles: 'skip'
}
},{
path: 'MesProductL7PartsNote',
name: 'MesProductL7PartsNote',
component: () => import('@/views/interfaceBoard/MesProductL7PartsNote'),
meta: {
title: initFromApiColumnsLable('MesProductL7PartsNote'),
icon: '用户',
roles: 'skip'
}

40
PC/InterFace.Dash/src/utils/baseData/urlOption.js

@ -12,11 +12,10 @@ export const TestSchool = {
}
// 基础数据管理-导出配置
export const exportConfig = {
baseURL:'get-by-user-and-table-name',//主表-列表
// detailURL:'app/test-school',//主表-明细 + 明细-查看主表
// detailListURL:'TestStudentDetail/base',//明细-列表
// parentURL:null,//明细-查看主表:特殊接口,如果没有则走detailURL
export const ExportCustomUserSetting = {
// baseURL:'get-by-user-and-table-name',//主表-列表
baseURL:'ExportCustomUserSetting/base',//主表-列表
detailURL:'app/export-custom-user-setting',//主表-明细 + 明细-查看主表
}
// 接口看板管理-IncomingData
@ -24,3 +23,34 @@ export const IncomingData = {
baseURL:'IncomingData/base',//主表-列表
detailURL:'app/incoming-data',//主表-明细 + 明细-查看主表
}
// 接口看板管理-IncomingDataHistory
export const IncomingDataHistory = {
baseURL:'IncomingDataHistory/base',//主表-列表
detailURL:'app/incoming-data-history',//主表-明细 + 明细-查看主表
}
// 接口看板管理-OutgoingData
export const OutgoingData = {
baseURL:'OutgoingData/base',//主表-列表
detailURL:'app/outgoing-data',//主表-明细 + 明细-查看主表
}
// 接口看板管理-OutgoingDataHistory
export const OutgoingDataHistory = {
baseURL:'OutgoingDataHistory/base',//主表-列表
detailURL:'app/outgoing-data-history',//主表-明细 + 明细-查看主表
}
// 接口看板管理-MessageReceive
export const MessageReceive = {
baseURL:'MessageReceive/base',//主表-列表
detailURL:'app/message-receive',//主表-明细 + 明细-查看主表
}
// 接口看板管理-MesProductL7PartsNote
export const MesProductL7PartsNote = {
baseURL:'MesProductL7PartsNote/base',//主表-列表
detailURL:'app/mes-product-l7Parts-note',//主表-明细 + 明细-查看主表
}

3179
PC/InterFace.Dash/src/utils/detailsTableColumns/index.js

File diff suppressed because it is too large

24
PC/InterFace.Dash/src/utils/detailsTableColumns_api/index.js

@ -1,27 +1,9 @@
//全局从接口缓存的明细(如:接口监控看板)
// import { getInterfaceBoard } from "@/api/wms-interface"
// getList = () => {
// getInterfaceBoard().then(result => {
// localStorage.setItem("interfaceBoardColumnsNames", JSON.stringify(result.data.localization.values.Dashboard));
// })
// .catch(err => {
// })
// }
// 此文件为【明细 - 列表】表头从接口缓存的表头
let _Dashboard = localStorage.getItem("interfaceBoardColumnsNames")
if(_Dashboard && _Dashboard != 'undefined' && _Dashboard != 'null') {
_Dashboard = JSON.parse(localStorage.getItem("interfaceBoardColumnsNames"))
}
// 用于如果没有表头数据时候报错问题处理
const initDashboardLable = (data) => {
return _Dashboard ? _Dashboard[data] : null
}
import { initFromApiColumnsLable } from '@/utils/index'
// 测试数据
export const TestSchool = [
{ label: initDashboardLable('TestStudentDetailStudentName'), prop: "studentName" },
{ label: initDashboardLable('TestStudentDetailOrderType'), prop: "orderType" },
{ label: initFromApiColumnsLable('TestStudentDetailStudentName'), prop: "studentName" },
{ label: initFromApiColumnsLable('TestStudentDetailOrderType'), prop: "orderType" },
]

23
PC/InterFace.Dash/src/utils/index.js

@ -555,4 +555,25 @@ export function initDataToHttpFormat (date) {
// 新建浏览器标签页面
export function createNewTabs (url) {
window.open(url, "_blank")
}
}
// 转义及读取api接口返回的表头信息
export function initFromApiColumnsLable (data) {
//todo:待定:重新获取全局从接口缓存的表头(如:接口监控看板)
// import { getInterfaceBoard } from "@/api/wms-interface"
// getList = () => {
// getInterfaceBoard().then(result => {
// localStorage.setItem("interfaceBoardColumnsNames", JSON.stringify(result.data.localization.values.Dashboard));
// })
// .catch(err => {
// })
// }
let _Dashboard = null
let _names = localStorage.getItem("interfaceBoardColumnsNames")
if(_names && _names != 'undefined' && _names != 'null') {
_Dashboard = JSON.parse(localStorage.getItem("interfaceBoardColumnsNames"))
}
return _Dashboard ? _Dashboard[data] : null
}

9
PC/InterFace.Dash/src/utils/quicklySearchOption/index.js

@ -5,12 +5,3 @@
// prop:'code',//接口要查的参数
// placeholder:'请输入物品代码',//placeholder
// }
// 原料管理
/**/
// 报检单
export const InspectRequest = {
// action:"==",//默认等于
prop:'asnNumber',
placeholder:'请输入发货单号',
}

85
PC/InterFace.Dash/src/utils/summaryTableColumns/index.js

@ -1,86 +1,3 @@
// 通用配置
const orderWidth = 180
// 原料管理
/**/
// 报检单 20230410
export const InspectRequest = [
{ label: "物品代码", prop: "itemCode" },
{ label: "物品名称", prop: "itemName" },
{ label: "物品描述1", prop: "itemDesc1" },
{ label: "物品描述2", prop: "itemDesc2" },
{ label: "生产批次", prop: "lot" },
{ label: "收货数量", prop: 'receiveQty' },
{ label: "检验数量", prop: 'inspectQty' },
{ label: "合格数量", prop: 'goodQty' },
{ label: "不合格数量", prop: 'failedQty' },
// -----------------------------------------------------------------------
{ label: "检验人", prop: 'inspectUser' },
{ label: "检验单号", prop: "number" },
{ label: "创建时间", prop: "creationTime",type: "dateTime" },
{ label: "创建者ID", prop: "creatorId" },
{ label: "状态", prop: "summaryInspectStatus", type: "filter", filters: "summaryInspectStatus" },
{ label: "ABC类", prop: 'abcClass', type: "filter", filters: "abcClass" },
{ label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" },
{ label: "上次修改者ID", prop: "lastModifierId" },
{ label: "备注", prop: 'remark' },
{ label: "计量单位", prop: 'uom' },
{ label: "标包数量", prop: 'stdPackQty' },
{ label: "供应商批次", prop: 'supplierBatch' },
{ label: "到货时间", prop: 'arriveDate', type: "dateTime" },
{ label: "生产时间", prop: 'produceDate', type: "dateTime" },
{ label: "过期时间", prop: 'expireDate', type: "dateTime" },
{ label: "订单号", prop: 'poNumber',width: orderWidth },
{ label: "订单行", prop: 'poLine' },
{ label: "样品率", prop: 'samplePercent' },
{ label: "破坏数量", prop: 'crackQty' },
{ label: "最终不合格数量", prop: 'notPassedQty' },
{ label: "检验报告", prop: 'inspectReport' },
{ label: "事务ID", prop: "tenantId" },
{ label: "检验类型", prop: "inspectType", type: "filter", filters: "inspectType" },
{ label: "不合格原因代码", prop: 'failedReason' },
{ label: "不合格原因", prop: 'failedReason', type: "filter", filters: "getDict" , dictType:"UnqualifiedReason" },
// ************** 确定隐藏 ************************
// { label: "ID", prop: 'id' },
// { label: "主表ID", prop: "masterID" },
// ************** 确定隐藏 ************************
]
// 检验记录 字段需要确定
export const InspectNote = [
{ label: "物品代码", prop: "itemCode", fixed: "left" },
{ label: "物品名称", prop: "itemName" },
{ label: "物品描述1", prop: "itemDesc1" },
{ label: "物品描述2", prop: "itemDesc2" },
{ label: "生产批次", prop: "lot" },
{ label: "计量单位", prop: 'uom' },
{ label: "收货数量", prop: 'receiveQty' },
{ label: "检验数量", prop: 'inspectQty' },
{ label: "合格数量", prop: 'goodQty' },
{ label: "不合格数量", prop: 'failedQty' },
{ label: "检验人", prop: 'inspectUser' },
{ label: "不合格原因代码", prop: 'failedReason' },
{ label: "不合格原因", prop: 'failedReason', type: "filter", filters: "getDict", dictType: "UnqualifiedReason" },
// -----------------------------------------------------------------------
{ label: "单据号", prop: "number" },
{ label: "创建时间", prop: "creationTime", type: "dateTime" },
{ label: "创建者ID", prop: 'creatorId' },
{ label: "上次修改时间", prop: 'lastModificationTime', type: "dateTime" },
{ label: "上次修改者ID", prop: 'lastModifierId' },
{ label: "备注", prop: 'remark' },
{ label: "供应商批次", prop: 'supplierBatch' },
{ label: "到货时间", prop: 'arriveDate', type: "dateTime" },
{ label: "生产时间", prop: 'produceDate', type: "dateTime" },
{ label: "过期时间", prop: 'expireDate', type: "dateTime" },
{ label: "订单号", prop: 'poNumber' },
{ label: "订单行", prop: 'poLine' },
{ label: "标包数量", prop: 'stdPackQty' },
{ label: "样品率", prop: 'samplePercent' },
{ label: "破坏数量", prop: 'crackQty' },
{ label: "最终不合格数量", prop: 'notPassedQty' },
{ label: "事务ID", prop: "tenantId" },
{ label: "检验类型", prop: "inspectType", type: "filter", filters: "inspectType" },
// ************** 确定隐藏 ************************
// { label: "masterID", prop: "masterID" },
// { label: "ID", prop: "id" },
// ************** 确定隐藏 ************************
]
const orderWidth = 180

12
PC/InterFace.Dash/src/utils/tableColumns/index.js

@ -5,18 +5,6 @@ let _Public = zh.ColumsPublic // 字段通用
let _Names = zh.ColumsNames // 业务字段
// 基础数据管理
/**/
// 导出配置
export const exportConfig = [
{ label: "表名", prop: "exportTableName", fixed: "left", type: "name" },
{ label: "设置字段", prop: "exportColumnName" },
{ label: "创建时间", prop: 'creationTime', type: 'dateTime' },
{ label: "exportUserId", prop: 'exportUserId'},
{ label: "exportUserName", prop: 'exportUserName'},
]
// 字段说明
// showProp: true //隐藏该字段的高级筛选+列表排序
// sortable: false //隐藏该字段的列表排序

4026
PC/InterFace.Dash/src/utils/tableColumns/index_new.js

File diff suppressed because it is too large

176
PC/InterFace.Dash/src/utils/tableColumns_api/index.js

@ -1,61 +1,133 @@
//全局从接口缓存的表头(如:接口监控看板)
// import { getInterfaceBoard } from "@/api/wms-interface"
// getList = () => {
// getInterfaceBoard().then(result => {
// localStorage.setItem("interfaceBoardColumnsNames", JSON.stringify(result.data.localization.values.Dashboard));
// })
// .catch(err => {
// })
// }
// 此文件为【主表-列表】表头从接口缓存的表头
// 用于如果没有表头数据时候报错问题处理
const initDashboardLable = (data) => {
let _Dashboard = null
let _names = localStorage.getItem("interfaceBoardColumnsNames")
if(_names && _names != 'undefined' && _names != 'null') {
_Dashboard = JSON.parse(localStorage.getItem("interfaceBoardColumnsNames"))
}
return _Dashboard ? _Dashboard[data] : null
}
import { initFromApiColumnsLable } from '@/utils/index'
// ExportCustomUserSetting
export const ExportCustomUserSetting = [
{ label: initFromApiColumnsLable('ExportCustomUserSettingCustomUserSetting'), prop: "customUserSetting", type:'name' },
{ label: initFromApiColumnsLable('ExportCustomUserSettingExportColumnName'), prop: "exportColumnName" },
{ label: initFromApiColumnsLable('ExportCustomUserSettingExportTableName'), prop: "exportTableName" },
// { label: initFromApiColumnsLable('ExportCustomUserSettingExportUserId'), prop: "exportUserId" },
{ label: initFromApiColumnsLable('ExportCustomUserSettingExportUserName'), prop: "exportUserName",type:'dateTime' },
]
// IncomingData
export const IncomingData = [
{ label: initDashboardLable('OutgoingToExternalNumber'), prop: "number" },
{ 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" },
{ label: initFromApiColumnsLable('IncomingDataCompany'), prop: "company" },
{ label: initFromApiColumnsLable('IncomingDataDataContent'), prop: "dataContent", type:"showJsonTable" },
{ label: initFromApiColumnsLable('IncomingDataDataType'), prop: "dataType" },
{ label: initFromApiColumnsLable('IncomingDataDestinationSystem'), prop: "destinationSystem" },
{ label: initFromApiColumnsLable('IncomingDataEffectiveDate'), prop: "effectiveDate",type:'dateTime' },
{ label: initFromApiColumnsLable('IncomingDataErrorCode'), prop: "errorCode" },
{ label: initFromApiColumnsLable('IncomingDataErrorMessage'), prop: "errorMessage", type:"showDetail" },
{ label: initFromApiColumnsLable('IncomingDataNumber'), prop: "number" },
{ label: initFromApiColumnsLable('IncomingDataReadTime'), prop: "readTime",type:'dateTime' },
{ label: initFromApiColumnsLable('IncomingDataReader'), prop: "reader" },
{ label: initFromApiColumnsLable('IncomingDataRemark'), prop: "remark" },
{ label: initFromApiColumnsLable('IncomingDataRetryTimes'), prop: "retryTimes" },
{ label: initFromApiColumnsLable('IncomingDataSourceSystem'), prop: "sourceSystem" },
{ label: initFromApiColumnsLable('IncomingDataStatus'), prop: "status" },
{ label: initFromApiColumnsLable('IncomingDataWriteTime'), prop: "writeTime", type:"dateTime" },
{ label: initFromApiColumnsLable('IncomingDataWriter'), prop: "writer" },
]
// IncomingDataHistory
export const IncomingDataHistory = [
{ label: initFromApiColumnsLable('IncomingDataHistoryCompany'), prop: "company" },
{ label: initFromApiColumnsLable('IncomingDataHistoryDataContent'), prop: "dataContent", type:"showJsonTable" },
{ label: initFromApiColumnsLable('IncomingDataHistoryDataType'), prop: "dataType" },
{ label: initFromApiColumnsLable('IncomingDataHistoryDestinationSystem'), prop: "destinationSystem" },
{ label: initFromApiColumnsLable('IncomingDataHistoryEffectiveDate'), prop: "effectiveDate",type:'dateTime' },
{ label: initFromApiColumnsLable('IncomingDataHistoryErrorCode'), prop: "errorCode" },
{ label: initFromApiColumnsLable('IncomingDataHistoryErrorMessage'), prop: "errorMessage", type:"showDetail" },
{ label: initFromApiColumnsLable('IncomingDataHistoryNumber'), prop: "number" },
{ label: initFromApiColumnsLable('IncomingDataHistoryReadTime'), prop: "readTime",type:'dateTime' },
{ label: initFromApiColumnsLable('IncomingDataHistoryReader'), prop: "reader" },
{ label: initFromApiColumnsLable('IncomingDataHistoryRemark'), prop: "remark" },
{ label: initFromApiColumnsLable('IncomingDataHistoryRetryTimes'), prop: "retryTimes" },
{ label: initFromApiColumnsLable('IncomingDataHistorySourceSystem'), prop: "sourceSystem" },
{ label: initFromApiColumnsLable('IncomingDataHistoryStatus'), prop: "status" },
{ label: initFromApiColumnsLable('IncomingDataHistoryWriteTime'), prop: "writeTime", type:"dateTime" },
{ label: initFromApiColumnsLable('IncomingDataHistoryWriter'), prop: "writer" },
]
// OutgoingData
export const OutgoingData = [
{ label: initFromApiColumnsLable('OutgoingDataCompany'), prop: "company" },
{ label: initFromApiColumnsLable('OutgoingDataDataContent'), prop: "dataContent", type:"showJsonTable" },
{ label: initFromApiColumnsLable('OutgoingDataDataType'), prop: "dataType" },
{ label: initFromApiColumnsLable('OutgoingDataDestinationSystem'), prop: "destinationSystem" },
{ label: initFromApiColumnsLable('OutgoingDataEffectiveDate'), prop: "effectiveDate",type:'dateTime' },
{ label: initFromApiColumnsLable('OutgoingDataErrorCode'), prop: "errorCode" },
{ label: initFromApiColumnsLable('OutgoingDataErrorMessage'), prop: "errorMessage", type:"showDetail" },
{ label: initFromApiColumnsLable('OutgoingDataNumber'), prop: "number" },
{ label: initFromApiColumnsLable('OutgoingDataReadTime'), prop: "readTime",type:'dateTime' },
{ label: initFromApiColumnsLable('OutgoingDataReader'), prop: "reader" },
{ label: initFromApiColumnsLable('OutgoingDataRemark'), prop: "remark" },
{ label: initFromApiColumnsLable('OutgoingDataRetryTimes'), prop: "retryTimes" },
{ label: initFromApiColumnsLable('OutgoingDataSourceSystem'), prop: "sourceSystem" },
{ label: initFromApiColumnsLable('OutgoingDataStatus'), prop: "status" },
{ label: initFromApiColumnsLable('OutgoingDataWriteTime'), prop: "writeTime", type:"dateTime" },
{ label: initFromApiColumnsLable('OutgoingDataWriter'), prop: "writer" },
]
// OutgoingDataHistory
export const OutgoingDataHistory = [
{ label: initFromApiColumnsLable('OutgoingDataHistoryCompany'), prop: "company" },
{ label: initFromApiColumnsLable('OutgoingDataHistoryDataContent'), prop: "dataContent", type:"showJsonTable" },
{ label: initFromApiColumnsLable('OutgoingDataHistoryDataType'), prop: "dataType" },
{ label: initFromApiColumnsLable('OutgoingDataHistoryDestinationSystem'), prop: "destinationSystem" },
{ label: initFromApiColumnsLable('OutgoingDataHistoryEffectiveDate'), prop: "effectiveDate",type:'dateTime' },
{ label: initFromApiColumnsLable('OutgoingDataHistoryErrorCode'), prop: "errorCode" },
{ label: initFromApiColumnsLable('OutgoingDataHistoryErrorMessage'), prop: "errorMessage", type:"showDetail" },
{ label: initFromApiColumnsLable('OutgoingDataHistoryNumber'), prop: "number" },
{ label: initFromApiColumnsLable('OutgoingDataHistoryReadTime'), prop: "readTime",type:'dateTime' },
{ label: initFromApiColumnsLable('OutgoingDataHistoryReader'), prop: "reader" },
{ label: initFromApiColumnsLable('OutgoingDataHistoryRemark'), prop: "remark" },
{ label: initFromApiColumnsLable('OutgoingDataHistoryRetryTimes'), prop: "retryTimes" },
{ label: initFromApiColumnsLable('OutgoingDataHistorySourceSystem'), prop: "sourceSystem" },
{ label: initFromApiColumnsLable('OutgoingDataHistoryStatus'), prop: "status" },
{ label: initFromApiColumnsLable('OutgoingDataHistoryWriteTime'), prop: "writeTime", type:"dateTime" },
{ label: initFromApiColumnsLable('OutgoingDataHistoryWriter'), prop: "writer" },
]
// MessageReceive
export const MessageReceive = [
{ label: initFromApiColumnsLable('MessageReceiveErrorCount'), prop: "errorCount" },
{ label: initFromApiColumnsLable('MessageReceiveErrorMessage'), prop: "errorMessage", type:"showDetail" },
{ label: initFromApiColumnsLable('MessageReceiveLastUpdateTime'), prop: "updateTime",type:'dateTime' },
{ label: initFromApiColumnsLable('MessageReceiveMessageContent'), prop: "messageContent", type:"showDetail" },
{ label: initFromApiColumnsLable('MessageReceiveMessageFileName'), prop: "messageFileName" },
{ label: initFromApiColumnsLable('MessageReceiveMessageFileType'), prop: "messageFileType" },
{ label: initFromApiColumnsLable('MessageReceiveOperateType'), prop: "operateType" },
{ label: initFromApiColumnsLable('MessageReceiveReceiveStatus'), prop: "receiveStatus" },
{ label: initFromApiColumnsLable('MessageReceiveReceiveTime'), prop: "receiveTime", type:"dateTime" },
]
// MesProductL7PartsNote
export const MesProductL7PartsNote = [
{ label: initFromApiColumnsLable('MesProductL7PartsNoteConfiguration'), prop: "configuration" },
{ label: initFromApiColumnsLable('MesProductL7PartsNoteCreateDate'), prop: "createDate", type:"dateTime" },
{ label: initFromApiColumnsLable('MesProductL7PartsNoteFATA'), prop: "fata" },
{ label: initFromApiColumnsLable('MesProductL7PartsNoteL7Part'), prop: "l7Part" },
{ label: initFromApiColumnsLable('MesProductL7PartsNotePosition'), prop: "position" },
{ label: initFromApiColumnsLable('MesProductL7PartsNoteProductNo'), prop: "productNo" },
{ label: initFromApiColumnsLable('MesProductL7PartsNoteProgram'), prop: "program" },
{ label: initFromApiColumnsLable('MesProductL7PartsNoteQty'), prop: "qty" },
{ label: initFromApiColumnsLable('MesProductL7PartsNoteRemark'), prop: "remark" },
{ label: initFromApiColumnsLable('MesProductL7PartsNoteRowID'), prop: "rowID" },
{ label: initFromApiColumnsLable('MesProductL7PartsNoteState'), prop: "state" },
]
// 测试数据
export const TestSchool = [
{ label: initDashboardLable('TestSchoolSchoolName'), prop: "schoolName", fixed: "left", type: "name" },
{ label: initDashboardLable('TestStudentDetailOrderType'), prop: "orderType" },
]
{ label: initFromApiColumnsLable('TestSchoolSchoolName'), prop: "schoolName", fixed: "left", type: "name" },
{ label: initFromApiColumnsLable('TestStudentDetailOrderType'), prop: "orderType" },
]
// 字段说明
// showProp: true //隐藏该字段的高级筛选+列表排序
// sortable: false //隐藏该字段的列表排序
// type:showDetail //此类型点击弹窗所有信息,适用于接口监控看板等文本过长使用
// type:showJsonTable //此类型点击弹窗可以以表格的形式看解析的json,适用于接口监控看板中json数据等

2689
PC/InterFace.Dash/src/utils/tabsDesTions/index.js

File diff suppressed because it is too large

34
PC/InterFace.Dash/src/utils/tabsDesTions_api/index.js

@ -1,28 +1,18 @@
//全局从接口缓存的详情(如:接口监控看板)
// import { getInterfaceBoard } from "@/api/wms-interface"
// getList = () => {
// getInterfaceBoard().then(result => {
// localStorage.setItem("interfaceBoardColumnsNames", JSON.stringify(result.data.localization.values.Dashboard));
// })
// .catch(err => {
// })
// }
// 此文件为【主表-明细】表头从接口缓存的表头
let _Dashboard = localStorage.getItem("interfaceBoardColumnsNames")
if(_Dashboard && _Dashboard != 'undefined' && _Dashboard != 'null') {
_Dashboard = JSON.parse(localStorage.getItem("interfaceBoardColumnsNames"))
}
// 用于如果没有表头数据时候报错问题处理
const initDashboardLable = (data) => {
return _Dashboard ? _Dashboard[data] : null
}
import { initFromApiColumnsLable } from '@/utils/index'
// ExportCustomUserSetting
export const ExportCustomUserSetting = [
{ label: initFromApiColumnsLable('ExportCustomUserSettingCustomUserSetting'), prop: "customUserSetting", type:'name' },
{ label: initFromApiColumnsLable('ExportCustomUserSettingExportColumnName'), prop: "exportColumnName" },
{ label: initFromApiColumnsLable('ExportCustomUserSettingExportTableName'), prop: "exportTableName" },
{ label: initFromApiColumnsLable('ExportCustomUserSettingExportUserId'), prop: "exportUserId" },
{ label: initFromApiColumnsLable('ExportCustomUserSettingExportUserName'), prop: "exportUserName",type:'dateTime' },
]
// 测试数据
export const TestSchool = [
{ label: initDashboardLable('TestSchoolSchoolName'), prop: "schoolName", fixed: "left", type: "name" },
{ label: initDashboardLable('TestStudentDetailOrderType'), prop: "orderType" },
{ label: initFromApiColumnsLable('TestSchoolSchoolName'), prop: "schoolName", fixed: "left", type: "name" },
{ label: initFromApiColumnsLable('TestStudentDetailOrderType'), prop: "orderType" },
]

51
PC/InterFace.Dash/src/views/basicConfig/exportConfig.vue → PC/InterFace.Dash/src/views/basicConfig/ExportCustomUserSetting.vue

@ -2,10 +2,11 @@
<template>
<div class="page-box" v-loading="Loading.appMainLoading">
<tablePagination
v-if="apiColumns_Table"
:currenButtonData="currenButtonData"
:tableData="tableData"
:tableLoading="Loading.tableLoading"
:tableColumns="tableColumns"
:tableColumns="apiColumns_Table"
@rowDrop="rowDrop"
:totalCount="totalCount"
:multipleSelection="multipleSelection"
@ -80,12 +81,13 @@
></importFile>
<!--抽屉-->
<curren-Drawer
:title="tableColumns"
:title="apiColumns_DesTions"
:tableColumns="apiColumns_DetailsTable"
:tabsDesTions="apiColumns_DesTions"
:DrawerLoading="Loading.DrawerLoading"
:drawer="displayDialog.detailsDialog"
:dropdownData="dropdownData"
:propsData="propsData"
:tabsDesTions="tabsDesTions"
:tableLoading="tableLoading"
@drawerShut="(val) => (displayDialog.detailsDialog = val)"
@drawerbutton="drawerbutton"
@ -103,10 +105,14 @@
import { newAndEdiDialogMixins } from "@/mixins/newAndEdiDialogMixins"
import { mixins } from "@/mixins/mixins"
import { filterSelectMixins } from '@/mixins/filter-Select'
import * as tableColumns_api from "@/utils/tableColumns_api/index" //
import * as tabsDesTions_api from "@/utils/tabsDesTions_api/index" //
import * as detailsTableColumns_api from "@/utils/detailsTableColumns_api/index" //
import { initFromApiColumnsLable } from '@/utils/index'
// import { getExportConfigList } from '@/api/wms-interface'
export default {
name: "exportConfig",
name: "ExportCustomUserSetting",
mixins: [
tableMixins,
LoadingMixins,
@ -151,12 +157,14 @@
},
editOptions: {},
CreateForm: [
{ type: "input", label: "排除表头", prop: "exportColumnName", colSpan: 12 },
{ type: "input", label: "表名", prop: "exportTableName", colSpan: 12 },
{ type: "input", label: initFromApiColumnsLable('ExportCustomUserSettingCustomUserSetting'), prop: "customUserSetting", colSpan: 12 },
{ type: "input", label: initFromApiColumnsLable('ExportCustomUserSettingExportColumnName'), prop: "exportColumnName", colSpan: 12 },
{ type: "input", label: initFromApiColumnsLable('ExportCustomUserSettingExportTableName'), prop: "exportTableName", colSpan: 12 },
],
editForm: [
{ type: "input", label: "排除表头", prop: "exportColumnName", colSpan: 12 },
{ type: "input", label: "表名", prop: "exportTableName", colSpan: 12 },
{ type: "input", label: initFromApiColumnsLable('ExportCustomUserSettingCustomUserSetting'), prop: "customUserSetting", colSpan: 12 },
{ type: "input", label:initFromApiColumnsLable('ExportCustomUserSettingExportColumnName'), prop: "exportColumnName", colSpan: 12 },
{ type: "input", label: initFromApiColumnsLable('ExportCustomUserSettingExportTableName'), prop: "exportTableName", colSpan: 12 },
],
editRules: {
cerateRule: {
@ -171,19 +179,26 @@
};
},
mounted () {
this.initApiColumns()
this.paging();
},
methods:{
//
// paging(callback) {
// this.Loading.tableLoading = true;
// getExportConfigList('TestSchool').then(res => {
// this.tableData = res
// this.pagingCallback(callback)
// }).catch(err => {
// this.Loading.tableLoading = false
// })
// },
// api
initApiColumns(){
this.apiColumns_Table = tableColumns_api[this.$route.name]
this.apiColumns_DesTions = tabsDesTions_api[this.$route.name]
this.apiColumns_DetailsTable = detailsTableColumns_api[this.$route.name]
},
//
// paging(callback) {
// this.Loading.tableLoading = true;
// getExportConfigList('TestSchool').then(res => {
// this.tableData = res
// this.pagingCallback(callback)
// }).catch(err => {
// this.Loading.tableLoading = false
// })
// },
}
};
</script>

2
PC/InterFace.Dash/src/views/interfaceBoard/IncomingData.vue

@ -59,7 +59,7 @@ import * as detailsTableColumns_api from "@/utils/detailsTableColumns_api/index
export default {
name: "TestSchool",
name: "IncomingData",
mixins: [
tableMixins,
LoadingMixins,

101
PC/InterFace.Dash/src/views/interfaceBoard/IncomingDataHistory.vue

@ -0,0 +1,101 @@
<template>
<div class="page-box" v-loading="Loading.appMainLoading">
<tablePagination
v-if="apiColumns_Table"
:currenButtonData="currenButtonData"
:tableData="tableData"
:tableLoading="Loading.tableLoading"
:tableColumns="apiColumns_Table"
@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>
<curren-Drawer
:title="apiColumns_DesTions"
:tableColumns="apiColumns_DetailsTable"
:tabsDesTions="apiColumns_DesTions"
:DrawerLoading="Loading.DrawerLoading"
:drawer="displayDialog.detailsDialog"
:Butttondata="[]"
:propsData="propsData"
@drawerShut="(val) => (displayDialog.detailsDialog = val)"
@drawerbutton="drawerbutton"
@handleCommand="drawerHandle"
@close-value="closeValue"
:totalCount="totalCountDetails"
:currentPage="oldSkipCountDetails"
:MaxResultCount="MaxResultCountDetails"
@alterResultCountDetails="alterResultCountDetails"
@alertoldSkipCountDetails="alertoldSkipCountDetails"
></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 { getToken } from '@/utils/auth'
import * as tableColumns_api from "@/utils/tableColumns_api/index" //
import * as tabsDesTions_api from "@/utils/tabsDesTions_api/index" //
import * as detailsTableColumns_api from "@/utils/detailsTableColumns_api/index" //
export default {
name: "IncomingDataHistory",
mixins: [
tableMixins,
LoadingMixins,
drawerMixins,
TableHeaderMixins,
mixins,
filterSelectMixins,
newAndEdiDialogMixins
],
data() {
return {
//
currenButtonData: [
this.defaultExportBtn({
isRedundance:true,
isDetailExport:true
}),//
this.defaultFreshBtn(),//
this.defaultFilterBtn(),//
],
};
},
mounted() {
this.initApiColumns()
this.paging();
},
methods: {
// api
initApiColumns(){
this.apiColumns_Table = tableColumns_api[this.$route.name]
this.apiColumns_DesTions = tabsDesTions_api[this.$route.name]
this.apiColumns_DetailsTable = detailsTableColumns_api[this.$route.name]
},
}
}
</script>
<style lang="scss" scoped>
@import "@/styles/basicData.scss";
</style>

101
PC/InterFace.Dash/src/views/interfaceBoard/MesProductL7PartsNote.vue

@ -0,0 +1,101 @@
<template>
<div class="page-box" v-loading="Loading.appMainLoading">
<tablePagination
v-if="apiColumns_Table"
:currenButtonData="currenButtonData"
:tableData="tableData"
:tableLoading="Loading.tableLoading"
:tableColumns="apiColumns_Table"
@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>
<curren-Drawer
:title="apiColumns_DesTions"
:tableColumns="apiColumns_DetailsTable"
:tabsDesTions="apiColumns_DesTions"
:DrawerLoading="Loading.DrawerLoading"
:drawer="displayDialog.detailsDialog"
:Butttondata="[]"
:propsData="propsData"
@drawerShut="(val) => (displayDialog.detailsDialog = val)"
@drawerbutton="drawerbutton"
@handleCommand="drawerHandle"
@close-value="closeValue"
:totalCount="totalCountDetails"
:currentPage="oldSkipCountDetails"
:MaxResultCount="MaxResultCountDetails"
@alterResultCountDetails="alterResultCountDetails"
@alertoldSkipCountDetails="alertoldSkipCountDetails"
></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 { getToken } from '@/utils/auth'
import * as tableColumns_api from "@/utils/tableColumns_api/index" //
import * as tabsDesTions_api from "@/utils/tabsDesTions_api/index" //
import * as detailsTableColumns_api from "@/utils/detailsTableColumns_api/index" //
export default {
name: "MesProductL7PartsNote",
mixins: [
tableMixins,
LoadingMixins,
drawerMixins,
TableHeaderMixins,
mixins,
filterSelectMixins,
newAndEdiDialogMixins
],
data() {
return {
//
currenButtonData: [
this.defaultExportBtn({
isRedundance:true,
isDetailExport:true
}),//
this.defaultFreshBtn(),//
this.defaultFilterBtn(),//
],
};
},
mounted() {
this.initApiColumns()
this.paging();
},
methods: {
// api
initApiColumns(){
this.apiColumns_Table = tableColumns_api[this.$route.name]
this.apiColumns_DesTions = tabsDesTions_api[this.$route.name]
this.apiColumns_DetailsTable = detailsTableColumns_api[this.$route.name]
},
}
}
</script>
<style lang="scss" scoped>
@import "@/styles/basicData.scss";
</style>

101
PC/InterFace.Dash/src/views/interfaceBoard/MessageReceive.vue

@ -0,0 +1,101 @@
<template>
<div class="page-box" v-loading="Loading.appMainLoading">
<tablePagination
v-if="apiColumns_Table"
:currenButtonData="currenButtonData"
:tableData="tableData"
:tableLoading="Loading.tableLoading"
:tableColumns="apiColumns_Table"
@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>
<curren-Drawer
:title="apiColumns_DesTions"
:tableColumns="apiColumns_DetailsTable"
:tabsDesTions="apiColumns_DesTions"
:DrawerLoading="Loading.DrawerLoading"
:drawer="displayDialog.detailsDialog"
:Butttondata="[]"
:propsData="propsData"
@drawerShut="(val) => (displayDialog.detailsDialog = val)"
@drawerbutton="drawerbutton"
@handleCommand="drawerHandle"
@close-value="closeValue"
:totalCount="totalCountDetails"
:currentPage="oldSkipCountDetails"
:MaxResultCount="MaxResultCountDetails"
@alterResultCountDetails="alterResultCountDetails"
@alertoldSkipCountDetails="alertoldSkipCountDetails"
></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 { getToken } from '@/utils/auth'
import * as tableColumns_api from "@/utils/tableColumns_api/index" //
import * as tabsDesTions_api from "@/utils/tabsDesTions_api/index" //
import * as detailsTableColumns_api from "@/utils/detailsTableColumns_api/index" //
export default {
name: "MessageReceive",
mixins: [
tableMixins,
LoadingMixins,
drawerMixins,
TableHeaderMixins,
mixins,
filterSelectMixins,
newAndEdiDialogMixins
],
data() {
return {
//
currenButtonData: [
this.defaultExportBtn({
isRedundance:true,
isDetailExport:true
}),//
this.defaultFreshBtn(),//
this.defaultFilterBtn(),//
],
};
},
mounted() {
this.initApiColumns()
this.paging();
},
methods: {
// api
initApiColumns(){
this.apiColumns_Table = tableColumns_api[this.$route.name]
this.apiColumns_DesTions = tabsDesTions_api[this.$route.name]
this.apiColumns_DetailsTable = detailsTableColumns_api[this.$route.name]
},
}
}
</script>
<style lang="scss" scoped>
@import "@/styles/basicData.scss";
</style>

101
PC/InterFace.Dash/src/views/interfaceBoard/OutgoingData.vue

@ -0,0 +1,101 @@
<template>
<div class="page-box" v-loading="Loading.appMainLoading">
<tablePagination
v-if="apiColumns_Table"
:currenButtonData="currenButtonData"
:tableData="tableData"
:tableLoading="Loading.tableLoading"
:tableColumns="apiColumns_Table"
@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>
<curren-Drawer
:title="apiColumns_DesTions"
:tableColumns="apiColumns_DetailsTable"
:tabsDesTions="apiColumns_DesTions"
:DrawerLoading="Loading.DrawerLoading"
:drawer="displayDialog.detailsDialog"
:Butttondata="[]"
:propsData="propsData"
@drawerShut="(val) => (displayDialog.detailsDialog = val)"
@drawerbutton="drawerbutton"
@handleCommand="drawerHandle"
@close-value="closeValue"
:totalCount="totalCountDetails"
:currentPage="oldSkipCountDetails"
:MaxResultCount="MaxResultCountDetails"
@alterResultCountDetails="alterResultCountDetails"
@alertoldSkipCountDetails="alertoldSkipCountDetails"
></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 { getToken } from '@/utils/auth'
import * as tableColumns_api from "@/utils/tableColumns_api/index" //
import * as tabsDesTions_api from "@/utils/tabsDesTions_api/index" //
import * as detailsTableColumns_api from "@/utils/detailsTableColumns_api/index" //
export default {
name: "OutgoingData",
mixins: [
tableMixins,
LoadingMixins,
drawerMixins,
TableHeaderMixins,
mixins,
filterSelectMixins,
newAndEdiDialogMixins
],
data() {
return {
//
currenButtonData: [
this.defaultExportBtn({
isRedundance:true,
isDetailExport:true
}),//
this.defaultFreshBtn(),//
this.defaultFilterBtn(),//
],
};
},
mounted() {
this.initApiColumns()
this.paging();
},
methods: {
// api
initApiColumns(){
this.apiColumns_Table = tableColumns_api[this.$route.name]
this.apiColumns_DesTions = tabsDesTions_api[this.$route.name]
this.apiColumns_DetailsTable = detailsTableColumns_api[this.$route.name]
},
}
}
</script>
<style lang="scss" scoped>
@import "@/styles/basicData.scss";
</style>

101
PC/InterFace.Dash/src/views/interfaceBoard/OutgoingDataHistory.vue

@ -0,0 +1,101 @@
<template>
<div class="page-box" v-loading="Loading.appMainLoading">
<tablePagination
v-if="apiColumns_Table"
:currenButtonData="currenButtonData"
:tableData="tableData"
:tableLoading="Loading.tableLoading"
:tableColumns="apiColumns_Table"
@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>
<curren-Drawer
:title="apiColumns_DesTions"
:tableColumns="apiColumns_DetailsTable"
:tabsDesTions="apiColumns_DesTions"
:DrawerLoading="Loading.DrawerLoading"
:drawer="displayDialog.detailsDialog"
:Butttondata="[]"
:propsData="propsData"
@drawerShut="(val) => (displayDialog.detailsDialog = val)"
@drawerbutton="drawerbutton"
@handleCommand="drawerHandle"
@close-value="closeValue"
:totalCount="totalCountDetails"
:currentPage="oldSkipCountDetails"
:MaxResultCount="MaxResultCountDetails"
@alterResultCountDetails="alterResultCountDetails"
@alertoldSkipCountDetails="alertoldSkipCountDetails"
></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 { getToken } from '@/utils/auth'
import * as tableColumns_api from "@/utils/tableColumns_api/index" //
import * as tabsDesTions_api from "@/utils/tabsDesTions_api/index" //
import * as detailsTableColumns_api from "@/utils/detailsTableColumns_api/index" //
export default {
name: "OutgoingDataHistory",
mixins: [
tableMixins,
LoadingMixins,
drawerMixins,
TableHeaderMixins,
mixins,
filterSelectMixins,
newAndEdiDialogMixins
],
data() {
return {
//
currenButtonData: [
this.defaultExportBtn({
isRedundance:true,
isDetailExport:true
}),//
this.defaultFreshBtn(),//
this.defaultFilterBtn(),//
],
};
},
mounted() {
this.initApiColumns()
this.paging();
},
methods: {
// api
initApiColumns(){
this.apiColumns_Table = tableColumns_api[this.$route.name]
this.apiColumns_DesTions = tabsDesTions_api[this.$route.name]
this.apiColumns_DetailsTable = detailsTableColumns_api[this.$route.name]
},
}
}
</script>
<style lang="scss" scoped>
@import "@/styles/basicData.scss";
</style>
Loading…
Cancel
Save