From f3c73a86f00061125e1946125c2f7499064a5708 Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: 星期二, 21 十月 2025 14:51:05 +0800
Subject: [PATCH] 修改新增
---
src/views/work/marketingManagement/contractManagement/contractChange/index.vue | 5
src/views/build/conpanyFunctionConsult/staffManage/staffdescribe/index.vue | 5
src/views/work/onlineEducation/courseManage/courseResource/index.vue | 5
src/views/work/qualityInfo/infrastructureMng/maintainPlan/index.vue | 5
src/views/build/conpanyFunctionConsult/companyInfo/overview/index.vue | 13 -
src/views/work/procurementPlatform/incomingInspection/inspectionStandards/index.vue | 5
src/views/build/conpanyFunctionConsult/need/needIdentify/index.vue | 5
src/views/build/conpanyFunctionConsult/digitalFileDep/manageType/workInstruct/index.vue | 5
src/views/build/conpanyFunctionConsult/digitalFileDep/manageType/appFile/index.vue | 5
src/views/system/industryManage/index.vue | 5
src/views/work/assetMng/toolsMonitorMeasure/equipCalibrateConfirm/index.vue | 5
src/views/work/marketingManagement/customerList/communicate/index.vue | 5
src/views/work/selfProblems/internalAudit/innerReviewSheet/index.vue | 5
src/views/work/qualityManage/performanceAppraisal/index.vue | 7
src/views/work/marketingManagement/customerList/need/index.vue | 5
src/views/work/financialMng/qualityFinancialAnalysis/index.vue | 7
src/views/work/procurementPlatform/incomingInspection/inspectionRecords/index.vue | 5
src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectReview/index.vue | 5
src/views/work/documentManage/docDistributeRetrieve/index.vue | 5
src/views/build/conpanyFunctionConsult/digitalFileDep/manageType/qualityOrganize/index.vue | 5
src/views/work/selfProblems/internalAudit/problemMng/noConformanceMng/index.vue | 5
src/views/work/selfProblems/internalAudit/auditorManage/nameList/index.vue | 5
src/views/work/qualityInfo/inventoryRecord/index.vue | 5
src/views/work/qualityInfo/outsourcingCooperate/outsourcedProductName/index.vue | 5
src/views/build/conpanyFunctionConsult/companyInfo/qualifications/index.vue | 5
src/views/build/conpanyFunctionConsult/staffManage/staffRegister/index.vue | 5
src/views/build/conpanyFunctionConsult/environment/environmentalFactors/index.vue | 5
src/views/work/onlineEducation/courseManage/index.vue | 5
src/views/work/onlineEducation/groupExams/index.vue | 5
src/views/work/selfProblems/mngAudit/mngAuditReport/index.vue | 5
src/views/work/qualityInfo/supplierQuality/satisfiedEvaluste/deliver/index.vue | 5
src/views/work/selfProblems/internalAudit/auditorManage/tableList/index.vue | 5
src/views/build/conpanyFunctionConsult/orgStructure/dutyDistributeChart/index.vue | 6
src/views/work/documentManage/docBorrowCopy/index.vue | 5
src/views/work/knowledgePlatform/internalKnowledge/index.vue | 7
src/views/work/qualityInfo/outsourcingCooperate/unqualifiedHandle/index.vue | 5
src/views/work/onlineEducation/systemManage/banner/index.vue | 5
src/views/work/procurementPlatform/materialMng/index.vue | 5
src/views/work/qualityInfo/outsourcingCooperate/outsourcedContractAgreement/index.vue | 5
src/views/system/dept/index.vue | 2
src/views/work/qualityInfo/infrastructureMng/ledger/index.vue | 7
src/views/build/conpanyFunctionConsult/qualityObjectives/reportsituation/index.vue | 7
src/views/work/marketingManagement/customerList/list/index.vue | 5
src/views/work/qualityInfo/infrastructureMng/reviewRecordStatistics/index.vue | 5
src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectSet/index.vue | 5
src/views/work/documentManage/docDestruction/index.vue | 5
src/views/build/conpanyFunctionConsult/environment/controlFactors/index.vue | 5
src/views/work/qualityManage/qualityInformationPage/internal/index.vue | 7
src/views/work/procurementPlatform/purchaseContract/index.vue | 5
src/views/work/qualityInfo/supplierQuality/satisfiedEvaluste/report/index.vue | 5
src/views/work/selfProblems/internalAudit/problemMng/improveMng/index.vue | 5
src/views/work/qualityInfo/supplierQuality/satisfiedEvaluste/research/index.vue | 5
src/views/build/conpanyFunctionConsult/staffManage/staffPortfolio/index.vue | 5
src/views/work/procurementPlatform/purchaseRequisition/index.vue | 5
src/views/build/conpanyFunctionConsult/riskManage/control/index.vue | 5
src/views/work/documentManage/docChangeInvalidate/index.vue | 5
src/views/work/onlineEducation/systemManage/courseClassification/index.vue | 8
src/views/build/conpanyFunctionConsult/digitalFileDep/manageType/recordSheets/index.vue | 5
src/views/work/onlineEducation/systemManage/company/index.vue | 5
src/views/work/assetMng/workEnvironmentControl/6sInspectChecklist/index.vue | 5
src/views/work/qualityInfo/outsourcingCooperate/inspectQualifyRecord/index.vue | 5
src/views/work/selfProblems/scenario/index.vue | 5
src/views/work/onlineEducation/offlineEducation/index.vue | 5
src/views/work/onlineEducation/questionBankManagement/questionManage/index.vue | 5
src/views/work/selfProblems/plan/index.vue | 5
src/views/work/selfProblems/mngAudit/mngAuditInput/index.vue | 5
src/views/build/conpanyFunctionConsult/qualityObjectives/table/index.vue | 7
src/views/work/empResource/specialEmp/index.vue | 4
src/views/build/conpanyFunctionConsult/qualityObjectives/objective/index.vue | 7
src/views/work/qualityManage/qualityInformationPage/external/index.vue | 7
src/views/build/conpanyFunctionConsult/orgStructure/departManage/index.vue | 8
src/views/work/onlineEducation/trainPlan/index.vue | 5
src/views/work/qualityInfo/supplierQuality/supplierList/index.vue | 5
src/views/build/conpanyFunctionConsult/need/evaluate/index.vue | 5
src/views/work/procurementPlatform/warehouseManagement/monthlyInspectionRecord/index.vue | 5
src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectCaralog/index.vue | 7
src/views/build/conpanyFunctionConsult/infoPlatform/index.vue | 5
src/views/work/onlineEducation/people/index.vue | 7
src/views/build/conpanyFunctionConsult/companyInfo/policy/index.vue | 5
src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectFile/index.vue | 4
src/views/work/qualityInfo/infrastructureMng/maintainRecord/index.vue | 5
src/views/work/selfProblems/internalAudit/meetingMng/index.vue | 5
src/views/work/assetMng/toolsMonitorMeasure/annualVerificationPlan/index.vue | 3
src/views/work/qualityInfo/outsourcingCooperate/outsourcedProcessReview/index.vue | 5
src/views/work/selfProblems/mngAudit/mngAuditMeeting/index.vue | 5
src/views/work/qualityInfo/infrastructureMng/repairRecord/index.vue | 5
src/views/work/qualityManage/continuousImprovement/index.vue | 7
src/views/build/conpanyFunctionConsult/riskManage/record/index.vue | 7
src/views/work/selfProblems/mngAudit/mngAuditPlan/index.vue | 5
src/views/system/clauseManage/index.vue | 5
src/views/work/marketingManagement/contractManagement/contractLedger/index.vue | 5
src/views/work/onlineEducation/questionBankManagement/index.vue | 5
src/views/build/conpanyFunctionConsult/digitalFileDep/manageType/qualityManual/index.vue | 6
src/views/work/knowledgePlatform/externalKnowledge/index.vue | 7
src/views/work/qualityInfo/outsourcingCooperate/outsourcedProcessFlow/index.vue | 5
src/views/work/marketingManagement/afterSales/index.vue | 5
src/views/work/onlineEducation/classHourBatch/index.vue | 5
97 files changed, 303 insertions(+), 219 deletions(-)
diff --git a/src/views/build/conpanyFunctionConsult/companyInfo/overview/index.vue b/src/views/build/conpanyFunctionConsult/companyInfo/overview/index.vue
index 6491f6e..0dc909b 100644
--- a/src/views/build/conpanyFunctionConsult/companyInfo/overview/index.vue
+++ b/src/views/build/conpanyFunctionConsult/companyInfo/overview/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['companyInfo:overview:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -42,10 +43,9 @@
<el-form-item v-if="data.isAdmin">
<el-button type="primary" style="margin-left: 30px" @click="searchClick">查询</el-button>
<el-button plain @click="reset">重置</el-button>
-
</el-form-item>
<el-form-item>
- <el-button type="primary" style="margin-left: 15px" icon="Upload" @click="exportData">导入</el-button>
+ <el-button type="primary" style="margin-left: 15px" icon="Upload" @click="exportData" v-hasPermi="['companyInfo:overview:add']">导入</el-button>
</el-form-item>
</el-form>
</div>
@@ -65,8 +65,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['companyInfo:overview:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['companyInfo:overview:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
@@ -356,11 +356,6 @@
formData.append('file', file.raw)
})
formData.append('companyId',data.isAdmin ? state.form.companyId : data.queryParams.companyId)
- // const param = {
- // file: formData,
- // companyId: data.isAdmin ? state.form.companyId : data.queryParams.companyId
- // }
- console.log('form',formData)
const res = await uploadInOverview(formData)
if(res.code == 200){
ElMessage({
diff --git a/src/views/build/conpanyFunctionConsult/companyInfo/policy/index.vue b/src/views/build/conpanyFunctionConsult/companyInfo/policy/index.vue
index 6d7bf17..ca8ca62 100644
--- a/src/views/build/conpanyFunctionConsult/companyInfo/policy/index.vue
+++ b/src/views/build/conpanyFunctionConsult/companyInfo/policy/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['qualityPolicy:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -38,8 +39,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['qualityPolicy:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['qualityPolicy:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/build/conpanyFunctionConsult/companyInfo/qualifications/index.vue b/src/views/build/conpanyFunctionConsult/companyInfo/qualifications/index.vue
index 3560412..e0e30d8 100644
--- a/src/views/build/conpanyFunctionConsult/companyInfo/qualifications/index.vue
+++ b/src/views/build/conpanyFunctionConsult/companyInfo/qualifications/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['companyInfo:qualifications:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -50,8 +51,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="160">
<template #default="scope">
<el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['companyInfo:qualifications:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['companyInfo:qualifications:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/build/conpanyFunctionConsult/digitalFileDep/manageType/appFile/index.vue b/src/views/build/conpanyFunctionConsult/digitalFileDep/manageType/appFile/index.vue
index bf473c1..724bbbb 100644
--- a/src/views/build/conpanyFunctionConsult/digitalFileDep/manageType/appFile/index.vue
+++ b/src/views/build/conpanyFunctionConsult/digitalFileDep/manageType/appFile/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['qualityManage3:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -38,8 +39,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="downloadFile(scope.row.filePath)">下载</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['qualityManage3:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['qualityManage3:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/build/conpanyFunctionConsult/digitalFileDep/manageType/qualityManual/index.vue b/src/views/build/conpanyFunctionConsult/digitalFileDep/manageType/qualityManual/index.vue
index ea3f499..ad53b94 100644
--- a/src/views/build/conpanyFunctionConsult/digitalFileDep/manageType/qualityManual/index.vue
+++ b/src/views/build/conpanyFunctionConsult/digitalFileDep/manageType/qualityManual/index.vue
@@ -23,7 +23,7 @@
<el-form-item >
<el-button v-if="isAdmin" type="primary" @click="getList">查询</el-button>
<el-button v-if="isAdmin" type="primary" plain @click="reset">重置</el-button>
- <el-button type="primary" @click="addFile">生成质量手册</el-button>
+ <el-button type="primary" @click="addFile" v-hasPermi="['qualityManage2:list:add']">生成质量手册</el-button>
</el-form-item>
</el-form>
</div>
@@ -38,8 +38,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template #default="scope">
<el-button link type="primary" @click="initFile(scope.row)">下载</el-button>
- <el-button link type="primary" @click="openDialog('add',scope.row)">上传</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('add',scope.row)" v-hasPermi="['qualityManage2:list:add']">上传</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['qualityManage2:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/build/conpanyFunctionConsult/digitalFileDep/manageType/qualityOrganize/index.vue b/src/views/build/conpanyFunctionConsult/digitalFileDep/manageType/qualityOrganize/index.vue
index 69bceae..1ac7e7f 100644
--- a/src/views/build/conpanyFunctionConsult/digitalFileDep/manageType/qualityOrganize/index.vue
+++ b/src/views/build/conpanyFunctionConsult/digitalFileDep/manageType/qualityOrganize/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['qualityManage1:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -66,8 +67,8 @@
<el-table-column label="操作" align="center" prop="operate" class-naame="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['qualityManage1:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['qualityManage1:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/build/conpanyFunctionConsult/digitalFileDep/manageType/recordSheets/index.vue b/src/views/build/conpanyFunctionConsult/digitalFileDep/manageType/recordSheets/index.vue
index f5db330..1cda9e3 100644
--- a/src/views/build/conpanyFunctionConsult/digitalFileDep/manageType/recordSheets/index.vue
+++ b/src/views/build/conpanyFunctionConsult/digitalFileDep/manageType/recordSheets/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['qualityManage5:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -38,8 +39,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="downloadFile(scope.row.filePath)">下载</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['qualityManage5:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['qualityManage5:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/build/conpanyFunctionConsult/digitalFileDep/manageType/workInstruct/index.vue b/src/views/build/conpanyFunctionConsult/digitalFileDep/manageType/workInstruct/index.vue
index 1ce54aa..0dcc71c 100644
--- a/src/views/build/conpanyFunctionConsult/digitalFileDep/manageType/workInstruct/index.vue
+++ b/src/views/build/conpanyFunctionConsult/digitalFileDep/manageType/workInstruct/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['qualityManage4:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -38,8 +39,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="downloadFile(scope.row.filePath)">下载</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['qualityManage4:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['qualityManage4:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectCaralog/index.vue b/src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectCaralog/index.vue
index a49b4cf..dd51069 100644
--- a/src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectCaralog/index.vue
+++ b/src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectCaralog/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add','',1)"
+ v-hasPermi="['projectCaralog:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" >
@@ -56,9 +57,9 @@
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
- <el-button link type="primary" @click="openDialog('add',scope.row,2)">新增</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row,null)">编辑</el-button>
- <el-button link type="danger" v-if="scope.row.children && scope.row.children.length == 0" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('add',scope.row,2)" v-hasPermi="['projectCaralog:add']">新增</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row,null)" v-hasPermi="['projectCaralog:edit']">编辑</el-button>
+ <el-button link type="danger" v-if="scope.row.children && scope.row.children.length == 0" @click="handleDelete(scope.row)" v-hasPermi="['projectCaralog:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectFile/index.vue b/src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectFile/index.vue
index ff1e8b4..bbe8c50 100644
--- a/src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectFile/index.vue
+++ b/src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectFile/index.vue
@@ -98,8 +98,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="160" >
<template #default="scope">
<el-button v-if="scope.row.filePath" link type="primary" @click="downloadFile(scope.row)" >下载</el-button>
- <el-button link type="primary" @click="openDataDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDataDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDataDialog('edit',scope.row)" v-hasPermi="['projectFile:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDataDelete(scope.row)" v-hasPermi="['projectFile:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectReview/index.vue b/src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectReview/index.vue
index 54fe236..b06120e 100644
--- a/src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectReview/index.vue
+++ b/src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectReview/index.vue
@@ -9,6 +9,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['projectReview:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -57,8 +58,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" v-if="userTpye == 0 || userTpye == 6">
<template #default="scope">
<el-button v-if="scope.row.filePath" link type="primary" @click="downloadFile(scope.row)" >下载</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['projectReview:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['projectReview:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectSet/index.vue b/src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectSet/index.vue
index acb66a1..0f52a9b 100644
--- a/src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectSet/index.vue
+++ b/src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectSet/index.vue
@@ -9,6 +9,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['projectSet:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -40,8 +41,8 @@
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" v-if="userTpye == 0 || userTpye == 6">
<template #default="scope">
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['projectSet:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['projectSet:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/build/conpanyFunctionConsult/environment/controlFactors/index.vue b/src/views/build/conpanyFunctionConsult/environment/controlFactors/index.vue
index 74c53dc..2b0d2d7 100644
--- a/src/views/build/conpanyFunctionConsult/environment/controlFactors/index.vue
+++ b/src/views/build/conpanyFunctionConsult/environment/controlFactors/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['controlFactors:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -65,8 +66,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="160">
<template #default="scope">
<el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['controlFactors:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['controlFactors:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/build/conpanyFunctionConsult/environment/environmentalFactors/index.vue b/src/views/build/conpanyFunctionConsult/environment/environmentalFactors/index.vue
index dc09cb7..37ddd58 100644
--- a/src/views/build/conpanyFunctionConsult/environment/environmentalFactors/index.vue
+++ b/src/views/build/conpanyFunctionConsult/environment/environmentalFactors/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['environmentalFactors:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -65,8 +66,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="160">
<template #default="scope">
<el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['environmentalFactors:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['environmentalFactors:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/build/conpanyFunctionConsult/infoPlatform/index.vue b/src/views/build/conpanyFunctionConsult/infoPlatform/index.vue
index eb6e3bc..ae7d2c4 100644
--- a/src/views/build/conpanyFunctionConsult/infoPlatform/index.vue
+++ b/src/views/build/conpanyFunctionConsult/infoPlatform/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['infoPlatform:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -38,8 +39,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="openDialog('view',scope.row)">查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['infoPlatform:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['infoPlatform:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/build/conpanyFunctionConsult/need/evaluate/index.vue b/src/views/build/conpanyFunctionConsult/need/evaluate/index.vue
index c3e4f11..59a2a46 100644
--- a/src/views/build/conpanyFunctionConsult/need/evaluate/index.vue
+++ b/src/views/build/conpanyFunctionConsult/need/evaluate/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['needEvaluate:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -65,8 +66,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="160">
<template #default="scope">
<el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['needEvaluate:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['needEvaluate:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/build/conpanyFunctionConsult/need/needIdentify/index.vue b/src/views/build/conpanyFunctionConsult/need/needIdentify/index.vue
index f30a73b..cd133fe 100644
--- a/src/views/build/conpanyFunctionConsult/need/needIdentify/index.vue
+++ b/src/views/build/conpanyFunctionConsult/need/needIdentify/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['needIdentify:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -65,8 +66,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="160">
<template #default="scope">
<el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['needIdentify:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['needIdentify:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/build/conpanyFunctionConsult/orgStructure/departManage/index.vue b/src/views/build/conpanyFunctionConsult/orgStructure/departManage/index.vue
index abb24d7..88d9f2d 100644
--- a/src/views/build/conpanyFunctionConsult/orgStructure/departManage/index.vue
+++ b/src/views/build/conpanyFunctionConsult/orgStructure/departManage/index.vue
@@ -3,7 +3,7 @@
<div style="display: flex;justify-content: space-between">
<el-form :inline="true" style="display: flex;align-items: center;flex-wrap: wrap;" >
<el-form-item>
- <el-button type="primary" plain icon="Plus" @click="openDialog('add',{})">新增</el-button>
+ <el-button type="primary" plain icon="Plus" @click="openDialog('add',{})" v-hasPermi="['orgStructure:departManage:add']">新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
<el-select v-model="data.queryParams.companyId" placeholder="请选择" clearable>
@@ -48,9 +48,9 @@
</el-table-column>
<el-table-column label="操作" align="center" width="160">
<template #default="scope">
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="primary" @click="openDialog('add',scope.row)">新增</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['orgStructure:departManage:edit']">编辑</el-button>
+ <el-button link type="primary" @click="openDialog('add',scope.row)" v-hasPermi="['orgStructure:departManage:add']">新增</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['orgStructure:departManage:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/build/conpanyFunctionConsult/orgStructure/dutyDistributeChart/index.vue b/src/views/build/conpanyFunctionConsult/orgStructure/dutyDistributeChart/index.vue
index ac0fb6a..65bc74c 100644
--- a/src/views/build/conpanyFunctionConsult/orgStructure/dutyDistributeChart/index.vue
+++ b/src/views/build/conpanyFunctionConsult/orgStructure/dutyDistributeChart/index.vue
@@ -29,9 +29,9 @@
<div style="display: flex;justify-content: space-between;margin-bottom: 10px">
<div>质量管理体系过程与部门职能矩阵(▲ 主管部门<span style="font-size: 24px;display: inline-block;margin-left: 20px">●</span> 归口部门<span style="font-size: 24px;display: inline-block;margin-left: 20px">○</span> 配合部门)</div>
<div>
- <el-button type="primary" @click="initDistribute">重新生成</el-button>
- <el-button type="primary" v-if="!isEdit" @click="isEdit = true">编辑</el-button>
- <el-button type="primary" v-if="isEdit" @click="confirmEdit">保存</el-button>
+ <el-button type="primary" @click="initDistribute" v-hasPermi="['orgStructure:dutyDistributeChart:add']">重新生成</el-button>
+ <el-button type="primary" v-if="!isEdit" @click="isEdit = true" v-hasPermi="['orgStructure:dutyDistributeChart:edit']">编辑</el-button>
+ <el-button type="primary" v-if="isEdit" @click="confirmEdit" v-hasPermi="['orgStructure:dutyDistributeChart:edit']">保存</el-button>
</div>
</div>
<!-- 表格数据 -->
diff --git a/src/views/build/conpanyFunctionConsult/qualityObjectives/objective/index.vue b/src/views/build/conpanyFunctionConsult/qualityObjectives/objective/index.vue
index 0986ae3..1af3b39 100644
--- a/src/views/build/conpanyFunctionConsult/qualityObjectives/objective/index.vue
+++ b/src/views/build/conpanyFunctionConsult/qualityObjectives/objective/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['qualityGoal:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -94,9 +95,9 @@
<el-table-column label="目标测量方法" prop="method" align="center" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="160" >
<template #default="scope">
- <el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('review',scope.row)">查看</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['qualityGoal:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['qualityGoal:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/build/conpanyFunctionConsult/qualityObjectives/reportsituation/index.vue b/src/views/build/conpanyFunctionConsult/qualityObjectives/reportsituation/index.vue
index f7ec263..c7adbc9 100644
--- a/src/views/build/conpanyFunctionConsult/qualityObjectives/reportsituation/index.vue
+++ b/src/views/build/conpanyFunctionConsult/qualityObjectives/reportsituation/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openAddDialog"
+ v-hasPermi="['qualityReportSituation:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -96,9 +97,9 @@
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="160">
<template #default="scope">
- <el-button link type="primary" @click="scope.row.type == 1?openDialog('review','company',scope.row):openDialog('review','dept',scope.row) " >查看</el-button>
- <el-button link type="primary" @click="scope.row.type == 1?openDialog('edit','company',scope.row):openDialog('edit','dept',scope.row) " >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="scope.row.type == 1?openDialog('review','company',scope.row):openDialog('review','dept',scope.row)">查看</el-button>
+ <el-button link type="primary" @click="scope.row.type == 1?openDialog('edit','company',scope.row):openDialog('edit','dept',scope.row)" v-hasPermi="['qualityReportSituation:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['qualityReportSituation:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/build/conpanyFunctionConsult/qualityObjectives/table/index.vue b/src/views/build/conpanyFunctionConsult/qualityObjectives/table/index.vue
index fdf779a..6d81949 100644
--- a/src/views/build/conpanyFunctionConsult/qualityObjectives/table/index.vue
+++ b/src/views/build/conpanyFunctionConsult/qualityObjectives/table/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openAddDialog"
+ v-hasPermi="['qualityGoalTable:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -110,9 +111,9 @@
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="160">
<template #default="scope">
- <el-button link type="primary" @click="scope.row.type == 1?openDialog('review',scope.row):openDeptDialog('review',scope.row) " >查看</el-button>
- <el-button link type="primary" @click="scope.row.type == 1?openDialog('edit',scope.row):openDeptDialog('edit',scope.row) " >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="scope.row.type == 1?openDialog('review',scope.row):openDeptDialog('review',scope.row)">查看</el-button>
+ <el-button link type="primary" @click="scope.row.type == 1?openDialog('edit',scope.row):openDeptDialog('edit',scope.row)" v-hasPermi="['qualityGoalTable:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['qualityGoalTable:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/build/conpanyFunctionConsult/riskManage/control/index.vue b/src/views/build/conpanyFunctionConsult/riskManage/control/index.vue
index d8b3453..25c134c 100644
--- a/src/views/build/conpanyFunctionConsult/riskManage/control/index.vue
+++ b/src/views/build/conpanyFunctionConsult/riskManage/control/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['riskControl:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -65,8 +66,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="160">
<template #default="scope">
<el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['riskControl:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['riskControl:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/build/conpanyFunctionConsult/riskManage/record/index.vue b/src/views/build/conpanyFunctionConsult/riskManage/record/index.vue
index cd4438b..b380834 100644
--- a/src/views/build/conpanyFunctionConsult/riskManage/record/index.vue
+++ b/src/views/build/conpanyFunctionConsult/riskManage/record/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['riskRecord:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -64,9 +65,9 @@
<el-table-column label="年份" prop="year" align="center" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="160">
<template #default="scope">
- <el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('review',scope.row)">查看</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['riskRecord:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['riskRecord:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/build/conpanyFunctionConsult/staffManage/staffPortfolio/index.vue b/src/views/build/conpanyFunctionConsult/staffManage/staffPortfolio/index.vue
index 8b3a675..d241ffb 100644
--- a/src/views/build/conpanyFunctionConsult/staffManage/staffPortfolio/index.vue
+++ b/src/views/build/conpanyFunctionConsult/staffManage/staffPortfolio/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['staffPortfolio:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -37,8 +38,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="openDialog('view',scope.row)">查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['staffPortfolio:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['staffPortfolio:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/build/conpanyFunctionConsult/staffManage/staffRegister/index.vue b/src/views/build/conpanyFunctionConsult/staffManage/staffRegister/index.vue
index 2dc2697..6a4dd9e 100644
--- a/src/views/build/conpanyFunctionConsult/staffManage/staffRegister/index.vue
+++ b/src/views/build/conpanyFunctionConsult/staffManage/staffRegister/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['staffRegister:user:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="用户名:" >
@@ -86,8 +87,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="openDialog('view',scope.row)">查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['staffRegister:user:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['staffRegister:user:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/build/conpanyFunctionConsult/staffManage/staffdescribe/index.vue b/src/views/build/conpanyFunctionConsult/staffManage/staffdescribe/index.vue
index ae23658..e091132 100644
--- a/src/views/build/conpanyFunctionConsult/staffManage/staffdescribe/index.vue
+++ b/src/views/build/conpanyFunctionConsult/staffManage/staffdescribe/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['staffdescribe:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -34,8 +35,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['staffdescribe:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['staffdescribe:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/system/clauseManage/index.vue b/src/views/system/clauseManage/index.vue
index 0e72843..b26df15 100644
--- a/src/views/system/clauseManage/index.vue
+++ b/src/views/system/clauseManage/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['clauseManage:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -34,8 +35,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="openDialog('view',scope.row)">查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['clauseManage:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['clauseManage:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue
index c045dae..c67ed0a 100644
--- a/src/views/system/dept/index.vue
+++ b/src/views/system/dept/index.vue
@@ -176,7 +176,7 @@
function getList() {
loading.value = true;
listDept(queryParams.value).then(response => {
- deptList.value = proxy.handleTree(response.data, "deptId");
+ deptList.value = proxy.handleTree(response.data, "deptId")
loading.value = false;
});
}
diff --git a/src/views/system/industryManage/index.vue b/src/views/system/industryManage/index.vue
index 1b486f8..2b82a89 100644
--- a/src/views/system/industryManage/index.vue
+++ b/src/views/system/industryManage/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['industryManage:add']"
>新增</el-button>
</el-form-item>
</el-form>
@@ -18,8 +19,8 @@
<el-table-column label="行业名称" prop="name" align="center"/>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['industryManage:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['industryManage:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/assetMng/toolsMonitorMeasure/annualVerificationPlan/index.vue b/src/views/work/assetMng/toolsMonitorMeasure/annualVerificationPlan/index.vue
index adae4a6..3767d13 100644
--- a/src/views/work/assetMng/toolsMonitorMeasure/annualVerificationPlan/index.vue
+++ b/src/views/work/assetMng/toolsMonitorMeasure/annualVerificationPlan/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['annualVerificationPlan:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -31,7 +32,7 @@
<el-form-item >
<el-button v-if="isAdmin" type="primary" @click="getList">查询</el-button>
<el-button v-if="isAdmin" type="primary" plain @click="reset">重置</el-button>
- <el-button type="primary" plain @click="openDialog('edit',data.dataList)" v-if="data.hasInfo">编辑</el-button>
+ <el-button type="primary" plain @click="openDialog('edit',data.dataList)" v-if="data.hasInfo" v-hasPermi="['annualVerificationPlan:list:edit']">编辑</el-button>
<el-button type="primary" plain @click="downloadFile()" v-if="data.hasInfo">导出</el-button>
<!-- <el-button type="primary">导出</el-button>-->
</el-form-item>
diff --git a/src/views/work/assetMng/toolsMonitorMeasure/equipCalibrateConfirm/index.vue b/src/views/work/assetMng/toolsMonitorMeasure/equipCalibrateConfirm/index.vue
index 09b2951..a025777 100644
--- a/src/views/work/assetMng/toolsMonitorMeasure/equipCalibrateConfirm/index.vue
+++ b/src/views/work/assetMng/toolsMonitorMeasure/equipCalibrateConfirm/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['equipCalibrateConfirm:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -38,9 +39,9 @@
<el-table-column label="操作" align="center">
<template #default="scope">
<el-button link type="primary" @click="openDialog('view',scope.row)">查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['equipCalibrateConfirm:edit']">编辑</el-button>
<el-button link type="primary" @click="downloadFile(scope.row)">导出</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['equipCalibrateConfirm:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/assetMng/workEnvironmentControl/6sInspectChecklist/index.vue b/src/views/work/assetMng/workEnvironmentControl/6sInspectChecklist/index.vue
index 2979707..5889baf 100644
--- a/src/views/work/assetMng/workEnvironmentControl/6sInspectChecklist/index.vue
+++ b/src/views/work/assetMng/workEnvironmentControl/6sInspectChecklist/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['6sInspectChecklist:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -35,9 +36,9 @@
<el-table-column label="操作" align="center">
<template #default="scope">
<el-button link type="primary" @click="openDialog('view',scope.row)">查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['6sInspectChecklist:edit']">编辑</el-button>
<el-button link type="primary" @click="downloadFile(scope.row)">导出</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['6sInspectChecklist:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/documentManage/docBorrowCopy/index.vue b/src/views/work/documentManage/docBorrowCopy/index.vue
index fa4686a..7915dc8 100644
--- a/src/views/work/documentManage/docBorrowCopy/index.vue
+++ b/src/views/work/documentManage/docBorrowCopy/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['docBorrowCopy:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -38,9 +39,9 @@
<el-table-column label="操作" align="center">
<template #default="scope">
<el-button link type="primary" @click="openDialog('view',scope.row)">查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['docBorrowCopy:edit']">编辑</el-button>
<el-button link type="primary" @click="downloadFile(scope.row)">导出</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['docBorrowCopy:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/documentManage/docChangeInvalidate/index.vue b/src/views/work/documentManage/docChangeInvalidate/index.vue
index 8ccea2a..bd9c58a 100644
--- a/src/views/work/documentManage/docChangeInvalidate/index.vue
+++ b/src/views/work/documentManage/docChangeInvalidate/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['docChangeInvalidate:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -33,9 +34,9 @@
<el-table-column label="操作" align="center">
<template #default="scope">
<el-button link type="primary" @click="openDialog('view',scope.row)">查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['docChangeInvalidate:edit']">编辑</el-button>
<el-button link type="primary" @click="downloadFile(scope.row)">导出</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['docChangeInvalidate:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/documentManage/docDestruction/index.vue b/src/views/work/documentManage/docDestruction/index.vue
index 4d2edc2..5b455aa 100644
--- a/src/views/work/documentManage/docDestruction/index.vue
+++ b/src/views/work/documentManage/docDestruction/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['docDestruction:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -34,9 +35,9 @@
<el-table-column label="操作" align="center">
<template #default="scope">
<el-button link type="primary" @click="openDialog('view',scope.row)">查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['docDestruction:edit']">编辑</el-button>
<el-button link type="primary" @click="downloadFile(scope.row)">导出</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['docDestruction:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/documentManage/docDistributeRetrieve/index.vue b/src/views/work/documentManage/docDistributeRetrieve/index.vue
index cfdfbb8..b6b068b 100644
--- a/src/views/work/documentManage/docDistributeRetrieve/index.vue
+++ b/src/views/work/documentManage/docDistributeRetrieve/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['docDistributeRetrieve:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -38,9 +39,9 @@
<el-table-column label="操作" align="center">
<template #default="scope">
<el-button link type="primary" @click="openDialog('view',scope.row)">查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['docDistributeRetrieve:edit']">编辑</el-button>
<el-button link type="primary" @click="downloadFile(scope.row)">导出</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['docDistributeRetrieve:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/empResource/specialEmp/index.vue b/src/views/work/empResource/specialEmp/index.vue
index cbaaabe..8c400c5 100644
--- a/src/views/work/empResource/specialEmp/index.vue
+++ b/src/views/work/empResource/specialEmp/index.vue
@@ -83,8 +83,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="openDialog('view',scope.row)">查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">上传证书</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['specialEmp:list:edit']">上传证书</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['specialEmp:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/financialMng/qualityFinancialAnalysis/index.vue b/src/views/work/financialMng/qualityFinancialAnalysis/index.vue
index ee89759..19f6cef 100644
--- a/src/views/work/financialMng/qualityFinancialAnalysis/index.vue
+++ b/src/views/work/financialMng/qualityFinancialAnalysis/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['qualityFinancialAnalysis:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -65,9 +66,9 @@
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="160" >
<template #default="scope">
- <el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('review',scope.row)">查看</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['qualityFinancialAnalysis:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['qualityFinancialAnalysis:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/knowledgePlatform/externalKnowledge/index.vue b/src/views/work/knowledgePlatform/externalKnowledge/index.vue
index 58cbb76..c412c06 100644
--- a/src/views/work/knowledgePlatform/externalKnowledge/index.vue
+++ b/src/views/work/knowledgePlatform/externalKnowledge/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['externalKnowledge:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -33,7 +34,7 @@
<el-form-item >
<el-button v-if="isAdmin" type="primary" @click="getList">查询</el-button>
<el-button v-if="isAdmin" type="primary" plain @click="reset">重置</el-button>
- <el-button type="primary" @click="exportInData">导入</el-button>
+ <el-button type="primary" @click="exportInData" v-hasPermi="['externalKnowledge:add']">导入</el-button>
<vue3-json-excel
:json-data="expertData"
:fields="fields"
@@ -64,8 +65,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" :disabled="!scope.row.filePath || scope.row.filePath == ''" @click="downloadFile(scope.row)">下载</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['externalKnowledge:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['externalKnowledge:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/knowledgePlatform/internalKnowledge/index.vue b/src/views/work/knowledgePlatform/internalKnowledge/index.vue
index 6e7d5aa..825fdf5 100644
--- a/src/views/work/knowledgePlatform/internalKnowledge/index.vue
+++ b/src/views/work/knowledgePlatform/internalKnowledge/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['internalKnowledge:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -33,7 +34,7 @@
<el-form-item >
<el-button type="primary" @click="getList">查询</el-button>
<el-button type="primary" plain @click="reset">重置</el-button>
- <el-button type="primary" @click="exportInData">导入</el-button>
+ <el-button type="primary" @click="exportInData" v-hasPermi="['internalKnowledge:add']">导入</el-button>
<vue3-json-excel
:json-data="expertData"
:fields="fields"
@@ -64,8 +65,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" :disabled="!scope.row.filePath || scope.row.filePath == ''" @click="downloadFile(scope.row)">下载</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['internalKnowledge:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['internalKnowledge:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/marketingManagement/afterSales/index.vue b/src/views/work/marketingManagement/afterSales/index.vue
index 77f3508..32ec141 100644
--- a/src/views/work/marketingManagement/afterSales/index.vue
+++ b/src/views/work/marketingManagement/afterSales/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['afterSales:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -40,8 +41,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="160">
<template #default="scope">
<el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['afterSales:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['afterSales:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/marketingManagement/contractManagement/contractChange/index.vue b/src/views/work/marketingManagement/contractManagement/contractChange/index.vue
index 856a232..1c4a910 100644
--- a/src/views/work/marketingManagement/contractManagement/contractChange/index.vue
+++ b/src/views/work/marketingManagement/contractManagement/contractChange/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['contractChange:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -47,8 +48,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="160">
<template #default="scope">
<el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['contractChange:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['contractChange:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/marketingManagement/contractManagement/contractLedger/index.vue b/src/views/work/marketingManagement/contractManagement/contractLedger/index.vue
index 6fba088..474bb49 100644
--- a/src/views/work/marketingManagement/contractManagement/contractLedger/index.vue
+++ b/src/views/work/marketingManagement/contractManagement/contractLedger/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['contractLedger:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -36,8 +37,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="160">
<template #default="scope">
<el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['contractLedger:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['contractLedger:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/marketingManagement/customerList/communicate/index.vue b/src/views/work/marketingManagement/customerList/communicate/index.vue
index b5b606b..b989680 100644
--- a/src/views/work/marketingManagement/customerList/communicate/index.vue
+++ b/src/views/work/marketingManagement/customerList/communicate/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['customerCommunicate:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -41,8 +42,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="160">
<template #default="scope">
<el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['customerCommunicate:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['customerCommunicate:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/marketingManagement/customerList/list/index.vue b/src/views/work/marketingManagement/customerList/list/index.vue
index ad82ed2..60afe25 100644
--- a/src/views/work/marketingManagement/customerList/list/index.vue
+++ b/src/views/work/marketingManagement/customerList/list/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['customerList:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -46,8 +47,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="160">
<template #default="scope">
<el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['customerList:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['customerList:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/marketingManagement/customerList/need/index.vue b/src/views/work/marketingManagement/customerList/need/index.vue
index d0fa600..be92db1 100644
--- a/src/views/work/marketingManagement/customerList/need/index.vue
+++ b/src/views/work/marketingManagement/customerList/need/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['customerNeed:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -45,8 +46,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="160">
<template #default="scope">
<el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['customerNeed:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['customerNeed:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/onlineEducation/classHourBatch/index.vue b/src/views/work/onlineEducation/classHourBatch/index.vue
index 301884b..ffb4b02 100644
--- a/src/views/work/onlineEducation/classHourBatch/index.vue
+++ b/src/views/work/onlineEducation/classHourBatch/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['classHourBatch:list:add']"
>新增批次</el-button>
</el-form-item>
<el-form-item label="批次名称:" >
@@ -60,8 +61,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="180">
<template #default="scope">
<el-button link type="primary" @click="toStuChoose(scope.row)">人员数据</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['classHourBatch:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['classHourBatch:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/onlineEducation/courseManage/courseResource/index.vue b/src/views/work/onlineEducation/courseManage/courseResource/index.vue
index c4ae811..45199f1 100644
--- a/src/views/work/onlineEducation/courseManage/courseResource/index.vue
+++ b/src/views/work/onlineEducation/courseManage/courseResource/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['courseResource:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="资源名称:" >
@@ -50,8 +51,8 @@
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['courseResource:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['courseResource:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/onlineEducation/courseManage/index.vue b/src/views/work/onlineEducation/courseManage/index.vue
index b6a16a9..91da9b7 100644
--- a/src/views/work/onlineEducation/courseManage/index.vue
+++ b/src/views/work/onlineEducation/courseManage/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['courseManage:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="课程名称:" >
@@ -114,9 +115,9 @@
<div v-if="scope.row.state !== 2">
<el-button link type="primary" v-if="scope.row.state == 0 || scope.row.state == 3" @click="submitApprove(scope.row)">提交审核</el-button>
<el-button link type="primary" v-if="scope.row.state == 1" @click="submitApprove(scope.row)">取消审核</el-button>
- <el-button link type="primary" v-if="scope.row.state !== 1" @click="openDialog('edit',scope.row)" >编辑</el-button>
+ <el-button link type="primary" v-if="scope.row.state !== 1" @click="openDialog('edit',scope.row)" v-hasPermi="['courseManage:list:edit']">编辑</el-button>
<el-button link type="primary" @click="toChapters(scope.row)">章节</el-button>
- <el-button link type="danger" v-if="scope.row.state !== 1" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="danger" v-if="scope.row.state !== 1" @click="handleDelete(scope.row)" v-hasPermi="['courseManage:list:del']">删除</el-button>
</div>
<div v-else>
<el-button link type="primary" @click="toChapters(scope.row)">章节</el-button>
diff --git a/src/views/work/onlineEducation/groupExams/index.vue b/src/views/work/onlineEducation/groupExams/index.vue
index 38fd8ca..0cc1b9e 100644
--- a/src/views/work/onlineEducation/groupExams/index.vue
+++ b/src/views/work/onlineEducation/groupExams/index.vue
@@ -7,6 +7,7 @@
type="primary"
plain
@click="openDialog('add',{})"
+ v-hasPermi="['groupExams:list:add']"
>开始组卷考试</el-button>
</el-form-item>
<el-form-item label="考试名称:" >
@@ -77,8 +78,8 @@
<template #default="scope">
<el-button link type="primary" @click="viewQuestion(scope.row)">预览</el-button>
<el-button link type="primary" @click="toStuChoose(scope.row)">人员数据</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['groupExams:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['groupExams:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/onlineEducation/offlineEducation/index.vue b/src/views/work/onlineEducation/offlineEducation/index.vue
index a8d8e1a..bc24f37 100644
--- a/src/views/work/onlineEducation/offlineEducation/index.vue
+++ b/src/views/work/onlineEducation/offlineEducation/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['offlineEducation:list:add']"
>新增登记</el-button>
</el-form-item>
<el-form-item label="企业名称:" >
@@ -90,8 +91,8 @@
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="120">
<template #default="scope">
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['offlineEducation:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['offlineEducation:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/onlineEducation/people/index.vue b/src/views/work/onlineEducation/people/index.vue
index f1b1971..085894c 100644
--- a/src/views/work/onlineEducation/people/index.vue
+++ b/src/views/work/onlineEducation/people/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['onlineEducationPeople:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="姓名:" >
@@ -53,9 +54,9 @@
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="180">
<template #default="scope">
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
- <el-button link type="primary" @click="openDialog('pwd',scope.row)">修改密码</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['onlineEducationPeople:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['onlineEducationPeople:list:del']">删除</el-button>
+ <el-button link type="primary" @click="openDialog('pwd',scope.row)" v-hasPermi="['onlineEducationPeople:list:edit']">修改密码</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/onlineEducation/questionBankManagement/index.vue b/src/views/work/onlineEducation/questionBankManagement/index.vue
index 2371948..b306662 100644
--- a/src/views/work/onlineEducation/questionBankManagement/index.vue
+++ b/src/views/work/onlineEducation/questionBankManagement/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['questionBankManagement:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="题库名称:" >
@@ -36,8 +37,8 @@
<el-table-column label="判断题数量" prop="judgeCount" align="center" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="180">
<template #default="scope">
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['questionBankManagement:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['questionBankManagement:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/onlineEducation/questionBankManagement/questionManage/index.vue b/src/views/work/onlineEducation/questionBankManagement/questionManage/index.vue
index de18c69..8cf3d7a 100644
--- a/src/views/work/onlineEducation/questionBankManagement/questionManage/index.vue
+++ b/src/views/work/onlineEducation/questionBankManagement/questionManage/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['questionManage:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="题型:">
@@ -84,8 +85,8 @@
<el-table-column label="题目内容" prop="title" align="center" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="180">
<template #default="scope">
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['questionManage:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['questionManage:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/onlineEducation/systemManage/banner/index.vue b/src/views/work/onlineEducation/systemManage/banner/index.vue
index 2dc5f4b..f4cc9b9 100644
--- a/src/views/work/onlineEducation/systemManage/banner/index.vue
+++ b/src/views/work/onlineEducation/systemManage/banner/index.vue
@@ -6,6 +6,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['banner:list:add']"
>新增</el-button>
</div>
<!-- 表格数据 -->
@@ -43,8 +44,8 @@
<el-table-column label="状态" prop="status" align="center" width="150"/>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['banner:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['banner:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/onlineEducation/systemManage/company/index.vue b/src/views/work/onlineEducation/systemManage/company/index.vue
index 0db040d..aab4ea7 100644
--- a/src/views/work/onlineEducation/systemManage/company/index.vue
+++ b/src/views/work/onlineEducation/systemManage/company/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['systemCompany:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" >
@@ -48,8 +49,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="200" >
<template #default="scope">
<el-button link type="primary" @click="openDialog('distribute',scope.row)">分配课时</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['systemCompany:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['systemCompany:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/onlineEducation/systemManage/courseClassification/index.vue b/src/views/work/onlineEducation/systemManage/courseClassification/index.vue
index a3234ac..3241cc6 100644
--- a/src/views/work/onlineEducation/systemManage/courseClassification/index.vue
+++ b/src/views/work/onlineEducation/systemManage/courseClassification/index.vue
@@ -3,7 +3,7 @@
<div>
<el-form style="display: flex;flex-wrap: wrap">
<el-form-item>
- <el-button type="primary" plain @click="openDialog('addFirst',{})" icon="Plus"> 添加</el-button>
+ <el-button type="primary" plain @click="openDialog('addFirst',{})" icon="Plus" v-hasPermi="['courseClassification:list:add']"> 添加</el-button>
</el-form-item>
</el-form>
</div>
@@ -34,9 +34,9 @@
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="250" >
<template #default="scope">
- <el-button type="success" plain @click="openDialog('add',scope.row)">添加</el-button>
- <el-button type="primary" plain @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button type="danger" plain @click="handleDelete(scope.row.id)">删除</el-button>
+ <el-button type="success" plain @click="openDialog('add',scope.row)" v-hasPermi="['courseClassification:list:add']">添加</el-button>
+ <el-button type="primary" plain @click="openDialog('edit',scope.row)" v-hasPermi="['courseClassification:list:edit']">编辑</el-button>
+ <el-button type="danger" plain @click="handleDelete(scope.row.id)" v-hasPermi="['courseClassification:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/onlineEducation/trainPlan/index.vue b/src/views/work/onlineEducation/trainPlan/index.vue
index 6e43193..a54af5a 100644
--- a/src/views/work/onlineEducation/trainPlan/index.vue
+++ b/src/views/work/onlineEducation/trainPlan/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['trainPlan:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -59,8 +60,8 @@
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['trainPlan:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['trainPlan:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/procurementPlatform/incomingInspection/inspectionRecords/index.vue b/src/views/work/procurementPlatform/incomingInspection/inspectionRecords/index.vue
index 685920e..bf94360 100644
--- a/src/views/work/procurementPlatform/incomingInspection/inspectionRecords/index.vue
+++ b/src/views/work/procurementPlatform/incomingInspection/inspectionRecords/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['inspectionRecords:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -40,8 +41,8 @@
<el-table-column label="操作" align="center" class-naame="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['inspectionRecords:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['inspectionRecords:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/procurementPlatform/incomingInspection/inspectionStandards/index.vue b/src/views/work/procurementPlatform/incomingInspection/inspectionStandards/index.vue
index 1cb9bdd..2eee159 100644
--- a/src/views/work/procurementPlatform/incomingInspection/inspectionStandards/index.vue
+++ b/src/views/work/procurementPlatform/incomingInspection/inspectionStandards/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['inspectionStandards:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -38,8 +39,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="downloadFile(scope.row)">下载</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['inspectionStandards:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['inspectionStandards:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/procurementPlatform/materialMng/index.vue b/src/views/work/procurementPlatform/materialMng/index.vue
index d3f019a..c324841 100644
--- a/src/views/work/procurementPlatform/materialMng/index.vue
+++ b/src/views/work/procurementPlatform/materialMng/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['materialMng:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -36,8 +37,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="openDialog('view',scope.row)">查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['materialMng:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['materialMng:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/procurementPlatform/purchaseContract/index.vue b/src/views/work/procurementPlatform/purchaseContract/index.vue
index 8eb2eb6..7921484 100644
--- a/src/views/work/procurementPlatform/purchaseContract/index.vue
+++ b/src/views/work/procurementPlatform/purchaseContract/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['purchaseContract:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -38,8 +39,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="downloadFile(scope.row)">下载</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['purchaseContract:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['purchaseContract:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/procurementPlatform/purchaseRequisition/index.vue b/src/views/work/procurementPlatform/purchaseRequisition/index.vue
index 6f4b804..e3ed198 100644
--- a/src/views/work/procurementPlatform/purchaseRequisition/index.vue
+++ b/src/views/work/procurementPlatform/purchaseRequisition/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['purchaseRequisition:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -42,8 +43,8 @@
<el-table-column label="操作" align="center" class-naame="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['purchaseRequisition:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['purchaseRequisition:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/procurementPlatform/warehouseManagement/monthlyInspectionRecord/index.vue b/src/views/work/procurementPlatform/warehouseManagement/monthlyInspectionRecord/index.vue
index 2b3892a..1fecee1 100644
--- a/src/views/work/procurementPlatform/warehouseManagement/monthlyInspectionRecord/index.vue
+++ b/src/views/work/procurementPlatform/warehouseManagement/monthlyInspectionRecord/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['monthlyInspectionRecord:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -51,8 +52,8 @@
<el-table-column label="操作" align="center" prop="operate" class-name="small-padding fixed-width" width="160">
<template #default="scope">
<el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['monthlyInspectionRecord:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['monthlyInspectionRecord:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/qualityInfo/infrastructureMng/ledger/index.vue b/src/views/work/qualityInfo/infrastructureMng/ledger/index.vue
index 7612962..069bdd1 100644
--- a/src/views/work/qualityInfo/infrastructureMng/ledger/index.vue
+++ b/src/views/work/qualityInfo/infrastructureMng/ledger/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['ledger:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -32,7 +33,7 @@
<el-form-item>
<el-button type="primary" @click="getList()">查询</el-button>
<el-button type="primary" plain @click="reset">重置</el-button>
- <el-button type="primary" @click="exportInData">导入</el-button>
+ <el-button type="primary" @click="exportInData" v-hasPermi="['ledger:list:add']">导入</el-button>
<vue3-json-excel
:json-data="expertData"
:fields="fields"
@@ -61,8 +62,8 @@
<el-table-column prop="used" align="center" label="使用情况"></el-table-column>
<el-table-column label="操作" align="center">
<template #default="scope">
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['ledger:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['ledger:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/qualityInfo/infrastructureMng/maintainPlan/index.vue b/src/views/work/qualityInfo/infrastructureMng/maintainPlan/index.vue
index ed5a45a..ed15be1 100644
--- a/src/views/work/qualityInfo/infrastructureMng/maintainPlan/index.vue
+++ b/src/views/work/qualityInfo/infrastructureMng/maintainPlan/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['maintainPlan:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -43,9 +44,9 @@
<el-table-column label="操作" align="center">
<template #default="scope">
<el-button link type="primary" @click="openDialog('view',scope.row)">查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['maintainPlan:list:edit']">编辑</el-button>
<el-button link type="primary" @click="downloadFile(scope.row)">导出</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['maintainPlan:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/qualityInfo/infrastructureMng/maintainRecord/index.vue b/src/views/work/qualityInfo/infrastructureMng/maintainRecord/index.vue
index 6d70635..2344a9c 100644
--- a/src/views/work/qualityInfo/infrastructureMng/maintainRecord/index.vue
+++ b/src/views/work/qualityInfo/infrastructureMng/maintainRecord/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['maintainRecord:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -35,9 +36,9 @@
<el-table-column label="操作" align="center">
<template #default="scope">
<el-button link type="primary" @click="openDialog('view',scope.row)">查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['maintainRecord:list:edit']">编辑</el-button>
<el-button link type="primary" @click="downloadFile(scope.row)">导出</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['maintainRecord:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/qualityInfo/infrastructureMng/repairRecord/index.vue b/src/views/work/qualityInfo/infrastructureMng/repairRecord/index.vue
index 49740a3..4e1d66d 100644
--- a/src/views/work/qualityInfo/infrastructureMng/repairRecord/index.vue
+++ b/src/views/work/qualityInfo/infrastructureMng/repairRecord/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['repairRecord:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -53,9 +54,9 @@
<el-table-column label="操作" align="center">
<template #default="scope">
<el-button link type="primary" @click="openDialog('view',scope.row)">查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['repairRecord:list:edit']">编辑</el-button>
<el-button link type="primary" @click="downloadFile(scope.row)">导出</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['repairRecord:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/qualityInfo/infrastructureMng/reviewRecordStatistics/index.vue b/src/views/work/qualityInfo/infrastructureMng/reviewRecordStatistics/index.vue
index 7b62bc1..f8cd0a7 100644
--- a/src/views/work/qualityInfo/infrastructureMng/reviewRecordStatistics/index.vue
+++ b/src/views/work/qualityInfo/infrastructureMng/reviewRecordStatistics/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['reviewRecordStatistics:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -39,9 +40,9 @@
<el-table-column label="操作" align="center">
<template #default="scope">
<el-button link type="primary" @click="openDialog('view',scope.row)">查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['reviewRecordStatistics:list:edit']">编辑</el-button>
<el-button link type="primary" @click="downloadFile(scope.row)">导出</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['reviewRecordStatistics:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/qualityInfo/inventoryRecord/index.vue b/src/views/work/qualityInfo/inventoryRecord/index.vue
index 0cfdc53..76070e1 100644
--- a/src/views/work/qualityInfo/inventoryRecord/index.vue
+++ b/src/views/work/qualityInfo/inventoryRecord/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['inventoryRecord:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -35,9 +36,9 @@
<el-table-column label="操作" align="center">
<template #default="scope">
<el-button link type="primary" @click="openDialog('view',scope.row)">查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['inventoryRecord:edit']">编辑</el-button>
<el-button link type="primary" @click="downloadFile(scope.row)">导出</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['inventoryRecord:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/qualityInfo/outsourcingCooperate/inspectQualifyRecord/index.vue b/src/views/work/qualityInfo/outsourcingCooperate/inspectQualifyRecord/index.vue
index 006cfed..acdd265 100644
--- a/src/views/work/qualityInfo/outsourcingCooperate/inspectQualifyRecord/index.vue
+++ b/src/views/work/qualityInfo/outsourcingCooperate/inspectQualifyRecord/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['inspectQualifyRecord:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -38,8 +39,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="downloadFile(scope.row.filePath)">下载</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['inspectQualifyRecord:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['inspectQualifyRecord:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/qualityInfo/outsourcingCooperate/outsourcedContractAgreement/index.vue b/src/views/work/qualityInfo/outsourcingCooperate/outsourcedContractAgreement/index.vue
index 9a12289..732cfd6 100644
--- a/src/views/work/qualityInfo/outsourcingCooperate/outsourcedContractAgreement/index.vue
+++ b/src/views/work/qualityInfo/outsourcingCooperate/outsourcedContractAgreement/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['outsourcedContractAgreement:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -38,8 +39,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="downloadFile(scope.row.filePath)">下载</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['outsourcedContractAgreement:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['outsourcedContractAgreement:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/qualityInfo/outsourcingCooperate/outsourcedProcessFlow/index.vue b/src/views/work/qualityInfo/outsourcingCooperate/outsourcedProcessFlow/index.vue
index 1579d17..ed44081 100644
--- a/src/views/work/qualityInfo/outsourcingCooperate/outsourcedProcessFlow/index.vue
+++ b/src/views/work/qualityInfo/outsourcingCooperate/outsourcedProcessFlow/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['outsourcedProcessFlow:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -38,8 +39,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="downloadFile(scope.row.filePath)">下载</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['outsourcedProcessFlow:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['outsourcedProcessFlow:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/qualityInfo/outsourcingCooperate/outsourcedProcessReview/index.vue b/src/views/work/qualityInfo/outsourcingCooperate/outsourcedProcessReview/index.vue
index e59ab28..7d7b3af 100644
--- a/src/views/work/qualityInfo/outsourcingCooperate/outsourcedProcessReview/index.vue
+++ b/src/views/work/qualityInfo/outsourcingCooperate/outsourcedProcessReview/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['outsourcedProcessReview:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -38,9 +39,9 @@
<el-table-column label="操作" align="center">
<template #default="scope">
<el-button link type="primary" @click="openDialog('view',scope.row)">查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['outsourcedProcessReview:edit']">编辑</el-button>
<el-button link type="primary" @click="downloadFile(scope.row)">导出</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['outsourcedProcessReview:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/qualityInfo/outsourcingCooperate/outsourcedProductName/index.vue b/src/views/work/qualityInfo/outsourcingCooperate/outsourcedProductName/index.vue
index f67a308..442791b 100644
--- a/src/views/work/qualityInfo/outsourcingCooperate/outsourcedProductName/index.vue
+++ b/src/views/work/qualityInfo/outsourcingCooperate/outsourcedProductName/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['outsourcedProductName:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -34,8 +35,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="openDialog('view',scope.row)">查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['outsourcedProductName:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['outsourcedProductName:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/qualityInfo/outsourcingCooperate/unqualifiedHandle/index.vue b/src/views/work/qualityInfo/outsourcingCooperate/unqualifiedHandle/index.vue
index 7455709..85f745f 100644
--- a/src/views/work/qualityInfo/outsourcingCooperate/unqualifiedHandle/index.vue
+++ b/src/views/work/qualityInfo/outsourcingCooperate/unqualifiedHandle/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['unqualifiedHandle:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -39,8 +40,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="downloadFile(scope.row.filePath)">下载</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['unqualifiedHandle:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['unqualifiedHandle:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/qualityInfo/supplierQuality/satisfiedEvaluste/deliver/index.vue b/src/views/work/qualityInfo/supplierQuality/satisfiedEvaluste/deliver/index.vue
index f2acac4..180f115 100644
--- a/src/views/work/qualityInfo/supplierQuality/satisfiedEvaluste/deliver/index.vue
+++ b/src/views/work/qualityInfo/supplierQuality/satisfiedEvaluste/deliver/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['satisfiedEvalusteDeliver:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -40,8 +41,8 @@
<el-table-column label="操作" align="center" class-naame="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['satisfiedEvalusteDeliver:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['satisfiedEvalusteDeliver:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/qualityInfo/supplierQuality/satisfiedEvaluste/report/index.vue b/src/views/work/qualityInfo/supplierQuality/satisfiedEvaluste/report/index.vue
index 745859f..e026cca 100644
--- a/src/views/work/qualityInfo/supplierQuality/satisfiedEvaluste/report/index.vue
+++ b/src/views/work/qualityInfo/supplierQuality/satisfiedEvaluste/report/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['satisfiedEvalusteReport:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -40,8 +41,8 @@
<el-table-column label="操作" align="center" class-naame="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['satisfiedEvalusteReport:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['satisfiedEvalusteReport:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/qualityInfo/supplierQuality/satisfiedEvaluste/research/index.vue b/src/views/work/qualityInfo/supplierQuality/satisfiedEvaluste/research/index.vue
index 5742182..dde8a51 100644
--- a/src/views/work/qualityInfo/supplierQuality/satisfiedEvaluste/research/index.vue
+++ b/src/views/work/qualityInfo/supplierQuality/satisfiedEvaluste/research/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['satisfiedEvalusteResearch:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -40,8 +41,8 @@
<el-table-column label="操作" align="center" class-naame="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['satisfiedEvalusteResearch:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['satisfiedEvalusteResearch:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/qualityInfo/supplierQuality/supplierList/index.vue b/src/views/work/qualityInfo/supplierQuality/supplierList/index.vue
index 74da243..5b92a4e 100644
--- a/src/views/work/qualityInfo/supplierQuality/supplierList/index.vue
+++ b/src/views/work/qualityInfo/supplierQuality/supplierList/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['supplierList:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -63,8 +64,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="160" >
<template #default="scope">
<el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['supplierList:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['supplierList:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/qualityManage/continuousImprovement/index.vue b/src/views/work/qualityManage/continuousImprovement/index.vue
index fcb666f..06d8506 100644
--- a/src/views/work/qualityManage/continuousImprovement/index.vue
+++ b/src/views/work/qualityManage/continuousImprovement/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['continuousImprovement:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -64,9 +65,9 @@
<el-table-column label="跟踪验证" prop="verify" align="center" />
<el-table-column label="操作" align="center" prop="operate" class-name="small-padding fixed-width" width="160">
<template #default="scope">
- <el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('review',scope.row)">查看</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['continuousImprovement:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['continuousImprovement:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/qualityManage/performanceAppraisal/index.vue b/src/views/work/qualityManage/performanceAppraisal/index.vue
index f0cc324..1fd8654 100644
--- a/src/views/work/qualityManage/performanceAppraisal/index.vue
+++ b/src/views/work/qualityManage/performanceAppraisal/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['performanceAppraisal:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -40,9 +41,9 @@
<el-table-column label="绩效评价表" prop="evaluateName" align="center"></el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="160">
<template #default="scope">
- <el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('review',scope.row)">查看</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['performanceAppraisal:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['performanceAppraisal:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/qualityManage/qualityInformationPage/external/index.vue b/src/views/work/qualityManage/qualityInformationPage/external/index.vue
index 911d075..82816b3 100644
--- a/src/views/work/qualityManage/qualityInformationPage/external/index.vue
+++ b/src/views/work/qualityManage/qualityInformationPage/external/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['externalQuality:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -44,9 +45,9 @@
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="160">
<template #default="scope">
- <el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('review',scope.row)">查看</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['externalQuality:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['externalQuality:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/qualityManage/qualityInformationPage/internal/index.vue b/src/views/work/qualityManage/qualityInformationPage/internal/index.vue
index 23d2b59..864f134 100644
--- a/src/views/work/qualityManage/qualityInformationPage/internal/index.vue
+++ b/src/views/work/qualityManage/qualityInformationPage/internal/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['internalQuality:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -44,9 +45,9 @@
</el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="160">
<template #default="scope">
- <el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('review',scope.row)">查看</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['internalQuality:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['internalQuality:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/selfProblems/internalAudit/auditorManage/nameList/index.vue b/src/views/work/selfProblems/internalAudit/auditorManage/nameList/index.vue
index 39be324..5d648ec 100644
--- a/src/views/work/selfProblems/internalAudit/auditorManage/nameList/index.vue
+++ b/src/views/work/selfProblems/internalAudit/auditorManage/nameList/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['internalAuditNameList:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -36,8 +37,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['internalAuditNameList:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['internalAuditNameList:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/selfProblems/internalAudit/auditorManage/tableList/index.vue b/src/views/work/selfProblems/internalAudit/auditorManage/tableList/index.vue
index 4814ada..2c9ba3b 100644
--- a/src/views/work/selfProblems/internalAudit/auditorManage/tableList/index.vue
+++ b/src/views/work/selfProblems/internalAudit/auditorManage/tableList/index.vue
@@ -9,6 +9,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['internalAuditTable:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -42,8 +43,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['internalAuditTable:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['internalAuditTable:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/selfProblems/internalAudit/innerReviewSheet/index.vue b/src/views/work/selfProblems/internalAudit/innerReviewSheet/index.vue
index 86fa2e4..0206eb1 100644
--- a/src/views/work/selfProblems/internalAudit/innerReviewSheet/index.vue
+++ b/src/views/work/selfProblems/internalAudit/innerReviewSheet/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['innerReviewSheet:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -36,9 +37,9 @@
</el-table-column>
<el-table-column label="操作" align="center">
<template #default="scope">
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['innerReviewSheet:list:edit']">编辑</el-button>
<el-button link type="primary" @click="downloadFile(scope.row.id)">导出</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['innerReviewSheet:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/selfProblems/internalAudit/meetingMng/index.vue b/src/views/work/selfProblems/internalAudit/meetingMng/index.vue
index a1566ee..d60d2e1 100644
--- a/src/views/work/selfProblems/internalAudit/meetingMng/index.vue
+++ b/src/views/work/selfProblems/internalAudit/meetingMng/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['meetingMng:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -39,8 +40,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="downloadFile(scope.row.filePath)">下载</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['meetingMng:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['meetingMng:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/selfProblems/internalAudit/problemMng/improveMng/index.vue b/src/views/work/selfProblems/internalAudit/problemMng/improveMng/index.vue
index 40f32e0..a50140e 100644
--- a/src/views/work/selfProblems/internalAudit/problemMng/improveMng/index.vue
+++ b/src/views/work/selfProblems/internalAudit/problemMng/improveMng/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['problemImproveMng:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -53,8 +54,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="downloadFile(scope.row.filePath)">下载</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['problemImproveMng:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['problemImproveMng:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/selfProblems/internalAudit/problemMng/noConformanceMng/index.vue b/src/views/work/selfProblems/internalAudit/problemMng/noConformanceMng/index.vue
index aa8c9ad..7006ade 100644
--- a/src/views/work/selfProblems/internalAudit/problemMng/noConformanceMng/index.vue
+++ b/src/views/work/selfProblems/internalAudit/problemMng/noConformanceMng/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['noConformanceMng:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -39,8 +40,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="downloadFile(scope.row.filePath)">下载</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['noConformanceMng:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['noConformanceMng:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/selfProblems/mngAudit/mngAuditInput/index.vue b/src/views/work/selfProblems/mngAudit/mngAuditInput/index.vue
index 9ce013d..ea18902 100644
--- a/src/views/work/selfProblems/mngAudit/mngAuditInput/index.vue
+++ b/src/views/work/selfProblems/mngAudit/mngAuditInput/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['mngAuditInput:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -39,8 +40,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="downloadFile(scope.row.filePath)">下载</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['mngAuditInput:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['mngAuditInput:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/selfProblems/mngAudit/mngAuditMeeting/index.vue b/src/views/work/selfProblems/mngAudit/mngAuditMeeting/index.vue
index d68bd04..8518118 100644
--- a/src/views/work/selfProblems/mngAudit/mngAuditMeeting/index.vue
+++ b/src/views/work/selfProblems/mngAudit/mngAuditMeeting/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['mngAuditMeeting:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -39,8 +40,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="downloadFile(scope.row.filePath)">下载</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['mngAuditMeeting:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['mngAuditMeeting:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/selfProblems/mngAudit/mngAuditPlan/index.vue b/src/views/work/selfProblems/mngAudit/mngAuditPlan/index.vue
index f4849e8..b1e4ade 100644
--- a/src/views/work/selfProblems/mngAudit/mngAuditPlan/index.vue
+++ b/src/views/work/selfProblems/mngAudit/mngAuditPlan/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['mngAuditPlan:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -53,8 +54,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="downloadFile(scope.row)">导出</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['mngAuditPlan:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['mngAuditPlan:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/selfProblems/mngAudit/mngAuditReport/index.vue b/src/views/work/selfProblems/mngAudit/mngAuditReport/index.vue
index b0d15f0..cd462f5 100644
--- a/src/views/work/selfProblems/mngAudit/mngAuditReport/index.vue
+++ b/src/views/work/selfProblems/mngAudit/mngAuditReport/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['mngAuditReport:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item v-if="isAdmin" label="企业:" >
@@ -39,8 +40,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="downloadFile(scope.row.filePath)">下载</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)">编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)">删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['mngAuditReport:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['mngAuditReport:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/selfProblems/plan/index.vue b/src/views/work/selfProblems/plan/index.vue
index 10f4943..3a58579 100644
--- a/src/views/work/selfProblems/plan/index.vue
+++ b/src/views/work/selfProblems/plan/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['internalAuditPlan:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -46,8 +47,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['internalAuditPlan:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['internalAuditPlan:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
diff --git a/src/views/work/selfProblems/scenario/index.vue b/src/views/work/selfProblems/scenario/index.vue
index 6a4dfe2..6290c11 100644
--- a/src/views/work/selfProblems/scenario/index.vue
+++ b/src/views/work/selfProblems/scenario/index.vue
@@ -8,6 +8,7 @@
plain
icon="Plus"
@click="openDialog('add',{})"
+ v-hasPermi="['scenario:list:add']"
>新增</el-button>
</el-form-item>
<el-form-item label="企业名称:" v-if="data.isAdmin" style="margin-left: 20px">
@@ -49,8 +50,8 @@
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
<template #default="scope">
<el-button link type="primary" @click="openDialog('review',scope.row)" >查看</el-button>
- <el-button link type="primary" @click="openDialog('edit',scope.row)" >编辑</el-button>
- <el-button link type="danger" @click="handleDelete(scope.row)" >删除</el-button>
+ <el-button link type="primary" @click="openDialog('edit',scope.row)" v-hasPermi="['scenario:list:edit']">编辑</el-button>
+ <el-button link type="danger" @click="handleDelete(scope.row)" v-hasPermi="['scenario:list:del']">删除</el-button>
</template>
</el-table-column>
</el-table>
--
Gitblit v1.9.2