Commit 11957b98 by 叶富雄

pushToTab

parent 8e98aff1
...@@ -123,7 +123,7 @@ export default { ...@@ -123,7 +123,7 @@ export default {
}, },
methods: { methods: {
add() { add() {
this.$router.push("insertJcgz"); this.$router.pushToTab("/insertJcgz");
}, },
dele(obj) { dele(obj) {
console.log(obj.row); console.log(obj.row);
...@@ -153,7 +153,7 @@ export default { ...@@ -153,7 +153,7 @@ export default {
}); });
}, },
toInfor(obj) { toInfor(obj) {
this.$router.push({ this.$router.pushToTab({
path: "/detailJcgz", path: "/detailJcgz",
query: { query: {
xxzjbh: obj.xxzjbh, xxzjbh: obj.xxzjbh,
...@@ -161,7 +161,7 @@ export default { ...@@ -161,7 +161,7 @@ export default {
}); });
}, },
edit(obj) { edit(obj) {
this.$router.push({ this.$router.pushToTab({
path: "/insertJcgz", path: "/insertJcgz",
query: { query: {
ruleid: obj.row.ruleid, ruleid: obj.row.ruleid,
......
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
}, },
methods: { methods: {
add() { add() {
this.$router.push("addZjclLb"); this.$router.pushToTab("/addZjclLb");
}, },
dele(obj) { dele(obj) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", { this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
}); });
}, },
edit(obj) { edit(obj) {
this.$router.push({ this.$router.pushToTab({
path: "/addZjclLb", path: "/addZjclLb",
query: { query: {
id: obj.row.id, id: obj.row.id,
......
...@@ -309,7 +309,7 @@ export default { ...@@ -309,7 +309,7 @@ export default {
}, },
methods: { methods: {
add() { add() {
this.$router.push("insertZjcl"); this.$router.pushToTab("/insertZjcl");
}, },
dele(obj) { dele(obj) {
this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", { this.$confirm("此操作将永久删除该文件, 是否继续?", "提示", {
...@@ -344,7 +344,7 @@ export default { ...@@ -344,7 +344,7 @@ export default {
}); });
}, },
toInfor(obj) { toInfor(obj) {
this.$router.push({ this.$router.pushToTab({
path: "/zjclcj", path: "/zjclcj",
query: { query: {
asjbh: obj.asjbh, asjbh: obj.asjbh,
...@@ -352,7 +352,7 @@ export default { ...@@ -352,7 +352,7 @@ export default {
}); });
}, },
edit(obj) { edit(obj) {
this.$router.push({ this.$router.pushToTab({
path: "/zjclcj", path: "/zjclcj",
query: { query: {
asjbh: obj.row.asjbh, 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