diff --git a/src/components/SearchTable/src/SearchTable.vue b/src/components/SearchTable/src/SearchTable.vue index 32fcc17..eeee0b9 100644 --- a/src/components/SearchTable/src/SearchTable.vue +++ b/src/components/SearchTable/src/SearchTable.vue @@ -164,8 +164,8 @@ const submitForm = async () => { } } -const onMountedCallBack = ($event,a,b)=>{ - +const onMountedCallBack = (parent,tableRef)=>{ + debugger } diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts index 7de6a05..9fac569 100644 --- a/src/locales/zh-CN.ts +++ b/src/locales/zh-CN.ts @@ -309,7 +309,22 @@ export default { typeCreate: '字典类型新增', typeUpdate: '字典类型编辑', dataCreate: '字典数据新增', - dataUpdate: '字典数据编辑' + dataUpdate: '字典数据编辑', + turnOrder: '转办', + repair: '维修', + verifyOrder: '验证', + mainInspectionOrder: '检修', + finishOrder: '完成', + upload: '上传', + download: '下载', + view: '预览', + picture: '照片', + qrCodeBatch: '批量标签', + disAgree: '驳回', + selectItem: '选择备件', + qrCode: '二维码', + + }, dialog: { dialog: '弹窗', diff --git a/src/views/eam/device/deviceAccounts/deviceAccounts.data.ts b/src/views/eam/device/deviceAccounts/deviceAccounts.data.ts index 1ae7349..61623d5 100644 --- a/src/views/eam/device/deviceAccounts/deviceAccounts.data.ts +++ b/src/views/eam/device/deviceAccounts/deviceAccounts.data.ts @@ -46,13 +46,14 @@ export const DeviceAccountsRules = reactive({ export const DeviceAccounts = useCrudSchemas(reactive([ { - label: '编号唯一标识', + label: '设备台账编号', field: 'number', sort: 'custom', isSearch: true, isForm: false, table: { width: '150', + fixed: 'left', }, }, { diff --git a/src/views/eam/device/deviceAccounts/index.vue b/src/views/eam/device/deviceAccounts/index.vue index 5245cb3..5ea509c 100644 --- a/src/views/eam/device/deviceAccounts/index.vue +++ b/src/views/eam/device/deviceAccounts/index.vue @@ -54,7 +54,7 @@ :isBusiness="false" /> - + { window.open(src.value + "&number=" + qrCodeList) } + + diff --git a/src/views/eam/device/deviceMaintainPlan/deviceMaintainPlan.data.ts b/src/views/eam/device/deviceMaintainPlan/deviceMaintainPlan.data.ts index 0298634..0d0f75c 100644 --- a/src/views/eam/device/deviceMaintainPlan/deviceMaintainPlan.data.ts +++ b/src/views/eam/device/deviceMaintainPlan/deviceMaintainPlan.data.ts @@ -15,6 +15,10 @@ export const DeviceMaintainPlan = useCrudSchemas(reactive([ field: 'number', sort: 'custom', isSearch: true, + table: { + width: '150', + fixed: 'left', + }, }, { label: '名称', diff --git a/src/views/eam/device/deviceRepair/deviceRepair.data.ts b/src/views/eam/device/deviceRepair/deviceRepair.data.ts index c47a210..9d9c888 100644 --- a/src/views/eam/device/deviceRepair/deviceRepair.data.ts +++ b/src/views/eam/device/deviceRepair/deviceRepair.data.ts @@ -27,23 +27,13 @@ export const DeviceRepairRules = reactive({ }) export const DeviceRepair = useCrudSchemas(reactive([ - { - label: 'id', - field: 'id', - sort: 'custom', - table: { - width: '150', - }, - isSearch: false, - isForm: false, - isTable: false - }, { label: '报修工单编号', field: 'number', sort: 'custom', table: { width: '150', + fixed: 'left', }, isSearch: false, isForm: false diff --git a/src/views/eam/device/deviceSpotInspectionRecordMain/deviceSpotInspectionRecordMain.data.ts b/src/views/eam/device/deviceSpotInspectionRecordMain/deviceSpotInspectionRecordMain.data.ts index 0066580..82ac588 100644 --- a/src/views/eam/device/deviceSpotInspectionRecordMain/deviceSpotInspectionRecordMain.data.ts +++ b/src/views/eam/device/deviceSpotInspectionRecordMain/deviceSpotInspectionRecordMain.data.ts @@ -32,6 +32,7 @@ export const DeviceSpotInspectionRecordMain = useCrudSchemas(reactive([ sort: 'custom', table: { width: '150', + fixed: 'left', }, isSearch: true, isForm: false, @@ -330,7 +331,7 @@ export const DeviceInspectionDetail = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: '150', + width: '150' }, isSearch: false, isForm: false, diff --git a/src/views/eam/device/devicemaintainjob/deviceMaintainOrderMain.data.ts b/src/views/eam/device/devicemaintainjob/deviceMaintainOrderMain.data.ts index b40f23f..232a55c 100644 --- a/src/views/eam/device/devicemaintainjob/deviceMaintainOrderMain.data.ts +++ b/src/views/eam/device/devicemaintainjob/deviceMaintainOrderMain.data.ts @@ -27,6 +27,7 @@ export const DeviceMaintainOrderMain = useCrudSchemas(reactive([ isSearch: false, table: { width: '150', + fixed: 'left', }, }, { diff --git a/src/views/eam/device/devicemaintenancejob/deviceMaintenanceMain.data.ts b/src/views/eam/device/devicemaintenancejob/deviceMaintenanceMain.data.ts index a9d7570..251a79e 100644 --- a/src/views/eam/device/devicemaintenancejob/deviceMaintenanceMain.data.ts +++ b/src/views/eam/device/devicemaintenancejob/deviceMaintenanceMain.data.ts @@ -38,6 +38,7 @@ export const DeviceMaintenanceMain = useCrudSchemas(reactive([ sort: 'custom', table: { width: '150', + fixed: 'left', }, isSearch: false, isForm: false, diff --git a/src/views/eam/mold/moldAccounts/moldAccounts.data.ts b/src/views/eam/mold/moldAccounts/moldAccounts.data.ts index 925ba2f..3d1bbb1 100644 --- a/src/views/eam/mold/moldAccounts/moldAccounts.data.ts +++ b/src/views/eam/mold/moldAccounts/moldAccounts.data.ts @@ -38,6 +38,10 @@ export const MoldAccounts = useCrudSchemas(reactive([ sort: 'custom', isSearch: true, isForm: true, + table: { + width: '150', + fixed: 'left', + }, }, { label: '名称', diff --git a/src/views/eam/mold/moldMaintainPlan/moldMaintainPlan.data.ts b/src/views/eam/mold/moldMaintainPlan/moldMaintainPlan.data.ts index 5def7f7..10b2c50 100644 --- a/src/views/eam/mold/moldMaintainPlan/moldMaintainPlan.data.ts +++ b/src/views/eam/mold/moldMaintainPlan/moldMaintainPlan.data.ts @@ -12,10 +12,14 @@ export const MoldMaintainPlanRules = reactive({ export const MoldMaintainPlan = useCrudSchemas(reactive([ { - label: '编号唯一标识', + label: '保养计划编号', field: 'number', sort: 'custom', isSearch: true, + table: { + width: '150', + fixed: 'left', + }, }, { label: '名称', diff --git a/src/views/eam/mold/moldRepair/moldRepair.data.ts b/src/views/eam/mold/moldRepair/moldRepair.data.ts index 26b1f28..251a797 100644 --- a/src/views/eam/mold/moldRepair/moldRepair.data.ts +++ b/src/views/eam/mold/moldRepair/moldRepair.data.ts @@ -25,23 +25,13 @@ export const MoldRepairRules = reactive({ }) export const MoldRepair = useCrudSchemas(reactive([ - { - label: 'id', - field: 'id', - sort: 'custom', - table: { - width: '150', - }, - isSearch: false, - isForm: false, - isTable: false - }, { label: '报修工单编号', field: 'number', sort: 'custom', table: { width: '150', + fixed: 'left', }, isSearch: true, isForm: false diff --git a/src/views/eam/mold/moldinspectionjob/moldInspectionMain.data.ts b/src/views/eam/mold/moldinspectionjob/moldInspectionMain.data.ts index 05521c5..bfcd80d 100644 --- a/src/views/eam/mold/moldinspectionjob/moldInspectionMain.data.ts +++ b/src/views/eam/mold/moldinspectionjob/moldInspectionMain.data.ts @@ -44,6 +44,7 @@ export const MoldInspectionMain = useCrudSchemas(reactive([ sort: 'custom', table: { width: '150', + fixed: 'left', }, isSearch: false, isForm: false, diff --git a/src/views/eam/mold/moldmaintainjob/moldMaintainOrderMain.data.ts b/src/views/eam/mold/moldmaintainjob/moldMaintainOrderMain.data.ts index 657b50f..2559f95 100644 --- a/src/views/eam/mold/moldmaintainjob/moldMaintainOrderMain.data.ts +++ b/src/views/eam/mold/moldmaintainjob/moldMaintainOrderMain.data.ts @@ -28,6 +28,7 @@ export const MoldMaintainOrderMain = useCrudSchemas(reactive([ isSearch: false, table: { width: '150', + fixed: 'left', }, }, { diff --git a/src/views/eam/mold/moldmaintenancejob/moldMaintenanceMain.data.ts b/src/views/eam/mold/moldmaintenancejob/moldMaintenanceMain.data.ts index 9c609cf..8cb7d25 100644 --- a/src/views/eam/mold/moldmaintenancejob/moldMaintenanceMain.data.ts +++ b/src/views/eam/mold/moldmaintenancejob/moldMaintenanceMain.data.ts @@ -35,6 +35,7 @@ export const MoldMaintenanceMain = useCrudSchemas(reactive([ sort: 'custom', table: { width: '150', + fixed: 'left', }, isSearch: false, isForm: false,