Browse Source

Merge branch 'master_hella' into hella_zhaoxuebing

hella_zhaoxuebing
赵雪冰 1 month ago
parent
commit
069dbe1b4c
  1. 11
      src/views/qms/inspectionRecord/index.vue
  2. 1
      src/views/system/user/index.vue

11
src/views/qms/inspectionRecord/index.vue

@ -258,10 +258,7 @@ const butttondata = (row) => {
hide: isShowMainButton(row, 'publish'),
hasPermi: 'qms:inspection-recode-main:pub'
}), //
defaultButtons.mainListCloseBtn({
hide: isShowMainButton(row, 'publish'),
hasPermi: 'qms:inspection-recode-main:close'
}), //
defaultButtons.mainListPackageBtn({ hide: isShowPackageBtn(row, ['11']) }), //
// defaultButtons.mainListJobExeBtn({
// hide:row.useDecision,
@ -269,7 +266,11 @@ const butttondata = (row) => {
// }), //
defaultButtons.mainListEditBtn({ hide: isShowEditBtn(row, ['11']) }), //
defaultButtons.mainListPlanCheckQualityReportBtn({}), //
defaultButtons.mainListSupplierResumeBtn({}) //
defaultButtons.mainListSupplierResumeBtn({}), //
defaultButtons.mainListCloseBtn({
hide: isShowMainButton(row, 'publish'),
hasPermi: 'qms:inspection-recode-main:close'
}), //
]
}

1
src/views/system/user/index.vue

@ -275,6 +275,7 @@ const handleDelete = async (id: number) => {
const handleFree = async (row: any) => {
try {
//
console.log(row.frozenStatus)
if(row.frozenStatus=="是"){
await UserApi.unLockUser(row.id)
message.success(t('common.unLockSuccess'))

Loading…
Cancel
Save