【阅片任务分配】增加筛选条件

uat_us
wangxiaoshuang 2024-03-14 11:09:48 +08:00
parent 84ade87b25
commit 37c415c0ef
1 changed files with 12 additions and 2 deletions

View File

@ -34,7 +34,7 @@
</el-form-item>
<!-- 分配角色 -->
<el-form-item :label="$t('trials:reviewAssign:searchForm:role')">
<el-select v-model="searchData.ArmList" clearable style="width:240px;" multiple>
<el-select v-model="searchData.ArmList" clearable style="width:240px;" multiple :disabled="!searchData.SubjectAllocateState">
<el-option v-for="item of $d.ArmEnum" :key="item.id" :value="item.value" :label="item.label" />
</el-select>
</el-form-item>
@ -506,7 +506,9 @@ const searchDataDefault = () => {
DoctorUserId: null,
IsHaveAssigned: null,
IsAssignConfirmed: null,
TrialReadingCriterionId: null
TrialReadingCriterionId: null,
SubjectAllocateState:null,
ArmList:[]
}
}
const taskSearchDataDefault = () => {
@ -599,6 +601,14 @@ export default {
if (v) {
this.getList()
}
},
"searchData.SubjectAllocateState":{
handler(){
if(!this.searchData.SubjectAllocateState){
this.searchData.ArmList = [];
}
},
// immediate:true
}
},
mounted() {