|
@@ -72,7 +72,7 @@
|
|
|
<div v-else style="font-size: 12px; color: #999">不可删除</div>
|
|
|
</div>
|
|
|
<TextUI v-model="item.contactName" :item="{...contactNameObj}"></TextUI>
|
|
|
- <TextUI v-model="item.phone" :item="{...phoneObj}"></TextUI>
|
|
|
+ <TextUI v-model="item.phone" :item="{...phoneObj, disabled: (!index&&bossPhone !== '')}"></TextUI>
|
|
|
<TextUI v-model="item.email" :item="{...emailObj}"></TextUI>
|
|
|
<TextUI v-model="item.password" :item="{...passwordObj}"></TextUI>
|
|
|
<TextUI v-model="item.passwordConfirm" :item="{...passwordConfirmObj}"></TextUI>
|
|
@@ -123,8 +123,12 @@ import { useRoute } from 'vue-router'; const route = useRoute()
|
|
|
const pageType = route?.query?.type || '' // type: noLoginToRegister:->登录页注册企业
|
|
|
|
|
|
const showContactList = ref(false)
|
|
|
+
|
|
|
const contactInfo = { contactName: '', phone: '', email: '', password: '', passwordConfirm:'' }
|
|
|
let contactList = [{ ...contactInfo }]
|
|
|
+const bossPhone = localStorage.getItem('userInfo') ? JSON.parse(localStorage.getItem('userInfo')).phone : ''
|
|
|
+contactList[0].phone = bossPhone // 管理员手机号不能改
|
|
|
+
|
|
|
const contactCopy = ref([])
|
|
|
|
|
|
// 注册信息保存
|