diff --git a/src/App.vue b/src/App.vue index ad5f05d..93b181a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -196,35 +196,6 @@ if (userStore.isLogin) { try { const data = await UserService.getUserInfo() - const { systemsid } = useUserStore() - // 排除移动端电子签名页,不做签名校验 - const currentPath = router.currentRoute.value?.path || '' - const isOnMobileSignature = currentPath.startsWith('/auth/signature/mobile') - if (!isOnMobileSignature) { - if (data.user.sign_img == null || data.user.sign_img == '') { - ElMessageBox.alert('请前往个人中心完成签名操作!', '提醒', { - confirmButtonText: '确定', - callback: () => { - if (systemsid == '1') { - router.push('/admin/user/user_info') - } else { - router.push('/system/user-center') - } - } - }) - } else if (data.user.email == null || data.user.email == '') { - ElMessageBox.alert('邮箱没有填写!请前往个人中心补充邮箱!', '提醒', { - confirmButtonText: '确定', - callback: () => { - if (systemsid == '1') { - router.push('/admin/user/user_info') - } else { - router.push('/system/user-center') - } - } - }) - } - } userStore.setUserInfo(data) } catch (error) { console.error('获取用户信息失败', error) diff --git a/src/api/commonApi.ts b/src/api/commonApi.ts index 3870f3f..452145d 100644 --- a/src/api/commonApi.ts +++ b/src/api/commonApi.ts @@ -132,6 +132,13 @@ export class commonService { url: '/common/preset/users' }) } + //用户下拉框 + static getUserSelectparams(params: any) { + return request.get({ + url: '/common/preset/users', + params + }) + } //签名 编辑 static signatureEdit(params: any) { return request.post({ diff --git a/src/components/custom/OrderDetailContent.vue b/src/components/custom/OrderDetailContent.vue index e685e91..7861a37 100644 --- a/src/components/custom/OrderDetailContent.vue +++ b/src/components/custom/OrderDetailContent.vue @@ -206,6 +206,14 @@ '—' }} + + +