diff --git a/src/layout/components/AppSidebar/Menu.vue b/src/layout/components/AppSidebar/Menu.vue index fa26002..141a30f 100644 --- a/src/layout/components/AppSidebar/Menu.vue +++ b/src/layout/components/AppSidebar/Menu.vue @@ -139,7 +139,7 @@ const role = computed(() => route.query.role); const projectId = +Cookies.get('sand-projectId'); const levelId = +Cookies.get('sand-level'); const isAdmin = ref(route.query.admin ?? Cookies.get('sand-admin')); // 从中台进来的标识 -const num1 = ref(0); +const num1 = ref(''); const num2 = ref(0); // 跳转 @@ -156,13 +156,13 @@ const getNum = async (status?: number, type?: number) => { }); if (type === 1) { // 产品经理-企业 - num2.value = data; + num2.value = data || ''; } else { - num1.value = data; + num1.value = data || ''; } }; onMounted(() => { - const status = role.value === '41' ? 5 : role.value === '42' ? 1 : role.value === '43' ? 2 : ''; // (1-配置风控 2-待审批,3-审批通过,4-审批不通过,5-审批打回 + const status = role.value === '41' ? 299 : role.value === '42' ? 295 : role.value === '43' ? 296 : ''; // (1-配置风控 2-待审批,3-审批通过,4-审批不通过,5-审批打回 if (status) { getNum(status, role.value === '41' ? 0 : ''); role.value === '41' && getNum(status, 1); diff --git a/src/views/config/level/Index.vue b/src/views/config/level/Index.vue index 1d42bcc..9e54fcf 100644 --- a/src/views/config/level/Index.vue +++ b/src/views/config/level/Index.vue @@ -216,7 +216,7 @@ watch([params, () => route.query], getList); // 保存 const save = async () => { - if (saveLoading.value) return false; + if (!hadChange.value || saveLoading.value) return false; saveLoading.value = true; try { // 编辑 diff --git a/src/views/product/afterLoan/1033.vue b/src/views/product/afterLoan/1033.vue index a1079de..9ff2b83 100644 --- a/src/views/product/afterLoan/1033.vue +++ b/src/views/product/afterLoan/1033.vue @@ -24,8 +24,13 @@ min-width="310" align="center"> @@ -41,10 +46,33 @@
确认完成配置
+ + +
+
+ + {{ item.options }} +
+
+ +