已有阅片期修改左侧条件时,右侧查询结果需要清空或刷新
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>
|
<template>
|
||||||
<div v-loading="loading" class="add_reading-period-wrapper" style="display:flex;width: 100%;height: 100%;">
|
<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;">
|
<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 ref="addOrUpdatePR" :model="form" size="small" :rules="rules" label-width="120px">
|
||||||
<!-- 阅片期类型 -->
|
<!-- 阅片期类型 -->
|
||||||
<el-form-item :label="$t('trials:rpManage:table:readingType')">
|
<el-form-item :label="$t('trials:rpManage:table:readingType')">
|
||||||
|
|
@ -43,7 +43,7 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="result-table" style="flex:1;">
|
<div class="result-table" style="flex:1;">
|
||||||
<el-card shadow="never">
|
<el-card shadow="never" style="height:100%">
|
||||||
<div>
|
<div>
|
||||||
<el-form :inline="true">
|
<el-form :inline="true">
|
||||||
<!-- 中心编号 -->
|
<!-- 中心编号 -->
|
||||||
|
|
@ -91,7 +91,7 @@
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<el-table ref="prList" v-loading="listLoading" :data="list" stripe height="400"
|
<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 type="selection" align="left" width="45" :selectable="handleSelectable" />
|
||||||
<!-- 中心 -->
|
<!-- 中心 -->
|
||||||
<el-table-column prop="TrialSiteCode" :label="$t('trials:linkedRP:table:siteCode')" />
|
<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() {
|
data() {
|
||||||
return {
|
return {
|
||||||
loading: false,
|
loading: false,
|
||||||
|
|
@ -235,7 +269,6 @@ export default {
|
||||||
mounted() {
|
mounted() {
|
||||||
this.trialId = this.$route.query.trialId
|
this.trialId = this.$route.query.trialId
|
||||||
this.initForm()
|
this.initForm()
|
||||||
console.log(this.data, 'data')
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleSelectable(row) {
|
handleSelectable(row) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue