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 2607ea2d
authored
Jan 29, 2024
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
5d5650e8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
41 additions
and
14 deletions
packageEquity/pages/carQuotation/components/constant/stepData.js
packageEquity/pages/carQuotation/index/index.wxss
packageEquity/pages/collegeScene/collegeScene.js
packageEquity/pages/collegeScene/collegeScene.sass
packageEquity/pages/collegeScene/collegeScene.wxml
packageEquity/pages/carQuotation/components/constant/stepData.js
View file @
2607ea2
This diff is collapsed.
Click to expand it.
packageEquity/pages/carQuotation/index/index.wxss
View file @
2607ea2
...
...
@@ -231,6 +231,7 @@
align-items: center;
font-size: 32rpx;
font-weight: 600;
max-width: 60%;
color: #333333;
}
...
...
packageEquity/pages/collegeScene/collegeScene.js
View file @
2607ea2
...
...
@@ -53,6 +53,15 @@ Page({
}
]
},
hideStaffInfo
()
{
// 判断是不是 员工,是关闭
let
{
isStaff
}
=
this
.
data
if
(
isStaff
)
{
this
.
setData
({
hasStaffPassword
:
false
})
}
},
bindchange
(
e
)
{
this
.
setData
({
current
:
e
.
detail
.
current
})
},
...
...
@@ -143,7 +152,15 @@ Page({
}
data
.
monthPerformanceList
=
data
.
monthPerformanceList
.
map
(
item
=>
{
item
.
performanceMonthLabel
=
this
.
extractMonth
(
item
.
performanceMonth
)
item
.
height
=
item
.
staffDataList
.
length
>
3
?
(
item
.
staffDataList
.
length
*
70
+
120
)
:
'300'
item
.
height
=
item
.
staffDataList
.
length
>
3
?
item
.
staffDataList
.
length
*
70
+
120
:
'300'
if
(
item
.
minimumWage
>
item
.
finalWage
)
{
item
.
finalWage
=
item
.
minimumWage
// item.performanceWage = 0
item
.
hidePerformanceWage
=
true
}
// 处理基本工资和提成
// let [year, month] = item.performanceMonth.split('-')
// item.year = year
// item.month = month
...
...
@@ -155,6 +172,9 @@ Page({
2
:
'高级导师'
}
data
.
staffInfo
.
titleLabel
=
userInfo
.
isSuper
?
'超管'
:
titleLabel
[
data
.
staffInfo
.
title
]
// 如果title是2,那导师就是员工自己
if
(
data
.
staffInfo
.
title
)
{
}
this
.
setData
({
staffInfoObj
:
data
})
...
...
@@ -228,7 +248,7 @@ Page({
init
(
userInfo
)
{
const
isStaff
=
app
.
globalData
.
isStaff
// let { userInfo } = this.data
console
.
log
(
this
.
data
,
userInfo
,
'userInfo'
)
;
console
.
log
(
this
.
data
,
userInfo
,
'userInfo'
)
this
.
setData
({
isStaff
:
userInfo
.
isSuper
?
false
:
isStaff
,
hasStaffPassword
:
!
isStaff
?
true
:
false
...
...
@@ -243,48 +263,44 @@ Page({
// tabIndex
// })
// console.log(options, 'options');
},
/**
* 生命周期函数--监听页面加载
*/
onLoad
(
options
)
{
},
onLoad
(
options
)
{},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady
()
{
},
onReady
()
{},
/**
* 生命周期函数--监听页面显示
*/
onShow
(
e
)
{
},
onShow
(
e
)
{},
/**
* 生命周期函数--监听页面隐藏
*/
onHide
()
{
},
onHide
()
{},
/**
* 生命周期函数--监听页面卸载
*/
onUnload
()
{
},
onUnload
()
{},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh
()
{
},
onPullDownRefresh
()
{},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom
()
{
},
onReachBottom
()
{},
/**
* 用户点击右上角分享
*/
onShareAppMessage
()
{
}
onShareAppMessage
()
{}
})
packageEquity/pages/collegeScene/collegeScene.sass
View file @
2607ea2
...
...
@@ -81,9 +81,13 @@ page {
font-weight
:
500
;
font-size
:
34rpx
;
color
:
#A66E1E
;
}
}
// .nameCon{
// display: flex;
// }
...
...
@@ -139,6 +143,10 @@ page {
font-weight
:
400
;
font-size
:
28rpx
;
color
:
#A97225
;
.staffName
{
margin-left
:
10rpx
;
}
}
}
}
...
...
@@ -234,6 +242,8 @@ page {
display
:
flex
;
flex-direction
:
column
;
height
:
100%
;
text-align
:
left
;
// margin-left: 80rpx;
.wagesItem
{
box-sizing
:
border-box
;
...
...
packageEquity/pages/collegeScene/collegeScene.wxml
View file @
2607ea2
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