Browse Source

BUG修改

hella_online_20240829
parent
commit
8a7a9615b4
  1. 5
      src/views/qms/aql/index.vue
  2. 2
      src/views/qms/counter/index.vue
  3. 1
      src/views/qms/dynamicRule/index.vue
  4. 1
      src/views/qms/inspectionMethod/index.vue
  5. 1
      src/views/qms/inspectionScheme/index.vue
  6. 2
      src/views/qms/inspectionScheme/inspectionScheme.data.ts
  7. 1
      src/views/qms/inspectionTemplate/index.vue
  8. 2
      src/views/qms/inspectionTemplate/inspectionTemplate.data.ts
  9. 1
      src/views/qms/sampleCode/index.vue
  10. 1
      src/views/qms/samplingProcess/index.vue
  11. 3
      src/views/qms/samplingScheme/index.vue
  12. 1
      src/views/qms/selectedSet/index.vue

5
src/views/qms/aql/index.vue

@ -145,6 +145,7 @@ const butttondata = (row) => {
defaultButtons.mainListEditBtn({hasPermi: 'qms:aql:update'}),
defaultButtons.mainListEnableBtn({hide:isShowMainButton(row,['FALSE']),hasPermi:'qms:aql:enable'}),
defaultButtons.mainListDisableBtn({ hide: isShowMainButton(row, ['TRUE']), hasPermi: 'qms:aql:disable' }),
defaultButtons.mainListDeleteBtn({hasPermi:'qms:aql:delete'}), //
]
}
// -
@ -155,7 +156,9 @@ const buttonTableClick = async (val, row) => {
handleEnable(row.id)
}else if (val == 'disable') {
handleDisable(row.id)
}
}else if (val == 'delete') { //
    handleDelete(row.id)
  }
}
/** 添加/修改操作 */

2
src/views/qms/counter/index.vue

@ -135,7 +135,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = [
defaultButtons.mainListEditBtn({hasPermi:'qms:counter:update'}), //
// defaultButtons.mainListDeleteBtn({hasPermi:'qms:counter:delete'}), //
defaultButtons.mainListDeleteBtn({hasPermi:'qms:counter:delete'}), //
]
// -

1
src/views/qms/dynamicRule/index.vue

@ -186,6 +186,7 @@ const butttondata = (row) => {
defaultButtons.mainListEditBtn({hasPermi: 'qms:dynamic-rule:update'}),
defaultButtons.mainListEnableBtn({hide:isShowMainButton(row,['FALSE']),hasPermi:'qms:dynamic-rule:enable'}),
defaultButtons.mainListDisableBtn({ hide: isShowMainButton(row, ['TRUE']), hasPermi: 'qms:dynamic-rule:disable' }),
defaultButtons.mainListDeleteBtn({hasPermi:'qms:dynamic-rule:delete'}), //
]
}

1
src/views/qms/inspectionMethod/index.vue

@ -158,6 +158,7 @@ const butttondata = (row) => {
defaultButtons.mainListEditBtn({hasPermi: 'qms:inspection-method:update'}),
defaultButtons.mainListEnableBtn({hide:isShowMainButton(row,['FALSE']),hasPermi:'qms:inspection-method:enable'}),
defaultButtons.mainListDisableBtn({ hide: isShowMainButton(row, ['TRUE']), hasPermi: 'qms:inspection-method:disable' }),
defaultButtons.mainListDeleteBtn({hasPermi:'qms:inspection-method:delete'}), //
]
}

1
src/views/qms/inspectionScheme/index.vue

@ -140,6 +140,7 @@ const butttondata = (row) => {
defaultButtons.mainListEnableBtn({hide:isShowMainButton(row,['FALSE']),hasPermi:'qms:inspection-scheme:enable'}),
defaultButtons.mainListDisableBtn({hide:isShowMainButton(row,['TRUE']),hasPermi:'qms:inspection-scheme:disable'}),
defaultButtons.mainCopyBtn({ hasPermi: 'qms:programme-template:copy' }),
defaultButtons.mainListDeleteBtn({hasPermi:'qms:inspection-scheme:delete'}), //
]
}

