From 44d9c5116350bf54098045fbdd4d4e78fb16b8d7 Mon Sep 17 00:00:00 2001 From: miaojiale <1123971748@qq.com> Date: Thu, 1 Dec 2022 14:54:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=9A=8F=E8=AE=BF=E8=B0=83?= =?UTF-8?q?=E6=9F=A5=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 12 ++++++++++++ src/views/followupentry/index.vue | 20 ++++++++++++++++++++ src/views/followupquery/index.vue | 2 +- src/views/followupresearch/index.vue | 4 ++++ 4 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 src/views/followupentry/index.vue diff --git a/src/router/index.js b/src/router/index.js index 42bd054..25a4326 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -40,6 +40,18 @@ export const constantRoutes = [ // hidden: true, // name: "login", // }, + { + path: "/followupentry", + component: Layout, + children: [ + { + path: "/followupentry", + component: () => import("@/views/followupentry/index"), + hidden: true, + name: "followupEntry", + }, + ], + }, { path: "/401", name: "401", diff --git a/src/views/followupentry/index.vue b/src/views/followupentry/index.vue new file mode 100644 index 0000000..895f6b2 --- /dev/null +++ b/src/views/followupentry/index.vue @@ -0,0 +1,20 @@ + + + + + diff --git a/src/views/followupquery/index.vue b/src/views/followupquery/index.vue index 4113698..937c726 100644 --- a/src/views/followupquery/index.vue +++ b/src/views/followupquery/index.vue @@ -95,7 +95,7 @@ export default { func: this.rowOpration, formatter(row) { return { - label: " 录入", + label: "查询", type: "text", } }, diff --git a/src/views/followupresearch/index.vue b/src/views/followupresearch/index.vue index 2483046..28f7ffc 100644 --- a/src/views/followupresearch/index.vue +++ b/src/views/followupresearch/index.vue @@ -199,6 +199,10 @@ export default { onSearch() { console.log(123456) }, + rowOpration(data, i) { + console.log(data, i) + this.$router.push("/followupentry") + }, }, } -- 2.22.0