Browse Source

fix:机构管理逻辑调整

Signed-off-by: tsz <2417024719@qq.com>
tsz 1 year ago
parent
commit
efd67351ed
1 changed files with 6 additions and 2 deletions
  1. 6 2
      entbase-pc/src/views/ent/components/personal.vue

+ 6 - 2
entbase-pc/src/views/ent/components/personal.vue

@@ -101,7 +101,11 @@
             <span v-if="scope.row.role == '部门管理员'" class="depart_user">
               {{ scope.row.role }}<i>、</i>{{ setAllocition(scope.row.niche_dis) }}
             </span>
-            <span v-if="scope.row.role == ''">员工<i>、</i><span>{{ setAllocition(scope.row.niche_dis) }}</span></span>
+            <span v-if="scope.row.role == ''">
+              {{ $store.state.companyMsg.nicheDis_show === 1 ? '销售' : '员工' }}
+              <!-- <i>、</i> -->
+              <!-- <span>{{ setAllocition(scope.row.niche_dis) }}</span> -->
+            </span>
           </template>
         </el-table-column>
         <el-table-column
@@ -200,7 +204,7 @@
               @focus="chooseDepartFc"
             ></el-input>
           </label>
-          <label class="">
+          <label v-if="$store.state.companyMsg.nicheDis_show === 1" class="">
             <span>角色:</span>
             <el-select v-model="ruleForm.allocation" placeholder="请选择角色">
               <el-option