Commit 63bc7339 by 姜雷

Merge branch 'develop' into test

parents 0fde1104 189926b3
...@@ -58,11 +58,15 @@ Page({ ...@@ -58,11 +58,15 @@ Page({
}); });
}, },
fetchWarningCount() { fetchWarningCount() {
let data =
app.globalData.userInfo.operateId === 3
? undefined
: {
operatorId: app.globalData.userInfo.operateId,
};
deviceFetch({ deviceFetch({
url: '/device/warning/count', url: '/device/warning/count',
data: { data: data,
operatorId: app.globalData.userInfo.operateId,
},
}) })
.then(res => { .then(res => {
this.setData!({ this.setData!({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment