safecheck-client 4.0.1-48 → 4.0.1-49

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "safecheck-client",
3
3
  "//": "主分支版本别乱升,测试包的版本直接发包(建议使用1.XX.XX-XXX格式作为测试包,不要频繁升级第三位版本号),别提交版本号。切了分支切记把主分支版本升了,保证主分支始终是最高版本!!!!!",
4
- "version": "4.0.1-48",
4
+ "version": "4.0.1-49",
5
5
  "description": "安检模块 前端组件",
6
6
  "author": "丁新 <417755458@qq.com>",
7
7
  "license": "ISC",
@@ -307,7 +307,7 @@
307
307
  inspect(info) {
308
308
  // 当前系统时间
309
309
  let newdate = Util.toStandardTimeString()
310
- if(isEmpty(info.f_last_check_date)){
310
+ if(isEmpty(info.f_last_check_date) || info.f_user_type == '非民用'){
311
311
  info.id = ''
312
312
  info.f_state = '未检'
313
313
  info.f_no_checkplan = '无计划安检'
@@ -354,6 +354,22 @@
354
354
  })
355
355
  }
356
356
  })
357
+ }else{
358
+ info.id = ''
359
+ info.f_state = '未检'
360
+ info.f_no_checkplan = '无计划安检'
361
+ //tag
362
+ this.$resetpost(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/查询计划项表信息`, {data: {f_userid: info.f_userinfo_id}}).then((response) => {
363
+ //tag)
364
+ info['f_plan_meters'] = response.data
365
+ var pardate = {
366
+ _this: this,
367
+ tittle: '安检详情',
368
+ safe: true
369
+ }
370
+ this.$dispatch('gotoson', pardate)
371
+ this.$goto('safecheck-order-v', {item: info, role: 'inspect', parentPage: 'AddPlanItem'}, 'self', this.reload)
372
+ })
357
373
  }
358
374
  }
359
375
  }
package/src/main.js CHANGED
@@ -11,7 +11,7 @@ all()
11
11
  var Verificationfalg = false
12
12
  system(Verificationfalg)
13
13
  // system()
14
- safecheck('xinkang')
14
+ safecheck()
15
15
  require('./bootstrap/less/bootstrap.less')
16
16
  require('./expandcss.less')
17
17