|
@@ -209,6 +209,7 @@
|
|
if(this.$route.query.id == -1){
|
|
if(this.$route.query.id == -1){
|
|
console.log(this.$route.query.id)
|
|
console.log(this.$route.query.id)
|
|
this.foremTtae = this.$route.query.tables+'_id'
|
|
this.foremTtae = this.$route.query.tables+'_id'
|
|
|
|
+ this.queryParamslist.fixedData.condition[this.foremTtae] = this.$route.query.id
|
|
}else{
|
|
}else{
|
|
let begad = this.$route.query.tables+'_id'
|
|
let begad = this.$route.query.tables+'_id'
|
|
this.queryParamslist.fixedData.condition[begad] = this.$route.query.id
|
|
this.queryParamslist.fixedData.condition[begad] = this.$route.query.id
|
|
@@ -216,7 +217,11 @@
|
|
}
|
|
}
|
|
// this.objParamstue.fixedData.id = this.$route.query.id
|
|
// this.objParamstue.fixedData.id = this.$route.query.id
|
|
this.init()
|
|
this.init()
|
|
- this.edingelsietab()
|
|
|
|
|
|
+ this.edingelsietab()
|
|
|
|
+
|
|
|
|
+ },
|
|
|
|
+ destroyed(){
|
|
|
|
+
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
imgBtn(url) {
|
|
imgBtn(url) {
|
|
@@ -387,7 +392,12 @@
|
|
handleQuery(index) {
|
|
handleQuery(index) {
|
|
if(index == 'fh'){
|
|
if(index == 'fh'){
|
|
this.$store.dispatch("tagsView/delView", this.$route);
|
|
this.$store.dispatch("tagsView/delView", this.$route);
|
|
- this.$router.go(-1)
|
|
|
|
|
|
+ if(this.cielsshow == true){
|
|
|
|
+ this.$router.go(-2)
|
|
|
|
+ }else{
|
|
|
|
+ this.$router.go(-1)
|
|
|
|
+ }
|
|
|
|
+
|
|
return
|
|
return
|
|
}else if(index == 'sx'){
|
|
}else if(index == 'sx'){
|
|
this.xidugje = 'sx'
|
|
this.xidugje = 'sx'
|
|
@@ -473,6 +483,7 @@
|
|
this.msgSuccess("保存成功");
|
|
this.msgSuccess("保存成功");
|
|
if(this.formy.id == -1){
|
|
if(this.formy.id == -1){
|
|
if(response.code == 200){
|
|
if(response.code == 200){
|
|
|
|
+ console.log(200)
|
|
this.cielsshow = true;
|
|
this.cielsshow = true;
|
|
this.formy.id = response.data
|
|
this.formy.id = response.data
|
|
}else{
|
|
}else{
|
|
@@ -483,9 +494,9 @@
|
|
this.queryParamslist.fixedData.condition[this.foremTtae] = response.data
|
|
this.queryParamslist.fixedData.condition[this.foremTtae] = response.data
|
|
this.oieufr = response.data
|
|
this.oieufr = response.data
|
|
this.objParams.fixedData.id = response.data
|
|
this.objParams.fixedData.id = response.data
|
|
- this.$store.dispatch("tagsView/delView", this.$route);
|
|
|
|
this.init()
|
|
this.init()
|
|
this.foremliseju()
|
|
this.foremliseju()
|
|
|
|
+ // this.reload()
|
|
}else{
|
|
}else{
|
|
this.$store.dispatch("tagsView/delView", this.$route);
|
|
this.$store.dispatch("tagsView/delView", this.$route);
|
|
this.$router.go(-1)
|
|
this.$router.go(-1)
|
|
@@ -624,6 +635,7 @@
|
|
// })
|
|
// })
|
|
// }
|
|
// }
|
|
},
|
|
},
|
|
|
|
+
|
|
|
|
|
|
},
|
|
},
|
|
};
|
|
};
|