历史融合弹窗添加取消事件

uat_us
caiyiling 2024-04-03 14:09:12 +08:00
parent 0a56880080
commit f34de6073f
1 changed files with 4 additions and 1 deletions

View File

@ -136,7 +136,7 @@
</div> </div>
<el-form-item style="text-align:right;"> <el-form-item style="text-align:right;">
<!-- 取消 --> <!-- 取消 -->
<el-button size="mini" @click="fusionSeries.visible = false">{{ $t('common:button:cancel') }}</el-button> <el-button size="mini" @click="handleCancel">{{ $t('common:button:cancel') }}</el-button>
<!-- 确认 --> <!-- 确认 -->
<el-button <el-button
type="primary" type="primary"
@ -255,6 +255,9 @@ export default {
this.petctWindow = window.open(routeData.href, '_blank') this.petctWindow = window.open(routeData.href, '_blank')
this.$emit('close') this.$emit('close')
}, },
handleCancel(){
this.$emit('close')
},
handleTaskIdChange(v) { handleTaskIdChange(v) {
var idx = this.taskList.findIndex(i => i.VisitTaskId === v) var idx = this.taskList.findIndex(i => i.VisitTaskId === v)
this.studyList = idx > -1 ? this.taskList[idx].StudyInfoList : [] this.studyList = idx > -1 ? this.taskList[idx].StudyInfoList : []