Commit 00275cae authored by 胡's avatar

fix: 权限修改, 用户输入空格检测

parent 0714bd24
......@@ -14,16 +14,16 @@
</div>
</h-header>
<h-content class="my-contractlist">
<div v-if="['AGENT', 'OFFICE'].includes(user_bp_type)" class="contract-item" @click="goCreate()">
<div v-if="user_bp_type == 'MANAGER'" class="contract-item" @click="goCreate()">
<img src="@/assets/myInfo/contractCreate.png" >
<span>融租方案创建</span>
</div>
<div v-if="user_bp_type !== 'MANAGER'" class="contract-item" @click="goSign()">
<div v-if="user_bp_type == 'TENANT'" class="contract-item" @click="goSign()">
<p v-if="signCount > 0" :class="{'content-wrap-class-width':signCount > 99, 'content-wrap-class':signCount < 99}">{{ signCount > 99 ? '99+' : signCount }}</p>
<img src="@/assets/myInfo/unSign.png" >
<span>融租方案确认</span>
</div>
<div v-if="['GUTA', 'TENANT', 'AGENT'].includes(user_bp_type)" class="contract-item" @click="goCarConfirm()">
<div v-if="user_bp_type == 'TENANT'" class="contract-item" @click="goCarConfirm()">
<p v-if="carCount > 0" :class="{'content-wrap-class-width':carCount > 99, 'content-wrap-class':carCount < 99}">{{ carCount > 99 ? '99+' : carCount }}</p>
<img src="@/assets/myInfo/carConfirm.png" >
<span>合同签订</span>
......
......@@ -1048,7 +1048,7 @@ export default {
vm.hlsPopup.showLongCenter('身份证有效期到不能为空!')
} else if (!vm.baseInfo.cell_phone) {
vm.hlsPopup.showLongCenter('手机号不能为空!')
} else if (!vm.baseInfo.living_address) {
} else if (!vm.baseInfo.living_address.trim()) {
vm.hlsPopup.showLongCenter('联系地址不能为空!')
} else if (!vm.baseInfo.address_on_resident_booklit) {
vm.hlsPopup.showLongCenter('户籍地址不能为空!')
......@@ -1056,7 +1056,7 @@ export default {
vm.hlsPopup.showLongCenter('业务办理省不能为空!')
} else if (!vm.baseInfo.city_name) {
vm.hlsPopup.showLongCenter('业务办理市不能为空!')
} else if (!vm.baseInfo.capital) {
} else if (!vm.baseInfo.capital.trim()) {
vm.hlsPopup.showLongCenter('资产信息不能为空!')
} else if (!vm.baseInfo.academic_background) {
vm.hlsPopup.showLongCenter('学历不能为空!')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment