From a223d5e29e9384f720ae98c44cbe10f8fa4f73e7 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期四, 21 八月 2025 13:42:16 +0800
Subject: [PATCH] 优化
---
small-program/pages/employment-certification/employment-certification.vue | 30 ++++++++----------------------
1 files changed, 8 insertions(+), 22 deletions(-)
diff --git a/small-program/pages/employment-certification/employment-certification.vue b/small-program/pages/employment-certification/employment-certification.vue
index 61d1915..b633584 100644
--- a/small-program/pages/employment-certification/employment-certification.vue
+++ b/small-program/pages/employment-certification/employment-certification.vue
@@ -208,14 +208,10 @@
bgImg: require('@/static/image/bg_renzheng_yonggong@2x.png'),
title: '鐢ㄦ埛璁よ瘉',
flag: null,
-<<<<<<< HEAD
- isCompany: false,
- loading: false,
-=======
+
isCompany:false,
loading:false,
- info: {},
->>>>>>> 66fcf61061d6d275c1848df5d3f8e0082f6b02ba
+ info: {},
form: {
"companyName": "",
authType: 0,
@@ -246,12 +242,8 @@
var flag = options.flag
this.flag = flag
this.initFormData()
-<<<<<<< HEAD
- switch (flag) {
-=======
this.getApplyData()
- switch(flag){
->>>>>>> 66fcf61061d6d275c1848df5d3f8e0082f6b02ba
+ switch(flag){
case '1':
this.title = '璐ц繍璁よ瘉'
this.bgImg = require('@/static/image/bg_renzheng_huoyun@2x.png')
@@ -351,15 +343,15 @@
tmplIds: ['4H9ztG4E9BxJLwMuYSZ6oiM7yb4KX7u7bYhkhYJP0-Y'],
success(res) {
console.log('鎻愪氦鍙傛暟锛�', param)
- this.$u.api.applyForIdentity(param).then(res => {
+ that.$u.api.applyForIdentity(param).then(res => {
if (res.code === 200) {
uni.showToast({
title: res.message || '鐢宠鎴愬姛 ',
icon: "none",
duration: 2000
});
- uni.navigateBack({
- delta: 1
+ uni.switchTab({
+ url:'/pages/mine/mine'
});
}
}).finally(() => {
@@ -441,11 +433,7 @@
})
}
})
- },
-<<<<<<< HEAD
- uploadImg(index) {
- var that = this
-=======
+ },
getApplyData(){
var that = this
var param ={ type:that.flag}
@@ -472,13 +460,11 @@
that.form.img21Full = that.info.imgList.length>1?that.info.imgList[1]:null
}
}
-
}
})
},
uploadImg(index){
- var that =this
->>>>>>> 66fcf61061d6d275c1848df5d3f8e0082f6b02ba
+ var that =this
uni.chooseImage({
count: 1, // 榛樿9
sizeType: ['original', 'compressed'],
--
Gitblit v1.9.3