linwenxin 5 ماه پیش
والد
کامیت
394197a126
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      src/views/setting/departmentManage/index.vue

+ 2 - 1
src/views/setting/departmentManage/index.vue

@@ -111,7 +111,8 @@
           <el-form ref="mainForm" :model="mainForm" :rules="mainFormRules" label-width="130px">
             <el-row :gutter="20" justify="start">
               <el-col :span="6">
-                <el-form-item label="上级" prop="parentId">
+                <!-- isMaster=tuue type=0 -->
+                <el-form-item label="上级" prop="parentId" v-if="!(userData.type==0 && userData.isMaster)">
                   <el-cascader
                     style="width: 100%"
                     :options="dataList2"