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 6459c9fa
authored
Apr 10, 2024
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复bug
1 parent
3393b922
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
7 deletions
pages/detail/components/Media_6.vue
pages/home/home.vue
pages/informationEntry/informationEntry.vue
pages/detail/components/Media_6.vue
View file @
6459c9f
...
...
@@ -17,10 +17,12 @@
><view>
车架号
</view><view>
{{
item
.
carVin
||
4654651
}}
</view></view
>
<view
class=
"card-info"
><view>
工单号
</view><view>
{{
item
.
order
Id
}}
</view></view
><view>
工单号
</view><view>
{{
item
.
pay
Id
}}
</view></view
>
<view
class=
"card-info"
><view>
订单时间
</view><view>
{{
item
.
createdTime
}}
</view></view
><view>
订单时间
</view>
<view>
{{
format
(
item
.
createdTime
)
}}
</view>
</view
>
<view
class=
"card-info"
><view>
交易流水号
</view><view>
{{
item
.
transactionNo
}}
</view></view
...
...
@@ -59,6 +61,7 @@
</template>
<
script
type=
"text/ecmascript-6"
>
import
utils
from
'@/utils/utils'
;
import
Tabs
from
'./Tabs.vue'
;
export
default
{
name
:
'Media_6'
,
...
...
@@ -107,6 +110,9 @@ export default {
methods
:
{
format
(
dateTimeStr
)
{
return
utils
.
convertDateTimeFormat
(
dateTimeStr
,
'/'
)
},
init
(){
const
{
shopMerchantId
}
=
uni
.
$storage
.
get
(
"userInfo"
);
this
.
shopMerchantId
=
shopMerchantId
...
...
@@ -130,7 +136,7 @@ export default {
this
.
historyList
=
this
.
historyList
.
concat
(
data
.
list
)
this
.
isEnd
=
false
}
else
{
this
.
isEnd
=
true
if
(
this
.
historyList
.
length
>
9
)
this
.
isEnd
=
true
}
}
...
...
@@ -202,6 +208,7 @@ export default {
background
:
#ffffff
;
border
:
2
rpx
solid
#dce0e6
;
border-radius
:
16
rpx
;
height
:
448
rpx
;
.name
{
font-weight
:
500
;
font-size
:
32
rpx
;
...
...
pages/home/home.vue
View file @
6459c9f
...
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2024-04-07 14:39:40
* @LastEditors: huyue
* @LastEditTime: 2024-04-10 1
6:54:35
* @LastEditTime: 2024-04-10 1
7:00:04
-->
<
template
>
<view
class=
"container"
@
click=
"handleTouchStart()"
>
...
...
@@ -66,7 +66,7 @@
@
cancel=
"cancel"
@
confirm=
"preview"
:popupW=
"704"
content=
"直接点击素材可进行预览,若面向车辆主展示,请点击
页面的
「开始接待」"
content=
"直接点击素材可进行预览,若面向车辆主展示,请点击「开始接待」"
confirmBtnText=
"预览素材"
></MessageBox>
<MessageBox
...
...
pages/informationEntry/informationEntry.vue
View file @
6459c9f
...
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2024-04-07 14:54:28
* @LastEditors: huyue
* @LastEditTime: 2024-04-10 1
6:22:38
* @LastEditTime: 2024-04-10 1
7:14:52
-->
<
template
>
<view
class=
"information-entry"
>
...
...
@@ -224,7 +224,8 @@ export default {
f_key
:
Date
.
now
(),
errorTip
:
false
,
carBrand
:
''
,
carBrandList
:
[]
carBrandList
:
[],
isPreview
:
false
};
},
onLoad
(
options
)
{
...
...
@@ -238,6 +239,16 @@ export default {
this
.
isPass
=
Object
.
values
(
customerInfo
).
every
((
value
)
=>
!!
value
);
});
},
onShow
()
{
if
(
!
this
.
isPreview
)
{
this
.
infoList
=
this
.
infoList
.
map
(
item
=>
{
if
(
item
.
imgUrl
)
{
delete
item
.
imgUrl
}
return
item
})
}
},
methods
:
{
...
mapMutations
(
"audio"
,
[
"setBooks"
]),
// 上传图
...
...
@@ -322,6 +333,7 @@ export default {
},
// 预览图片
preview
(
index
)
{
this
.
isPreview
=
true
;
this
.
previewImg
=
this
.
infoList
[
index
].
imgUrl
;
uni
.
previewImage
({
urls
:
[
this
.
infoList
[
index
].
imgUrl
],
...
...
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