Просмотр исходного кода

省级单位平台管理员可见(若无省级平台请忽略,若有场景密码则此密码生效)

tangning 2 дней назад
Родитель
Сommit
d0ac04964f
1 измененных файлов с 4 добавлено и 2 удалено
  1. 4 2
      src/views/productOperation/modal/PowersModal.vue

+ 4 - 2
src/views/productOperation/modal/PowersModal.vue

@@ -46,7 +46,7 @@
           />
         </template>
       </BasicTable>
-      <div style="margin-left: 16px" v-if="!(caseId||fusionId)">
+      <div style="margin-left: 16px" v-if="tableType == 0 && !(caseId||fusionId)">
       <Checkbox v-model:checked="supAuthRef" size="small">省级单位平台管理员可见(若无省级平台请忽略,若有场景密码则此密码生效)</Checkbox>
       </div>
       <detailModal @register="registerDetail" @update="reload" />
@@ -81,7 +81,7 @@
       const modelRef = ref({});
       const tableRef = ref(null);
       const supAuthRef = ref(true);
-
+      const tableType = ref(0)
       const numRef = ref(null);
       const caseId = ref(null);
       const fusionId = ref(null);
@@ -225,6 +225,7 @@
         sourceType.value = data.sourceType;
         fusionId.value = data.fusionId;
         caseId.value = data.caseId;
+        tableType.value = data.tableType;
         resetFields();
         const { authType, supAuth = 1 } = await getAuthType({ num: numRef.value,  sourceType: sourceType.value });
         fileFlow.showList = authType ? false : true;
@@ -322,6 +323,7 @@
         caseId,
         fusionId,
         tableRef,
+        tableType,
       };
     },
   });