Commit 189926b3 by 姜雷

修改查询条件

parent c02fb3e4
......@@ -58,11 +58,15 @@ Page({
});
},
fetchWarningCount() {
let data =
app.globalData.userInfo.operateId === 3
? undefined
: {
operatorId: app.globalData.userInfo.operateId,
};
deviceFetch({
url: '/device/warning/count',
data: {
operatorId: app.globalData.userInfo.operateId,
},
data: data,
})
.then(res => {
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