ww664853070 2 years ago
parent
commit
88b1343db8
  1. 1
      api/app/lib/controllers/report/index.js
  2. 2
      weapp/src/packages/patrol/index.jsx

1
api/app/lib/controllers/report/index.js

@ -13,6 +13,7 @@ async function reportList (ctx) {
userInfo.loginSource == 'wx'
&& userInfo.isAdmin
&& userInfo.phone != 'SuperAdmin'
&& (!performerId || !handleState)
) {
// 是管理员但不是超管 查自己部门及下级部门的所有用户的信息
const sqlStr = `

2
weapp/src/packages/patrol/index.jsx

@ -147,6 +147,8 @@ const Index = () => {
let key = 'ODQBZ-3FZAU-6VIVL-2XXNM-F7CP7-WVFCY' // key
Taro.getLocation({
type: 'wgs84',
isHighAccuracy: true,
highAccuracyExpireTime: 1000 * 6,
success: function (res) {
setLongitude(res.longitude)
setLatitude(res.latitude)

Loading…
Cancel
Save