MrShi
2025-07-19 9b1a32a3df7d54d19373551a3df34970d1a6a34f
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'],