修改
This commit is contained in:
parent
d6fddff1f0
commit
dc163cb15b
@ -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();
|
||||
})
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user