1
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
2e1abafa19
commit
b5fbbbdfcc
|
@ -1,62 +1,33 @@
|
|||
<template>
|
||||
<base-model :config="model_cfg">
|
||||
<template slot="dialog-body">
|
||||
<el-form
|
||||
ref="anonymizationFrom"
|
||||
:model="form"
|
||||
:rules="rules"
|
||||
label-width="100px"
|
||||
size="small"
|
||||
>
|
||||
<el-form ref="anonymizationFrom" :model="form" :rules="rules" label-width="100px" size="small">
|
||||
<!-- 姓 -->
|
||||
<el-form-item
|
||||
:label="$t('trials:externalStaff:table:lastName')"
|
||||
prop="LastName"
|
||||
>
|
||||
<el-form-item :label="$t('trials:externalStaff:table:lastName')" prop="LastName">
|
||||
<el-input v-model="form.LastName" clearable />
|
||||
</el-form-item>
|
||||
<!-- 名 -->
|
||||
<el-form-item
|
||||
:label="$t('trials:externalStaff:table:firstName')"
|
||||
prop="FirstName"
|
||||
>
|
||||
<el-form-item :label="$t('trials:externalStaff:table:firstName')" prop="FirstName">
|
||||
<el-input v-model="form.FirstName" clearable />
|
||||
</el-form-item>
|
||||
<!-- 用户类型 -->
|
||||
<el-form-item
|
||||
:label="$t('trials:externalStaff:table:userType')"
|
||||
prop="UserTypeId"
|
||||
>
|
||||
<el-form-item :label="$t('trials:externalStaff:table:userType')" prop="UserTypeId">
|
||||
<el-select v-model="form.UserTypeId" style="width: 100%" clearable>
|
||||
<el-option
|
||||
v-for="item of userTypeOptions"
|
||||
:key="item.Id"
|
||||
:label="item.UserType"
|
||||
:value="item.Id"
|
||||
>
|
||||
<el-option v-for="item of userTypeOptions" :key="item.Id" :label="item.UserType" :value="item.Id">
|
||||
<!-- <span>{{ item.UserType }}</span> -->
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<!-- 电话号码 -->
|
||||
<el-form-item
|
||||
:label="$t('trials:externalStaff:table:phone')"
|
||||
prop="Phone"
|
||||
>
|
||||
<el-form-item :label="$t('trials:externalStaff:table:phone')" prop="Phone">
|
||||
<el-input v-model="form.Phone" clearable />
|
||||
</el-form-item>
|
||||
<!-- 邮箱 -->
|
||||
<el-form-item
|
||||
:label="$t('trials:externalStaff:table:email')"
|
||||
prop="Email"
|
||||
>
|
||||
<el-form-item :label="$t('trials:externalStaff:table:email')" prop="Email">
|
||||
<el-input v-model="form.Email" clearable />
|
||||
</el-form-item>
|
||||
<!-- 单位 -->
|
||||
<el-form-item
|
||||
:label="$t('trials:externalStaff:table:organization')"
|
||||
prop="OrganizationName"
|
||||
>
|
||||
<el-form-item :label="$t('trials:externalStaff:table:organization')" prop="OrganizationName">
|
||||
<el-input v-model="form.OrganizationName" clearable />
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
@ -66,21 +37,11 @@
|
|||
</template>
|
||||
<template slot="dialog-footer">
|
||||
<!-- 取消 -->
|
||||
<el-button
|
||||
size="small"
|
||||
type="primary"
|
||||
:disabled="btnLoading"
|
||||
@click="handleCancel"
|
||||
>
|
||||
<el-button size="small" type="primary" :disabled="btnLoading" @click="handleCancel">
|
||||
{{ $t("common:button:cancel") }}
|
||||
</el-button>
|
||||
<!-- 保存 -->
|
||||
<el-button
|
||||
size="small"
|
||||
type="primary"
|
||||
:loading="btnLoading"
|
||||
@click="handleSave"
|
||||
>
|
||||
<el-button size="small" type="primary" :loading="btnLoading" @click="handleSave">
|
||||
{{ $t("common:button:save") }}
|
||||
</el-button>
|
||||
<!-- 保存且发邮件 -->
|
||||
|
@ -104,6 +65,7 @@ const formDataDefault = () => {
|
|||
IsSendEmail: false,
|
||||
Sex: "9",
|
||||
IsZhiZhun: "",
|
||||
HospitalGroupldList: [],
|
||||
OrganizationName: "",
|
||||
DepartmentName: "",
|
||||
PositionName: "",
|
||||
|
@ -167,6 +129,7 @@ export default {
|
|||
IsSendEmail: false,
|
||||
Sex: "9",
|
||||
IsZhiZhun: "",
|
||||
HospitalGroupldList: [],
|
||||
OrganizationName: "",
|
||||
DepartmentName: "",
|
||||
PositionName: "",
|
||||
|
|
Loading…
Reference in New Issue