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 ef4004ee
authored
Oct 02, 2025
by
cen
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 样式
1 parent
90e34eb1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
3 deletions
pages/evaluationForm/evaluationFormDetails.vue
pages/evaluationForm/index.vue
pages/evaluationForm/evaluationFormDetails.vue
View file @
ef4004e
...
@@ -307,8 +307,29 @@
...
@@ -307,8 +307,29 @@
<view
v-for=
"(item, index) in detailsInfo.editLogList[indexContent].changeList || []"
:key=
"index"
class=
"tableRow"
>
<view
v-for=
"(item, index) in detailsInfo.editLogList[indexContent].changeList || []"
:key=
"index"
class=
"tableRow"
>
<view
class=
"tableCell"
>
{{
item
.
fieldName
}}
</view>
<view
class=
"tableCell"
>
{{
item
.
fieldName
}}
</view>
<view
class=
"tableCell"
>
{{
item
.
fieldType
==
'text'
?
'文本'
:
item
.
fieldType
==
'image'
?
'图片'
:
'视频'
}}
变更
</view>
<view
class=
"tableCell"
>
{{
item
.
fieldType
==
'text'
?
'文本'
:
item
.
fieldType
==
'image'
?
'图片'
:
'视频'
}}
变更
</view>
<view
class=
"tableCell"
>
{{
item
.
fieldBeforeValue
||
'-'
}}
</view>
<view
class=
"tableCell"
>
<view
class=
"tableCell"
>
{{
item
.
fieldAfterValue
||
'-'
}}
</view>
<view
v-if=
"item.fieldType == 'text'"
>
{{
item
.
fieldBeforeValue
||
'-'
}}
</view>
<view
v-else-if=
"item.fieldType == 'image'"
>
<image
v-for=
"(url, idx) in splitMediaUrls(item.fieldBeforeValue)"
:key=
"idx"
:src=
"url"
mode=
"aspectFill"
style=
"margin-right: 10px; width: 80px; height: 80px"
></image>
</view>
<view
v-else-if=
"item.fieldType == 'video'"
>
<image
v-for=
"(url, idx) in splitMediaUrls(item.fieldBeforeValue)"
:key=
"idx"
:src=
"url"
mode=
"aspectFill"
style=
"margin-right: 10px; width: 80px; height: 80px"
></image>
</view>
</view>
<view
class=
"tableCell"
>
<view
v-if=
"item.fieldType == 'text'"
>
{{
item
.
fieldAfterValue
||
'-'
}}
</view>
<view
v-else-if=
"item.fieldType == 'image'"
>
<image
v-for=
"(url, idx) in splitMediaUrls(item.fieldAfterValue)"
:key=
"idx"
:src=
"url"
mode=
"aspectFill"
style=
"margin-right: 10px; width: 80px; height: 80px"
></image>
</view>
<view
v-else-if=
"item.fieldType == 'video'"
>
<image
v-for=
"(url, idx) in splitMediaUrls(item.fieldAfterValue)"
:key=
"idx"
:src=
"url"
mode=
"aspectFill"
style=
"margin-right: 10px; width: 80px; height: 80px"
></image>
</view>
</view>
</view>
</view>
<!-- 当没有数据时显示空状态 -->
<!-- 当没有数据时显示空状态 -->
<view
v-if=
"!detailsInfo.editLogList[indexContent].changeList || detailsInfo.editLogList[indexContent].changeList.length === 0"
class=
"empty-table"
>
<view
v-if=
"!detailsInfo.editLogList[indexContent].changeList || detailsInfo.editLogList[indexContent].changeList.length === 0"
class=
"empty-table"
>
...
@@ -537,6 +558,13 @@ export default {
...
@@ -537,6 +558,13 @@ export default {
delta
:
1
delta
:
1
})
})
},
},
splitMediaUrls
(
urls
)
{
if
(
!
urls
)
return
[]
return
urls
.
split
(
','
)
.
map
(
url
=>
url
.
trim
())
.
filter
(
url
=>
url
)
},
statusClass
(
status
)
{
statusClass
(
status
)
{
return
status
>
0
?
`status-
${
status
}
`
:
'status-0'
return
status
>
0
?
`status-
${
status
}
`
:
'status-0'
},
},
...
@@ -1044,6 +1072,11 @@ export default {
...
@@ -1044,6 +1072,11 @@ export default {
text-align
:
left
;
text-align
:
left
;
background
:
#f9fafc
;
background
:
#f9fafc
;
text-align
:
center
;
text-align
:
center
;
uni-image
{
width
:
toRpx
(
96
);
height
:
toRpx
(
96
);
border-radius
:
8px
;
}
}
}
//
表格空状态样式
//
表格空状态样式
...
...
pages/evaluationForm/index.vue
View file @
ef4004e
...
@@ -402,7 +402,8 @@ export default {
...
@@ -402,7 +402,8 @@ export default {
console
.
log
(
'res:'
,
res
)
console
.
log
(
'res:'
,
res
)
if
(
res
.
data
.
code
==
0
)
{
if
(
res
.
data
.
code
==
0
)
{
uni
.
hideLoading
()
uni
.
hideLoading
()
if
(
!
res
.
data
.
data
.
false
)
{
console
.
log
(
'res.data.data:'
,
res
.
data
.
data
)
if
(
!
res
.
data
.
data
)
{
that
.
$refs
.
signAgreementPopup
.
open
().
then
(()
=>
{
that
.
$refs
.
signAgreementPopup
.
open
().
then
(()
=>
{
uni
.
showLoading
()
uni
.
showLoading
()
uni
.
$api
.
evaluationApi
.
sendCustodyAgreement
({
...
that
.
signAgreementObj
,
evalOrderNo
:
e
.
evalOrderNo
}).
then
(
res
=>
{
uni
.
$api
.
evaluationApi
.
sendCustodyAgreement
({
...
that
.
signAgreementObj
,
evalOrderNo
:
e
.
evalOrderNo
}).
then
(
res
=>
{
...
@@ -429,6 +430,12 @@ export default {
...
@@ -429,6 +430,12 @@ export default {
title
:
e
.
status
==
40
&&
e
.
paymentType
==
1
?
'尾款款项已申请,完成代保管协议电子签约后将安排支付尾款'
:
'全款款项已申请,完成代保管协议电子签约后将安排支付全款'
,
title
:
e
.
status
==
40
&&
e
.
paymentType
==
1
?
'尾款款项已申请,完成代保管协议电子签约后将安排支付尾款'
:
'全款款项已申请,完成代保管协议电子签约后将安排支付全款'
,
icon
:
'none'
icon
:
'none'
})
})
}
else
{
uni
.
hideLoading
()
uni
.
showToast
({
title
:
res
.
data
.
msg
||
'请求失败'
,
icon
:
'none'
})
}
}
}
}
}
}
...
...
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