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

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

View File

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