SunZehao hai 1 ano
pai
achega
34ed6c7cf8

+ 2 - 2
src/components/assessment/assessmentApplicationPage.vue

@@ -30,8 +30,8 @@
                 :showImport="false"
                 :showExport="false"
                 :showSave="false"
-                :showAdd="true"
-                :showDelete="true"
+                :showAdd="$utils.havePurview('evaluationApplication:oneLevel:add')"
+                :showDelete="$utils.havePurview('evaluationApplication:oneLevel:delete')"
                 :disDelete="changeDateSelect.length === 0"
                 :disImport="true"
                 :disExport="true"

+ 5 - 5
src/components/assessment/evaluationDeptRatingPage.vue

@@ -14,11 +14,11 @@
             </div>
             <div class="PeriodBtn" :style="$utils.PeriodBtnSty()">
                 <btns
-                :showImport="true"
-                :showExport="true"
-                :showSave="true"
-                :showAdd="true"
-                :showDelete="true"
+                :showImport="$utils.havePurview('evaluationDeptRating:oneLevel:import')"
+                :showExport="$utils.havePurview('evaluationDeptRating:oneLevel:export')"
+                :showSave="$utils.havePurview('evaluationDeptRating:oneLevel:save')"
+                :showAdd="$utils.havePurview('evaluationDeptRating:oneLevel:add')"
+                :showDelete="$utils.havePurview('evaluationDeptRating:oneLevel:delete')"
                 :disSave="changeDateSelect.length === 0 || changeDateSelect.length>1"
                 :disDelete="changeDateSelect.length === 0"
                 :disImport="false"

+ 2 - 2
src/components/assessment/evaluationDeptStartPage.vue

@@ -17,8 +17,8 @@
                 :showImport="false"
                 :showExport="false"
                 :showSave="false"
-                :showAdd="true"
-                :showDelete="true"
+                :showAdd="$utils.havePurview('evaluationDeptStart:oneLevel:add')"
+                :showDelete="$utils.havePurview('evaluationDeptStart:oneLevel:delete')"
                 :disDelete="changeDateSelect.length === 0"
                 :disImport="true"
                 :disExport="true"

+ 5 - 5
src/components/assessment/evaluationUnitRatingPage.vue

@@ -25,11 +25,11 @@
             </div>
             <div class="PeriodBtn" :style="$utils.PeriodBtnSty()">
                 <btns
-                :showImport="true"
-                :showExport="true"
-                :showSave="true"
-                :showAdd="true"
-                :showDelete="true"
+                :showImport="$utils.havePurview('evaluationUnitRate:oneLevel:import')"
+                :showExport="$utils.havePurview('evaluationUnitRate:oneLevel:export')"
+                :showSave="$utils.havePurview('evaluationUnitRate:oneLevel:save')"
+                :showAdd="$utils.havePurview('evaluationUnitRate:oneLevel:add')"
+                :showDelete="$utils.havePurview('evaluationUnitRate:oneLevel:delete')"
                 :disSave="changeDateSelect.length === 0 || changeDateSelect.length>1"
                 :disDelete="changeDateSelect.length === 0"
                 :disImport="false"

+ 1 - 2
src/components/evaluationknowledgePage/earlyWarningRulePage.vue

@@ -20,11 +20,10 @@
                 <seachs @handleSeach="getSeachData" @handleRest="reset"></seachs>
             </div>
             <div class="PeriodBtn" :style="$utils.PeriodBtnSty()">
-                <!-- $utils.havePurview('earlyWarningRules:oneLevel:add') -->
                 <btns
                 :showImport="false"
                 :showExport="false"
-                :showAdd="true"
+                :showAdd="$utils.havePurview('earlyWarningRules:oneLevel:add')"
                 :showSave="false" :showDelete="false"
                 :disSave="true" :disDelete="true" :disImport="true" :disExport="true"
                 @handleAdd="handleAdd"

+ 1 - 2
src/components/evaluationknowledgePage/evalRatingRulesPage.vue

@@ -31,11 +31,10 @@
                 <seachs @handleSeach="getSeachData" @handleRest="reset"></seachs>
             </div>
             <div class="PeriodBtn" :style="$utils.PeriodBtnSty()">
-                <!-- $utils.havePurview('evalratingRules:oneLevel:add') -->
                 <btns
                 :showImport="false"
                 :showExport="false"
-                :showAdd="true"
+                :showAdd="$utils.havePurview('evalRatingRules:oneLevel:add')"
                 :showSave="false" :showDelete="false"
                 :disSave="true" :disDelete="true" :disImport="true" :disExport="true"
                 @handleAdd="handleAdd"