diff --git a/src/router/index.js b/src/router/index.js index d820c03..ce58823 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -236,6 +236,20 @@ export const dynamicRoutes = [ }, ], }, + { + path: "/is/evaluate", + component: Layout, + hidden: true, + permissions: ["is:project:list"], + children: [ + { + path: "index/:id", + component: () => import("@/views/is/project/evaluate/index"), + name: "isProjectEvaluate", + meta: { title: "触控评价", activeMenu: "/is/evaluate" }, + }, + ], + }, { path: "/vi/evaluate", component: Layout, @@ -245,8 +259,8 @@ export const dynamicRoutes = [ { path: "index/:id", component: () => import("@/views/vi/testProject/evaluate/index"), - name: "ProjectEvaluate", - meta: { title: "评价", activeMenu: "/vi/evaluate" }, + name: "viProjectEvaluate", + meta: { title: "语音评价", activeMenu: "/vi/evaluate" }, }, ], }, diff --git a/src/views/is/project/evaluate/index.vue b/src/views/is/project/evaluate/index.vue new file mode 100644 index 0000000..1a278da --- /dev/null +++ b/src/views/is/project/evaluate/index.vue @@ -0,0 +1,124 @@ + + + + \ No newline at end of file diff --git a/src/views/is/project/evaluate/info.vue b/src/views/is/project/evaluate/info.vue new file mode 100644 index 0000000..00572bc --- /dev/null +++ b/src/views/is/project/evaluate/info.vue @@ -0,0 +1,69 @@ + + + \ No newline at end of file diff --git a/src/views/is/project/index.vue b/src/views/is/project/index.vue index ab68f02..daf7206 100644 --- a/src/views/is/project/index.vue +++ b/src/views/is/project/index.vue @@ -125,6 +125,13 @@ @click="handleExecute(row)" >执行 + 评价 + { executeProjectId.value = row.projectId; } +const router = useRouter() +const handleEvaluate = (row) => { + router.push({ + path: "/is/evaluate/index/" + row.projectId, // 目标路由路径 + // 对象序列化为 JSON 字符串(关键) + query: { + data: JSON.stringify(row) + } + }) +} + onMounted(() => { getList(); getTreeData();