From 9b1a32a3df7d54d19373551a3df34970d1a6a34f Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期六, 19 七月 2025 10:29:47 +0800
Subject: [PATCH] 调接口
---
small-program/pages/employment-certification/employment-certification.vue | 25 ++++++-------------------
1 files changed, 6 insertions(+), 19 deletions(-)
diff --git a/small-program/pages/employment-certification/employment-certification.vue b/small-program/pages/employment-certification/employment-certification.vue
index 61d1915..fc8b9e2 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,7 +343,7 @@
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 || '鐢宠鎴愬姛 ',
@@ -441,11 +433,7 @@
})
}
})
- },
-<<<<<<< HEAD
- uploadImg(index) {
- var that = this
-=======
+ },
getApplyData(){
var that = this
var param ={ type:that.flag}
@@ -477,8 +465,7 @@
})
},
uploadImg(index){
- var that =this
->>>>>>> 66fcf61061d6d275c1848df5d3f8e0082f6b02ba
+ var that =this
uni.chooseImage({
count: 1, // 榛樿9
sizeType: ['original', 'compressed'],
--
Gitblit v1.9.3