fix() 修改 修改规则引擎后跳转页面失败
parent
cfed56f091
commit
a7df48335a
|
@ -41,12 +41,10 @@ export default {
|
|||
'modification': {
|
||||
handler(val) {
|
||||
if (val != null) {
|
||||
console.log(val)
|
||||
console.log(this.code)
|
||||
updateEngine({id: this.modification, codeText: this.code}).then(res => {
|
||||
this.$message.success('保存成功')
|
||||
setTimeout(() => {
|
||||
this.$router.push({path: `/rule/engineMaintenance`});
|
||||
this.$router.push({path: `/rule/rule`});
|
||||
}, 100)
|
||||
})
|
||||
|
||||
|
|
|
@ -327,7 +327,6 @@ export default {
|
|||
getList() {
|
||||
this.loading = true;
|
||||
listEngine(this.queryParams).then(response => {
|
||||
console.log(response)
|
||||
this.engineList = response.data.rows;
|
||||
this.engineList.forEach(item => {
|
||||
if (item.type === "1") {
|
||||
|
|
|
@ -51,7 +51,6 @@ export default {
|
|||
this.modification = null
|
||||
this.dialogVisible = false
|
||||
}, 50)
|
||||
this.$router.push({path: `/rule/rule`})
|
||||
},
|
||||
getInfo() {
|
||||
getEngine(this.$route.query.id).then(res => {
|
||||
|
|
Loading…
Reference in New Issue