|
|
@ -10,8 +10,14 @@ |
|
|
|
<view class="certify-yes">{{['实名验证成功', '实名验证中', '实名验证失败'][appInfo.realname_status]}}</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="rb-box-right b-flex-x b-flex-c" @click="toCertify"> |
|
|
|
<view>去认证</view> |
|
|
|
<!-- <view class="rb-box-right b-flex-x b-flex-c" @click="toCertifyRes"> |
|
|
|
<view>查询</view> |
|
|
|
<text class="b-icon icon-right b-text-black-dd"></text> |
|
|
|
</view> --> |
|
|
|
|
|
|
|
<view class="rb-box-right b-flex-x b-flex-c" > |
|
|
|
<view @click="toCertifyRes">查询认证</view> |
|
|
|
<view @click="toCertify">去认证</view> |
|
|
|
<text class="b-icon icon-right b-text-black-dd"></text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -21,7 +27,7 @@ |
|
|
|
<view class="rb-input-box b-flex-x b-flex-b"> |
|
|
|
<view class="input-width-more b-flex-x b-t-B"> |
|
|
|
<text class="b-t-32">备案状态</text><text>*</text> |
|
|
|
<view class="" :class="[icp_btn_style]" >{{statusMap_icp[icpInfo.status]||icpInfo.status}}</view> |
|
|
|
<view v-if="icpInfo.status" class="" :class="[icp_btn_style]" >{{statusMap_icp[icpInfo.status]||"未备案"}}</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="rb-box-right b-flex-x b-flex-c" @click="toIcp"> |
|
|
@ -46,7 +52,7 @@ |
|
|
|
<text class="rb-input-img-text">点击上传</text> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="b-flex-as-e b-ml-40 b-t-24 b-t-green b-t-B b-t-U">重新上传</view> |
|
|
|
<!-- <view class="b-flex-as-e b-ml-40 b-t-24 b-t-green b-t-B b-t-U">重新上传</view> --> |
|
|
|
|
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -91,7 +97,7 @@ |
|
|
|
|
|
|
|
<!-- <button class="b-btn b-btn-green b-btn-sm b-mr-40" @click="clickSet(3)">设置</button> --> |
|
|
|
</view> |
|
|
|
<view class="rb-class" v-for="(e,i) in categoryInfo.categories"> |
|
|
|
<view class="rb-class" v-for="(e,i) in categoryInfo.categories" :key="i"> |
|
|
|
<view class="b-flex-x">类目名称: <text>{{e.first_name}}/{{e.second_name}}</text></view> |
|
|
|
<!-- <view class="b-flex-x">类目状态: <text class="b-t-green" :class="">{{auditList[e.audit_status]}}</text></view> --> |
|
|
|
<view class="b-flex-x">类目状态: <text class="b-t-green" :class="[category_style(e.audit_status)]">{{audit_list_txt(e.audit_status)}}</text></view> |
|
|
@ -109,13 +115,13 @@ |
|
|
|
<view class="rb-upload-list b-flex-x b-flex-a"> |
|
|
|
<view class="rb-upload-item idcard-width-170 b-flex-y b-flex-c"> |
|
|
|
<image class="rb-upload-bg " src="../../static/regist/id_people.png" |
|
|
|
:src="submitData.extension.business_id_card_url?submitData.extension.business_id_card_url:localImg.idCardFront"></image> |
|
|
|
:src="submitData.extension.business_id_card_url?submitData.extension.business_id_card_url:'../../static/regist/id_people.png'"></image> |
|
|
|
<image class="rb-upload-cam" src="../../static/regist/camera.png"></image> |
|
|
|
<text class="rb-input-img-text">上传身份证头像面</text> |
|
|
|
</view> |
|
|
|
<view class="rb-upload-item idcard-width-170 b-flex-y b-flex-c"> |
|
|
|
<image class="rb-upload-bg " src="../../static/regist/id_guohui.png" |
|
|
|
:src="submitData.extension.business_id_card_back_url?submitData.extension.business_id_card_back_url:localImg.idCardBack"></image> |
|
|
|
:src="submitData.extension.business_id_card_back_url?submitData.extension.business_id_card_back_url:'../../static/regist/id_guohui.png'"></image> |
|
|
|
<image class="rb-upload-cam" src="../../static/regist/camera.png"></image> |
|
|
|
<text class="rb-input-img-text">上传身份证国徽面</text> |
|
|
|
</view> |
|
|
@ -195,13 +201,13 @@ |
|
|
|
</view> --> |
|
|
|
|
|
|
|
<miniappChangeName v-if="showChangeNameModule" |
|
|
|
:nameInfo="nameInfo" :appid="appid" |
|
|
|
:appInfo="appInfo" :appid="appid" |
|
|
|
@sure="nameChange" |
|
|
|
@close="showChangeNameModule = false" |
|
|
|
></miniappChangeName> |
|
|
|
|
|
|
|
<miniappChangeJianJie v-if="showChangeJianJieModule" |
|
|
|
:appid="appid" |
|
|
|
:appInfo="appInfo" :appid="appid" |
|
|
|
@sure="jianjieChange" |
|
|
|
@close="showChangeJianJieModule = false" |
|
|
|
></miniappChangeJianJie> |
|
|
@ -239,30 +245,30 @@ export default { |
|
|
|
animation:true, |
|
|
|
appInfo:{ |
|
|
|
"account_type": 3, |
|
|
|
"appid": "wxeb7efb9a1cbdd554", |
|
|
|
"credential": "91440101MA9XP4D2XW", |
|
|
|
"appid": "", |
|
|
|
"credential": "", |
|
|
|
"customer_type": 0, |
|
|
|
"errcode": 0, |
|
|
|
"errmsg": "ok", |
|
|
|
"head_image_info": { |
|
|
|
"head_image_url": "http://wx.qlogo.cn/mmhead/mOW261WJzibug0Qe1lZiaHGicjibdNzI2Qz0pjBeoqlIzZxwlJwGsj78c8MuhiaWtxBlTfe42qvTVXI4/0", |
|
|
|
"head_image_url": "", |
|
|
|
"modify_quota": 5, |
|
|
|
"modify_used_count": 1 |
|
|
|
}, |
|
|
|
"nickname": "欧轩企业管理2", |
|
|
|
"nickname": "", |
|
|
|
"nickname_info": { |
|
|
|
"modify_quota": 2, |
|
|
|
"modify_used_count": 1, |
|
|
|
"nickname": "欧轩企业管理2" |
|
|
|
"modify_quota": 0, |
|
|
|
"modify_used_count": 0, |
|
|
|
"nickname": "" |
|
|
|
}, |
|
|
|
"principal_name": "广州欧轩企业管理有限公司", |
|
|
|
"principal_name": "", |
|
|
|
"principal_type": 1, |
|
|
|
"realname_status": 1, |
|
|
|
"registered_country": 1017, |
|
|
|
"signature_info": { |
|
|
|
"modify_quota": 5, |
|
|
|
"modify_used_count": 1, |
|
|
|
"signature": "提供企业管理服务简介" |
|
|
|
"signature": "" |
|
|
|
}, |
|
|
|
"wx_verify_info": { |
|
|
|
"naming_verify": false, |
|
|
@ -276,11 +282,11 @@ export default { |
|
|
|
"credit_end_date": "0", //格式:2006-01-02,永久用 0 表示 |
|
|
|
"company_type": 1,//企业类型 |
|
|
|
"legal_person_name": "",//法人姓名 |
|
|
|
"registered_province_code": 440000,//省份编号 110000 |
|
|
|
"registered_city_code": 440100,//城市编号 110100 |
|
|
|
"registered_capital": 1010000,//注册资本,单位元 100000 |
|
|
|
"business_id_card_url": "https://imgcdn.ouxuanzhineng.cn/upload/business_id_card_url/79a41229df038e0e10583d2db0d4f49f.png", |
|
|
|
"business_id_card": "123456789",//运营人员身份证号-- |
|
|
|
"registered_province_code": "",//省份编号 110000 |
|
|
|
"registered_city_code": "",//城市编号 110100 |
|
|
|
"registered_capital": "",//注册资本,单位元 100000 |
|
|
|
"business_id_card_url": "", |
|
|
|
"business_id_card": "",//运营人员身份证号-- |
|
|
|
"business_id_card_back_url":"",//运营人员身份证国徽面 |
|
|
|
}, |
|
|
|
}, |
|
|
@ -291,13 +297,13 @@ export default { |
|
|
|
5: '管局审核驳回', |
|
|
|
6: '已备案', |
|
|
|
1024: '未备案', |
|
|
|
1025: '未备案 && 小程序信息未填', |
|
|
|
1026: '未备案 && 小程序类目未填', |
|
|
|
1027: '未备案 && 小程序信息未填 && 小程序类目未填', |
|
|
|
1028: '未备案 && 小程序未认证', |
|
|
|
1029: '未备案 && 小程序信息未填 && 小程序未认证', |
|
|
|
1030: '未备案 && 小程序类目未填 && 小程序未认证', |
|
|
|
1031: '未备案 && 小程序信息未填 && 小程序类目未填 && 小程序未认证' |
|
|
|
// 1025: '未备案 && 小程序信息未填', |
|
|
|
// 1026: '未备案 && 小程序类目未填', |
|
|
|
// 1027: '未备案 && 小程序信息未填 && 小程序类目未填', |
|
|
|
// 1028: '未备案 && 小程序未认证', |
|
|
|
// 1029: '未备案 && 小程序信息未填 && 小程序未认证', |
|
|
|
// 1030: '未备案 && 小程序类目未填 && 小程序未认证', |
|
|
|
// 1031: '未备案 && 小程序信息未填 && 小程序类目未填 && 小程序未认证' |
|
|
|
}, |
|
|
|
icpInfo:{}, |
|
|
|
nameInfo:{ |
|
|
@ -325,15 +331,13 @@ export default { |
|
|
|
}, |
|
|
|
async onLoad(opts) { |
|
|
|
console.log("onload-", opts) |
|
|
|
|
|
|
|
let _brandInfo = await this.$store.dispatch('getBrandInfo'); |
|
|
|
console.log("_brandInfo:",_brandInfo) |
|
|
|
this.brandInfo = _brandInfo |
|
|
|
|
|
|
|
this.appid = opts.appid; |
|
|
|
// util.showNone("onLoad") |
|
|
|
this.getCurrentAppInfo() |
|
|
|
this.getWebBrandUser() |
|
|
|
|
|
|
|
this.getCurrentAppInfo() //更新小程序账户基本信息 |
|
|
|
this.getWebBrandUser() //更新用户信息-官网 |
|
|
|
this.get_icp_entrance_info()//更新备案状态 |
|
|
|
this.getcategory() |
|
|
|
this.getAllCategoriesByType() |
|
|
@ -344,7 +348,7 @@ export default { |
|
|
|
computed: { |
|
|
|
// ...mapState(['brandInfo',]) |
|
|
|
icp_btn_style(){ |
|
|
|
return this.icpInfo.status == 6 ? "certify-yes" : "certify-yes" |
|
|
|
return this.icpInfo.status == 6 ? "certify-yes" : "certify-no" |
|
|
|
}, |
|
|
|
category_style(){ |
|
|
|
return function(status){ |
|
|
@ -623,14 +627,16 @@ export default { |
|
|
|
try { |
|
|
|
let res = await this.gatewayDo(data); |
|
|
|
// const { info } = res.data; |
|
|
|
consoe.log("setJianJie:",res) |
|
|
|
console.log("setJianJie888:",res) |
|
|
|
if (res.data.errcode === 0) { |
|
|
|
console.log(res); |
|
|
|
util.showNone("修改成功") |
|
|
|
this.getCurrentAppInfo() |
|
|
|
} else { |
|
|
|
util.showNone(res.data.errmsg) |
|
|
|
} |
|
|
|
} catch (error) { |
|
|
|
console.log("setJianJie-err", error) |
|
|
|
} |
|
|
|
}, |
|
|
|
async setHeadImage(mediaid) { |
|
|
@ -652,6 +658,7 @@ export default { |
|
|
|
if (res.data.errcode === 0) { |
|
|
|
console.log(res); |
|
|
|
util.showNone("修改成功") |
|
|
|
this.getCurrentAppInfo() |
|
|
|
} else { |
|
|
|
util.showNone(res.data.errmsg) |
|
|
|
} |
|
|
@ -682,6 +689,9 @@ export default { |
|
|
|
toCertify(){ |
|
|
|
util.routeTo(`/subpackage/party/pages/miniapp/certify?appid=${this.appid}`,"nT") |
|
|
|
}, |
|
|
|
toCertifyRes(){ |
|
|
|
util.routeTo(`/subpackage/party/pages/miniapp/certify_res?appid=${this.appid}`,"nT") |
|
|
|
}, |
|
|
|
nameChange(e){ |
|
|
|
console.log("nameChange",e) |
|
|
|
}, |
|
|
@ -759,23 +769,19 @@ export default { |
|
|
|
// #ifdef H5 |
|
|
|
url+= "?token=" + "2187a643-4d4a-11ee-a364-5254005df464" |
|
|
|
// #endif |
|
|
|
if(this.appid) postJson.appid = this.appid |
|
|
|
return servers.post({ |
|
|
|
url: url, |
|
|
|
data: postJson, |
|
|
|
isDefaultGet: false, |
|
|
|
}) |
|
|
|
.then(res => { |
|
|
|
console.log("gatewayDo:", res.data) |
|
|
|
console.log("gatewayDo 0 :", res.data) |
|
|
|
if(res.data.code!=0){ |
|
|
|
return util.showNone(res.data.message) |
|
|
|
}else{ |
|
|
|
return res.data |
|
|
|
} |
|
|
|
// if (res.statusCode == 200) { |
|
|
|
// return res.data |
|
|
|
// } else { |
|
|
|
// console.warn("gatewayDo-err", res.data) |
|
|
|
// } |
|
|
|
}) |
|
|
|
.catch(err => { |
|
|
|
console.log("gatewayDo-err", err) |
|
|
@ -854,7 +860,6 @@ export default { |
|
|
|
console.log(e.detail) |
|
|
|
}, |
|
|
|
SubmitEvent(){ |
|
|
|
util.routeTo("/subpackage/party/pages/login/reviewing","nT") |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -1111,7 +1116,9 @@ page { |
|
|
|
color: #333333; |
|
|
|
// width: 168rpx; |
|
|
|
// position: absolute; |
|
|
|
|
|
|
|
>text:first-child { |
|
|
|
// width: 188rpx; |
|
|
|
} |
|
|
|
>text:last-child { |
|
|
|
color: $b-color-red; |
|
|
|
} |
|
|
|