From a7a1ff9356152c6446027cb13ff5b088c01ec66d Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 18 七月 2025 18:58:03 +0800
Subject: [PATCH] 前端
---
small-program/pages/employment-certification/employment-certification.vue | 32 ++++++++++++++++++++++++++++++++
1 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/small-program/pages/employment-certification/employment-certification.vue b/small-program/pages/employment-certification/employment-certification.vue
index d9a0717..7e4e3b2 100644
--- a/small-program/pages/employment-certification/employment-certification.vue
+++ b/small-program/pages/employment-certification/employment-certification.vue
@@ -197,6 +197,7 @@
flag: null,
isCompany:false,
loading:false,
+ info: {},
form: {
"companyName": "",
authType:0,
@@ -227,6 +228,7 @@
var flag = options.flag
this.flag = flag
this.initFormData()
+ this.getApplyData()
switch(flag){
case '1':
this.title = '璐ц繍璁よ瘉'
@@ -382,6 +384,36 @@
}
})
},
+ getApplyData(){
+ var that = this
+ var param ={ type:that.flag}
+ this.$u.api.getIdentityInfo(param).then(res =>{
+ if(res.code ===200){
+ if(res.data && res.data.id){
+ that.info = res.data
+ for (const key in that.form) {
+ that.form[key] = that.info[key]
+ }
+ if(that.info.authType == 1){
+ that.form.img1Full = that.info.imgList.length>0?that.info.imgList[0]:null
+ that.form.img2Full = that.info.imgList.length>1?that.info.imgList[1]:null
+ that.form.img3Full = that.info.imgList.length>2?that.info.imgList[2]:null
+ that.form.img4Full = that.info.imgList.length>3?that.info.imgList[3]:null
+ }else{
+ that.form.img1= null
+ that.form.img1 = null
+ that.form.img2 = null
+ that.form.img2Full = null
+ that.form.img11 = that.info.img1
+ that.form.img11Full = that.info.imgList.length>0?that.info.imgList[0]:null
+ that.form.img21 = that.info.img2
+ that.form.img21Full = that.info.imgList.length>1?that.info.imgList[1]:null
+ }
+ }
+
+ }
+ })
+ },
uploadImg(index){
var that =this
uni.chooseImage({
--
Gitblit v1.9.3