safecheck-client 3.0.30-72 → 3.0.30-73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,16 +1,16 @@
1
- // 分公司特殊组件页面注册
2
- import Vue from "vue";
3
-
4
- //手机特殊目录注册到该文件中
5
- let specialComp = {
6
- 'safecheck-order-v': (resolve) => { require(['./android/SafecheckOrderV'], resolve) },
7
- 'add-plan-item': (resolve) => { require(['./android/AddPlanItem'], resolve) },
8
- 'safecheck-devices': (resolve) => { require(['./android/SafecheckDevices'], resolve) },
9
- 'current-create' : (resolve) => { require(['./android/CurrentCreate'], resolve) },
10
- 'safecheck-userinfo': (resolve) => { require(['./android/SafecheckUserInfo'], resolve) }
11
- }
12
- exports.specialComp = specialComp
13
-
14
-
15
-
16
-
1
+ // 分公司特殊组件页面注册
2
+ import Vue from "vue";
3
+
4
+ //手机特殊目录注册到该文件中
5
+ let specialComp = {
6
+ 'safecheck-order-v': (resolve) => { require(['./android/SafecheckOrderV'], resolve) },
7
+ 'add-plan-item': (resolve) => { require(['./android/AddPlanItem'], resolve) },
8
+ 'safecheck-devices': (resolve) => { require(['./android/SafecheckDevices'], resolve) },
9
+ 'current-create' : (resolve) => { require(['./android/CurrentCreate'], resolve) },
10
+ 'safecheck-userinfo': (resolve) => { require(['./android/SafecheckUserInfo'], resolve) }
11
+ }
12
+ exports.specialComp = specialComp
13
+
14
+
15
+
16
+
@@ -199,7 +199,7 @@
199
199
  source: `root.getResourceById($${this.$login.f.orgid}$,$organization$).getSpecialResByType($user$).where(row.getAttributes().get($rolestr$).indexOf($需要定位人员$) != -1)`,
200
200
  userid: this.$login.f.id
201
201
  }, {resolveMsg: null, rejectMsg: null})
202
- let arr1=await new HttpResetClass().load("GET", `/rs/safePsoition/getPosition`, {},{resolveMsg: null, rejectMsg: null})
202
+ let arr1=await new HttpResetClass().load("GET", `/rs/safePosition/getPosition`, {},{resolveMsg: null, rejectMsg: null})
203
203
  //tag+'---------'+typeof arr1)
204
204
  //let d=this.toStandardTimeString()
205
205
  this.checkers=[]
@@ -232,7 +232,7 @@
232
232
  }
233
233
  let td=Util.toStandardDateString()
234
234
  //获取今天上传的所有隐患
235
- let arr=await new HttpResetClass().load("POST", `rs/sql/defectDetails`, {data:{condition:` f_filialeid in ('${this.$login.f.orgid}') and tdil.f_create_time>'${Util.toStartDateYearString()} 00:00:00' and tdi.F_LONGITUDE is not null`}},
235
+ let arr=await new HttpResetClass().load("POST", `rs/sql/defectDetails`, {data:{condition:` f_filialeid in ('${this.$login.f.orgid}') and f_upload_date>'${Util.toStartDateYearString()} 00:00:00' and f_longitude is not null`}},
236
236
  {resolveMsg: null, rejectMsg: null})
237
237
  //tag)
238
238
  if(arr.data){
package/src/main.js CHANGED
@@ -1,33 +1,33 @@
1
- import Vue from 'vue'
2
- import App from './App'
3
- import { all } from 'vue-client'
4
- import { system } from 'system-clients'
5
- import safecheck from './safecheck'
6
- import echarts from 'echarts'
7
- // import safecheck from './rongcheng'
8
-
9
- all()
10
- // 验证码开关赋值
11
- var Verificationfalg = false
12
- system(Verificationfalg)
13
- // system()
14
- safecheck(process.env.SAFE_CHECK);
15
- // safecheck('rizhao')
16
- require('./bootstrap/less/bootstrap.less')
17
- require('./expandcss.less')
18
-
19
- Vue.prototype.$echarts = echarts
20
- Vue.android = false
21
-
22
- Vue.url = '/SafeCheck/rs/'
23
- if(Vue.android)
24
- Vue.url = Vue.staticUrl
25
- Vue.interval = 1*60*1000
26
- Vue.nopic = 'file:///android_asset/nopic.png'
27
- Vue.mapSetup = false
28
-
29
- /* eslint-disable no-new */
30
- new Vue({
31
- el: 'body',
32
- components: { App }
33
- })
1
+ import Vue from 'vue'
2
+ import App from './App'
3
+ import { all } from 'vue-client'
4
+ import { system } from 'system-clients'
5
+ import safecheck from './safecheck'
6
+ import echarts from 'echarts'
7
+ // import safecheck from './rongcheng'
8
+
9
+ all()
10
+ // 验证码开关赋值
11
+ var Verificationfalg = false
12
+ system(Verificationfalg)
13
+ // system()
14
+ //safecheck(process.env.SAFE_CHECK);
15
+ safecheck('tianke')
16
+ require('./bootstrap/less/bootstrap.less')
17
+ require('./expandcss.less')
18
+
19
+ Vue.prototype.$echarts = echarts
20
+ Vue.android = false
21
+
22
+ Vue.url = '/SafeCheck/rs/'
23
+ if(Vue.android)
24
+ Vue.url = Vue.staticUrl
25
+ Vue.interval = 1*60*1000
26
+ Vue.nopic = 'file:///android_asset/nopic.png'
27
+ Vue.mapSetup = false
28
+
29
+ /* eslint-disable no-new */
30
+ new Vue({
31
+ el: 'body',
32
+ components: { App }
33
+ })