feat: 优化调整
This commit is contained in:
parent
21efa4805d
commit
729eb7c861
|
|
@ -39,7 +39,15 @@
|
||||||
forwardingPageCode: null
|
forwardingPageCode: null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
|
|
||||||
|
let curUserInfo = this.$request.getCurUserInfo();
|
||||||
|
if(!curUserInfo) {
|
||||||
|
uni.reLaunch({
|
||||||
|
url: '/pages/login/login'
|
||||||
|
})
|
||||||
|
return
|
||||||
|
}
|
||||||
this.loadData();
|
this.loadData();
|
||||||
if (options && options.menuCode) {
|
if (options && options.menuCode) {
|
||||||
this.changeCurPageCode(options.menuCode)
|
this.changeCurPageCode(options.menuCode)
|
||||||
|
|
|
||||||
|
|
@ -82,7 +82,16 @@
|
||||||
<vertify-login ref="vertifyLogin" @reload="authLogin"></vertify-login>
|
<vertify-login ref="vertifyLogin" @reload="authLogin"></vertify-login>
|
||||||
<!-- 加入师傅团队提示 -->
|
<!-- 加入师傅团队提示 -->
|
||||||
<!-- <invite-master ref="inviteMasterModal" :inviteMasterObj="inviter" @confirm="inviteMaster"></invite-master> -->
|
<!-- <invite-master ref="inviteMasterModal" :inviteMasterObj="inviter" @confirm="inviteMaster"></invite-master> -->
|
||||||
<confirm-modal ref="inviteMasterModal" :content="'是否确认加入' + inviter.name + '的团队?'" @confirm="inviteMaster(inviter)"></confirm-modal>
|
<confirm-modal ref="inviteMasterModal" :content="'是否确认加入' + inviter.name + '的团队?'" @confirm="inviteMaster(inviter)"></confirm-modal>
|
||||||
|
|
||||||
|
<confirm-modal ref="focusModal" :showCancel="false">
|
||||||
|
<template #contentView>
|
||||||
|
<view style="display: flex;flex-direction: column;justify-content: center;align-items: center;">
|
||||||
|
<image style="width: 400upx;height: 400upx;margin-bottom: 50upx;" :show-menu-by-longpress="true" src="http://gqz.opsoul.com/qrcode_for_gh_e1c9ac86741f_860.jpg" mode="aspectFill"></image>
|
||||||
|
<text>为了方便工单进度通知,请关注公众号</text>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
</confirm-modal>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
@ -120,7 +129,8 @@
|
||||||
changeOperType() {
|
changeOperType() {
|
||||||
this.reset();
|
this.reset();
|
||||||
this.operType = this.operType === 0 ? 1 : 0;
|
this.operType = this.operType === 0 ? 1 : 0;
|
||||||
if (this.operType === 1) {
|
if (this.operType === 1) {
|
||||||
|
this.$refs.focusModal.showModal();
|
||||||
this.authLogin();
|
this.authLogin();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -119,18 +119,22 @@
|
||||||
placeholder="请输入公司执照号码"></input>
|
placeholder="请输入公司执照号码"></input>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group">
|
<view class="cu-form-group">
|
||||||
<view class="title">公司地址</view>
|
<view class="title">公司区域</view>
|
||||||
<view class="flex-column-between flex-view">
|
<view class="flex-column-between">
|
||||||
<picker :mode="'multiSelector'" @change="regionChange" @columnchange="regionColChange"
|
<picker :mode="'multiSelector'" @change="regionChange" @columnchange="regionColChange"
|
||||||
:value="multiIndex" :range-key="'areaName'" :range="areaList">
|
:value="multiIndex" :range-key="'areaName'" :range="areaList">
|
||||||
<view class="picker">
|
<view class="picker">
|
||||||
{{realNameInfo.companyArea && realNameInfo.companyArea.length ? realNameInfo.companyArea[0].areaName + '-' + realNameInfo.companyArea[1].areaName + '-' + realNameInfo.companyArea[2].areaName : '请选择'}}
|
{{realNameInfo.companyArea && realNameInfo.companyArea.length ? realNameInfo.companyArea[0].areaName + '-' + realNameInfo.companyArea[1].areaName + '-' + realNameInfo.companyArea[2].areaName : '请选择'}}
|
||||||
</view>
|
</view>
|
||||||
</picker>
|
</picker>
|
||||||
<!-- <view><input name="companyAddress" v-model="realNameInfo.companyAddress" placeholder="请输入营业执照地址/经营地址/服务网点"></input></view> -->
|
|
||||||
<textarea name="companyAddress" class="solid padding-sm" maxlength="-1"
|
|
||||||
v-model="realNameInfo.companyAddress" placeholder="请输入营业执照地址/经营地址/服务网点" />
|
|
||||||
</view>
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="cu-form-group">
|
||||||
|
<view class="title">公司地址</view>
|
||||||
|
<view class="flex-column-between flex-view">
|
||||||
|
<textarea name="companyAddress" class="solid padding-sm" maxlength="-1"
|
||||||
|
v-model="realNameInfo.companyAddress" placeholder="请输入营业执照地址/经营地址/服务网点" />
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="cu-form-group">
|
<view class="cu-form-group">
|
||||||
<view class="title">法人/负责人</view>
|
<view class="title">法人/负责人</view>
|
||||||
|
|
@ -886,7 +890,7 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 60rpx;
|
height: 60rpx;
|
||||||
line-height: 60rpx;
|
line-height: 60rpx;
|
||||||
flex-basis: 40%;
|
flex-basis: 55%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-opt {
|
.form-opt {
|
||||||
|
|
|
||||||
|
|
@ -237,7 +237,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.cu-form-group textarea {
|
.cu-form-group textarea {
|
||||||
margin: 0 0 20rpx 0 !important;
|
margin: 20rpx 0 !important;
|
||||||
padding: 20rpx !important;
|
padding: 20rpx !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue