|
|
|
|
@ -34,17 +34,21 @@
|
|
|
|
|
<div class="g_flex_column_center g_flex_none" style="margin: 0 4px;">
|
|
|
|
|
<div style="color: #999;font-size: 17px;max-width: calc(100vw - 160px);" class="g_ell_1"
|
|
|
|
|
:style="{
|
|
|
|
|
'color':foa == 1 ? '#666' : '#999'
|
|
|
|
|
'color':!newForm.wxname ? '#333' : '#666'
|
|
|
|
|
}"
|
|
|
|
|
>
|
|
|
|
|
{{ newForm.wxname }}
|
|
|
|
|
{{ newForm.wxname || '微信昵称' }}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="g_flex_column_center g_flex_none" v-if="foa != 1">
|
|
|
|
|
<div class="g_flex_column_center g_flex_none" v-if="!newForm.wxname">
|
|
|
|
|
<i class="iconfont icon-gengduo11 g_c_c"></i>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<button open-type="getUserInfo" style="position: absolute;left: 0;top: 0;width: 100%;height: 100%;opacity: 0;" @getuserinfo="getUserInfo" v-if="foa != 1"></button>
|
|
|
|
|
<button open-type="getUserInfo"
|
|
|
|
|
style="position: absolute;left: 0;top: 0;width: 100%;height: 100%;opacity: 0;"
|
|
|
|
|
@getuserinfo="getUserInfo"
|
|
|
|
|
v-if="!newForm.wxname"
|
|
|
|
|
></button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
@ -64,9 +68,9 @@
|
|
|
|
|
class="g_text_r"
|
|
|
|
|
placeholder-style="color:#999;font-size:17px;"
|
|
|
|
|
v-model="newForm.companyName"
|
|
|
|
|
v-if="foa != 1"
|
|
|
|
|
v-if="info.recordStatus != 1"
|
|
|
|
|
/>
|
|
|
|
|
<div v-if="foa == 1" style="color: #666;font-size: 17px;text-align: right;">{{ newForm.companyName }}</div>
|
|
|
|
|
<div v-if="info.recordStatus == 1" style="color: #666;font-size: 17px;text-align: right;">{{ newForm.companyName }}</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
@ -85,16 +89,16 @@
|
|
|
|
|
placeholder-style="color:#999;font-size:17px;"
|
|
|
|
|
v-model="newForm.phone"
|
|
|
|
|
maxlength="11"
|
|
|
|
|
v-if="foa != 1"
|
|
|
|
|
v-if="info.recordStatus != 1"
|
|
|
|
|
/>
|
|
|
|
|
<div v-if="foa == 1" style="color: #666;font-size: 17px;text-align: right;">{{ newForm.phone }}</div>
|
|
|
|
|
<div v-if="info.recordStatus == 1" style="color: #666;font-size: 17px;text-align: right;">{{ newForm.phone }}</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div style="margin: 10px auto 40px;width: calc(100% - 20px);">
|
|
|
|
|
<div style="background-color: #fff;border-radius: 8px;height: 88px;position: relative;" class="g_flex_row_center">
|
|
|
|
|
<div style="width: calc(100% - 20px);margin: 0 auto;" v-if="foa != 1">
|
|
|
|
|
<div style="width: calc(100% - 20px);margin: 0 auto;" v-if="info.recordStatus != 1">
|
|
|
|
|
<u-input v-model="newForm.remark"
|
|
|
|
|
class="g_flex_1 g_ml_10"
|
|
|
|
|
maxlength="30"
|
|
|
|
|
@ -104,13 +108,13 @@
|
|
|
|
|
:clearable="false"
|
|
|
|
|
:customStyle="{ fontSize: '16px' }"
|
|
|
|
|
style="position: relative;top: -12px;"
|
|
|
|
|
v-if="foa != 1"
|
|
|
|
|
v-if="info.recordStatus != 1"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="position: absolute;right: 16px;bottom: 16px;color: #333;font-size: 12px;" v-if="foa != 1">
|
|
|
|
|
<div style="position: absolute;right: 16px;bottom: 16px;color: #333;font-size: 12px;" v-if="info.recordStatus == 1">
|
|
|
|
|
{{ newForm.remark.length }}/ 30
|
|
|
|
|
</div>
|
|
|
|
|
<div v-if="foa == 1" style="color: #666;font-size: 17px;text-align: left;width: 100%;padding: 14px 10px;">{{ newForm.remark }}</div>
|
|
|
|
|
<div v-if="info.recordStatus == 1" style="color: #666;font-size: 17px;text-align: left;width: 100%;padding: 14px 10px;">{{ newForm.remark }}</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="margin: 4px auto;width: calc(100% - 20px);color:#999;font-size: 12px;">
|
|
|
|
|
设置后系统将自动创建团队并关注该发单号,您作为创建人可在我的页面管理团队。
|
|
|
|
|
@ -144,7 +148,7 @@ export default {
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
newForm:{
|
|
|
|
|
wxname:'微信昵称',
|
|
|
|
|
wxname:'',
|
|
|
|
|
wxavatar:'https://bocai-cms.oss-cn-beijing.aliyuncs.com/web-resource/pugongying/default.svg',
|
|
|
|
|
companyName: (uni.getStorageSync("apply-userinfo") && uni.getStorageSync("apply-userinfo").agencyName) || '',
|
|
|
|
|
phone: "",
|
|
|
|
|
@ -194,11 +198,11 @@ export default {
|
|
|
|
|
let _datas = JSON.parse(uni.getStorageSync("applyfoemdata"));
|
|
|
|
|
if(_datas){
|
|
|
|
|
that.newForm = {
|
|
|
|
|
wxname:_datas.nickName || '微信昵称',
|
|
|
|
|
wxname:_datas.nickName || '',
|
|
|
|
|
wxavatar:_datas.avatar || 'https://bocai-cms.oss-cn-beijing.aliyuncs.com/web-resource/pugongying/default.svg',
|
|
|
|
|
companyName: _datas.applyFullName,
|
|
|
|
|
phone: _datas.tel,
|
|
|
|
|
remark:_datas.remark,
|
|
|
|
|
remark:_datas.remark || '无备注',
|
|
|
|
|
};
|
|
|
|
|
that.info.logo = _datas.logo;
|
|
|
|
|
that.info.recordStatus = 1;
|
|
|
|
|
@ -340,7 +344,7 @@ export default {
|
|
|
|
|
title: "提交成功",
|
|
|
|
|
});
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
uni.navigateBack();
|
|
|
|
|
that.info.recordStatus = 1;
|
|
|
|
|
}, 1500);
|
|
|
|
|
}
|
|
|
|
|
);
|
|
|
|
|
|