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 8607441f
authored
Mar 26, 2026
by
yancanhua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 自测问题修改
1 parent
6a3838f7
Pipeline
#126
for
8607441f
failed
in 0 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
14 deletions
apps/web/venus-usedcar-quality/src/components.d.ts
apps/web/venus-usedcar-quality/src/components/CustomizeForm/buttonSelect.vue
apps/web/venus-usedcar-quality/src/components/CustomizeForm/selectDropdown.vue
apps/web/venus-usedcar-quality/src/components.d.ts
View file @
8607441
...
@@ -7,19 +7,19 @@ export {}
...
@@ -7,19 +7,19 @@ export {}
declare
module
'vue'
{
declare
module
'vue'
{
export
interface
GlobalComponents
{
export
interface
GlobalComponents
{
ButtonSelect
:
typeof
import
(
'./components/
C
ustomizeForm/buttonSelect.vue'
)[
'default'
]
ButtonSelect
:
typeof
import
(
'./components/
c
ustomizeForm/buttonSelect.vue'
)[
'default'
]
ButtonSelectAndImageUpload
:
typeof
import
(
'./components/
C
ustomizeForm/buttonSelectAndImageUpload.vue'
)[
'default'
]
ButtonSelectAndImageUpload
:
typeof
import
(
'./components/
c
ustomizeForm/buttonSelectAndImageUpload.vue'
)[
'default'
]
CustomizeUploadFile
:
typeof
import
(
'./components/
C
ustomizeForm/customizeUploadFile.vue'
)[
'default'
]
CustomizeUploadFile
:
typeof
import
(
'./components/
c
ustomizeForm/customizeUploadFile.vue'
)[
'default'
]
Index
:
typeof
import
(
'./components/
C
ustomizeForm/Index.vue'
)[
'default'
]
Index
:
typeof
import
(
'./components/
c
ustomizeForm/Index.vue'
)[
'default'
]
Layouts
:
typeof
import
(
'./layouts/index.vue'
)[
'default'
]
Layouts
:
typeof
import
(
'./layouts/index.vue'
)[
'default'
]
LogoutConfirmModal
:
typeof
import
(
'./components/LogoutConfirmModal.vue'
)[
'default'
]
LogoutConfirmModal
:
typeof
import
(
'./components/LogoutConfirmModal.vue'
)[
'default'
]
PageTitle
:
typeof
import
(
'./components/PageTitle.vue'
)[
'default'
]
PageTitle
:
typeof
import
(
'./components/PageTitle.vue'
)[
'default'
]
PageTop
:
typeof
import
(
'./components/PageTop.vue'
)[
'default'
]
PageTop
:
typeof
import
(
'./components/PageTop.vue'
)[
'default'
]
RadioSelect
:
typeof
import
(
'./components/
C
ustomizeForm/radioSelect.vue'
)[
'default'
]
RadioSelect
:
typeof
import
(
'./components/
c
ustomizeForm/radioSelect.vue'
)[
'default'
]
RouterLink
:
typeof
import
(
'vue-router'
)[
'RouterLink'
]
RouterLink
:
typeof
import
(
'vue-router'
)[
'RouterLink'
]
RouterView
:
typeof
import
(
'vue-router'
)[
'RouterView'
]
RouterView
:
typeof
import
(
'vue-router'
)[
'RouterView'
]
SelectDatePicker
:
typeof
import
(
'./components/
C
ustomizeForm/selectDatePicker.vue'
)[
'default'
]
SelectDatePicker
:
typeof
import
(
'./components/
c
ustomizeForm/selectDatePicker.vue'
)[
'default'
]
SelectDropdown
:
typeof
import
(
'./components/
C
ustomizeForm/selectDropdown.vue'
)[
'default'
]
SelectDropdown
:
typeof
import
(
'./components/
c
ustomizeForm/selectDropdown.vue'
)[
'default'
]
VanActionSheet
:
typeof
import
(
'vant/es'
)[
'ActionSheet'
]
VanActionSheet
:
typeof
import
(
'vant/es'
)[
'ActionSheet'
]
VanButton
:
typeof
import
(
'vant/es'
)[
'Button'
]
VanButton
:
typeof
import
(
'vant/es'
)[
'Button'
]
VanDatePicker
:
typeof
import
(
'vant/es'
)[
'DatePicker'
]
VanDatePicker
:
typeof
import
(
'vant/es'
)[
'DatePicker'
]
...
...
apps/web/venus-usedcar-quality/src/components/CustomizeForm/buttonSelect.vue
View file @
8607441
<
script
setup
lang=
"ts"
>
<
script
setup
lang=
"ts"
>
import
{
onMounted
,
computed
,
ref
}
from
"vue"
;
import
{
onMounted
,
computed
,
ref
}
from
"vue"
;
const
props
=
defineProps
({
const
props
=
defineProps
({
item
:
{
item
:
{
type
:
Object
,
type
:
Object
,
default
:
()
=>
{},
default
:
()
=>
{
},
},
},
});
});
const
emit
=
defineEmits
([
"update"
]);
const
emit
=
defineEmits
([
"update"
]);
...
@@ -58,6 +58,7 @@ function setupdate() {
...
@@ -58,6 +58,7 @@ function setupdate() {
valueKey
:
item
||
""
,
valueKey
:
item
||
""
,
};
};
});
});
props
.
item
.
value
=
JSON
.
stringify
(
valueList
||
[]);
if
(
valueList
.
length
>
0
)
{
if
(
valueList
.
length
>
0
)
{
emit
(
"update"
,
JSON
.
stringify
(
valueList
||
[]));
emit
(
"update"
,
JSON
.
stringify
(
valueList
||
[]));
}
else
{
}
else
{
...
@@ -74,11 +75,8 @@ function setupdate() {
...
@@ -74,11 +75,8 @@ function setupdate() {
<span>
{{
item
.
nodeName
}}
</span>
<span>
{{
item
.
nodeName
}}
</span>
</div>
</div>
<div
class=
"selectList"
>
<div
class=
"selectList"
>
<div
v-for=
"(col, index) in columnsList"
<div
v-for=
"(col, index) in columnsList"
:key=
"index"
class=
"selectBut"
:key=
"index"
:class=
"
{ 'pitchOn': pickerValue.includes(col.value) }" @click="handleBut(col)">
class=
"selectBut"
:class=
"
{ 'pitchOn': pickerValue.includes(col.value) }"
@click="handleBut(col)">
{{
col
.
text
}}
{{
col
.
text
}}
<div
v-if=
"pickerValue.includes(col.value)"
class=
"pitchImg"
></div>
<div
v-if=
"pickerValue.includes(col.value)"
class=
"pitchImg"
></div>
</div>
</div>
...
...
apps/web/venus-usedcar-quality/src/components/CustomizeForm/selectDropdown.vue
View file @
8607441
...
@@ -67,6 +67,9 @@ function onConfirm() {
...
@@ -67,6 +67,9 @@ function onConfirm() {
const
picker
=
pickerValue
.
value
&&
pickerValue
.
value
.
length
>
0
?
pickerValue
.
value
[
0
]
:
""
;
const
picker
=
pickerValue
.
value
&&
pickerValue
.
value
.
length
>
0
?
pickerValue
.
value
[
0
]
:
""
;
showPicker
.
value
=
false
;
showPicker
.
value
=
false
;
const
selected
=
columnsList
.
value
.
find
((
col
)
=>
col
.
value
===
picker
)
||
{};
const
selected
=
columnsList
.
value
.
find
((
col
)
=>
col
.
value
===
picker
)
||
{};
props
.
item
.
value
=
selected
.
value
||
""
;
props
.
item
.
valueText
=
selected
.
text
||
""
;
props
.
item
.
valueKey
=
selected
.
value
||
""
;
emit
(
"update"
,
{
emit
(
"update"
,
{
value
:
selected
.
value
||
""
,
value
:
selected
.
value
||
""
,
valueText
:
selected
.
text
||
""
,
valueText
:
selected
.
text
||
""
,
...
...
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