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