Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 9b71faa4
authored
Oct 03, 2025
by
cen
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 样式
1 parent
94bc42f6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
41 deletions
pages/evaluationForm/confirmCar.vue
pages/evaluationForm/evaluationFormDetails.vue
pages/evaluationForm/signInfo.vue
pages/evaluationForm/confirmCar.vue
View file @
9b71faa
...
@@ -19,10 +19,13 @@
...
@@ -19,10 +19,13 @@
<text
class=
"requiredLabel"
v-if=
"field.required"
>
*
</text>
<text
class=
"requiredLabel"
v-if=
"field.required"
>
*
</text>
</view>
</view>
<view>
<view>
<view
class=
"flex align-center inputBox"
:class=
"
{ fullInput: field.fullInput }" v-if="field.key === 'carKeyUrl'
|| field.key === 'otherUrl'
">
<view
class=
"flex align-center inputBox"
:class=
"
{ fullInput: field.fullInput }" v-if="field.key === 'carKeyUrl'">
<input
type=
"number"
v-model=
"formData[field.inputKey]"
placeholder=
"请输入"
maxlength=
"1"
/>
<input
type=
"number"
v-model=
"formData[field.inputKey]"
placeholder=
"请输入"
maxlength=
"1"
/>
<text>
套
</text>
<text>
套
</text>
</view>
</view>
<view
class=
"flex align-center inputBox"
:class=
"
{ fullInput: field.fullInput }" v-if="field.key === 'otherUrl'">
<input
type=
"text"
v-model=
"formData[field.inputKey]"
placeholder=
"请输入"
maxlength=
"100"
/>
</view>
<view
class=
"upload-images-wrapper"
>
<view
class=
"upload-images-wrapper"
>
<!-- 显示已上传的图片列表 -->
<!-- 显示已上传的图片列表 -->
<view
v-for=
"(image, index) in getImages(field, 'upload')"
:key=
"index"
class=
"uploaded-image-container"
>
<view
v-for=
"(image, index) in getImages(field, 'upload')"
:key=
"index"
class=
"uploaded-image-container"
>
...
...
pages/evaluationForm/evaluationFormDetails.vue
View file @
9b71faa
...
@@ -231,41 +231,45 @@
...
@@ -231,41 +231,45 @@
<view
class=
"mb-32 upload-box"
>
<view
class=
"mb-32 upload-box"
>
<view
class=
"tab-panel-title"
>
车辆图片
</view>
<view
class=
"tab-panel-title"
>
车辆图片
</view>
<view
class=
"gridBoxNoPadding"
>
<view
class=
"gridBoxNoPadding"
>
<view
v-for=
"(item, index) in uploadFieldsItems"
:key=
"index"
:class=
"['flex align-start', { 'full-width': item.fullWidth }]"
>
<
template
v-for=
"(item, index) in uploadFieldsItems"
>
<view
class=
"title-label-see mr-16"
>
{{ item.label }}
</view>
<view
v-if=
"formatValue(item, detailsInfo)"
:key=
"index"
:class=
"['flex align-start',
{ 'full-width': item.fullWidth }]">
<view
v-if=
"item.type == 'image'"
>
<view
class=
"title-label-see mr-16"
>
{{
item
.
label
}}
</view>
<image
:src=
"formatValue(item, detailsInfo)"
@
click
.
stop=
"previewMedia(formatValue(item, detailsInfo), 1)"
></image>
<view
v-if=
"item.type == 'image'"
>
</view>
<image
:src=
"formatValue(item, detailsInfo)"
@
click
.
stop=
"previewMedia(formatValue(item, detailsInfo), 1)"
></image>
<view
v-else-if=
"item.type == 'link'"
class=
"flex-1"
>
</view>
<view
class=
"pdf-box flex align-center justify-between"
>
<view
v-else-if=
"item.type == 'link'"
class=
"flex-1"
>
<view
class=
"flex align-center"
>
<view
class=
"pdf-box flex align-center justify-between"
>
<view
class=
"sprite-icon icon-pdf"
></view>
<view
class=
"flex align-center"
>
<text>
二手车转让协议
</text>
<view
class=
"sprite-icon icon-pdf"
></view>
<text>
二手车转让协议
</text>
</view>
</view>
</view>
</view>
</view>
<view
v-else
>
{{
formatValue
(
item
,
detailsInfo
)
}}
</view>
</view>
</view>
<view
v-else
>
{{ formatValue(item, detailsInfo) }}
</view>
</
template
>
</view>
</view>
</view>
</view>
</view>
<view
class=
"mb-32 upload-box"
>
<view
class=
"mb-32 upload-box"
>
<view
class=
"tab-panel-title"
>
证件资料
</view>
<view
class=
"tab-panel-title"
>
证件资料
</view>
<view
class=
"gridBoxNoPadding"
>
<view
class=
"gridBoxNoPadding"
>
<view
v-for=
"(item, index) in documentationItems"
:key=
"index"
:class=
"['flex align-start', { 'full-width': item.fullWidth }]"
>
<
template
v-for=
"(item, index) in documentationItems"
>
<view
class=
"title-label-see mr-16"
>
{{ item.label }}
</view>
<view
v-if=
"formatValue(item, detailsInfo)"
:key=
"index"
:class=
"['flex align-start',
{ 'full-width': item.fullWidth }]">
<view
v-if=
"item.type == 'image'"
>
<view
class=
"title-label-see mr-16"
>
{{
item
.
label
}}
</view>
<image
:src=
"formatValue(item, detailsInfo)"
@
click
.
stop=
"previewMedia(formatValue(item, detailsInfo), 1)"
></image>
<view
v-if=
"item.type == 'image'"
>
</view>
<image
:src=
"formatValue(item, detailsInfo)"
@
click
.
stop=
"previewMedia(formatValue(item, detailsInfo), 1)"
></image>
<view
v-else-if=
"item.type == 'link'"
class=
"flex-1"
>
</view>
<view
class=
"pdf-box flex align-center justify-between"
>
<view
v-else-if=
"item.type == 'link'"
class=
"flex-1"
>
<view
class=
"flex align-center"
>
<view
class=
"pdf-box flex align-center justify-between"
>
<view
class=
"sprite-icon icon-pdf"
></view>
<view
class=
"flex align-center"
>
<text>
二手车买卖补充协议
</text>
<view
class=
"sprite-icon icon-pdf"
></view>
<text>
二手车买卖补充协议
</text>
</view>
</view>
</view>
</view>
</view>
<view
v-else
>
{{
formatValue
(
item
,
detailsInfo
)
}}
</view>
</view>
</view>
<view
v-else
>
{{ formatValue(item, detailsInfo) }}
</view>
</
template
>
</view>
</view>
</view>
</view>
</view>
<view
class=
"mb-32 upload-box"
v-if=
"detailsInfo.carHandoverInfo"
>
<view
class=
"mb-32 upload-box"
v-if=
"detailsInfo.carHandoverInfo"
>
...
@@ -490,8 +494,8 @@ export default {
...
@@ -490,8 +494,8 @@ export default {
{
label
:
'查阅合同'
,
key
:
'signingInfo.custodyContract.docTemplateName'
,
type
:
'link'
}
{
label
:
'查阅合同'
,
key
:
'signingInfo.custodyContract.docTemplateName'
,
type
:
'link'
}
],
],
baseInfoItems
:
[
baseInfoItems
:
[
{
label
:
'确认人'
,
key
:
'carHandoverInfo.
confirmName
'
},
{
label
:
'确认人'
,
key
:
'carHandoverInfo.
operator
'
},
{
label
:
'确认时间'
,
key
:
'carHandoverInfo.
confirm
Time'
},
{
label
:
'确认时间'
,
key
:
'carHandoverInfo.
handover
Time'
},
{
label
:
'车钥匙数'
,
key
:
'carHandoverInfo.carKeyCount'
}
{
label
:
'车钥匙数'
,
key
:
'carHandoverInfo.carKeyCount'
}
],
],
contractItems
:
[
contractItems
:
[
...
@@ -499,18 +503,16 @@ export default {
...
@@ -499,18 +503,16 @@ export default {
{
label
:
'补充协议'
,
key
:
'carHandoverInfo.supplementaryContractNo'
,
contractName
:
'二手车补充协议'
}
{
label
:
'补充协议'
,
key
:
'carHandoverInfo.supplementaryContractNo'
,
contractName
:
'二手车补充协议'
}
],
],
uploadFieldsItems
:
[
uploadFieldsItems
:
[
// {
{
// key: 11,
key
:
'carHandoverInfo.handoverPhotoFrontFourFive'
,
// label: '正面45度',
label
:
'正面45度'
,
// required: true,
type
:
'image'
// maxCount: 1,
},
// type: 'image'
{
key
:
'carHandoverInfo.handoverPhotoFront'
,
label
:
'正面'
,
type
:
'image'
},
// },
{
key
:
'carHandoverInfo.handoverPhotoBack'
,
label
:
'后面'
,
type
:
'image'
},
// { key: 12, label: '正面', type: 'image' },
{
key
:
'carHandoverInfo.handoverPhotoLeftSide'
,
label
:
'左侧面'
,
type
:
'image'
},
// { key: 13, label: '后面', maxCount: 1, type: 'image' },
{
key
:
'carHandoverInfo.handoverPhotoRightSide'
,
label
:
'右侧面'
,
type
:
'image'
},
// { key: 14, label: '左侧面', maxCount: 1, type: 'image' },
{
key
:
'carHandoverInfo.handoverPhotoMore'
,
label
:
'其他'
,
type
:
'image'
}
// { key: 15, label: '右侧面', maxCount: 1, type: 'image' },
// { key: 16, label: '其他', maxCount: 1, type: 'image' }
],
],
documentationItems
:
[
documentationItems
:
[
{
label
:
'交强险'
,
key
:
'carHandoverInfo.trafficInsuranceUrl'
,
type
:
'image'
},
{
label
:
'交强险'
,
key
:
'carHandoverInfo.trafficInsuranceUrl'
,
type
:
'image'
},
...
@@ -647,7 +649,7 @@ export default {
...
@@ -647,7 +649,7 @@ export default {
if
(
item
.
map
&&
this
[
item
.
map
])
{
if
(
item
.
map
&&
this
[
item
.
map
])
{
return
this
[
item
.
map
][
rawValue
]
||
rawValue
return
this
[
item
.
map
][
rawValue
]
||
rawValue
}
}
console
.
log
(
'rawValue:'
,
rawValue
,
item
.
key
)
// 返回原始值(如果为空则返回空字符串)
// 返回原始值(如果为空则返回空字符串)
return
rawValue
||
''
return
rawValue
||
''
},
},
...
...
pages/evaluationForm/signInfo.vue
View file @
9b71faa
...
@@ -137,7 +137,7 @@
...
@@ -137,7 +137,7 @@
</view>
</view>
<view
class=
"checkbox-name"
>
{{
item
.
name
}}
</view>
<view
class=
"checkbox-name"
>
{{
item
.
name
}}
</view>
<input
class=
"checkbox-input"
v-if=
"item.isShowInput && item.key != 'other'"
v-model=
"formData[item.inputValue]"
placeholder=
"请输入"
type=
"number"
maxlength=
"1"
/>
<input
class=
"checkbox-input"
v-if=
"item.isShowInput && item.key != 'other'"
v-model=
"formData[item.inputValue]"
placeholder=
"请输入"
type=
"number"
maxlength=
"1"
/>
<input
class=
"checkbox-input"
v-if=
"item.isShowInput && item.key == 'other'"
v-model=
"formData[item.inputValue]"
placeholder=
"请输入"
/>
<input
class=
"checkbox-input"
v-if=
"item.isShowInput && item.key == 'other'"
v-model=
"formData[item.inputValue]"
placeholder=
"请输入"
maxlength=
"100"
/>
</label>
</label>
</checkbox-group>
</checkbox-group>
</
template
>
</
template
>
...
...
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