Commit 11957b98 by 叶富雄

pushToTab

parent 8e98aff1
......@@ -123,7 +123,7 @@ export default {
},
methods: {
add() {
this.$router.push("insertJcgz");
this.$router.pushToTab("/insertJcgz");
},
dele(obj) {
console.log(obj.row);
......@@ -153,7 +153,7 @@ export default {
});
},
toInfor(obj) {
this.$router.push({
this.$router.pushToTab({
path: "/detailJcgz",
query: {
xxzjbh: obj.xxzjbh,
......@@ -161,7 +161,7 @@ export default {
});
},
edit(obj) {
this.$router.push({
this.$router.pushToTab({
path: "/insertJcgz",
query: {
ruleid: obj.row.ruleid,
......
......@@ -81,7 +81,7 @@
},
methods: {
add() {
this.$router.push("addZjclLb");
this.$router.pushToTab("/addZjclLb");
},
dele(obj) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
......@@ -116,7 +116,7 @@
});
},
edit(obj) {
this.$router.push({
this.$router.pushToTab({
path: "/addZjclLb",
query: {
id: obj.row.id,
......
......@@ -309,7 +309,7 @@ export default {
},
methods: {
add() {
this.$router.push("insertZjcl");
this.$router.pushToTab("/insertZjcl");
},
dele(obj) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
......@@ -344,7 +344,7 @@ export default {
});
},
toInfor(obj) {
this.$router.push({
this.$router.pushToTab({
path: "/zjclcj",
query: {
asjbh: obj.asjbh,
......@@ -352,7 +352,7 @@ export default {
});
},
edit(obj) {
this.$router.push({
this.$router.pushToTab({
path: "/zjclcj",
query: {
asjbh: obj.row.asjbh,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment