From c78399c98c890c1f0aa607dd3e9c4470d40faa4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=85=B4=E5=87=AF?= <2448379534@qq.com> Date: Mon, 27 Apr 2026 11:57:26 +0800 Subject: [PATCH] =?UTF-8?q?BUG=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/login-sjtb/index.vue | 17 +- frontend/src/views/register/index.vue | 324 ++++++++++++++++++ .../src/views/shuJuTianBao/shengPiJiLu.vue | 26 +- frontend/src/views/system/role/index.vue | 4 +- 4 files changed, 356 insertions(+), 15 deletions(-) create mode 100644 frontend/src/views/register/index.vue diff --git a/frontend/src/views/login-sjtb/index.vue b/frontend/src/views/login-sjtb/index.vue index 7cc8bdb..f6dbffc 100644 --- a/frontend/src/views/login-sjtb/index.vue +++ b/frontend/src/views/login-sjtb/index.vue @@ -168,6 +168,15 @@ > 忘记密码 --> + + 注册 + @@ -367,6 +376,7 @@ function onFinish() { setPath('/login-sjtb') router.push({ path: "/" }); state.loading = false; + message.success("登录成功"); }) .catch(() => { getCode(); @@ -437,7 +447,10 @@ const startCountdown = () => { // const showForgotPasswordPage = () => { // showForgotPassword.value = true; // }; - +//注册用户页面 +const goRegister = () => { + router.push({ path: "/register" }); +}; // 返回登录页面 const backToLogin = () => { showForgotPassword.value = false; @@ -625,7 +638,7 @@ onMounted(() => { position: absolute; top: 20%; left: 18%; - width: 490px; + width: 700px; height: 112px; color: #040504; font-size: 40px; diff --git a/frontend/src/views/register/index.vue b/frontend/src/views/register/index.vue new file mode 100644 index 0000000..0d1126e --- /dev/null +++ b/frontend/src/views/register/index.vue @@ -0,0 +1,324 @@ + + + + + diff --git a/frontend/src/views/shuJuTianBao/shengPiJiLu.vue b/frontend/src/views/shuJuTianBao/shengPiJiLu.vue index 11ae240..9d1bb16 100644 --- a/frontend/src/views/shuJuTianBao/shengPiJiLu.vue +++ b/frontend/src/views/shuJuTianBao/shengPiJiLu.vue @@ -117,8 +117,8 @@ let columns = ref([ }, { title: '提交人', - dataIndex: 'applyUserId', - key: 'applyUserId', + dataIndex: 'applyUserName', + key: 'applyUserName', width: 120, align: 'center' }, @@ -140,15 +140,17 @@ let columns = ref([ }, { title: '审批人', - dataIndex: 'approverId', - key: 'approverId', - width: 120 + dataIndex: 'approverName', + key: 'approverName', + width: 120, + align: 'center' }, { title: '审批时间', dataIndex: 'approveTime', key: 'approveTime', width: 160, + align: 'center' }, { @@ -209,9 +211,10 @@ const approvalLogColumns = ref([ }, { title: '操作人', - dataIndex: 'operatorId', - key: 'operatorId', - width: 150 + dataIndex: 'operatorName', + key: 'operatorName', + width: 150, + align: 'center' }, { title: '操作时间', @@ -255,9 +258,10 @@ const changeLogColumns = ref([ }, { title: '操作人', - dataIndex: 'operatorId', - key: 'operatorId', - width: 150 + dataIndex: 'operatorName', + key: 'operatorName', + width: 150, + align: 'center' }, { title: '操作时间', diff --git a/frontend/src/views/system/role/index.vue b/frontend/src/views/system/role/index.vue index 9072002..15e4b3a 100644 --- a/frontend/src/views/system/role/index.vue +++ b/frontend/src/views/system/role/index.vue @@ -68,7 +68,7 @@ const input = ref(""); const title = ref(""); const info: any = ref({ rolename: "", - level: "系统管理员", + level: "2", description: "", }); const faultList: any = [ @@ -90,7 +90,7 @@ function addClick() { title.value = "新增角色"; info.value = { rolename: "", - level: "系统管理员", + level: "2", description: "", }; dialogVisible.value = true;