pass按项目查询条件变更
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2025-03-24 16:06:01 +08:00
parent 1ffb033013
commit 4f38b77a53
1 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@
</el-form-item> </el-form-item>
<!-- patientID --> <!-- patientID -->
<el-form-item class="my_multiple" :label="$t('trials:inspection:pullImage:search:patientID')"> <el-form-item class="my_multiple" :label="$t('trials:inspection:pullImage:search:patientID')">
<el-select v-model="searchData.PatientID" style="width: 140px"> <el-select v-model="searchData.PatientID" style="width: 140px" clearable>
<el-option v-for="(item, index) of patientList" :key="index.PatientIdStr" <el-option v-for="(item, index) of patientList" :key="index.PatientIdStr"
:label="item.PatientName" :value="item.PatientIdStr"> :label="item.PatientName" :value="item.PatientIdStr">
</el-option> </el-option>
@ -435,7 +435,7 @@ export default {
} }
}, },
created() { created() {
this.getAEList() this.getTrialList()
}, },
methods: { methods: {
// //
@ -444,9 +444,9 @@ export default {
let res = await getUserJoinedTrialPatientList() let res = await getUserJoinedTrialPatientList()
if (res.IsSuccess) { if (res.IsSuccess) {
this.trialList = res.Result this.trialList = res.Result
if (!this.trialList || (this.trialList && this.trialList.length <= 1)) return false if (!this.trialList || this.trialList.length <= 0) return false
this.searchData.TrialId = this.trialList[0].TrialId this.searchData.TrialId = this.trialList[0].TrialId
this.getTrialList() this.getAEList()
} }
} catch (err) { } catch (err) {
console.log(err) console.log(err)