已有阅片期修改左侧条件时,右侧查询结果需要清空或刷新
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
5f89d7d10c
commit
4f5fb17bb8
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div v-loading="loading" class="add_reading-period-wrapper" style="display:flex;width: 100%;height: 100%;">
|
||||
<div class="reading-period-form" style="width:450px;height:100%;margin-right: 10px;">
|
||||
<el-card shadow="never" style="height:571px;">
|
||||
<el-card shadow="never" style="height:100%">
|
||||
<el-form ref="addOrUpdatePR" :model="form" size="small" :rules="rules" label-width="120px">
|
||||
<!-- 阅片期类型 -->
|
||||
<el-form-item :label="$t('trials:rpManage:table:readingType')">
|
||||
|
|
@ -43,7 +43,7 @@
|
|||
|
||||
</div>
|
||||
<div class="result-table" style="flex:1;">
|
||||
<el-card shadow="never">
|
||||
<el-card shadow="never" style="height:100%">
|
||||
<div>
|
||||
<el-form :inline="true">
|
||||
<!-- 中心编号 -->
|
||||
|
|
@ -91,7 +91,7 @@
|
|||
</el-form>
|
||||
</div>
|
||||
<el-table ref="prList" v-loading="listLoading" :data="list" stripe height="400"
|
||||
@selection-change="handleSelectChange">
|
||||
v-adaptive="{ bottomOffset: 60 }" @selection-change="handleSelectChange">
|
||||
<el-table-column type="selection" align="left" width="45" :selectable="handleSelectable" />
|
||||
<!-- 中心 -->
|
||||
<el-table-column prop="TrialSiteCode" :label="$t('trials:linkedRP:table:siteCode')" />
|
||||
|
|
@ -190,6 +190,40 @@ export default {
|
|||
}
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
'form.ReadingPeriodName': {
|
||||
handler() {
|
||||
this.list = []
|
||||
this.searchData.PageIndex = 1
|
||||
this.total = 0
|
||||
},
|
||||
deep: true
|
||||
},
|
||||
'form.DeadlineCondition': {
|
||||
handler() {
|
||||
this.list = []
|
||||
this.searchData.PageIndex = 1
|
||||
this.total = 0
|
||||
},
|
||||
deep: true
|
||||
},
|
||||
'form.ExpirationDate': {
|
||||
handler() {
|
||||
this.list = []
|
||||
this.searchData.PageIndex = 1
|
||||
this.total = 0
|
||||
},
|
||||
deep: true
|
||||
},
|
||||
'form.VisitStageId': {
|
||||
handler() {
|
||||
this.list = []
|
||||
this.searchData.PageIndex = 1
|
||||
this.total = 0
|
||||
},
|
||||
deep: true
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
loading: false,
|
||||
|
|
@ -235,7 +269,6 @@ export default {
|
|||
mounted() {
|
||||
this.trialId = this.$route.query.trialId
|
||||
this.initForm()
|
||||
console.log(this.data, 'data')
|
||||
},
|
||||
methods: {
|
||||
handleSelectable(row) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue