safecheck-client 3.0.32-35 → 3.0.32-37

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.
@@ -227,7 +227,7 @@ export default {
227
227
  source: `root.getResourceById($${this.$login.f.orgid}$,$organization$).getSpecialResByType($user$).where(row.getAttributes().get($rolestr$).indexOf($需要定位人员$) != -1)`,
228
228
  userid: this.$login.f.id
229
229
  }, {resolveMsg: null, rejectMsg: null})
230
- debugger
230
+
231
231
  let arr1 = await new HttpResetClass().load('GET', `/rs/safePsoition/getPosition`, {}, {
232
232
  resolveMsg: null,
233
233
  rejectMsg: null
@@ -20,6 +20,13 @@ export function getAttendanceState(item, timeToWork, timeToGo) {
20
20
  item.f_state = '正常'
21
21
  }
22
22
 
23
+ export function dateAddDay (date, day) {
24
+ date.setDate(date.getDate() + Number.parseInt(day));
25
+ let month = date.getMonth()+1
26
+ let date2 = date.getDate()
27
+ return date.getFullYear() + '-' + (month<10? '0'+ month : month) + '-' + (date2<10? '0'+ date2 : date2)
28
+ }
29
+
23
30
  // 字符串进行解密
24
31
  export function uncompileStr (code) {
25
32
  code = unescape(code)
@@ -491,7 +491,7 @@
491
491
  commitDealDefect() {
492
492
  //tag
493
493
  //tag)
494
- debugger
494
+
495
495
  if(this.deal.result.f_rect_methods==''){
496
496
  this.$showMessage('请选择整改方式')
497
497
  return
@@ -862,7 +862,7 @@
862
862
 
863
863
  //tag
864
864
  this.model.search("((f_complete = '' or f_complete = null or f_complete = '未完成') or (f_state = '未检')) and ti.f_no_checkplan = '有计划安检'" + condition)
865
- debugger
865
+
866
866
 
867
867
  },
868
868
  getNewOrder(){
@@ -1823,7 +1823,7 @@ export default {
1823
1823
  }
1824
1824
  },
1825
1825
  ready() {
1826
- debugger
1826
+
1827
1827
  if (this.item.f_check_type == '非民用'){
1828
1828
  this.config = this.config3
1829
1829
  }