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 5663883b
authored
May 22, 2026
by
岑成威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix:调整样式
1 parent
e97f31e9
Pipeline
#211
for
5663883b
failed
in 0 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
4 deletions
apps/web/venus-usedcar-quality/src/api/modules/work-order.ts
apps/web/venus-usedcar-quality/src/views/home/index.vue
apps/web/venus-usedcar-quality/src/views/inspect-report/index.vue
apps/web/venus-usedcar-quality/src/api/modules/work-order.ts
View file @
5663883
...
@@ -60,8 +60,16 @@ export function getWorkOrderPage(params: WorkOrderListParams) {
...
@@ -60,8 +60,16 @@ export function getWorkOrderPage(params: WorkOrderListParams) {
return
post
<
WorkOrderPageData
<
WorkOrderRemoteItem
>>
(
"/rest/inspect/wo/page"
,
params
);
return
post
<
WorkOrderPageData
<
WorkOrderRemoteItem
>>
(
"/rest/inspect/wo/page"
,
params
);
}
}
export
function
getWorkOrderCountByStatus
()
{
export
interface
WorkOrderCountParams
{
return
get
<
WorkOrderCountData
>
(
"/rest/inspect/wo/countByStatus"
);
keyword
?:
string
;
}
export
function
getWorkOrderCountByStatus
(
params
?:
WorkOrderCountParams
)
{
const
keyword
=
params
?.
keyword
?.
trim
();
return
get
<
WorkOrderCountData
>
(
"/rest/inspect/wo/countByStatus"
,
keyword
?
{
keyword
}
:
undefined
);
}
}
export
type
WorkOrderDetailResult
<
T
=
unknown
>
=
T
;
export
type
WorkOrderDetailResult
<
T
=
unknown
>
=
T
;
...
...
apps/web/venus-usedcar-quality/src/views/home/index.vue
View file @
5663883
...
@@ -97,7 +97,8 @@ function mapWorkOrderItem(item: Record<string, unknown>): WorkOrderItem {
...
@@ -97,7 +97,8 @@ function mapWorkOrderItem(item: Record<string, unknown>): WorkOrderItem {
async
function
fetchTabCounts
()
{
async
function
fetchTabCounts
()
{
try
{
try
{
const
data
=
await
getWorkOrderCountByStatus
();
const
keyword
=
searchKeyword
.
value
.
trim
();
const
data
=
await
getWorkOrderCountByStatus
(
keyword
?
{
keyword
}
:
undefined
);
tabCounts
.
value
=
{
tabCounts
.
value
=
{
dispatchedCount
:
data
.
dispatchedCount
??
0
,
dispatchedCount
:
data
.
dispatchedCount
??
0
,
inProgressCount
:
data
.
inProgressCount
??
0
,
inProgressCount
:
data
.
inProgressCount
??
0
,
...
...
apps/web/venus-usedcar-quality/src/views/inspect-report/index.vue
View file @
5663883
...
@@ -539,7 +539,7 @@ onMounted(() => {
...
@@ -539,7 +539,7 @@ onMounted(() => {
</div>
</div>
<ul
class=
"score-desc__list"
>
<ul
class=
"score-desc__list"
>
<li
v-for=
"(desc, idx) in reportData.scoreDescriptions"
:key=
"idx"
>
<li
v-for=
"(desc, idx) in reportData.scoreDescriptions"
:key=
"idx"
>
<span
class=
"desc-label"
>
{{ desc.label }}:
</span>
{{ desc.text }}
<span
class=
"desc-label"
>
{{ desc.label }}:
</span>
<span
class=
"desc-text"
>
{{ desc.text }}
</span>
</li>
</li>
</ul>
</ul>
</div>
</div>
...
@@ -1146,6 +1146,8 @@ onMounted(() => {
...
@@ -1146,6 +1146,8 @@ onMounted(() => {
font-size
:
$
font-size-sm
;
font-size
:
$
font-size-sm
;
line-height
:
1.6
;
line-height
:
1.6
;
color
:
$
color-text-secondary
;
color
:
$
color-text-secondary
;
overflow-wrap
:
anywhere
;
word-break
:
break-word
;
//
padding
:
$
spacing-md
0
$
spacing-md
12px
;
//
padding
:
$
spacing-md
0
$
spacing-md
12px
;
//
border-bottom
:
1px
solid
#fff0d6
;
//
border-bottom
:
1px
solid
#fff0d6
;
border-bottom
:
1px
solid
#e6ebf5
;
border-bottom
:
1px
solid
#e6ebf5
;
...
@@ -1170,6 +1172,12 @@ onMounted(() => {
...
@@ -1170,6 +1172,12 @@ onMounted(() => {
.desc-label
{
.desc-label
{
color
:
$
color-text-primary
;
color
:
$
color-text-primary
;
white-space
:
nowrap
;
}
.desc-text
{
word-break
:
break-all
;
overflow-wrap
:
anywhere
;
}
}
}
}
...
...
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