|
@@ -54,7 +54,7 @@
|
|
<div v-else>
|
|
<div v-else>
|
|
<span class="ml-50" style="font-size: 20px; font-weight: 600;color: var(--color-666);">
|
|
<span class="ml-50" style="font-size: 20px; font-weight: 600;color: var(--color-666);">
|
|
{{ baseInfo?.name || userInfo?.phone }}
|
|
{{ baseInfo?.name || userInfo?.phone }}
|
|
- <!-- <span v-if="baseInfo?.foreignName">(英文名:{{ baseInfo?.foreignName }})</span> -->
|
|
|
|
|
|
+ <span v-if="baseInfo?.foreignName">(英文名:{{ baseInfo?.foreignName }})</span>
|
|
</span>
|
|
</span>
|
|
<div class="mt-3 d-flex">
|
|
<div class="mt-3 d-flex">
|
|
<div class="listBox ml-50">
|
|
<div class="listBox ml-50">
|
|
@@ -223,23 +223,23 @@ const items = ref({
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
- // {
|
|
|
|
- // type: 'text',
|
|
|
|
- // key: 'foreignName',
|
|
|
|
- // value: null,
|
|
|
|
- // label: '英文名',
|
|
|
|
- // col: 6,
|
|
|
|
- // outlined: true,
|
|
|
|
- // clearable: true,
|
|
|
|
- // rules: [
|
|
|
|
- // value => {
|
|
|
|
- // if (!value) return true
|
|
|
|
- // var regex = /^[A-Za-z]+(?:\s[A-Za-z]+)?$/
|
|
|
|
- // if (regex.test(value)) return true
|
|
|
|
- // return '请输入正确的英文名'
|
|
|
|
- // }
|
|
|
|
- // ]
|
|
|
|
- // },
|
|
|
|
|
|
+ {
|
|
|
|
+ type: 'text',
|
|
|
|
+ key: 'foreignName',
|
|
|
|
+ value: null,
|
|
|
|
+ label: '英文名',
|
|
|
|
+ col: 6,
|
|
|
|
+ outlined: true,
|
|
|
|
+ clearable: true,
|
|
|
|
+ rules: [
|
|
|
|
+ value => {
|
|
|
|
+ if (!value) return true
|
|
|
|
+ var regex = /^[A-Za-z]+(?:\s[A-Za-z]+)?$/
|
|
|
|
+ if (regex.test(value)) return true
|
|
|
|
+ return '请输入正确的英文名'
|
|
|
|
+ }
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
{
|
|
{
|
|
type: 'ifRadio',
|
|
type: 'ifRadio',
|
|
key: 'sex',
|
|
key: 'sex',
|