safecheck-client 4.0.0-55 → 4.0.0-56

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.
Files changed (29) hide show
  1. package/package.json +1 -1
  2. package/src/App.vue +31 -31
  3. package/src/components/NewDefectList/DefectListNew.vue +663 -663
  4. package/src/components/Util/SafecheckUpload.vue +281 -281
  5. package/src/components/android/AndroidDefectDetails.vue +725 -725
  6. package/src/components/android/PhoneUpUserinfo.vue +1249 -1249
  7. package/src/components/android/SafecheckDevices.vue +1340 -1339
  8. package/src/components/pc/AddToCheckBook.vue +237 -237
  9. package/src/components/pc/CheckBook.vue +303 -303
  10. package/src/components/pc/CheckBookArea.vue +146 -146
  11. package/src/components/pc/CheckBookCompany.vue +144 -144
  12. package/src/components/pc/CheckBookDetails.vue +161 -161
  13. package/src/components/pc/CheckBookEntry.vue +60 -60
  14. package/src/components/pc/CheckBookList.vue +366 -366
  15. package/src/components/pc/CheckBookSearchArea.vue +560 -560
  16. package/src/components/pc/CheckBookSearchUnit.vue +229 -229
  17. package/src/components/pc/CheckBookSearchUser.vue +659 -659
  18. package/src/components/pc/CheckBookSearchUserList.vue +674 -674
  19. package/src/components/pc/CheckBookUser.vue +333 -333
  20. package/src/components/pc/DefectDeal.vue +1007 -1007
  21. package/src/filiale/meihekou/android/AreaPlan.vue +569 -569
  22. package/src/filiale/meihekou/android/CheckPlanList.vue +198 -198
  23. package/src/filiale/meihekou/android/CheckPlanListArea.vue +190 -190
  24. package/src/filiale/meihekou/android/CurrentCreate.vue +1087 -1087
  25. package/src/filiale/meihekou/android/MeterReading.vue +106 -106
  26. package/src/filiale/meihekou/android/SafecheckOrderV.vue +3 -3
  27. package/src/filiale/meihekou/android/SafecheckUserInfo.vue +787 -787
  28. package/src/filiale/meihekou/android.js +19 -19
  29. package/src/filiale/meihekou/pc.js +12 -12
