From de82af1090b355836025267b1009b5a75183269f Mon Sep 17 00:00:00 2001
From: zhangqun <179111901@qq.com>
Date: Wed, 22 Mar 2023 10:47:20 +0800
Subject: [PATCH] =?UTF-8?q?=E8=BD=A6=E7=AE=A1=E6=89=80=E9=A2=84=E7=BA=A6?=
=?UTF-8?q?=E6=89=93=E5=8D=B0=E8=A1=A5=E5=85=85=E9=A2=84=E7=BA=A6=E4=BA=BA?=
=?UTF-8?q?=E9=87=87=E9=9B=86=E5=A4=B4=E5=83=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/booklist/booklist.js | 10 ++++++++++
src/views/booklist/index.vue | 24 +++++++++++++++++++-----
vue.config.js | 4 ++--
3 files changed, 31 insertions(+), 7 deletions(-)
diff --git a/src/api/booklist/booklist.js b/src/api/booklist/booklist.js
index f17bd6c..2df3ee9 100644
--- a/src/api/booklist/booklist.js
+++ b/src/api/booklist/booklist.js
@@ -39,3 +39,13 @@ export const getSystemTime = () => {
method: "get",
});
};
+//获取预约用户头像
+export const getCupImg = (cupCardNo) => {
+ return request({
+ url: '/api/blade-business/common-api/get-cup-img',
+ method: 'get',
+ params: {
+ cupCardNo,
+ }
+ })
+};
diff --git a/src/views/booklist/index.vue b/src/views/booklist/index.vue
index fe8dec2..56e6c9d 100644
--- a/src/views/booklist/index.vue
+++ b/src/views/booklist/index.vue
@@ -24,6 +24,7 @@
:disabled="(row.details.find(item => item.apmStatus == 2) && Date.parse(new Date(row.apmDay.substring(0, 10) + ' 23:59:59')) > Date.parse(new Date(systemTime))) ? false : true">预约报道
报道详情
+
-
+
机动车驾驶人身体条件证明
@@ -193,8 +194,10 @@
档案编号 |
|
- 照片
- (医疗机构章)
+
+ ![]()
+
+
|
@@ -218,6 +221,7 @@
□影响肢体活动的神经系统疾病等妨碍安全驾驶病
□三年内有吸食、注射毒品行为或者解除强制隔离戒毒措施未满三年、或者长期服用依赖性精神药品成瘾尚未戒除
上述申告为本人真实情况和真实意思表示,如果不属实本人自愿承担相应的法律责任。
+ 申请人签字:
@@ -358,7 +362,8 @@ import {
getList,
queryBookDetail,
getStatus,
- getSystemTime
+ getSystemTime,
+ getCupImg
} from "@/api/booklist/booklist";
import { mapGetters } from "vuex";
import print from "vue-print-nb";
@@ -466,7 +471,8 @@ export default {
regData: {
resData: {}
},
- systemTime: ''
+ systemTime: '',
+ avatar: 'https://isdapp.shandong.gov.cn/jmopenpub//jmopen_files/webapp/jssdk/64ae6d186f284a87a1fc026364c7f013.jpg',//打印表格图像
};
},
directives: {
@@ -522,6 +528,7 @@ export default {
res.data.data.resData.cupPhone = Base64.decode(res.data.data.resData.cupPhone);
// console.log('12',res.data);
this.regData = res.data.data;
+ this.queryCupImg(row.cupCardNo);
this.isRegister = true
})
});
@@ -535,8 +542,15 @@ export default {
//报道详情
queryBookDetail(row) {
this.regData = {resData: row,resStatus: 1};
+ this.queryCupImg(row.cupCardNo);
this.isRegister = true
},
+ //根据身份证号获取头像
+ queryCupImg(cardNo) {
+ getCupImg(Base64.encode(cardNo)).then(res => {
+ this.avatar = res.data.data;
+ })
+ },
beforeOpen(done, type) {
done();
},
diff --git a/vue.config.js b/vue.config.js
index ecc35be..1cfd5a3 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -27,8 +27,8 @@ module.exports = {
"/api": {
//本地服务接口地址
// target: "http://www.qdscgs.com:80",//生成
- target: "http://192.168.1.3:8080",
- // target: "http://192.168.1.106",
+ // target: "http://192.168.1.3:8080",
+ target: "http://192.168.1.106",
//远程演示服务地址,可用于直接启动项目
// target: 'https://saber.bladex.vip/api',
ws: true,