Browse Source

(*) 扫码点位非该用户拥有巡检计划中的点位给出提示

master
liujiangyong 2 years ago
parent
commit
05fbde6bf9
  1. 12
      weapp/package/startInspection/startInspection.js

12
weapp/package/startInspection/startInspection.js

@ -406,6 +406,18 @@ Page({
}
return false;
})
if (!pointPlan.length) {
wx.showModal({
title: '提示',
content: '你没有当前点位的巡检权限,请联系管理员进行授权',
showCancel: false,
success: function () {
wx.switchTab({
url: '/pages/index/index',
})
}
})
}
that.setData({
planList: pointPlan
})

Loading…
Cancel
Save