Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 995eccad
authored
Sep 29, 2025
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug
1 parent
31086533
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
16 deletions
pages/tabWorkOrder/pages/index/index.js
pages/tabWorkOrder/pages/index/index.sass
pages/tabWorkOrder/pages/index/index.wxml
pages/tabWorkOrder/pages/index/index.js
View file @
995ecca
...
@@ -152,7 +152,7 @@ Page({
...
@@ -152,7 +152,7 @@ Page({
})
})
}
}
},
},
error
:
()
=>
{}
error
:
()
=>
{
}
},
},
'#modal2'
'#modal2'
)
)
...
@@ -263,8 +263,8 @@ Page({
...
@@ -263,8 +263,8 @@ Page({
}
else
if
(
userType
==
2
)
{
}
else
if
(
userType
==
2
)
{
item
item
?
this
.
showSelectType
({
?
this
.
showSelectType
({
item
item
})
})
:
wx
.
$router
.
go
(
'tabWorkOrder.'
+
name
,
item
)
:
wx
.
$router
.
go
(
'tabWorkOrder.'
+
name
,
item
)
}
else
{
}
else
{
wx
.
$util
.
showNoAccess
()
wx
.
$util
.
showNoAccess
()
...
@@ -547,7 +547,7 @@ Page({
...
@@ -547,7 +547,7 @@ Page({
return
(
360
*
Math
.
atan
(
_Y
/
_X
))
/
(
2
*
Math
.
PI
)
return
(
360
*
Math
.
atan
(
_Y
/
_X
))
/
(
2
*
Math
.
PI
)
},
},
init
(
userInfo
)
{},
init
(
userInfo
)
{
},
search
()
{
search
()
{
wx
.
$orderListRefresh
=
false
wx
.
$orderListRefresh
=
false
let
{
searchObj
,
userInfo
}
=
this
.
data
let
{
searchObj
,
userInfo
}
=
this
.
data
...
@@ -665,12 +665,12 @@ Page({
...
@@ -665,12 +665,12 @@ Page({
let
text
=
status
[
e
.
status
].
text
let
text
=
status
[
e
.
status
].
text
let
color
=
status
[
e
.
status
].
color
let
color
=
status
[
e
.
status
].
color
let
background
=
status
[
e
.
status
].
background
let
background
=
status
[
e
.
status
].
background
// 不是订单失效状态优先显示已施工
// 不是订单失效状态优先显示已施工
现在不施工
if
(
!
[
9
,
11
,
12
].
includes
(
e
.
status
)
&&
e
.
constructionFlag
==
'Y'
)
{
//
if (![9, 11, 12].includes(e.status) && e.constructionFlag == 'Y') {
text
=
'已施工'
//
text = '已施工'
color
=
'#347BFF'
//
color = '#347BFF'
background
=
'#F3F7FC'
//
background = '#F3F7FC'
}
//
}
e
.
statusText
=
text
e
.
statusText
=
text
e
.
statuscolor
=
color
e
.
statuscolor
=
color
e
.
statusbackground
=
background
e
.
statusbackground
=
background
...
@@ -851,7 +851,7 @@ Page({
...
@@ -851,7 +851,7 @@ Page({
/**
/**
* 生命周期函数--监听页面初次渲染完成
* 生命周期函数--监听页面初次渲染完成
*/
*/
onReady
:
function
()
{},
onReady
:
function
()
{
},
/**
/**
* 生命周期函数--监听页面显示
* 生命周期函数--监听页面显示
...
@@ -863,22 +863,22 @@ Page({
...
@@ -863,22 +863,22 @@ Page({
/**
/**
* 生命周期函数--监听页面隐藏
* 生命周期函数--监听页面隐藏
*/
*/
onHide
:
function
()
{},
onHide
:
function
()
{
},
/**
/**
* 生命周期函数--监听页面卸载
* 生命周期函数--监听页面卸载
*/
*/
onUnload
:
function
()
{},
onUnload
:
function
()
{
},
/**
/**
* 页面相关事件处理函数--监听用户下拉动作
* 页面相关事件处理函数--监听用户下拉动作
*/
*/
onPullDownRefresh
:
function
()
{},
onPullDownRefresh
:
function
()
{
},
/**
/**
* 页面上拉触底事件的处理函数
* 页面上拉触底事件的处理函数
*/
*/
onReachBottom
:
function
()
{},
onReachBottom
:
function
()
{
},
scrollonReachBottom
()
{
scrollonReachBottom
()
{
let
{
total
,
pageNum
}
=
this
.
data
let
{
total
,
pageNum
}
=
this
.
data
wx
.
$util
.
onReachBottom
(
wx
.
$util
.
onReachBottom
(
...
@@ -901,5 +901,5 @@ Page({
...
@@ -901,5 +901,5 @@ Page({
/**
/**
* 用户点击右上角分享
* 用户点击右上角分享
*/
*/
onShareAppMessage
:
function
()
{}
onShareAppMessage
:
function
()
{
}
})
})
pages/tabWorkOrder/pages/index/index.sass
View file @
995ecca
...
@@ -247,6 +247,25 @@ page {
...
@@ -247,6 +247,25 @@ page {
background-size
:
100%
;
background-size
:
100%
;
}
}
.
list
.
item
.
goods-list
.
pullDownArrow
:
:
after
{
width
:
var
(
--
fontSize32
)
;
height
:
var
(
--
fontSize32
)
;
-webkit-transition
:
all
0
.4s
;
transition
:
all
0
.4s
;
background
:
url(https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/pullDownArrow.png)
;
background-size
:
100%
;
}
.
list
.
item
.
goods-list
.
showAllGoodsListFlag
:
:
after
{
// width: var(--fontSize32);
transform
:
rotate
(
180deg
)
;
// height: var(--fontSize32);
// -webkit-transition: all 0.4s;
transition
:
all
0
.4s
;
// background: url(https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/pullDownArrow.png);
// background-size: 100%;
}
.list
.item
.goods-list
.goods
.goods-name
{
.list
.item
.goods-list
.goods
.goods-name
{
font-size
:
var
(
--
fontSize28
)
;
font-size
:
var
(
--
fontSize28
)
;
// color: #292D33;
// color: #292D33;
...
...
pages/tabWorkOrder/pages/index/index.wxml
View file @
995ecca
This diff is collapsed.
Click to expand it.
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