From 81e1b297b1fabec596c1cb7187ce2d6199026429 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Thu, 30 Nov 2023 16:51:10 +0800
Subject: [PATCH] 模拟考试成绩查询
---
src/views/wel/index.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/views/wel/index.vue b/src/views/wel/index.vue
index 30e36da..fcde7cd 100644
--- a/src/views/wel/index.vue
+++ b/src/views/wel/index.vue
@@ -67,10 +67,10 @@
},
created(){
//获取二维码图片
- if(this.userInfo.role_name == "公安管理员" || this.userInfo.role_name == "administrator"){
+ if(this.userInfo.role_name == "公安管理员" || this.userInfo.role_name == "administrator" || this.userInfo.role_name == "民警"){
this.isImg = true;
//查询图片
- getDetails(10).then((res) => {
+ getDetails(12).then((res) => {
const att = res.data.data;
this.img = att.link;
});
--
Gitblit v1.9.3