Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 0babaad7
authored
Mar 24, 2026
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: 增加工单详情
1 parent
3c8bd21d
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
12 deletions
apps/web/venus-usedcar-quality/src/router/routes.ts
apps/web/venus-usedcar-quality/src/views/home/index.vue
apps/web/venus-usedcar-quality/src/views/word-order-detail/index.vue
venus-admin.code-workspace
apps/web/venus-usedcar-quality/src/router/routes.ts
View file @
0babaad
...
@@ -60,6 +60,15 @@ const routes: RouteRecordRaw[] = [
...
@@ -60,6 +60,15 @@ const routes: RouteRecordRaw[] = [
},
},
},
},
{
{
path
:
"/word-order-detail/:id"
,
name
:
"WorkOrderDetail"
,
component
:
()
=>
import
(
"@views/word-order-detail/index.vue"
),
meta
:
{
title
:
"工单详情"
,
showTabBar
:
false
,
},
},
{
path
:
"/:pathMatch(.*)*"
,
path
:
"/:pathMatch(.*)*"
,
name
:
"NotFound"
,
name
:
"NotFound"
,
component
:
()
=>
import
(
"@views/404/index.vue"
),
component
:
()
=>
import
(
"@views/404/index.vue"
),
...
...
apps/web/venus-usedcar-quality/src/views/home/index.vue
View file @
0babaad
...
@@ -173,9 +173,9 @@ function editCheck(item: WorkOrderItem) {
...
@@ -173,9 +173,9 @@ function editCheck(item: WorkOrderItem) {
void
router
.
push
({
name
:
"CarDetail"
,
params
:
{
id
:
item
.
id
}
});
void
router
.
push
({
name
:
"CarDetail"
,
params
:
{
id
:
item
.
id
}
});
}
}
function
viewWorkOrder
(
item
:
WorkOrderItem
)
{
function
viewWorkOrder
(
item
:
WorkOrderItem
)
:
void
{
showToast
(
"查看工单"
);
void
router
.
push
({
name
:
"Ca
rDetail"
,
params
:
{
id
:
item
.
id
}
});
router
.
push
({
name
:
"WorkOrde
rDetail"
,
params
:
{
id
:
item
.
id
}
});
}
}
function
viewReport
(
_item
:
WorkOrderItem
)
{
function
viewReport
(
_item
:
WorkOrderItem
)
{
...
@@ -293,7 +293,8 @@ void onRefresh();
...
@@ -293,7 +293,8 @@ void onRefresh();
@
load=
"onLoad"
>
@
load=
"onLoad"
>
<div
v-for=
"item in displayList"
<div
v-for=
"item in displayList"
:key=
"item.id"
:key=
"item.id"
class=
"order-card card"
>
class=
"order-card card"
@
click=
"viewWorkOrder(item)"
>
<div
class=
"card-top"
>
<div
class=
"card-top"
>
<div
class=
"order-no"
>
<div
class=
"order-no"
>
工单号
<span
class=
"order-no-value"
>
{{
item
.
orderNo
}}
</span>
工单号
<span
class=
"order-no-value"
>
{{
item
.
orderNo
}}
</span>
...
...
apps/web/venus-usedcar-quality/src/views/word-order-detail/index.vue
0 → 100644
View file @
0babaad
This diff is collapsed.
Click to expand it.
venus-admin.code-workspace
View file @
0babaad
...
@@ -5,12 +5,8 @@
...
@@ -5,12 +5,8 @@
"path": "apps/uniappX/uniapp-x-shop",
"path": "apps/uniappX/uniapp-x-shop",
},
},
{
{
"name": "cool-unix",
"name": "uniapp-x-tape",
"path": "apps/uniappX/uniapp-x-shop/uni_modules/cool-unix",
"path": "apps/uniappX/uniapp-x-tape",
},
{
"name": "cool-unix-demo",
"path": "apps/uniappX/uniapp-x-shop/uni_modules/cool-unix/配置文件",
},
},
{
{
"name": "@venus/venus-agentic-assisant",
"name": "@venus/venus-agentic-assisant",
...
@@ -21,8 +17,8 @@
...
@@ -21,8 +17,8 @@
"path": "apps/web/venus-agentic/venus-agentic-base",
"path": "apps/web/venus-agentic/venus-agentic-base",
},
},
{
{
"name": "
@venus/car-life-system
",
"name": "
venus-usedcar-h5
",
"path": "apps/web/v
ue2/dj-car-life-system
",
"path": "apps/web/v
enus-usedcar-quality
",
},
},
{
{
"name": "@venus/docs",
"name": "@venus/docs",
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment