|
|
@@ -81,9 +81,9 @@ const copyPublicShare = async () => {
|
|
|
if(selectedParentId.value){
|
|
|
await handleConfirm(true);
|
|
|
}
|
|
|
- if(!shareAuthVal){
|
|
|
- await (shareRef.value as any)?.submit();
|
|
|
- }
|
|
|
+ // if(!shareAuthVal){
|
|
|
+ await (shareRef.value as any)?.submit();
|
|
|
+ // }
|
|
|
// await (shareRef.value as any)?.submit();
|
|
|
};
|
|
|
function generateFourDigitString() {
|
|
|
@@ -137,7 +137,7 @@ onMounted(async () => {
|
|
|
const deptId = user.value.info.deptId;
|
|
|
const res = await axios.get(getHigherLevelDept, { params: { deptId } });
|
|
|
organTrees.value = res.data as any;
|
|
|
-
|
|
|
+ shareAuthCode.value = generateFourDigitString();
|
|
|
// 预取案件共享权限并回显:deptId、isAuth、shareAuth、mapShow
|
|
|
try {
|
|
|
const res: any = await axios.post(shareAuthList, { caseId: props.caseId });
|