Merge branch 'mrr_sj_develop_hjy_20260520_商家改版' of https://gitee.com/qtvbidt/mrr.sj.front into mrr_sj_develop_hjy_20260520_商家改版
This commit is contained in:
commit
6d6c279731
|
|
@ -73,7 +73,7 @@
|
|||
v-if="!userInfo.servers_kill_arr || userInfo.servers_kill_arr.length === 0">
|
||||
</image>
|
||||
<text style="margin-right: 16rpx;"
|
||||
:style="{ color: (userInfo.servers_kill_arr && userInfo.servers_kill_arr.length > 0) ? '#333333' : '#ec5d57' }">
|
||||
:style="{ color: (userInfo.servers_kill_arr && userInfo.servers_kill_arr.length > 0) ? '#c9c9c9' : '#ec5d57' }">
|
||||
{{ (userInfo.servers_kill_arr && userInfo.servers_kill_arr.length > 0) ? '已设置' :
|
||||
'待完善' }}
|
||||
</text>
|
||||
|
|
@ -630,14 +630,12 @@
|
|||
})
|
||||
},
|
||||
|
||||
navigateToQualification() { // 商家手艺人:资质信息
|
||||
navigateToQualification() {
|
||||
if (this.userInfo.credentials_state == '1') {
|
||||
// 商家跳转到资质信息页面
|
||||
uni.navigateTo({
|
||||
url: '/pages/ruzhu/ruzhu?type=1'
|
||||
})
|
||||
} else {
|
||||
// 手艺人跳转到资质信息页面
|
||||
uni.navigateTo({
|
||||
url: '/pages/shop/qualification_sj_change'
|
||||
})
|
||||
|
|
|
|||
|
|
@ -176,8 +176,7 @@ export default {
|
|||
{
|
||||
title: "店铺装修",
|
||||
url: "https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/4b558456-2e38-4185-8713-d1f0e6645820.png",
|
||||
// https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/e6e72039-eec4-414c-8a86-aad404602962.png
|
||||
path: "/pages/shop/qualification_sj_change",
|
||||
path: "/pages/artisan/profile",
|
||||
go_id_type: 1,
|
||||
},
|
||||
{
|
||||
|
|
@ -654,6 +653,19 @@ export default {
|
|||
request.post("/sj/user/getUser").then((result) => {
|
||||
this.userInfo = result.data;
|
||||
uni.setStorageSync("syrId", result.data.id);
|
||||
const allReady = result.data.business_time
|
||||
&& result.data.servers_kill_arr
|
||||
&& result.data.servers_kill_arr.length > 0
|
||||
&& result.data.credentials_state === 2;
|
||||
const mgmtCard = this.cardList.find(c => c.title === "管理中心");
|
||||
if (mgmtCard) {
|
||||
const shopItem = mgmtCard.list.find(i => i.title === "店铺装修");
|
||||
if (shopItem) {
|
||||
shopItem.url = allReady
|
||||
? "https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/e6e72039-eec4-414c-8a86-aad404602962.png"
|
||||
: "https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/4b558456-2e38-4185-8713-d1f0e6645820.png";
|
||||
}
|
||||
}
|
||||
});
|
||||
this.getInviteList();
|
||||
},
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -416,8 +416,8 @@
|
|||
if (qualificationData.contact_type) {
|
||||
formData.contact_type = qualificationData.contact_type;
|
||||
}
|
||||
if (qualificationData.invite_code) {
|
||||
formData.invite_code_other = qualificationData.invite_code;
|
||||
if (qualificationData.invite_code_other) {
|
||||
formData.invite_code_other = qualificationData.invite_code_other;
|
||||
}
|
||||
if (qualificationData.contact_name) {
|
||||
formData.contact_name = qualificationData.contact_name;
|
||||
|
|
|
|||
Loading…
Reference in New Issue