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 d867fbe3
authored
Mar 26, 2026
by
yancanhua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: 自测问题修改
1 parent
1a0039a6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
11 deletions
apps/web/venus-usedcar-quality/src/components.d.ts
apps/web/venus-usedcar-quality/src/components/CustomizeForm/Index.vue
apps/web/venus-usedcar-quality/src/components.d.ts
View file @
d867fbe
...
@@ -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'
]
VanCheckbox
:
typeof
import
(
'vant/es'
)[
'Checkbox'
]
VanCheckbox
:
typeof
import
(
'vant/es'
)[
'Checkbox'
]
...
...
apps/web/venus-usedcar-quality/src/components/CustomizeForm/Index.vue
View file @
d867fbe
...
@@ -51,12 +51,18 @@ watch(() => props.leafNodes, (nodes) => {
...
@@ -51,12 +51,18 @@ watch(() => props.leafNodes, (nodes) => {
value
:
getValueText
(
item
),
value
:
getValueText
(
item
),
}))
as
InspectionColumnRow
[];
}))
as
InspectionColumnRow
[];
console
.
log
(
'watchLeafNodes'
,
columnsList
.
value
);
console
.
log
(
'watchLeafNodes'
,
columnsList
.
value
);
getCarTypeListData
();
setTimeout
(()
=>
{
setTimeout
(()
=>
{
pageLoading
.
value
=
false
;
pageLoading
.
value
=
false
;
},
1200
);
},
1200
);
},
{
immediate
:
true
,
deep
:
true
});
},
{
immediate
:
true
,
deep
:
true
});
// 页面加载时初始化数据
onMounted
(()
=>
{
setTimeout
(()
=>
{
getCarTypeListData
();
},
1200
);
});
function
getValueText
(
item
:
any
)
{
function
getValueText
(
item
:
any
)
{
let
valueText
=
''
;
let
valueText
=
''
;
...
@@ -191,7 +197,7 @@ async function validate(): Promise<CustomizeFormValidateResult> {
...
@@ -191,7 +197,7 @@ async function validate(): Promise<CustomizeFormValidateResult> {
message
=
message
?
message
:
title
+
item
.
nodeName
;
message
=
message
?
message
:
title
+
item
.
nodeName
;
}
}
if
(
item
.
interactionType
==
'image_upload_and_button_select'
&&
!
item
.
uploadValue
)
{
if
(
item
.
interactionType
==
'image_upload_and_button_select'
&&
item
.
value
&&
!
item
.
uploadValue
)
{
success
=
false
;
success
=
false
;
message
=
message
?
message
:
'请上传图片'
;
message
=
message
?
message
:
'请上传图片'
;
}
}
...
@@ -234,8 +240,6 @@ function setImgWidth(item: any) {
...
@@ -234,8 +240,6 @@ function setImgWidth(item: any) {
}
}
const
carTypeList
=
ref
([]);
const
carTypeList
=
ref
([]);
async
function
getCarTypeListData
()
{
async
function
getCarTypeListData
()
{
const
templateDefaultData
=
props
?.
templateDefaultData
||
{};
const
templateDefaultData
=
props
?.
templateDefaultData
||
{};
if
(
templateDefaultData
.
carSeriesId
)
{
if
(
templateDefaultData
.
carSeriesId
)
{
...
...
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