Преглед на файлове

联席会议状态控制

gks преди 1 година
родител
ревизия
c671d7f027
променени са 3 файла, в които са добавени 10 реда и са изтрити 10 реда
  1. 2 2
      src/views/AttendMeeting/index.vue
  2. 4 4
      src/views/JOINTCONFERENCE/add.vue
  3. 4 4
      src/views/JOINTCONFERENCE/index.vue

+ 2 - 2
src/views/AttendMeeting/index.vue

@@ -47,7 +47,7 @@
           icon="el-icon-plus"
           size="mini"
           @click="handleAdd"
-          v-hasPermi="['business:JOINTCONFERENCE:add']"
+          v-if="checkPermi(['business:JOINTCONFERENCE:add'])"
           >发起会议</el-button
         >
       </el-col>
@@ -71,7 +71,7 @@
           size="mini"
           :disabled="multiple"
           @click="handleDelete"
-          v-hasPermi="['business:JOINTCONFERENCE:remove']"
+          v-if="checkPermi(['business:JOINTCONFERENCE:remove'])"
           >删除</el-button
         >
       </el-col>

+ 4 - 4
src/views/JOINTCONFERENCE/add.vue

@@ -54,21 +54,21 @@
         <template>
           <el-radio
             @input="radioChange"
-            :disabled="param.edit"
+            :disabled="!(user.deptId == 100 && user.type ==1)"
             v-model="form.type"
             label="1"
             >完结</el-radio
           >
           <el-radio
             @input="radioChange"
-            :disabled="param.edit"
+            :disabled="!(user.deptId == 100 && user.type ==1)"
             v-model="form.type"
             label="2"
             >长期</el-radio
           >
           <el-radio
             @input="radioChange"
-            :disabled="param.edit"
+            :disabled="!(user.deptId == 100 && user.type ==1)"
             v-model="form.type"
             label="3"
             >限期</el-radio
@@ -83,7 +83,7 @@
       >
         <el-date-picker
           :picker-options="pickerOptions"
-          :disabled="param.edit"
+          :disabled="!(user.deptId == 100 && user.type ==1)"
           v-model="form.date"
           type="date"
           value-format="yyyy-MM-dd"

+ 4 - 4
src/views/JOINTCONFERENCE/index.vue

@@ -47,7 +47,7 @@
           icon="el-icon-plus"
           size="mini"
           @click="handleAdd"
-          v-hasPermi="['business:JOINTCONFERENCE:add']"
+          v-if="checkPermi(['business:JOINTCONFERENCE:add'])"
           >发起会议</el-button
         >
       </el-col>
@@ -59,7 +59,7 @@
           size="mini"
           :disabled="single"
           @click="handleUpdate"
-          v-hasPermi="['business:JOINTCONFERENCE:edit']"
+          v-if="checkPermi(['business:JOINTCONFERENCE:edit'])"
           >修改</el-button
         >
       </el-col> -->
@@ -71,7 +71,7 @@
           size="mini"
           :disabled="multiple"
           @click="handleDelete"
-          v-hasPermi="['business:JOINTCONFERENCE:remove']"
+          v-if="checkPermi(['business:JOINTCONFERENCE:remove'])"
           >删除</el-button
         >
       </el-col>
@@ -125,7 +125,7 @@
             size="mini"
             type="text"
             @click="goDetail(scope.row)"
-            v-hasPermi="['business:ARTICLE:query']"
+            v-if="checkPermi(['business:ARTICLE:query'])"
             >会议详情</el-button
           >