@@ -1,106 +1,106 @@
1
- <template>
2
- <div class="select-overspread repair-bg auto" style="padding-bottom:5px;">
3
- <div class="panel panel-default auto repair-info-content">
4
- <div class="panel-body">
5
- <div class="auto repair-info-content compatible">
6
- <div class="row auto">
7
- <!-- 上期抄表时间 -->
8
- <div class="col-xs-12 col-sm-12 col-md-12 form-input-group mg8">
9
- <label class="lb-left text-justify">上期抄表时间</label>
10
- <input v-model="meterData.f_operate_date" class="form-control" readonly
11
- onkeyup="value=value.replace(/[^\d\.]/g,'')" type="text">
12
- </div>
13
-
14
- <div class="col-xs-12 col-sm-12 col-md-12 form-input-group mg8">
15
- <label class="lb-left text-justify">上期底数</label>
16
- <input v-model="meterData.f_tablebase" class="form-control"
17
- onkeyup="value=value.replace(/[^\d\.]/g,'')" readonly type="text">
18
- </div>
19
-
20
- <div class="col-xs-12 col-sm-12 col-md-12 form-input-group mg8">
21
- <label class="lb-left text-justify">上期结余</label>
22
- <input v-model="meterData.f_curbalance" class="form-control"
23
- onkeyup="value=value.replace(/[^\d\.]/g,'')" readonly type="text">
24
- </div>
25
-
26
- <!-- 上次抄表结果状态 -->
27
- <div class="col-xs-12 col-sm-12 col-md-12 form-input-group mg8">
28
- <label class="lb-left text-justify">上次抄表结果状态</label>
29
- <input v-model="meterData.f_hand_state " class="form-control" readonly type="text">
30
- </div>
31
-
32
- <!-- 本期底数 -->
33
- <div class="col-xs-12 col-sm-12 col-md-12 form-input-group mg8">
34
- <label class="lb-left text-justify">本期底数</label>
35
- <input v-model="service.f_new_tablebase" class="form-control"
36
- onkeyup="value=value.replace(/[^\d\.]/g,'')" type="text">
37
- </div>
38
- </div>
39
- </div>
40
- </div>
41
- </div>
42
- </div>
43
- </template>
44
-
45
- <script>
46
- import { HttpResetClass } from "vue-client"
47
-
48
-
49
- export default {
50
- title: '抄表信息',
51
- props: {
52
- service: {
53
- type: Object
54
- }
55
- },
56
- data() {
57
- return {
58
- meterData:{}
59
- }
60
- },
61
- methods: {},
62
-
63
- ready() {
64
- if (this.service.f_userinfoid){
65
- let http = new HttpResetClass()
66
- http.load('POST', `${this.$androidUtil.getProxyUrl()}/af-telephone/rs/sql/tel_singleTable_OrderBy`, {
67
- data: {
68
- items: 'a.*',
69
- tablename: 't_handplan a left join (select f_userinfo_id,max(id) as id from t_handplan group by f_userinfo_id) b on a.id = b.id',
70
- condition: `b.f_userinfo_id = '${this.service.f_userinfoid}'`,
71
- orderitem: 'a.id'
72
- }
73
- }, {resolveMsg: null, rejectMsg: null}).then((res) => {
74
- this.meterData = res.data[0]
75
-
76
- })
77
- }
78
- }
79
- }
80
- </script>
81
-
82
- <style lang="less" scoped>
83
- .form-input-group {
84
- margin-bottom: 15px;
85
-
86
- label {
87
- padding-left: 8px;
88
- border: none;
89
- border-left: 5px solid #A2C2EB;
90
- width: 110px;
91
- text-align: left;
92
- }
93
-
94
- input[readonly] {
95
- background-color: #f5f5f5;
96
- cursor: not-allowed;
97
- }
98
- }
99
-
100
- .repair-bg {
101
- background-color: #fff;
102
- }
103
-
104
- .repair-info-content {
105
- }
106
- </style>
1
+ <template>
2
+ <div class="select-overspread repair-bg auto" style="padding-bottom:5px;">
3
+ <div class="panel panel-default auto repair-info-content">
4
+ <div class="panel-body">
5
+ <div class="auto repair-info-content compatible">
6
+ <div class="row auto">
7
+ <!-- 上期抄表时间 -->
8
+ <div class="col-xs-12 col-sm-12 col-md-12 form-input-group mg8">
9
+ <label class="lb-left text-justify">上期抄表时间</label>
10
+ <input v-model="meterData.f_operate_date" class="form-control" readonly
11
+ onkeyup="value=value.replace(/[^\d\.]/g,'')" type="text">
12
+ </div>
13
+
14
+ <div class="col-xs-12 col-sm-12 col-md-12 form-input-group mg8">
15
+ <label class="lb-left text-justify">上期底数</label>
16
+ <input v-model="meterData.f_tablebase" class="form-control"
17
+ onkeyup="value=value.replace(/[^\d\.]/g,'')" readonly type="text">
18
+ </div>
19
+
20
+ <div class="col-xs-12 col-sm-12 col-md-12 form-input-group mg8">
21
+ <label class="lb-left text-justify">上期结余</label>
22
+ <input v-model="meterData.f_curbalance" class="form-control"
23
+ onkeyup="value=value.replace(/[^\d\.]/g,'')" readonly type="text">
24
+ </div>
25
+
26
+ <!-- 上次抄表结果状态 -->
27
+ <div class="col-xs-12 col-sm-12 col-md-12 form-input-group mg8">
28
+ <label class="lb-left text-justify">上次抄表结果状态</label>
29
+ <input v-model="meterData.f_hand_state " class="form-control" readonly type="text">
30
+ </div>
31
+
32
+ <!-- 本期底数 -->
33
+ <div class="col-xs-12 col-sm-12 col-md-12 form-input-group mg8">
34
+ <label class="lb-left text-justify">本期底数</label>
35
+ <input v-model="service.f_new_tablebase" class="form-control"
36
+ onkeyup="value=value.replace(/[^\d\.]/g,'')" type="text">
37
+ </div>
38
+ </div>
39
+ </div>
40
+ </div>
41
+ </div>
42
+ </div>
43
+ </template>
44
+
45
+ <script>
46
+ import { HttpResetClass } from "vue-client"
47
+
48
+
49
+ export default {
50
+ title: '抄表信息',
51
+ props: {
52
+ service: {
53
+ type: Object
54
+ }
55
+ },
56
+ data() {
57
+ return {
58
+ meterData:{}
59
+ }
60
+ },
61
+ methods: {},
62
+
63
+ ready() {
64
+ if (this.service.f_userinfoid){
65
+ let http = new HttpResetClass()
66
+ http.load('POST', `${this.$androidUtil.getProxyUrl()}/af-telephone/rs/sql/tel_singleTable_OrderBy`, {
67
+ data: {
68
+ items: 'a.*',
69
+ tablename: 't_handplan a left join (select f_userinfo_id,max(id) as id from t_handplan group by f_userinfo_id) b on a.id = b.id',
70
+ condition: `b.f_userinfo_id = '${this.service.f_userinfoid}'`,
71
+ orderitem: 'a.id'
72
+ }
73
+ }, {resolveMsg: null, rejectMsg: null}).then((res) => {
74
+ this.meterData = res.data[0]
75
+
76
+ })
77
+ }
78
+ }
79
+ }
80
+ </script>
81
+
82
+ <style lang="less" scoped>
83
+ .form-input-group {
84
+ margin-bottom: 15px;
85
+
86
+ label {
87
+ padding-left: 8px;
88
+ border: none;
89
+ border-left: 5px solid #A2C2EB;
90
+ width: 110px;
91
+ text-align: left;
92
+ }
93
+
94
+ input[readonly] {
95
+ background-color: #f5f5f5;
96
+ cursor: not-allowed;
97
+ }
98
+ }
99
+
100
+ .repair-bg {
101
+ background-color: #fff;
102
+ }
103
+
104
+ .repair-info-content {
105
+ }
106
+ </style>
@@ -188,7 +188,7 @@ export default {
188
188
  show_torepair: false,
189
189
  onlySave:true, //判断保存还是保存并上传
190
190
  livedispose:'',
191
- refuseinspection:'', // 拒捡拍照是否提示
191
+ refuseinspection:'', // 拒检拍照是否提示
192
192
  notencountered:'', // 到访不遇拍照是否提示
193
193
  startClick:false, //开始安检按钮是否可点击
194
194
  isStrat: false, //是否开始安检
@@ -338,7 +338,7 @@ export default {
338
338
  computed: {
339
339
  actionEnabled: {
340
340
  get() {
341
- return (this.role == 'inspect' && (this.item.f_last_check_state == '到访不遇' || this.item.f_last_check_state == '拒捡' || this.item.f_approved == '不通过' )) || (this.role == 'inspect' && this.item.f_state !='已检' && this.item.f_complete !='已完成' && this.item.f_complete !='已传' )
341
+ return (this.role == 'inspect' && (this.item.f_last_check_state == '到访不遇' || this.item.f_last_check_state == '拒检' || this.item.f_approved == '不通过' )) || (this.role == 'inspect' && this.item.f_state !='已检' && this.item.f_complete !='已完成' && this.item.f_complete !='已传' )
342
342
  }
343
343
  }
344
344
  },
@@ -709,7 +709,7 @@ export default {
709
709
  if(Vue.android && this.data.f_entry_status == '到访不遇' && this.notencountered && (this.data.f_noanswer_path == Vue.nopic || this.data.f_noanswer_path == ''))
710
710
  return '到访不遇必须拍照'
711
711
  if(Vue.android && this.data.f_entry_status == '拒检' && this.refuseinspection && (this.data.f_rejectcheck_path == Vue.nopic || this.data.f_rejectcheck_path == ''))
712
- return '拒捡必须拍照'
712
+ return '拒检必须拍照'
713
713
  },
714
714
  verifyUser() {
715
715
  let prefix = '用户基本信息:'