2
src/views/qms/inspectionScheme/inspectionScheme.data.ts

@ -272,7 +272,7 @@ export const InspectionSchemeMain = useCrudSchemas(
isForm: false,
isDetail: false,
table: {
width: 150,
width: 180,
fixed: 'right'
}
}

1
src/views/qms/inspectionTemplate/index.vue

@ -147,6 +147,7 @@ const butttondata = (row) => {
defaultButtons.mainListEnableBtn({hide:isShowMainButton(row,['FALSE']),hasPermi:'qms:programme-template:enable'}),
defaultButtons.mainListDisableBtn({hide:isShowMainButton(row,['TRUE']),hasPermi:'qms:programme-template:disable'}),
defaultButtons.mainCopyBtn({ hasPermi: 'qms:programme-template:copy' }),
defaultButtons.mainListDeleteBtn({hasPermi:'qms:programme-template:delete'}), //
]
}

2
src/views/qms/inspectionTemplate/inspectionTemplate.data.ts

@ -147,7 +147,7 @@ export const InspectionTemplateMain = useCrudSchemas(
isForm: false,
isDetail: false,
table: {
width: 150,
width: 180,
fixed: 'right'
}
}

1
src/views/qms/sampleCode/index.vue

@ -151,6 +151,7 @@ const butttondata = (row) => {
defaultButtons.mainListEditBtn({hasPermi: 'qms:sample-code:update'}),
defaultButtons.mainListEnableBtn({hide:isShowMainButton(row,['FALSE']),hasPermi:'qms:sample-code:enable'}),
defaultButtons.mainListDisableBtn({ hide: isShowMainButton(row, ['TRUE']), hasPermi: 'qms:sample-code:disable' }),
defaultButtons.mainListDeleteBtn({hasPermi:'qms:sample-code:delete'}), //
]
}

1
src/views/qms/samplingProcess/index.vue

@ -154,6 +154,7 @@ const butttondata = (row) => {
defaultButtons.mainListEditBtn({hasPermi: 'qms:sampling-process:update'}),
defaultButtons.mainListEnableBtn({hide:isShowMainButton(row,['FALSE']),hasPermi:'qms:sampling-process:enable'}),
defaultButtons.mainListDisableBtn({ hide: isShowMainButton(row, ['TRUE']), hasPermi: 'qms:sampling-process:disable' }),
defaultButtons.mainListDeleteBtn({hasPermi:'qms:sampling-process:delete'}), //
]
}

3
src/views/qms/samplingScheme/index.vue

@ -144,6 +144,7 @@ const butttondata = (row) => {
defaultButtons.mainListEditBtn({hasPermi: 'qms:sampling-scheme:update'}),
defaultButtons.mainListEnableBtn({hide:isShowMainButton(row,['FALSE']),hasPermi:'qms:sampling-scheme:enable'}),
defaultButtons.mainListDisableBtn({ hide: isShowMainButton(row, ['TRUE']), hasPermi: 'qms:sampling-scheme:disable' }),
defaultButtons.mainListDeleteBtn({hasPermi:'qms:sampling-scheme:delete'}), //
]
}
@ -155,6 +156,8 @@ const buttonTableClick = async (val, row) => {
handleEnable(row.id)
}else if (val == 'disable') {
handleDisable(row.id)
} else if (val == 'delete') { //
handleDelete(row.id)
}
}

1
src/views/qms/selectedSet/index.vue

@ -190,6 +190,7 @@ const butttondata = (row) => {
defaultButtons.mainListEditBtn({hasPermi: 'qms:selected-set:update'}),
defaultButtons.mainListEnableBtn({hide:isShowMainButton(row,['FALSE']),hasPermi:'qms:selected-set:enable'}),
defaultButtons.mainListDisableBtn({ hide: isShowMainButton(row, ['TRUE']), hasPermi: 'qms:selected-set:disable' }),
defaultButtons.mainListDeleteBtn({hasPermi:'qms:selected-set:delete'}), //
]
}

Loading…
Cancel
Save