Commit b6bce86c by 张立顺

feat:首页列表颜色根据角色变化;工位设置权限修复

1 parent a58d5d2b
......@@ -10,7 +10,7 @@ const accountInfo = wx.getAccountInfoSync()
//手动控制体验版环境的请求 true就依据下面index false就默认为2
const manual = false
let index = 1
let index = 2
// 判断小程序环境
// develop:开发版(正常开发工具,测试时)
......
......@@ -172,7 +172,7 @@
<block wx:if="{{i.key == 'filmTimes'}}">
<view
class="text-center"
style="width:100%;height: 100%;color:#3582EE;"
style="width:100%;height: 100%;color:{{isYqdSuper?'#3582EE':'#333333'}}"
data-item="{{item}}"
bindtap="changeTableData">
{{item[i.key] || 0}}
......
......@@ -70,7 +70,7 @@ Page({
touchEnd,
userInfo: { userType }
} = this.data
if (userType == 1) return
if (userType == 2) return
let value = workItem[index].maxCount
value += count
if (value < 0) value = 0
......@@ -116,7 +116,7 @@ Page({
sundayFlag,
userInfo: { userType }
} = this.data
if (userType == 1) {
if (userType == 2) {
this.showWork()
return
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!