From 28ef4c422333899fe0a2eaedd96d8cb2aabe856d Mon Sep 17 00:00:00 2001 From: liuchen864 <23082234@qq.com> Date: Sat, 25 May 2024 17:06:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9qms=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E6=9D=83=E9=99=90=E7=BC=96=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/qms/inspectionMethod/index.vue | 12 ++++++------ src/views/qms/sampleCode/index.vue | 12 ++++++------ src/views/qms/samplingProcess/index.vue | 12 ++++++------ src/views/qms/samplingScheme/index.vue | 12 ++++++------ 4 files changed, 24 insertions(+), 24 deletions(-) diff --git a/src/views/qms/inspectionMethod/index.vue b/src/views/qms/inspectionMethod/index.vue index 08024617f..72ee843f2 100644 --- a/src/views/qms/inspectionMethod/index.vue +++ b/src/views/qms/inspectionMethod/index.vue @@ -105,9 +105,9 @@ const { getList, setSearchParams } = tableMethods // 列表头部按钮 const HeadButttondata = [ - defaultButtons.defaultAddBtn({hasPermi:'qms:inspectionMethod:create'}), // 新增 - defaultButtons.defaultImportBtn({hasPermi:'qms:inspectionMethod:import'}), // 导入 - defaultButtons.defaultExportBtn({hasPermi:'qms:inspectionMethod:export'}), // 导出 + defaultButtons.defaultAddBtn({hasPermi:'qms:inspection-method:create'}), // 新增 + defaultButtons.defaultImportBtn({hasPermi:'qms:inspection-method:import'}), // 导入 + defaultButtons.defaultExportBtn({hasPermi:'qms:inspection-method:export'}), // 导出 defaultButtons.defaultFreshBtn(null), // 刷新 defaultButtons.defaultFilterBtn(null), // 筛选 defaultButtons.defaultSetBtn(null), // 设置 @@ -147,9 +147,9 @@ const isShowMainButton = (row,val) => { const butttondata = (row) => { return [ - defaultButtons.mainListEditBtn({hasPermi: 'qms:inspectionMethod:update'}), - defaultButtons.mainListEnableBtn({hide:isShowMainButton(row,['FALSE']),hasPermi:'qms:inspectionMethod:enable'}), - defaultButtons.mainListDisableBtn({hide:isShowMainButton(row,['TRUE']),hasPermi:'qms:inspectionMethod:disable'}), + 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'}), ] } diff --git a/src/views/qms/sampleCode/index.vue b/src/views/qms/sampleCode/index.vue index 8e9696b80..119f8551a 100644 --- a/src/views/qms/sampleCode/index.vue +++ b/src/views/qms/sampleCode/index.vue @@ -100,9 +100,9 @@ const { getList, setSearchParams } = tableMethods // 列表头部按钮 const HeadButttondata = [ - defaultButtons.defaultAddBtn({hasPermi:'qms:sampleCode:create'}), // 新增 - defaultButtons.defaultImportBtn({hasPermi:'qms:sampleCode:import'}), // 导入 - defaultButtons.defaultExportBtn({hasPermi:'qms:sampleCode:export'}), // 导出 + defaultButtons.defaultAddBtn({hasPermi:'qms:sample-code:create'}), // 新增 + defaultButtons.defaultImportBtn({hasPermi:'qms:sample-code:import'}), // 导入 + defaultButtons.defaultExportBtn({hasPermi:'qms:sample-code:export'}), // 导出 defaultButtons.defaultFreshBtn(null), // 刷新 defaultButtons.defaultFilterBtn(null), // 筛选 defaultButtons.defaultSetBtn(null), // 设置 @@ -148,9 +148,9 @@ const isShowMainButton = (row,val) => { const butttondata = (row) => { return [ - defaultButtons.mainListEditBtn({hasPermi: 'qms:sampleCode:update'}), - defaultButtons.mainListEnableBtn({hide:isShowMainButton(row,['FALSE']),hasPermi:'qms:sampleCode:enable'}), - defaultButtons.mainListDisableBtn({hide:isShowMainButton(row,['TRUE']),hasPermi:'qms:sampleCode:disable'}), + 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'}), ] } diff --git a/src/views/qms/samplingProcess/index.vue b/src/views/qms/samplingProcess/index.vue index 5d1dcbeb6..53b7a0b2e 100644 --- a/src/views/qms/samplingProcess/index.vue +++ b/src/views/qms/samplingProcess/index.vue @@ -101,9 +101,9 @@ const { getList, setSearchParams } = tableMethods // 列表头部按钮 const HeadButttondata = [ - defaultButtons.defaultAddBtn({hasPermi:'qms:samplingProcess:create'}), // 新增 - defaultButtons.defaultImportBtn({hasPermi:'qms:samplingProcess:import'}), // 导入 - defaultButtons.defaultExportBtn({hasPermi:'qms:samplingProcess:export'}), // 导出 + defaultButtons.defaultAddBtn({hasPermi:'qms:sampling-process:create'}), // 新增 + defaultButtons.defaultImportBtn({hasPermi:'qms:sampling-process:import'}), // 导入 + defaultButtons.defaultExportBtn({hasPermi:'qms:sampling-process:export'}), // 导出 defaultButtons.defaultFreshBtn(null), // 刷新 defaultButtons.defaultFilterBtn(null), // 筛选 defaultButtons.defaultSetBtn(null), // 设置 @@ -143,9 +143,9 @@ const isShowMainButton = (row,val) => { const butttondata = (row) => { return [ - defaultButtons.mainListEditBtn({hasPermi: 'qms:samplingProcess:update'}), - defaultButtons.mainListEnableBtn({hide:isShowMainButton(row,['FALSE']),hasPermi:'qms:samplingProcess:enable'}), - defaultButtons.mainListDisableBtn({hide:isShowMainButton(row,['TRUE']),hasPermi:'qms:samplingProcess:disable'}), + 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'}), ] } diff --git a/src/views/qms/samplingScheme/index.vue b/src/views/qms/samplingScheme/index.vue index 741e48b1a..21cc5649a 100644 --- a/src/views/qms/samplingScheme/index.vue +++ b/src/views/qms/samplingScheme/index.vue @@ -99,9 +99,9 @@ const { getList, setSearchParams } = tableMethods // 列表头部按钮 const HeadButttondata = [ - defaultButtons.defaultAddBtn({hasPermi:'qms:samplingScheme:create'}), // 新增 - defaultButtons.defaultImportBtn({hasPermi:'qms:samplingScheme:import'}), // 导入 - defaultButtons.defaultExportBtn({hasPermi:'qms:samplingScheme:export'}), // 导出 + defaultButtons.defaultAddBtn({hasPermi:'qms:sampling-scheme:create'}), // 新增 + defaultButtons.defaultImportBtn({hasPermi:'qms:sampling-scheme:import'}), // 导入 + defaultButtons.defaultExportBtn({hasPermi:'qms:sampling-scheme:export'}), // 导出 defaultButtons.defaultFreshBtn(null), // 刷新 defaultButtons.defaultFilterBtn(null), // 筛选 defaultButtons.defaultSetBtn(null), // 设置 @@ -141,9 +141,9 @@ const isShowMainButton = (row,val) => { const butttondata = (row) => { return [ - defaultButtons.mainListEditBtn({hasPermi: 'qms:samplingScheme:update'}), - defaultButtons.mainListEnableBtn({hide:isShowMainButton(row,['FALSE']),hasPermi:'qms:samplingScheme:enable'}), - defaultButtons.mainListDisableBtn({hide:isShowMainButton(row,['TRUE']),hasPermi:'qms:samplingScheme:disable'}), + 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'}), ] }