diff --git a/sub-operation-service/src/router/index.js b/sub-operation-service/src/router/index.js index be10e20..cb2d0d5 100644 --- a/sub-operation-service/src/router/index.js +++ b/sub-operation-service/src/router/index.js @@ -236,6 +236,12 @@ export const constantRoutes = [ name: 'packagingMain', meta: { title: '包装首页' }, }, + { + path: '/sub-operation-service/packaging/details', + component: () => import('@/views/packaging/details.vue'), + name: 'detailsMain', + meta: { title: '详情页' }, + }, ], }, { diff --git a/sub-operation-service/src/views/packaging/details.vue b/sub-operation-service/src/views/packaging/details.vue new file mode 100644 index 0000000..dd87e0d --- /dev/null +++ b/sub-operation-service/src/views/packaging/details.vue @@ -0,0 +1,359 @@ + + + + + diff --git a/sub-operation-service/src/views/packaging/index.vue b/sub-operation-service/src/views/packaging/index.vue index edad294..460137b 100644 --- a/sub-operation-service/src/views/packaging/index.vue +++ b/sub-operation-service/src/views/packaging/index.vue @@ -222,10 +222,11 @@ const currentChange = (current) => { }; const toLink = (row) => { - // router.push({ - // path: '/sub-operation-service/warehouse-detail', - // query: { id: row?.id ?? '100' }, - // }); + row.data = ['高品质', '食品级', '塑料']; + router.push({ + path: '/sub-operation-service/packaging/details', + query: row, + }); };