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 a17477ff
authored
Jul 16, 2025
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat 技师功能开发
1 parent
fb1f7b16
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
273 additions
and
175 deletions
config.js
pages/accountItems/accountItems.js
pages/accountItems/accountItems.wxml
pages/accountItems/accountItems.wxss
pages/loading/loading.js
pages/sceneIndex/sceneIndex.js
pages/tabDateIndex/pages/tabDateIndex.js
pages/tabWorkOrder/pages/index/index.js
pages/tabWorkOrder/pages/index/index.wxml
tabDate/pages/detail/detail.js
tabDate/pages/detail/detail.wxml
tabIndex/pages/index/index.wxml
tabWorkOrder/components/orderRatingPopup/orderRatingPopup.js
tabWorkOrder/components/orderRatingPopup/orderRatingPopup.wxss → tabWorkOrder/components/orderRatingPopup/orderRatingPopup.sass
tabWorkOrder/components/orderRatingPopup/orderRatingPopup.wxml
tabWorkOrder/index.wxs
tabWorkOrder/pages/constructionOrderDetail/constructionOrderDetail.js
tabWorkOrder/pages/orderSignature/orderSignature.js
tabWorkOrder/pages/orderSignature/orderSignature.wxss → tabWorkOrder/pages/orderSignature/orderSignature.sass
tabWorkOrder/pages/orderSignature/orderSignature.wxml
utils/request/environment.js
config.js
View file @
a17477f
...
@@ -18,7 +18,7 @@ export const appId = 'wx570d9331f9ace0bd'
...
@@ -18,7 +18,7 @@ export const appId = 'wx570d9331f9ace0bd'
* 4预发布
* 4预发布
* 5cdptest
* 5cdptest
*/
*/
let
index
=
2
;
let
index
=
0
;
const
accountInfo
=
wx
.
getAccountInfoSync
();
const
accountInfo
=
wx
.
getAccountInfoSync
();
const
systemInfo
=
wx
.
getSystemInfoSync
();
const
systemInfo
=
wx
.
getSystemInfoSync
();
const
envName
=
accountInfo
.
miniProgram
.
envVersion
;
const
envName
=
accountInfo
.
miniProgram
.
envVersion
;
...
...
pages/accountItems/accountItems.js
View file @
a17477f
...
@@ -19,7 +19,8 @@ Page({
...
@@ -19,7 +19,8 @@ Page({
3
:
'区域运营'
,
3
:
'区域运营'
,
4
:
'驻店负责人'
,
4
:
'驻店负责人'
,
5
:
'销售'
,
5
:
'销售'
,
6
:
'飞行督导'
6
:
'飞行督导'
,
7
:
'技师'
},
},
selectedUuid
:
''
,
selectedUuid
:
''
,
requestFlag
:
false
requestFlag
:
false
...
...
pages/accountItems/accountItems.wxml
View file @
a17477f
...
@@ -25,8 +25,8 @@
...
@@ -25,8 +25,8 @@
<block wx:for="{{loginUserInfoList}}" wx:key="index">
<block wx:for="{{loginUserInfoList}}" wx:key="index">
<view class="items {{item.active?'active':''}}" bindtap="chooseAccount" data-index="{{index}}" data-item="{{item}}">
<view class="items {{item.active?'active':''}}" bindtap="chooseAccount" data-index="{{index}}" data-item="{{item}}">
<view class="right">
<view class="right">
<view class="midle {{item.isSuper==true?'midle_1':item.userType==1?'midle_2':(item.loginRole == 3 || item.loginRole == 5 || item.loginRole == 6) ?'midle_3' : item.loginRole == 4 ? 'midle_4' :
'midle_5'}}">
<view class="midle {{item.isSuper==true?'midle_1':item.userType==1?'midle_2':(item.loginRole == 3 || item.loginRole == 5 || item.loginRole == 6) ?'midle_3' : item.loginRole == 4 ? 'midle_4' :
item.loginRole == 7 ? 'midle_6':
'midle_5'}}">
{{item.isSuper==true?'超管':item.userType==1?'商户':item.loginRole == 3 || item.loginRole == 6 ? '督导' : item.loginRole == 5? '销售':item.loginRole == 4 ? '驻店' : '员工'}}
{{item.isSuper==true?'超管':item.userType==1?'商户':item.loginRole == 3 || item.loginRole == 6 ? '督导' : item.loginRole == 5? '销售':item.loginRole == 4 ? '驻店' :
item.loginRole == 7 ? '技师':
'员工'}}
</view>
</view>
</view>
</view>
<view class="left">
<view class="left">
...
...
pages/accountItems/accountItems.wxss
View file @
a17477f
...
@@ -132,6 +132,11 @@
...
@@ -132,6 +132,11 @@
/* border: var(--fontSize2) solid #35C376; */
/* border: var(--fontSize2) solid #35C376; */
background-color: #35c3761a;
background-color: #35c3761a;
}
}
.items .right .midle_6{
color: #7F80FE;
/* border: var(--fontSize2) solid #35C376; */
background: #7f80fe1a;
}
.items .right .icon{
.items .right .icon{
width: var(--fontSize40);
width: var(--fontSize40);
height: var(--fontSize40);
height: var(--fontSize40);
...
...
pages/loading/loading.js
View file @
a17477f
...
@@ -32,6 +32,7 @@ Page({
...
@@ -32,6 +32,7 @@ Page({
initData
(
auto
=
true
,
navigateParams
)
{
initData
(
auto
=
true
,
navigateParams
)
{
console
.
log
(
'initData'
);
try
{
try
{
if
(
this
.
scene
&&
auto
)
return
//有scene return
if
(
this
.
scene
&&
auto
)
return
//有scene return
let
userInfo
=
wx
.
$util
.
getUserInfo
()
let
userInfo
=
wx
.
$util
.
getUserInfo
()
...
...
pages/sceneIndex/sceneIndex.js
View file @
a17477f
...
@@ -24,10 +24,11 @@ Page({
...
@@ -24,10 +24,11 @@ Page({
if
(
jumpPageFlag
)
return
;
if
(
jumpPageFlag
)
return
;
this
.
setData
({
jumpPageFlag
:
true
});
this
.
setData
({
jumpPageFlag
:
true
});
let
userInfo
=
wx
.
$util
.
getUserInfo
();
let
userInfo
=
wx
.
$util
.
getUserInfo
();
if
(
if
(
!
openSceneArr
.
includes
(
scene
)
&&
!
openSceneArr
.
includes
(
scene
)
&&
!
userInfo
?.
isSuper
&&
!
userInfo
?.
isSuper
&&
!
(
userInfo
?.
loginRole
==
3
||
userInfo
.
loginRole
==
5
||
userInfo
?.
loginRole
==
6
)
!
(
userInfo
?.
loginRole
==
3
||
userInfo
?
.
loginRole
==
5
||
userInfo
?.
loginRole
==
6
)
)
{
)
{
this
.
setData
({
jumpPageFlag
:
false
});
this
.
setData
({
jumpPageFlag
:
false
});
return
wx
.
$util
.
showToast
(
"暂未开通此场景"
);
return
wx
.
$util
.
showToast
(
"暂未开通此场景"
);
...
...
pages/tabDateIndex/pages/tabDateIndex.js
View file @
a17477f
...
@@ -325,7 +325,7 @@ Page({
...
@@ -325,7 +325,7 @@ Page({
let
userInfo
=
wx
.
$util
.
getUserInfo
();
let
userInfo
=
wx
.
$util
.
getUserInfo
();
this
.
setData
({
this
.
setData
({
phoneShow
:
app
.
globalData
.
YQorderSetting
?.
yqPhoneConfig
,
phoneShow
:
app
.
globalData
.
YQorderSetting
?.
yqPhoneConfig
,
isMake
:
!
(
userInfo
?.
isSuper
||
userInfo
?.
loginRole
==
3
||
userInfo
.
loginRole
==
5
||
userInfo
?.
loginRole
==
6
),
isMake
:
!
(
userInfo
?.
isSuper
||
userInfo
?.
loginRole
==
3
||
userInfo
?.
loginRole
==
5
||
userInfo
?.
loginRole
==
6
||
userInfo
?.
loginRole
==
7
),
});
});
// this.getStatByPeriod()
// this.getStatByPeriod()
// this.getiIviteRecord()
// this.getiIviteRecord()
...
...
pages/tabWorkOrder/pages/index/index.js
View file @
a17477f
...
@@ -116,7 +116,7 @@ Page({
...
@@ -116,7 +116,7 @@ Page({
show
:
true
,
show
:
true
,
title
:
"请选择录单入口"
,
title
:
"请选择录单入口"
,
tabTitleShow
:
false
,
tabTitleShow
:
false
,
success
:
async
(
res
)
=>
{
success
:
async
(
res
)
=>
{
// 跳转新增订单页面 并带特定参数
// 跳转新增订单页面 并带特定参数
let
{
let
{
orderInfo
,
orderInfo
,
...
@@ -124,7 +124,7 @@ Page({
...
@@ -124,7 +124,7 @@ Page({
}
=
this
.
data
;
}
=
this
.
data
;
console
.
log
(
item
,
"showSelectType"
);
console
.
log
(
item
,
"showSelectType"
);
if
(
selectType
==
1
)
{
if
(
selectType
==
1
)
{
if
(
await
wx
.
$globalDataFunction
.
inspectionOfProhibitionBill
())
return
if
(
await
wx
.
$globalDataFunction
.
inspectionOfProhibitionBill
())
return
wx
.
$router
.
go
(
"tabWorkOrder.createOrder"
,
{
wx
.
$router
.
go
(
"tabWorkOrder.createOrder"
,
{
scene
,
scene
,
...
item
,
...
item
,
...
@@ -240,7 +240,7 @@ Page({
...
@@ -240,7 +240,7 @@ Page({
// 校验是否填写昨日日报
// 校验是否填写昨日日报
let
staffCheck
=
await
checkDailyReport
();
let
staffCheck
=
await
checkDailyReport
();
if
(
staffCheck
)
return
false
;
if
(
staffCheck
)
return
false
;
if
(
name
==
'createOrder'
&&
await
wx
.
$globalDataFunction
.
inspectionOfProhibitionBill
())
return
/**禁止提单 */
if
(
name
==
'createOrder'
&&
await
wx
.
$globalDataFunction
.
inspectionOfProhibitionBill
())
return
/**禁止提单 */
// 是微信支付直接跳转确认页面
// 是微信支付直接跳转确认页面
if
(
userType
==
2
&&
item
?.
selectPayType
==
1
)
{
if
(
userType
==
2
&&
item
?.
selectPayType
==
1
)
{
wx
.
$router
.
go
(
"tabWorkOrder.confirmOrder"
,
item
);
wx
.
$router
.
go
(
"tabWorkOrder.confirmOrder"
,
item
);
...
@@ -796,7 +796,7 @@ Page({
...
@@ -796,7 +796,7 @@ Page({
// this.test()
// this.test()
let
userInfo
=
wx
.
$util
.
getUserInfo
();
let
userInfo
=
wx
.
$util
.
getUserInfo
();
this
.
setData
({
this
.
setData
({
isMake
:
!
(
userInfo
?.
isSuper
||
userInfo
?.
loginRole
==
3
||
userInfo
.
loginRole
==
5
||
userInfo
?.
loginRole
==
6
),
isMake
:
!
(
userInfo
?.
isSuper
||
userInfo
?.
loginRole
==
3
||
userInfo
.
loginRole
==
5
||
userInfo
?.
loginRole
==
6
||
userInfo
?.
loginRole
==
7
),
});
});
this
.
getCreateOrderSetting
()
this
.
getCreateOrderSetting
()
},
},
...
...
pages/tabWorkOrder/pages/index/index.wxml
View file @
a17477f
...
@@ -8,15 +8,7 @@
...
@@ -8,15 +8,7 @@
<view class="search-box">
<view class="search-box">
<view class="search-input">
<view class="search-input">
<image src="/images/search.png" class="search-icon" />
<image src="/images/search.png" class="search-icon" />
<input
<input type="text" placeholder="客户姓名/商品名称/订单编号/手机号" class="input" value="{{ keyword }}" placeholder-class="input-placeholder" bindinput="input" bindconfirm="search" />
type="text"
placeholder="客户姓名/商品名称/订单编号/手机号"
class="input"
value="{{ keyword }}"
placeholder-class="input-placeholder"
bindinput="input"
bindconfirm="search"
/>
<block wx:if="{{ keyword }}">
<block wx:if="{{ keyword }}">
<image src="/images/clear.png" class="search-clear" bindtap="clear" />
<image src="/images/clear.png" class="search-clear" bindtap="clear" />
</block>
</block>
...
@@ -32,40 +24,14 @@
...
@@ -32,40 +24,14 @@
</view>
</view>
<!-- 订单状态 1 待跟进, 2 不升级, 3 待支付,4 已支付,6 已评价 , 9 已撤销 -->
<!-- 订单状态 1 待跟进, 2 不升级, 3 待支付,4 已支付,6 已评价 , 9 已撤销 -->
<block wx:if="{{ flag }}">
<block wx:if="{{ flag }}">
<scroll-view
<scroll-view scroll-y enable-back-to-top refresher-enabled="{{ true }}" bindrefresherrefresh="search" bindscrolltolower="scrollonReachBottom" bindscroll="onPageScroll" class="list" style="height:calc(100vh - {{ navBarHeight }}px - var(--fontSize160));" refresher-threshold="104" refresher-triggered="{{ triggered }}">
scroll-y
enable-back-to-top
refresher-enabled="{{ true }}"
bindrefresherrefresh="search"
bindscrolltolower="scrollonReachBottom"
bindscroll="onPageScroll"
class="list"
style="height:calc(100vh - {{ navBarHeight }}px - var(--fontSize160));"
refresher-threshold="104"
refresher-triggered="{{ triggered }}"
>
<block wx:if="{{ list.length > 0 }}">
<block wx:if="{{ list.length > 0 }}">
<block wx:for="{{ list }}" wx:key="index">
<block wx:for="{{ list }}" wx:key="index">
<block wx:for="{{ item }}" wx:for-item="li" wx:for-index="ind" wx:key="ind">
<block wx:for="{{ item }}" wx:for-item="li" wx:for-index="ind" wx:key="ind">
<view
<view style="{{ li.txtStyle }}" class="touch-item {{ li.isTouchMove ? 'touch-move-active' : '' }}" data-ind="{{ ind }}" data-index="{{ index }}">
style="{{ li.txtStyle }}"
class="touch-item {{ li.isTouchMove ? 'touch-move-active' : '' }}"
data-ind="{{ ind }}"
data-index="{{ index }}"
>
<!-- 广汇订单出库成功 -->
<!-- 广汇订单出库成功 -->
<image wx:if="{{ li.outboundStatus == 4 }}" class="stockIcon" src="../../images/stockIcon.png" />
<image wx:if="{{ li.outboundStatus == 4 }}" class="stockIcon" src="../../images/stockIcon.png" />
<view
<view class="item content" catchtap="jump" data-ind="{{ ind }}" data-index="{{ index }}" bindtouchstart="touchstart" bindtouchmove="touchmove" bindtouchend="touchE" data-name="{{ li.status == 3 ? 'confirmOrder' : li.status == 1 ? 'createOrder' : 'orderDetail' }}" data-item="{{ li }}">
class="item content"
catchtap="jump"
data-ind="{{ ind }}"
data-index="{{ index }}"
bindtouchstart="touchstart"
bindtouchmove="touchmove"
bindtouchend="touchE"
data-name="{{ li.status == 3 ? 'confirmOrder' : li.status == 1 ? 'createOrder' : 'orderDetail' }}"
data-item="{{ li }}"
>
<view class="status text-center" style="color:{{ li.statuscolor }};background-color:{{li.statusbackground }};">
<view class="status text-center" style="color:{{ li.statuscolor }};background-color:{{li.statusbackground }};">
<block wx:if="{{ li.status == 1||li.status == 3 }}">
<block wx:if="{{ li.status == 1||li.status == 3 }}">
<block wx:if="{{ status[li.status].background }}">
<block wx:if="{{ status[li.status].background }}">
...
@@ -82,11 +48,7 @@
...
@@ -82,11 +48,7 @@
<view class="name">
<view class="name">
<!-- <image src="/images/avatar.png" /> -->
<!-- <image src="/images/avatar.png" /> -->
<view class="name-text text-hide">{{li.customer.customerName}}</view>
<view class="name-text text-hide">{{li.customer.customerName}}</view>
<image
<image class="name-sex-icon" src="{{ IMG_URL}}{{li.customer.customerSex == 1 ? 'miniProgram/icon-man.png' : 'miniProgram/icon-woman.png' }}" mode="" />
class="name-sex-icon"
src="{{ IMG_URL}}{{li.customer.customerSex == 1 ? 'miniProgram/icon-man.png' : 'miniProgram/icon-woman.png' }}"
mode=""
/>
</view>
</view>
<view class="goods-list" style="padding-bottom:{{ li.subOrderList.length<1?0:'' }}">
<view class="goods-list" style="padding-bottom:{{ li.subOrderList.length<1?0:'' }}">
<block wx:if="{{ li.subOrderList.length }}">
<block wx:if="{{ li.subOrderList.length }}">
...
@@ -171,14 +133,7 @@
...
@@ -171,14 +133,7 @@
<!-- footer -->
<!-- footer -->
</view>
</view>
<block wx:if="{{ isMake }}">
<block wx:if="{{ isMake }}">
<view
<view wx:if="{{ !li['confirmIndex'] }}" class="del" catchtap="delBtn" data-ind="{{ ind }}" data-item="{{ li }}" data-index="{{ index }}">
wx:if="{{ !li['confirmIndex'] }}"
class="del"
catchtap="delBtn"
data-ind="{{ ind }}"
data-item="{{ li }}"
data-index="{{ index }}"
>
<view>撤销</view>
<view>撤销</view>
<view>工单</view>
<view>工单</view>
</view>
</view>
...
@@ -197,7 +152,7 @@
...
@@ -197,7 +152,7 @@
</scroll-view>
</scroll-view>
</block>
</block>
</view>
</view>
<block wx:if="{{ (!userInfo.isSuper && userInfo.merchantType && userInfo.userType == 2
)&& showIcon1 && isMake }}">
<block wx:if="{{ (!userInfo.isSuper && userInfo.merchantType && userInfo.userType == 2 && userInfo.loginRole!=7
)&& showIcon1 && isMake }}">
<view class="fixed-btns">
<view class="fixed-btns">
<view class="btn text-center" bindtap="jump" data-name="createOrder">
<view class="btn text-center" bindtap="jump" data-name="createOrder">
<image src="{{ IMG_URL }}upgrade/scancode_verification02.png" />
<image src="{{ IMG_URL }}upgrade/scancode_verification02.png" />
...
...
tabDate/pages/detail/detail.js
View file @
a17477f
...
@@ -166,7 +166,7 @@ Page({
...
@@ -166,7 +166,7 @@ Page({
}
}
let
userInfo
=
wx
.
$util
.
getUserInfo
();
let
userInfo
=
wx
.
$util
.
getUserInfo
();
this
.
setData
({
this
.
setData
({
isOrder
:
!
(
userInfo
?.
isSuper
||
userInfo
?.
loginRole
==
3
||
userInfo
.
loginRole
==
5
||
userInfo
?.
loginRole
==
6
),
isOrder
:
!
(
userInfo
?.
isSuper
||
userInfo
?.
loginRole
==
3
||
userInfo
.
loginRole
==
5
||
userInfo
?.
loginRole
==
6
||
userInfo
?.
loginRole
==
7
),
});
});
this
.
checkPhoneShow
(
app
.
globalData
.
YQorderSetting
?.
yqPhoneConfig
);
this
.
checkPhoneShow
(
app
.
globalData
.
YQorderSetting
?.
yqPhoneConfig
);
},
},
...
...
tabDate/pages/detail/detail.wxml
View file @
a17477f
...
@@ -8,12 +8,7 @@
...
@@ -8,12 +8,7 @@
<block wx:for="{{ customerObj }}" wx:key="index">
<block wx:for="{{ customerObj }}" wx:key="index">
<view class="item">
<view class="item">
<view class="label">{{item.label}}</view>
<view class="label">{{item.label}}</view>
<view
<view class="value {{ item.key != 'userPortrait' ? 'text-hide' : '' }}" style="color:{{ item.color }};" catchtap="item.callBack" data-data="{{ detail[item.key] }}">
class="value {{ item.key != 'userPortrait' ? 'text-hide' : '' }}"
style="color:{{ item.color }};"
catchtap="item.callBack"
data-data="{{ detail[item.key] }}"
>
<!-- <view>{{item.key}}</view> -->
<!-- <view>{{item.key}}</view> -->
<block wx:if="{{ item.key=='carName' }}">
<block wx:if="{{ item.key=='carName' }}">
<block wx:if="{{ detail.customer.carSeriesName }}">
<block wx:if="{{ detail.customer.carSeriesName }}">
...
@@ -44,12 +39,7 @@
...
@@ -44,12 +39,7 @@
<view class="box">
<view class="box">
<block wx:if="{{ !userInfo.isSuper && userInfo.merchantType && userInfo.userType == 2&&isOrder }}">
<block wx:if="{{ !userInfo.isSuper && userInfo.merchantType && userInfo.userType == 2&&isOrder }}">
<!-- 已施工/已撤销/已支付 不显示 -->
<!-- 已施工/已撤销/已支付 不显示 -->
<view
<view wx:if="{{ detail.inviteStatus != 4&&detail.inviteStatus!=6&&detail.inviteStatus!=7 }}" class="icon date-icon" bindtap="showPopup" data-name="showDate">
wx:if="{{ detail.inviteStatus != 4&&detail.inviteStatus!=6&&detail.inviteStatus!=7 }}"
class="icon date-icon"
bindtap="showPopup"
data-name="showDate"
>
<image src="../../images/date.png" />
<image src="../../images/date.png" />
</view>
</view>
</block>
</block>
...
@@ -60,9 +50,7 @@
...
@@ -60,9 +50,7 @@
<view class="date text-center {{ detail.inviteStatus == 6 ? 'gray' : '' }}">
<view class="date text-center {{ detail.inviteStatus == 6 ? 'gray' : '' }}">
{{detail.inviteDate}}
{{detail.inviteDate}}
<!-- 已施工/已支付/已撤销 不显示 -->
<!-- 已施工/已支付/已撤销 不显示 -->
<block
<block wx:if="{{ !userInfo.isSuper && userInfo.merchantType && userInfo.userType == 2 && detail.inviteStatus!=4 && detail.inviteStatus!=7 && detail.inviteStatus != 6&&isOrder }}">
wx:if="{{ !userInfo.isSuper && userInfo.merchantType && userInfo.userType == 2 && detail.inviteStatus!=4 && detail.inviteStatus!=7 && detail.inviteStatus != 6&&isOrder }}"
>
<view class="cancel y-center" bindtap="cancelInvite">取消预约</view>
<view class="cancel y-center" bindtap="cancelInvite">取消预约</view>
</block>
</block>
</view>
</view>
...
@@ -113,9 +101,7 @@
...
@@ -113,9 +101,7 @@
<view class="value">{{i.enum? i.enum[item[i.key]]+item.inviteDate :item[i.key]||'无'}}</view>
<view class="value">{{i.enum? i.enum[item[i.key]]+item.inviteDate :item[i.key]||'无'}}</view>
</view>
</view>
</block>
</block>
<block
<block wx:if="{{ !userInfo.isSuper && userInfo.merchantType && index == 0 && userInfo.userType == 2&&detail.inviteStatus!=6&&isOrder }}">
wx:if="{{ !userInfo.isSuper && userInfo.merchantType && index == 0 && userInfo.userType == 2&&detail.inviteStatus!=6&&isOrder }}"
>
<view class="icon" bindtap="showPopup" data-name="showRemark">
<view class="icon" bindtap="showPopup" data-name="showRemark">
<image src="../../images/edit.png" />
<image src="../../images/edit.png" />
</view>
</view>
...
@@ -130,10 +116,7 @@
...
@@ -130,10 +116,7 @@
</block>
</block>
</view>
</view>
<!-- 已施工/已撤销/已支付 不显示 -->
<!-- 已施工/已撤销/已支付 不显示 -->
<view
<view wx:if="{{ detail.inviteStatus != 4&&detail.inviteStatus != 6 && detail.inviteStatus != 7&&isOrder }}" class="btns {{ isFullSucreen?'isFullSucreen-btn':'' }}">
wx:if="{{ detail.inviteStatus != 4&&detail.inviteStatus != 6 && detail.inviteStatus != 7&&isOrder }}"
class="btns {{ isFullSucreen?'isFullSucreen-btn':'' }}"
>
<view class="btn text-center" bindtap="orderSubmit">去下单</view>
<view class="btn text-center" bindtap="orderSubmit">去下单</view>
</view>
</view>
</view>
</view>
...
...
tabIndex/pages/index/index.wxml
View file @
a17477f
...
@@ -83,6 +83,8 @@
...
@@ -83,6 +83,8 @@
<view wx:for="{{ 3 }}" wx:key="item" wx:for-index="idx" class="dot {{ changeSelectIndex==idx?'active':'' }}"></view>
<view wx:for="{{ 3 }}" wx:key="item" wx:for-index="idx" class="dot {{ changeSelectIndex==idx?'active':'' }}"></view>
</view>
</view>
</view>
</view>
<view wx:if="{{userInfo.loginRole != 7}}">
<block wx:if="{{ isWait&&todoList.length>0 }}">
<block wx:if="{{ isWait&&todoList.length>0 }}">
<view class="todo-list">
<view class="todo-list">
<view class="title">今日待办·{{todoList.length}}</view>
<view class="title">今日待办·{{todoList.length}}</view>
...
@@ -317,11 +319,11 @@
...
@@ -317,11 +319,11 @@
</block>
</block>
</view>
</view>
</view>
</view>
<
!-- </view> --
>
<
/view
>
</block>
</block>
</view>
</view>
</view>
</view>
<view class="waitOrderCon" wx:if="{{ waitInputCount }}">
<view class="waitOrderCon" wx:if="{{ waitInputCount
&& userInfo.loginRole != 7
}}">
<tips-bottom style="width: 100%;box-sizing: border-box;" tipsProps="{{ tipsProps }}" beforeClick="inspectionOfProhibitionBill" />
<tips-bottom style="width: 100%;box-sizing: border-box;" tipsProps="{{ tipsProps }}" beforeClick="inspectionOfProhibitionBill" />
</view>
</view>
<modal id="modal2" class="modal" custom="true" btns="{{ ['取消','确定'] }}">
<modal id="modal2" class="modal" custom="true" btns="{{ ['取消','确定'] }}">
...
...
tabWorkOrder/components/orderRatingPopup/orderRatingPopup.js
View file @
a17477f
// import api from '../../api/api.js'
// import api from '../../api/api.js'
// import Util from '../../utils/util'
// import Util from '../../utils/util'
const
IMG_URL
=
'https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/'
Component
({
Component
({
options
:
{
options
:
{
multipleSlots
:
true
// 在组件定义时的选项中启用多slot支持
multipleSlots
:
true
// 在组件定义时的选项中启用多slot支持
...
@@ -56,6 +58,7 @@ Component({
...
@@ -56,6 +58,7 @@ Component({
},
},
/* 组件的初始数据 */
/* 组件的初始数据 */
data
:
{
data
:
{
IMG_URL
,
wrapAnimate
:
'wrapAnimate'
,
wrapAnimate
:
'wrapAnimate'
,
popupAnimate
:
'popupAnimate'
,
popupAnimate
:
'popupAnimate'
,
tags
:
[
tags
:
[
...
@@ -94,7 +97,20 @@ Component({
...
@@ -94,7 +97,20 @@ Component({
methods
:
{
methods
:
{
setOrderInfo
(
orderInfo
)
{
setOrderInfo
(
orderInfo
)
{
console
.
log
(
orderInfo
,
'orderInfo'
)
console
.
log
(
orderInfo
,
'orderInfo'
)
// constructionImgList
orderInfo
.
customerPhotos
.
forEach
(
item
=>
{
orderInfo
.
subOrderList
.
forEach
(
el
=>
{
if
(
item
.
subOrderCode
==
el
.
subOrderCode
)
{
if
(
el
.
constructionImgList
)
{
el
.
constructionImgList
.
push
(
item
.
customerPhoto
)
}
else
{
el
.
constructionImgList
=
[
item
.
customerPhoto
]
}
}
})
})
orderInfo
.
evaluation
=
orderInfo
.
evaluation
.
split
(
','
)
orderInfo
.
evaluation
=
orderInfo
.
evaluation
.
split
(
','
)
console
.
log
(
orderInfo
.
subOrderList
,
'orderInfo.evaluation'
)
console
.
log
(
orderInfo
.
evaluation
,
'orderInfo.evaluation'
)
console
.
log
(
orderInfo
.
evaluation
,
'orderInfo.evaluation'
)
let
{
tags
}
=
this
.
data
let
{
tags
}
=
this
.
data
tags
.
forEach
((
item
,
index
)
=>
{
tags
.
forEach
((
item
,
index
)
=>
{
...
...
tabWorkOrder/components/orderRatingPopup/orderRatingPopup.
wx
ss
→
tabWorkOrder/components/orderRatingPopup/orderRatingPopup.
sa
ss
View file @
a17477f
...
@@ -241,3 +241,80 @@
...
@@ -241,3 +241,80 @@
background
:
#347BFF
;
background
:
#347BFF
;
color
:
#FFFFFF
;
color
:
#FFFFFF
;
}
}
.placeholder
{
position
:
absolute
;
left
:
50%
;
top
:
50%
;
transform
:
translate
(
-50%
,
-50%
)
;
font-size
:
var
(
--
fontSize32
)
;
font-weight
:
500
;
color
:
#BEC1C7
;
}
.tire-block
{
width
:
var
(
--
fontSize180
)
;
height
:
var
(
--
fontSize180
)
;
box-sizing
:
border-box
;
background-color
:
#F4F5F7
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
text-align
:
center
;
border-radius
:
var
(
--
fontSize8
)
;
overflow
:
hidden
;
}
.tire-block
:not
(
:nth-child
(
3n
))
{
margin-right
:
var
(
--
fontSize20
)
;
}
.tire-block
:nth-child
(
n
+
4
)
{
margin-top
:
var
(
--
fontSize20
)
;
}
.tire-img-box
{
position
:
relative
;
width
:
100%
;
height
:
100%
;
}
.tire-img-box
.tire-img
{
width
:
100%
;
height
:
100%
;
}
.icon-delete
{
position
:
absolute
;
top
:
var
(
--
fontSize16
)
;
right
:
var
(
--
fontSize16
)
;
width
:
var
(
--
fontSize48
)
;
height
:
var
(
--
fontSize48
)
;
}
.tire-tip
{
height
:
var
(
--
fontSize40
)
;
line-height
:
var
(
--
fontSize40
)
;
background-color
:
#ebf2fd
;
border-radius
:
var
(
--
fontSize8
)
;
font-size
:
var
(
--
fontSize24
)
;
color
:
#347BFF
;
margin-top
:
var
(
--
fontSize28
)
;
padding
:
var
(
--
fontSize4
)
var
(
--
fontSize24
)
;
border-radius
:
var
(
--
fontSize8
)
;
}
.icon-plus
{
width
:
var
(
--
fontSize80
)
;
height
:
var
(
--
fontSize80
)
;
margin-bottom
:
var
(
--
fontSize20
)
;
}
.flex
{
display
:
flex
;
flex-wrap
:
wrap
;
}
.box
{}
\ No newline at end of file
\ No newline at end of file
tabWorkOrder/components/orderRatingPopup/orderRatingPopup.wxml
View file @
a17477f
<!-- components/orderSwitchPopup/orderSwitchPopup.wxml -->
<!-- components/orderSwitchPopup/orderSwitchPopup.wxml -->
<view wx:if="{{flag}}" class='container' style=''>
<wxs src="../../index.wxs" module="filter" />
<view wx:if="{{ flag }}" class="container" style="">
<!-- bindtap='_close' 取消遮光层关闭事件 -->
<!-- bindtap='_close' 取消遮光层关闭事件 -->
<view class=
'wrap {{wrapAnimate}}' style='background:rgba(0,0,0,{{bgOpacity}});'
/>
<view class=
"wrap {{ wrapAnimate }}" style="background:rgba(0,0,0,{{ bgOpacity }});"
/>
<view class=
'popup-container {{popupAnimate}}'
>
<view class=
"popup-container {{ popupAnimate }}"
>
<view class="v_title">
<view class="v_title">
<view class="wx-popup-title">{{title}}</view>
<view class="wx-popup-title">{{title}}</view>
<image
<image bindtap="_close" src="../../images/order-close.png" mode="widthFix" class="btn-colse" wx:if="{{ isShowClose }}" />
bindtap='_close'
src='../../images/order-close.png'
mode='widthFix'
class='btn-colse'
wx:if="{{isShowClose}}" />
</view>
</view>
<view class="wx-popup-con">
<view class="wx-popup-con">
<scroll-view
<scroll-view scroll-y enable-back-to-top refresher-enabled="{{ false }}" refresher-threshold="104" style="height:100%;">
scroll-y
enable-back-to-top
refresher-enabled="{{false}}"
refresher-threshold="104"
style="height:100%;">
<view class="signature">
<view class="signature">
<image src="{{
orderInfo.electronicSignature
}}" binderror="" bindload="" />
<image src="{{
orderInfo.electronicSignature
}}" binderror="" bindload="" />
</view>
</view>
<view class="customerPhotos">
<
!-- <
view class="customerPhotos">
<image
<image
class="customerPhotosItem"
class="customerPhotosItem"
wx:for="{{orderInfo.customerPhotos}}"
wx:for="{{orderInfo.customerPhotos}}"
...
@@ -30,28 +21,58 @@
...
@@ -30,28 +21,58 @@
wx:key="index"
wx:key="index"
binderror=""
binderror=""
bindload="" />
bindload="" />
</view> -->
<block wx:for="{{ orderInfo.subOrderList }}" wx:key="index" wx:for-item="imgItem" wx:for-index="imgIndex">
<view class="box">
<view class="technicianName">
<view class="name">{{imgItem.technicianName}}</view>
<view class="icon">技师</view>
<view class="status">{{imgItem.approveStatus == null? '未通过':imgItem.approveStatus == 'Y'?'通过':'不通过'}}</view>
</view>
<view class="title">
<!-- 上传客户合照或车辆照片 -->
<text class="goodsName"> {{filter.replaceItemText(imgItem.upgradeGoodsAlias) ||filter.replaceItemText(imgItem.upgradeGoodsName) || ''}}</text>
</view>
<view class="flex">
<view class="tire-block" wx:for="{{ imgItem.constructionImgList || [] }}" wx:key="index">
<view class="tire-img-box" catchtap="handlePreviewImg" data-item="{{ item }}" data-imgindex="{{ imgIndex }}">
<image
class="icon-delete"
catchtap="handleDelete"
data-index="{{ index }}"
data-imgindex="{{ imgIndex }}"
src="/tabWorkOrder/images/icon-delete.png"
/>
<image class="tire-img" src="{{ item }}" />
</view>
</view>
<view
class="tire-block"
bindtap="handleUpload"
data-index="{{ imgIndex }}"
wx:if="{{ !imgItem.constructionImgList || imgItem.constructionImgList.length<9 }}"
>
<view>
<image class="icon-plus" src="{{ IMG_URL }}camera_icon.png" />
</view>
</view>
<view class='star-box'>
</view>
</view>
</view>
</block>
<view class="star-box">
<view class="label">评分:</view>
<view class="label">评分:</view>
<block wx:for="{{
5
}}" wx:key="index">
<block wx:for="{{
5
}}" wx:key="index">
<view class="star" bindtap="setStar" data-index="{{
index
}}">
<view class="star" bindtap="setStar" data-index="{{
index
}}">
<image src="{{
index < orderInfo.rating?'/tabWorkOrder/images/star-active.png':'/tabWorkOrder/images/star.png'
}}" />
<image src="{{
index < orderInfo.rating?'/tabWorkOrder/images/star-active.png':'/tabWorkOrder/images/star.png'
}}" />
</view>
</view>
</block>
</block>
</view>
</view>
<view class="tags">
<view class="tags">
<block wx:for="{{tags}}" wx:key="index">
<block wx:for="{{ tags }}" wx:key="index">
<view
<view wx:if="{{ item.checked }}" class="tag {{ item.checked?'act':'' }}" bindtap="chooseTag" data-index="{{ index }}">{{item.name}}</view>
wx:if="{{item.checked}}"
class="tag {{item.checked?'act':''}}"
bindtap="chooseTag"
data-index="{{index}}">
{{item.name}}
</view>
</block>
</block>
</view>
</view>
</scroll-view>
</scroll-view>
</view>
</view>
</view>
</view>
</view>
</view>
\ No newline at end of file
\ No newline at end of file
tabWorkOrder/index.wxs
View file @
a17477f
var replaceItemText = function (item) {
var replaceItemText = function (item) {
var reg = getRegExp(';~;', 'g')
var reg = getRegExp(';~;', 'g')
// return item.replace(reg, ' ')
// return item.replace(reg, ' ')
return item ? item.replace(reg, ' ') : null
return item ? item.replace(reg, ' ') : null
...
@@ -16,7 +15,9 @@ var formatPosition = function (item, positionTypeList) {
...
@@ -16,7 +15,9 @@ var formatPosition = function (item, positionTypeList) {
var filterData = positionTypeList.filter(function (v) {
var filterData = positionTypeList.filter(function (v) {
return v.positionValue == item
return v.positionValue == item
})
})
return (filterData.length && filterData[0] && filterData[0].positionName) || ''
return (
(filterData.length && filterData[0] && filterData[0].positionName) || ''
)
}
}
var isDateWithin7Days = function (date) {
var isDateWithin7Days = function (date) {
...
@@ -53,8 +54,8 @@ var filterIncludes = function (item, arr) {
...
@@ -53,8 +54,8 @@ var filterIncludes = function (item, arr) {
var filterTemplateList = function (arr, value) {
var filterTemplateList = function (arr, value) {
if (value == 3) {
if (value == 3) {
return arr.filter(function (item) {
return arr.filter(function (item) {
return item.templateValue != 3
;
return item.templateValue != 3
})
;
})
} else {
} else {
return arr
return arr
}
}
...
@@ -62,16 +63,23 @@ var filterTemplateList = function (arr, value) {
...
@@ -62,16 +63,23 @@ var filterTemplateList = function (arr, value) {
var filterDisabled = function (role, weeklyList, date, disabledStatus) {
var filterDisabled = function (role, weeklyList, date, disabledStatus) {
console.log(role, weeklyList)
console.log(role, weeklyList)
if (role == 'staff') { // 员工七天内可操作
if (role == 'staff') {
return (weeklyList.indexOf(date) > -1 && !disabledStatus) || !isDateWithin7Days(date)
// 员工七天内可操作
} else if (role == 'super') { // 超管60天内可操作
return (
return (weeklyList.indexOf(date) > -1 && !disabledStatus) || !isDateWithin60Days(date)
(weeklyList.indexOf(date) > -1 && !disabledStatus) ||
!isDateWithin7Days(date)
)
} else if (role == 'super') {
// 超管60天内可操作
return (
(weeklyList.indexOf(date) > -1 && !disabledStatus) ||
!isDateWithin60Days(date)
)
} else {
} else {
return !disabledStatus
return !disabledStatus
}
}
}
}
/*
/*
* 导出
* 导出
*/
*/
...
...
tabWorkOrder/pages/constructionOrderDetail/constructionOrderDetail.js
View file @
a17477f
...
@@ -377,7 +377,7 @@ Page({
...
@@ -377,7 +377,7 @@ Page({
userInfo
:
o
,
userInfo
:
o
,
isYqdSuper
:
app
.
globalData
.
isYqdSuper
,
isYqdSuper
:
app
.
globalData
.
isYqdSuper
,
isStaff
:
app
.
globalData
.
isStaff
,
isStaff
:
app
.
globalData
.
isStaff
,
isMake
:
!
(
userInfo
?.
isSuper
||
userInfo
?.
loginRole
==
3
||
userInfo
.
loginRole
==
5
||
userInfo
.
loginRole
==
6
),
isMake
:
!
(
userInfo
?.
isSuper
||
userInfo
?.
loginRole
==
3
||
userInfo
?.
loginRole
==
5
||
userInfo
?.
loginRole
==
6
||
userInfo
?.
loginRole
==
7
),
});
});
},
},
...
@@ -876,7 +876,7 @@ Page({
...
@@ -876,7 +876,7 @@ Page({
*/
*/
onPullDownRefresh
:
function
()
{
onPullDownRefresh
:
function
()
{
let
{
orderCode
}
=
this
.
data
let
{
orderCode
}
=
this
.
data
if
(
orderCode
)
{
if
(
orderCode
)
{
this
.
getOrderDetail
(
orderCode
)
this
.
getOrderDetail
(
orderCode
)
}
}
},
},
...
...
tabWorkOrder/pages/orderSignature/orderSignature.js
View file @
a17477f
...
@@ -20,7 +20,6 @@ Page({
...
@@ -20,7 +20,6 @@ Page({
isStaff
:
app
.
globalData
.
isStaff
,
isStaff
:
app
.
globalData
.
isStaff
,
isShowPhone
:
app
.
globalData
.
YQorderSetting
?.
yqPhoneConfig
,
isShowPhone
:
app
.
globalData
.
YQorderSetting
?.
yqPhoneConfig
,
ctx
:
''
,
ctx
:
''
,
hasDraw
:
false
,
canvasWidth
:
0
,
canvasWidth
:
0
,
canvasHeight
:
0
,
canvasHeight
:
0
,
startPoint
:
{
startPoint
:
{
...
@@ -32,8 +31,9 @@ Page({
...
@@ -32,8 +31,9 @@ Page({
lineSize
:
3
,
// 笔记倍数
lineSize
:
3
,
// 笔记倍数
radius
:
1.5
,
//画圆的半径
radius
:
1.5
,
//画圆的半径
showPlaceHoder
:
true
,
showPlaceHoder
:
true
,
signImage
:
''
,
hasDraw
:
true
,
constructionImgList
:
[],
signImage
:
'http://qcimg01.glsx.com.cn:7060/group1/M00/0E/6E/wKgD3mhwuRWAHRWPAABVORH__8o582.png'
,
constructionImgList
:
[
'http://qcimg01.glsx.com.cn:7060/group1/M00/0E/6E/wKgD3mhwuRWAHRWPAABVORH__8o582.png'
],
rating
:
5
,
rating
:
5
,
formData
:
{},
formData
:
{},
tags
:
[{
tags
:
[{
...
@@ -89,10 +89,6 @@ Page({
...
@@ -89,10 +89,6 @@ Page({
this
.
setData
({
this
.
setData
({
[
name
]:
!
tags
[
index
].
checked
[
name
]:
!
tags
[
index
].
checked
})
})
// customerComment = `${customerComment || ''}${tags[index]}`
// this.setData({
// customerComment
// })
},
},
setStar
(
e
)
{
setStar
(
e
)
{
let
{
let
{
...
@@ -105,21 +101,26 @@ Page({
...
@@ -105,21 +101,26 @@ Page({
// 删除图片
// 删除图片
handleDelete
(
e
)
{
handleDelete
(
e
)
{
let
{
let
{
index
index
,
imgIndex
,
}
=
e
.
currentTarget
.
dataset
}
=
e
.
currentTarget
.
dataset
let
{
let
{
orderInfo
,
constructionImgList
constructionImgList
}
=
this
.
data
}
=
this
.
data
constructionImgList
.
splice
(
index
,
1
)
orderInfo
.
subOrderList
[
index
].
constructionImgList
.
splice
(
index
,
1
)
this
.
setData
({
this
.
setData
({
constructionImgList
// constructionImgList
orderInfo
})
})
},
},
// 放大图片
// 放大图片
handlePreviewImg
(
e
)
{
handlePreviewImg
(
e
)
{
let
{
let
{
item
item
,
imgIndex
}
=
e
.
currentTarget
.
dataset
}
=
e
.
currentTarget
.
dataset
console
.
log
(
item
)
console
.
log
(
item
)
wx
.
$util
.
previewImage
({
wx
.
$util
.
previewImage
({
...
@@ -129,8 +130,12 @@ Page({
...
@@ -129,8 +130,12 @@ Page({
handleUpload
(
e
)
{
handleUpload
(
e
)
{
let
that
=
this
let
that
=
this
// console.log(e);
let
{
index
}
=
e
.
currentTarget
.
dataset
// console.log(index);
let
{
let
{
constructionImgList
constructionImgList
,
orderInfo
}
=
this
.
data
}
=
this
.
data
wx
.
chooseImage
({
wx
.
chooseImage
({
count
:
1
,
count
:
1
,
...
@@ -154,9 +159,11 @@ Page({
...
@@ -154,9 +159,11 @@ Page({
message
message
}
=
img
}
=
img
if
(
code
==
0
)
{
if
(
code
==
0
)
{
constructionImgList
.
push
(
data
)
orderInfo
.
subOrderList
[
index
].
constructionImgList
=
orderInfo
.
subOrderList
[
index
].
constructionImgList
||
[]
orderInfo
.
subOrderList
[
index
].
constructionImgList
.
push
(
data
)
that
.
setData
({
that
.
setData
({
constructionImgList
// constructionImgList
orderInfo
})
})
}
else
{
}
else
{
wx
.
$util
.
showToast
(
message
)
wx
.
$util
.
showToast
(
message
)
...
@@ -535,7 +542,8 @@ Page({
...
@@ -535,7 +542,8 @@ Page({
let
{
let
{
hasDraw
,
hasDraw
,
constructionImgList
,
constructionImgList
,
tags
tags
,
orderInfo
}
=
this
.
data
}
=
this
.
data
let
that
=
this
let
that
=
this
if
(
!
hasDraw
)
{
if
(
!
hasDraw
)
{
...
@@ -546,7 +554,7 @@ Page({
...
@@ -546,7 +554,7 @@ Page({
})
})
return
return
}
}
if
(
constructionImgList
.
length
==
0
)
{
if
(
!
orderInfo
.
subOrderList
.
some
(
item
=>
item
?.
constructionImgList
?.
length
>
0
)
)
{
wx
.
showToast
({
wx
.
showToast
({
title
:
'请上传客户合照或车辆照片'
,
title
:
'请上传客户合照或车辆照片'
,
icon
:
'none'
,
icon
:
'none'
,
...
@@ -592,11 +600,17 @@ Page({
...
@@ -592,11 +600,17 @@ Page({
}
}
return
list
return
list
},
[])
},
[])
customerPhotos
=
customerPhotos
.
map
(
item
=>
{
customerPhotos
=
orderInfo
.
subOrderList
.
reduce
((
pre
,
item
)
=>
{
return
{
if
(
item
.
constructionImgList
)
{
customerPhoto
:
item
item
.
constructionImgList
.
map
(
el
=>
{
}
pre
.
push
({
customerPhoto
:
el
,
subOrderCode
:
item
.
subOrderCode
})
})
})
}
return
pre
;
},
[])
let
params
=
{
let
params
=
{
orderCode
,
orderCode
,
customerPhotos
,
customerPhotos
,
...
@@ -604,9 +618,9 @@ Page({
...
@@ -604,9 +618,9 @@ Page({
rating
,
rating
,
merchantId
:
orderInfo
.
merchantId
,
merchantId
:
orderInfo
.
merchantId
,
sceneType
:
1
,
sceneType
:
1
,
// tags,
evaluationList
evaluationList
}
}
console
.
log
(
params
,
'params'
);
// return
// return
// 使用膜卷号
// 使用膜卷号
if
(
isUseFilmRoll
)
{
if
(
isUseFilmRoll
)
{
...
@@ -852,7 +866,7 @@ Page({
...
@@ -852,7 +866,7 @@ Page({
*/
*/
onPullDownRefresh
:
function
()
{
onPullDownRefresh
:
function
()
{
let
{
orderCode
}
=
this
.
data
let
{
orderCode
}
=
this
.
data
if
(
orderCode
)
{
if
(
orderCode
)
{
this
.
getOrderDetail
(
orderCode
)
this
.
getOrderDetail
(
orderCode
)
}
}
},
},
...
...
tabWorkOrder/pages/orderSignature/orderSignature.
wx
ss
→
tabWorkOrder/pages/orderSignature/orderSignature.
sa
ss
View file @
a17477f
...
@@ -54,21 +54,21 @@ page {
...
@@ -54,21 +54,21 @@ page {
.box
.title.invoice
{
.box
.title.invoice
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
}
}
.invoice-btn {
.invoice-btn
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
font-size
:
28rpx
;
font-size
:
28rpx
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#347BFF
;
color
:
#347BFF
;
}
}
.invoice-btn .icon {
.invoice-btn
.icon
{
width
:
32rpx
;
width
:
32rpx
;
height
:
32rpx
;
height
:
32rpx
;
margin-right
:
6rpx
;
margin-right
:
6rpx
;
}
}
.box
.flex
{
.box
.flex
{
display
:
flex
;
display
:
flex
;
...
@@ -91,25 +91,26 @@ page {
...
@@ -91,25 +91,26 @@ page {
color
:
#888888
;
color
:
#888888
;
}
}
.box .goods .item:first-child{
.box
.goods
.item
:first-child
{
margin-top
:
0
;
margin-top
:
0
;
}
}
.box .goods .item:last-child{
.box
.goods
.item
:last-child
{
margin-bottom
:
0
;
margin-bottom
:
0
;
}
}
.box .goods .item .subItem_box{
.box
.goods
.item
.subItem_box
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
width
:
100%
;
width
:
100%
;
}
}
.box .goods .item .subItem_box .type{
.box
.goods
.item
.subItem_box
.type
{
margin-left
:
var
(
--
fontSize12
)
;
margin-left
:
var
(
--
fontSize12
)
;
}
}
.box .goods .item .subItem_box .artificer,.film-roll{
.box
.goods
.item
.subItem_box
.artificer
,
.film-roll
{
height
:
var
(
--
fontSize48
)
;
height
:
var
(
--
fontSize48
)
;
background
:
#FFFFFF
;
background
:
#FFFFFF
;
border
:
var
(
--
fontSize1
)
solid
#DEE0E3
;
border
:
var
(
--
fontSize1
)
solid
#DEE0E3
;
...
@@ -122,26 +123,28 @@ page {
...
@@ -122,26 +123,28 @@ page {
font-size
:
var
(
--
fontSize24
)
;
font-size
:
var
(
--
fontSize24
)
;
}
}
.artificer text{
.artificer
text
{
max-width
:
var
(
--
fontSize96
)
;
max-width
:
var
(
--
fontSize96
)
;
}
}
.film-roll text{
.film-roll
text
{
max-width
:
var
(
--
fontSize120
)
;
max-width
:
var
(
--
fontSize120
)
;
}
}
.artificer .grey_text,.film-roll .grey_text{
.artificer
.grey_text
,
.film-roll
.grey_text
{
color
:
#BEC1C7
;
color
:
#BEC1C7
;
}
}
.artificer image,.film-roll image{
.artificer
image
,
.film-roll
image
{
width
:
var
(
--
fontSize28
)
;
width
:
var
(
--
fontSize28
)
;
height
:
var
(
--
fontSize28
)
;
height
:
var
(
--
fontSize28
)
;
margin-left
:
var
(
--
fontSize8
)
;
margin-left
:
var
(
--
fontSize8
)
;
flex-shrink
:
0
;
flex-shrink
:
0
;
}
}
.box .goods .item .subItem_box .artificer{
.box
.goods
.item
.subItem_box
.artificer
{
height
:
var
(
--
fontSize48
)
;
height
:
var
(
--
fontSize48
)
;
background
:
#FFFFFF
;
background
:
#FFFFFF
;
border
:
var
(
--
fontSize1
)
solid
#DEE0E3
;
border
:
var
(
--
fontSize1
)
solid
#DEE0E3
;
...
@@ -154,7 +157,7 @@ page {
...
@@ -154,7 +157,7 @@ page {
font-size
:
var
(
--
fontSize24
)
;
font-size
:
var
(
--
fontSize24
)
;
}
}
.box .goods .item .goods_name{
.box
.goods
.item
.goods_name
{
color
:
#333333
;
color
:
#333333
;
margin-bottom
:
var
(
--
fontSize22
)
;
margin-bottom
:
var
(
--
fontSize22
)
;
}
}
...
@@ -163,7 +166,7 @@ page {
...
@@ -163,7 +166,7 @@ page {
width
:
var
(
--
fontSize492
)
;
width
:
var
(
--
fontSize492
)
;
}
}
.box .goods .item .goods_name .price{
.box
.goods
.item
.goods_name
.price
{
font-weight
:
600
;
font-weight
:
600
;
}
}
...
@@ -188,7 +191,7 @@ page {
...
@@ -188,7 +191,7 @@ page {
justify-content
:
flex-end
;
justify-content
:
flex-end
;
}
}
.box .cell.total .label{
.box
.cell.total
.label
{
width
:
auto
;
width
:
auto
;
color
:
#757980
;
color
:
#757980
;
}
}
...
@@ -207,13 +210,13 @@ page {
...
@@ -207,13 +210,13 @@ page {
width
:
var
(
--
fontSize152
)
;
width
:
var
(
--
fontSize152
)
;
}
}
.box .cell .label.icon{
.box
.cell
.label.icon
{
width
:
var
(
--
fontSize96
)
;
width
:
var
(
--
fontSize96
)
;
height
:
var
(
--
fontSize36
)
;
height
:
var
(
--
fontSize36
)
;
margin-right
:
var
(
--
fontSize8
)
;
margin-right
:
var
(
--
fontSize8
)
;
}
}
.box .cell .image-box{
.box
.cell
.image-box
{
display
:
flex
;
display
:
flex
;
flex-flow
:
wrap
;
flex-flow
:
wrap
;
gap
:
var
(
--
fontSize10
)
;
gap
:
var
(
--
fontSize10
)
;
...
@@ -329,6 +332,7 @@ page {
...
@@ -329,6 +332,7 @@ page {
bottom
:
var
(
--
fontSize24
)
;
bottom
:
var
(
--
fontSize24
)
;
z-index
:
100
;
z-index
:
100
;
}
}
.icon
{
.icon
{
width
:
var
(
--
fontSize40
)
;
width
:
var
(
--
fontSize40
)
;
height
:
var
(
--
fontSize40
)
;
height
:
var
(
--
fontSize40
)
;
...
@@ -465,7 +469,8 @@ page {
...
@@ -465,7 +469,8 @@ page {
background
:
#347BFF
;
background
:
#347BFF
;
color
:
#FFFFFF
;
color
:
#FFFFFF
;
}
}
.comfirmBtn{
.comfirmBtn
{
z-index
:
2000
;
z-index
:
2000
;
}
}
...
@@ -532,7 +537,7 @@ page {
...
@@ -532,7 +537,7 @@ page {
.meal-bd-head
.price
{
.meal-bd-head
.price
{
font-family
:
"numberNor"
;
font-family
:
"numberNor"
;
margin-left:auto;
margin-left
:
auto
;
}
}
.meal-bd-bottom
{
.meal-bd-bottom
{
...
@@ -541,9 +546,18 @@ page {
...
@@ -541,9 +546,18 @@ page {
font-weight
:
400
;
font-weight
:
400
;
font-size
:
var
(
--
fontSize24
)
;
font-size
:
var
(
--
fontSize24
)
;
color
:
#757980
;
color
:
#757980
;
margin-left:var(--fontSize24);
margin-left
:
var
(
--
fontSize24
)
;
}
}
.meal-bd-bottom
.count
{
.meal-bd-bottom
.count
{
margin-left
:
var
(
--
fontSize12
)
;
margin-left
:
var
(
--
fontSize12
)
;
}
}
.bottom
{
margin-bottom
:
100rpx
;
}
.goodsName
{
font-size
:
24rpx
;
color
:
#292D33
;
}
\ No newline at end of file
\ No newline at end of file
tabWorkOrder/pages/orderSignature/orderSignature.wxml
View file @
a17477f
This diff is collapsed.
Click to expand it.
utils/request/environment.js
View file @
a17477f
...
@@ -63,9 +63,9 @@ const domain_items = {
...
@@ -63,9 +63,9 @@ const domain_items = {
// dj: "http://192.168.1.169:8292", //蔡远明
// dj: "http://192.168.1.169:8292", //蔡远明
// dj: 'http://192.168.1.174:8292',//范富荣
// dj: 'http://192.168.1.174:8292',//范富荣
// dj: 'http://192.168.1.89:8292', //周杭
// dj: 'http://192.168.1.89:8292', //周杭
dj
:
'http://192.168.1.76:8292'
,
//璐琦
//
dj: 'http://192.168.1.76:8292', //璐琦
// dj: 'http://192.168.1.227:8292',//陈希
// dj: 'http://192.168.1.227:8292',//陈希
//
dj: 'http://192.168.1.67:8292',//周立明
dj
:
'http://192.168.1.67:8292'
,
//周立明
// dj: 'http://192.168.148.235:8292',// 熊正顺
// dj: 'http://192.168.148.235:8292',// 熊正顺
// dj: 'http://192.168.148.221:8292',
// dj: 'http://192.168.148.221:8292',
// scrm: 'http://192.168.1.165:8292'
// scrm: 'http://192.168.1.165:8292'
...
...
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