This commit is contained in:
2024-04-07 11:25:06 +08:00
parent d6fddff1f0
commit dc163cb15b

View File

@ -148,7 +148,7 @@ export default {
open: false,
updata: {
triggerConditionList: [{
patientManageRouteId: '',
routeId: '',
routeName: '',
triggerConditionName: '',
triggerConditionOperator: '',
@ -214,7 +214,7 @@ export default {
},
addtriggerCondition() {
this.updata.triggerConditionList.push({
patientManageRouteId: '',
routeId: '',
routeName: '',
triggerConditionName: '',
triggerConditionOperator: '',
@ -223,7 +223,7 @@ export default {
},
openfalse() {
this.updata.triggerConditionList = [{
patientManageRouteId: '',
routeId: '',
routeName: '',
triggerConditionName: '',
triggerConditionOperator: '',
@ -234,10 +234,16 @@ export default {
},
upload() {
this.updata.triggerConditionList.forEach(e => {
e.patientManageRouteId = this.$route.query.id
e.routeId = this.$route.query.id
e.routeName = this.$route.query.routeName
})
triggerConditionadd(this.updata).then(res => {
this.open = false
this.$notify({
type: 'success',
title: '提示',
message: '新增触发条件成功',
});
this.info();
})
},