|
@@ -47,7 +47,7 @@
|
|
|
<template #name="{ item }">
|
|
|
<div class="d-flex align-center">
|
|
|
<v-badge
|
|
|
- v-if="item?.sex === '1' || item?.sex === '2'"
|
|
|
+ v-if="(item?.sex === '1' || item?.sex === '2') && showBadge"
|
|
|
bordered
|
|
|
offset-y="6"
|
|
|
:color="badgeColor(item)"
|
|
@@ -113,6 +113,7 @@ import { uploadFile } from '@/api/common'
|
|
|
import { getToken } from '@/utils/auth'
|
|
|
|
|
|
const { t } = useI18n()
|
|
|
+const showBadge = ref(false) // 性别设置甲方要求已去掉
|
|
|
const total = ref(0)
|
|
|
const loading = ref(false)
|
|
|
const query = ref({
|
|
@@ -217,14 +218,14 @@ const formItems = ref({
|
|
|
key: 'avatar',
|
|
|
value: null
|
|
|
},
|
|
|
- {
|
|
|
- type: 'ifRadio',
|
|
|
- key: 'sex',
|
|
|
- value: '',
|
|
|
- label: '性别 *',
|
|
|
- width: 90,
|
|
|
- items: []
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // type: 'ifRadio',
|
|
|
+ // key: 'sex',
|
|
|
+ // value: '',
|
|
|
+ // label: '性别 *',
|
|
|
+ // width: 90,
|
|
|
+ // items: []
|
|
|
+ // },
|
|
|
{
|
|
|
type: 'text',
|
|
|
key: 'name',
|
|
@@ -233,10 +234,12 @@ const formItems = ref({
|
|
|
rules: [v => !!v || '请填写中文名']
|
|
|
},
|
|
|
{
|
|
|
- type: 'text',
|
|
|
+ type: 'phoneNumber',
|
|
|
key: 'phone',
|
|
|
value: '',
|
|
|
- label: '联系电话'
|
|
|
+ clearable: true,
|
|
|
+ label: '联系手机号 *',
|
|
|
+ rules: [v => !!v || '请填写联系手机号']
|
|
|
},
|
|
|
{
|
|
|
type: 'text',
|