25 changed files with 807 additions and 10132 deletions
File diff suppressed because it is too large
@ -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") |
import { initFromApiColumnsLable } from '@/utils/index' |
||||
if(_Dashboard && _Dashboard != 'undefined' && _Dashboard != 'null') { |
|
||||
_Dashboard = JSON.parse(localStorage.getItem("interfaceBoardColumnsNames")) |
|
||||
} |
|
||||
// 用于如果没有表头数据时候报错问题处理
|
|
||||
const initDashboardLable = (data) => { |
|
||||
return _Dashboard ? _Dashboard[data] : null |
|
||||
} |
|
||||
|
|
||||
// 测试数据
|
// 测试数据
|
||||
export const TestSchool = [ |
export const TestSchool = [ |
||||
{ label: initDashboardLable('TestStudentDetailStudentName'), prop: "studentName" }, |
{ label: initFromApiColumnsLable('TestStudentDetailStudentName'), prop: "studentName" }, |
||||
{ label: initDashboardLable('TestStudentDetailOrderType'), prop: "orderType" }, |
{ label: initFromApiColumnsLable('TestStudentDetailOrderType'), prop: "orderType" }, |
||||
] |
] |
@ -1,86 +1,3 @@ |
|||||
|
|
||||
// 通用配置
|
// 通用配置
|
||||
const orderWidth = 180 |
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" },
|
|
||||
// ************** 确定隐藏 ************************
|
|
||||
] |
|
File diff suppressed because it is too large
@ -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 => {
|
|
||||
// })
|
|
||||
// }
|
|
||||
|
|
||||
// 此文件为【主表-列表】表头从接口缓存的表头
|
// 此文件为【主表-列表】表头从接口缓存的表头
|
||||
|
|
||||
// 用于如果没有表头数据时候报错问题处理
|
import { initFromApiColumnsLable } from '@/utils/index' |
||||
const initDashboardLable = (data) => { |
|
||||
let _Dashboard = null |
// ExportCustomUserSetting
|
||||
let _names = localStorage.getItem("interfaceBoardColumnsNames") |
export const ExportCustomUserSetting = [ |
||||
if(_names && _names != 'undefined' && _names != 'null') { |
{ label: initFromApiColumnsLable('ExportCustomUserSettingCustomUserSetting'), prop: "customUserSetting", type:'name' }, |
||||
_Dashboard = JSON.parse(localStorage.getItem("interfaceBoardColumnsNames")) |
{ label: initFromApiColumnsLable('ExportCustomUserSettingExportColumnName'), prop: "exportColumnName" }, |
||||
} |
{ label: initFromApiColumnsLable('ExportCustomUserSettingExportTableName'), prop: "exportTableName" }, |
||||
return _Dashboard ? _Dashboard[data] : null |
// { label: initFromApiColumnsLable('ExportCustomUserSettingExportUserId'), prop: "exportUserId" },
|
||||
} |
{ label: initFromApiColumnsLable('ExportCustomUserSettingExportUserName'), prop: "exportUserName",type:'dateTime' }, |
||||
|
] |
||||
|
|
||||
// IncomingData
|
// IncomingData
|
||||
export const IncomingData = [ |
export const IncomingData = [ |
||||
{ label: initDashboardLable('OutgoingToExternalNumber'), prop: "number" }, |
{ label: initFromApiColumnsLable('IncomingDataCompany'), prop: "company" }, |
||||
{ label: initDashboardLable('OutgoingToExternalRemark'), prop: "remark", type:"showDetail" }, |
{ label: initFromApiColumnsLable('IncomingDataDataContent'), prop: "dataContent", type:"showJsonTable" }, |
||||
{ label: initDashboardLable('OutgoingToExternalDataType'), prop: "dataType", type:"showDetail" }, |
{ label: initFromApiColumnsLable('IncomingDataDataType'), prop: "dataType" }, |
||||
{ label: initDashboardLable('OutgoingToExternalTableType'), prop: "tableType" }, |
{ label: initFromApiColumnsLable('IncomingDataDestinationSystem'), prop: "destinationSystem" }, |
||||
{ label: initDashboardLable('OutgoingToExternalDataAction'), prop: "dataAction" }, |
{ label: initFromApiColumnsLable('IncomingDataEffectiveDate'), prop: "effectiveDate",type:'dateTime' }, |
||||
{ label: initDashboardLable('OutgoingToExternalEffectiveDate'), prop: "effectiveDate",type:'dateTime' }, |
{ label: initFromApiColumnsLable('IncomingDataErrorCode'), prop: "errorCode" }, |
||||
{ label: initDashboardLable('OutgoingToExternalStatus'), prop: "status" }, |
{ label: initFromApiColumnsLable('IncomingDataErrorMessage'), prop: "errorMessage", type:"showDetail" }, |
||||
{ label: initDashboardLable('OutgoingToExternalSourceSystem'), prop: "sourceSystem", type:"showDetail" }, |
{ label: initFromApiColumnsLable('IncomingDataNumber'), prop: "number" }, |
||||
{ label: initDashboardLable('OutgoingToExternalSourceDataId'), prop: "sourceDataId" }, |
{ label: initFromApiColumnsLable('IncomingDataReadTime'), prop: "readTime",type:'dateTime' }, |
||||
{ label: initDashboardLable('OutgoingToExternalSourceDataGroupCode'), prop: "sourceDataGroupCode", type:"showDetail" }, |
{ label: initFromApiColumnsLable('IncomingDataReader'), prop: "reader" }, |
||||
{ label: initDashboardLable('OutgoingToExternalSourceDataDetailCode'), prop: "sourceDataDetailCode", type:"showDetail" }, |
{ label: initFromApiColumnsLable('IncomingDataRemark'), prop: "remark" }, |
||||
{ label: initDashboardLable('OutgoingToExternalSourceDataContent'), prop: "sourceDataContent", type:"showJsonTable" }, |
{ label: initFromApiColumnsLable('IncomingDataRetryTimes'), prop: "retryTimes" }, |
||||
{ label: initDashboardLable('OutgoingToExternalWriteTime'), prop: "writeTime",type:'dateTime' }, |
{ label: initFromApiColumnsLable('IncomingDataSourceSystem'), prop: "sourceSystem" }, |
||||
{ label: initDashboardLable('OutgoingToExternalWriter'), prop: "writer" }, |
{ label: initFromApiColumnsLable('IncomingDataStatus'), prop: "status" }, |
||||
{ label: initDashboardLable('OutgoingToExternalDestinationSystem'), prop: "destinationSystem", type:"showDetail" }, |
{ label: initFromApiColumnsLable('IncomingDataWriteTime'), prop: "writeTime", type:"dateTime" }, |
||||
{ label: initDashboardLable('OutgoingToExternalDestinationDataId'), prop: "destinationDataId" }, |
{ label: initFromApiColumnsLable('IncomingDataWriter'), prop: "writer" }, |
||||
{ label: initDashboardLable('OutgoingToExternalDestinationDataContent'), prop: "destinationDataContent", type:"showJsonTable" }, |
] |
||||
{ label: initDashboardLable('OutgoingToExternalReadTime'), prop: "readTime",type:'dateTime' }, |
|
||||
{ label: initDashboardLable('OutgoingToExternalReader'), prop: "reader" }, |
// IncomingDataHistory
|
||||
{ label: initDashboardLable('OutgoingToExternalErrorCode'), prop: "errorCode" }, |
export const IncomingDataHistory = [ |
||||
{ label: initDashboardLable('OutgoingToExternalErrorMessage'), prop: "errorMessage", type:"showDetail" }, |
{ label: initFromApiColumnsLable('IncomingDataHistoryCompany'), prop: "company" }, |
||||
{ label: initDashboardLable('OutgoingToExternalRetryTimes'), prop: "retryTimes" }, |
{ label: initFromApiColumnsLable('IncomingDataHistoryDataContent'), prop: "dataContent", type:"showJsonTable" }, |
||||
// ************** 暂时隐藏 ************************
|
{ label: initFromApiColumnsLable('IncomingDataHistoryDataType'), prop: "dataType" }, |
||||
// { label: _Public.creationTime, prop: "creationTime",type:'dateTime' },
|
{ label: initFromApiColumnsLable('IncomingDataHistoryDestinationSystem'), prop: "destinationSystem" }, |
||||
// { label: _Public.creatorId, prop: "creatorId" },
|
{ label: initFromApiColumnsLable('IncomingDataHistoryEffectiveDate'), prop: "effectiveDate",type:'dateTime' }, |
||||
// { label: _Public.lastModificationTime", prop: "lastModificationTime",type:'dateTime' },
|
{ label: initFromApiColumnsLable('IncomingDataHistoryErrorCode'), prop: "errorCode" }, |
||||
// { label: _Public.lastModifierId, prop: "lastModifierId" },
|
{ label: initFromApiColumnsLable('IncomingDataHistoryErrorMessage'), prop: "errorMessage", type:"showDetail" }, |
||||
// { label: _Public.ID, prop: "ID" },
|
{ 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 = [ |
export const TestSchool = [ |
||||
{ label: initDashboardLable('TestSchoolSchoolName'), prop: "schoolName", fixed: "left", type: "name" }, |
{ label: initFromApiColumnsLable('TestSchoolSchoolName'), prop: "schoolName", fixed: "left", type: "name" }, |
||||
{ label: initDashboardLable('TestStudentDetailOrderType'), prop: "orderType" }, |
{ label: initFromApiColumnsLable('TestStudentDetailOrderType'), prop: "orderType" }, |
||||
] |
] |
||||
|
|
||||
|
|
||||
|
// 字段说明
|
||||
|
// showProp: true //隐藏该字段的高级筛选+列表排序
|
||||
|
// sortable: false //隐藏该字段的列表排序
|
||||
|
// type:showDetail //此类型点击弹窗所有信息,适用于接口监控看板等文本过长使用
|
||||
|
// type:showJsonTable //此类型点击弹窗可以以表格的形式看解析的json,适用于接口监控看板中json数据等
|
File diff suppressed because it is too large
@ -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") |
import { initFromApiColumnsLable } from '@/utils/index' |
||||
if(_Dashboard && _Dashboard != 'undefined' && _Dashboard != 'null') { |
|
||||
_Dashboard = JSON.parse(localStorage.getItem("interfaceBoardColumnsNames")) |
// ExportCustomUserSetting
|
||||
} |
export const ExportCustomUserSetting = [ |
||||
// 用于如果没有表头数据时候报错问题处理
|
{ label: initFromApiColumnsLable('ExportCustomUserSettingCustomUserSetting'), prop: "customUserSetting", type:'name' }, |
||||
const initDashboardLable = (data) => { |
{ label: initFromApiColumnsLable('ExportCustomUserSettingExportColumnName'), prop: "exportColumnName" }, |
||||
return _Dashboard ? _Dashboard[data] : null |
{ label: initFromApiColumnsLable('ExportCustomUserSettingExportTableName'), prop: "exportTableName" }, |
||||
} |
{ label: initFromApiColumnsLable('ExportCustomUserSettingExportUserId'), prop: "exportUserId" }, |
||||
|
{ label: initFromApiColumnsLable('ExportCustomUserSettingExportUserName'), prop: "exportUserName",type:'dateTime' }, |
||||
|
] |
||||
|
|
||||
// 测试数据
|
// 测试数据
|
||||
export const TestSchool = [ |
export const TestSchool = [ |
||||
{ label: initDashboardLable('TestSchoolSchoolName'), prop: "schoolName", fixed: "left", type: "name" }, |
{ label: initFromApiColumnsLable('TestSchoolSchoolName'), prop: "schoolName", fixed: "left", type: "name" }, |
||||
{ label: initDashboardLable('TestStudentDetailOrderType'), prop: "orderType" }, |
{ label: initFromApiColumnsLable('TestStudentDetailOrderType'), prop: "orderType" }, |
||||
] |
] |
@ -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> |
@ -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> |
@ -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> |
@ -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> |
@ -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…
Reference in new issue