阅片规则下拉框显示修改
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2026-01-30 14:19:49 +08:00
parent c89aa8bd87
commit d34f1f462a
2 changed files with 11 additions and 26 deletions

View File

@ -1,18 +1,13 @@
/* eslint-disable */
<template>
<el-form
ref="taskAllocationRuleDataForm"
v-loading="loading"
:model="form"
size="small"
:rules="rules"
label-width="130px"
>
<el-form ref="taskAllocationRuleDataForm" v-loading="loading" :model="form" size="small" :rules="rules"
label-width="130px">
<div class="base-dialog-body">
<!-- 阅片人 -->
<el-form-item :label="$t('trials:reviewAssign:allocationRules:table:reader')" prop="DoctorUserId">
<el-select v-model="form.DoctorUserId" :disabled="!!form.Id" clearable>
<el-option v-for="item of doctorUserList" :key="item.DoctorUserId" :label="`${item.UserName}(${item.FullName})`" :value="item.DoctorUserId" />
<el-option v-for="item of doctorUserList" :key="item.DoctorUser.UserId"
:label="`${item.DoctorUser.UserName}(${item.DoctorUser.FullName})`" :value="item.DoctorUser.UserId" />
</el-select>
</el-form-item>
<!-- 计划受试者数量 -->
@ -22,30 +17,21 @@
</div>
</el-form-item>
<!-- 状态 -->
<el-form-item :label="$t('trials:reviewAssign:allocationRules:table:status')" >
<el-form-item :label="$t('trials:reviewAssign:allocationRules:table:status')">
<el-radio-group v-model="form.IsEnable">
<el-radio v-for="item of $d.IsEnable" :key="'form.IsEnable' + item.value" :label="item.value">{{ item.label }}</el-radio>
<el-radio v-for="item of $d.IsEnable" :key="'form.IsEnable' + item.value" :label="item.value">{{ item.label
}}</el-radio>
</el-radio-group>
</el-form-item>
<!-- 备注 -->
<el-form-item :label="$t('trials:reviewAssign:allocationRules:table:remark')">
<el-input
v-model="form.Note"
type="textarea"
maxlength="100"
show-word-limit
/>
<el-input v-model="form.Note" type="textarea" maxlength="100" show-word-limit />
</el-form-item>
</div>
<div class="base-dialog-footer" style="text-align:right;margin-top:10px;">
<el-form-item>
<!-- 取消 -->
<el-button
:disabled="btnLoading"
size="small"
type="primary"
@click="close"
>
<el-button :disabled="btnLoading" size="small" type="primary" @click="close">
{{ $t('common:button:cancel') }}
</el-button>
<!-- 保存 -->
@ -128,5 +114,4 @@ export default {
}
}
</script>
<style lang="scss" scoped>
</style>
<style lang="scss" scoped></style>

View File

@ -317,7 +317,7 @@
<el-dialog v-if="taskAllocationRuleVisible" :title="title" :visible.sync="taskAllocationRuleVisible"
width="600px" :close-on-click-modal="false">
<AddOrEditTaskAllocationRule :data="rowData" :TaskAllocationRuleList="TaskAllocationRuleList"
:doctor-user-list="DoctorUserList" @close="() => { taskAllocationRuleVisible = false }"
:doctor-user-list="TaskAllocationRuleList" @close="() => { taskAllocationRuleVisible = false }"
@getList="openAllocationConfigVisible" />
</el-dialog>
<!--分配阅片人 -->