Browse Source

修复设置按钮导致多列问题

master
ljlong_2630 8 months ago
parent
commit
3efbdcb722
  1. 4
      src/components/SearchTable/src/SearchTable.vue
  2. 17
      src/locales/zh-CN.ts
  3. 3
      src/views/eam/device/deviceAccounts/deviceAccounts.data.ts
  4. 4
      src/views/eam/device/deviceAccounts/index.vue
  5. 4
      src/views/eam/device/deviceMaintainPlan/deviceMaintainPlan.data.ts
  6. 12
      src/views/eam/device/deviceRepair/deviceRepair.data.ts
  7. 1
      src/views/eam/device/deviceSpotInspectionRecordMain/deviceSpotInspectionRecordMain.data.ts
  8. 3
      src/views/eam/device/deviceinspectionjob/deviceInspectionMain.data.ts
  9. 1
      src/views/eam/device/devicemaintainjob/deviceMaintainOrderMain.data.ts
  10. 1
      src/views/eam/device/devicemaintenancejob/deviceMaintenanceMain.data.ts
  11. 4
      src/views/eam/mold/moldAccounts/moldAccounts.data.ts
  12. 6
      src/views/eam/mold/moldMaintainPlan/moldMaintainPlan.data.ts
  13. 12
      src/views/eam/mold/moldRepair/moldRepair.data.ts
  14. 1
      src/views/eam/mold/moldinspectionjob/moldInspectionMain.data.ts
  15. 1
      src/views/eam/mold/moldmaintainjob/moldMaintainOrderMain.data.ts
  16. 1
      src/views/eam/mold/moldmaintenancejob/moldMaintenanceMain.data.ts

4
src/components/SearchTable/src/SearchTable.vue

@ -164,8 +164,8 @@ const submitForm = async () => {
}
}
const onMountedCallBack = ($event,a,b)=>{
const onMountedCallBack = (parent,tableRef)=>{
debugger
}
</script>

17
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: '弹窗',

3
src/views/eam/device/deviceAccounts/deviceAccounts.data.ts

@ -46,13 +46,14 @@ export const DeviceAccountsRules = reactive({
export const DeviceAccounts = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '编号唯一标识',
label: '设备台账编号',
field: 'number',
sort: 'custom',
isSearch: true,
isForm: false,
table: {
width: '150',
fixed: 'left',
},
},
{

4
src/views/eam/device/deviceAccounts/index.vue

@ -54,7 +54,7 @@
:isBusiness="false"
/>
<SearchTable ref="searchTableRef" @searchTableSuccess="submitItem" />
<SearchTable ref="searchTableRef" @onMountedCallBack="onMountedCallBack" @searchTableSuccess="submitItem" />
<!-- 详情 -->
<DetailDeviceLedger
@ -467,4 +467,6 @@ const qrCodeBatch = async (val,item) => {
window.open(src.value + "&number=" + qrCodeList)
}
</script>

4
src/views/eam/device/deviceMaintainPlan/deviceMaintainPlan.data.ts

@ -15,6 +15,10 @@ export const DeviceMaintainPlan = useCrudSchemas(reactive<CrudSchema[]>([
field: 'number',
sort: 'custom',
isSearch: true,
table: {
width: '150',
fixed: 'left',
},
},
{
label: '名称',

12
src/views/eam/device/deviceRepair/deviceRepair.data.ts

@ -27,23 +27,13 @@ export const DeviceRepairRules = reactive({
})
export const DeviceRepair = useCrudSchemas(reactive<CrudSchema[]>([
{
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

1
src/views/eam/device/deviceSpotInspectionRecordMain/deviceSpotInspectionRecordMain.data.ts

@ -32,6 +32,7 @@ export const DeviceSpotInspectionRecordMain = useCrudSchemas(reactive<CrudSchema
isSearch: true,
table: {
width: '150',
fixed: 'left',
},
isForm: false,
},

3
src/views/eam/device/deviceinspectionjob/deviceInspectionMain.data.ts

@ -47,6 +47,7 @@ export const DeviceInspectionMain = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
table: {
width: '150',
fixed: 'left',
},
isSearch: true,
isForm: false,
@ -330,7 +331,7 @@ export const DeviceInspectionDetail = useCrudSchemas(reactive<CrudSchema[]>([
field: 'number',
sort: 'custom',
table: {
width: '150',
width: '150'
},
isSearch: false,
isForm: false,

1
src/views/eam/device/devicemaintainjob/deviceMaintainOrderMain.data.ts

@ -27,6 +27,7 @@ export const DeviceMaintainOrderMain = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: false,
table: {
width: '150',
fixed: 'left',
},
},
{

1
src/views/eam/device/devicemaintenancejob/deviceMaintenanceMain.data.ts

@ -38,6 +38,7 @@ export const DeviceMaintenanceMain = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
table: {
width: '150',
fixed: 'left',
},
isSearch: false,
isForm: false,

4
src/views/eam/mold/moldAccounts/moldAccounts.data.ts

@ -38,6 +38,10 @@ export const MoldAccounts = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isSearch: true,
isForm: true,
table: {
width: '150',
fixed: 'left',
},
},
{
label: '名称',

6
src/views/eam/mold/moldMaintainPlan/moldMaintainPlan.data.ts

@ -12,10 +12,14 @@ export const MoldMaintainPlanRules = reactive({
export const MoldMaintainPlan = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '编号唯一标识',
label: '保养计划编号',
field: 'number',
sort: 'custom',
isSearch: true,
table: {
width: '150',
fixed: 'left',
},
},
{
label: '名称',

12
src/views/eam/mold/moldRepair/moldRepair.data.ts

@ -25,23 +25,13 @@ export const MoldRepairRules = reactive({
})
export const MoldRepair = useCrudSchemas(reactive<CrudSchema[]>([
{
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

1
src/views/eam/mold/moldinspectionjob/moldInspectionMain.data.ts

@ -44,6 +44,7 @@ export const MoldInspectionMain = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
table: {
width: '150',
fixed: 'left',
},
isSearch: false,
isForm: false,

1
src/views/eam/mold/moldmaintainjob/moldMaintainOrderMain.data.ts

@ -28,6 +28,7 @@ export const MoldMaintainOrderMain = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: false,
table: {
width: '150',
fixed: 'left',
},
},
{

1
src/views/eam/mold/moldmaintenancejob/moldMaintenanceMain.data.ts

@ -35,6 +35,7 @@ export const MoldMaintenanceMain = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
table: {
width: '150',
fixed: 'left',
},
isSearch: false,
isForm: false,

Loading…
Cancel
Save