safecheck-client 3.0.33-15 → 3.0.33-150

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 (162) hide show
  1. package/index.html +6 -2
  2. package/package.json +133 -133
  3. package/src/App.vue +2 -2
  4. package/src/components/Util/ImgSelfSafePlus.vue +19 -10
  5. package/src/components/Util.js +7 -0
  6. package/src/components/android/AreaPlan.vue +2 -1
  7. package/src/components/android/CurrentCreate.vue +1 -1
  8. package/src/components/android/ImgSelfAndroid.vue +181 -181
  9. package/src/components/android/SafecheckDevices.vue +5 -1
  10. package/src/components/android/SafecheckOrderV.vue +18 -12
  11. package/src/components/map/checkScreen.vue +27 -21
  12. package/src/components/paper/PlanChooser.vue +4 -2
  13. package/src/components/pc/NewCheckpaper.vue +11 -8
  14. package/src/components/planmanage/PlanManage.vue +14 -4
  15. package/src/components/planmanage/checkPlanList.vue +2 -1
  16. package/src/components/planmanage/checkUserList.vue +2 -0
  17. package/src/components/report/HiddenSituation.vue +3 -3
  18. package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +28 -2
  19. package/src/components/rongcheng/AspiratedPaperMessage.vue +1 -1
  20. package/src/components/rongcheng/DefectPaper.vue +1 -1
  21. package/src/components/rongcheng/PaperListNPSQ.vue +36 -1
  22. package/src/components/rongcheng/PaperListSQ.vue +32 -11
  23. package/src/components/rongcheng/PhoneUpUserinfo.vue +939 -802
  24. package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
  25. package/src/components/rongcheng/report/CheckPlanAreaList.vue +1 -3
  26. package/src/components/safecheckNew/PaperList.vue +785 -0
  27. package/src/components/safecheckNew/android/AddPlanItem.vue +419 -0
  28. package/src/components/safecheckNew/android/AreaPlan.vue +561 -0
  29. package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -0
  30. package/src/components/safecheckNew/android/Recheck.vue +379 -0
  31. package/src/components/safecheckNew/android/SafecheckDevices.vue +1400 -0
  32. package/src/components/safecheckNew/android/SafecheckOrderV.vue +2692 -0
  33. package/src/filiale/Util.js +5 -0
  34. package/src/filiale/baiyin/android/AndroidDefectDeal.vue +633 -0
  35. package/src/filiale/baiyin/android.js +10 -0
  36. package/src/filiale/baiyin/pc/PaperList.vue +790 -0
  37. package/src/filiale/baiyin/pc/PlanChooser.vue +167 -0
  38. package/src/filiale/baiyin/pc/PlanManage.vue +834 -0
  39. package/src/filiale/baiyin/pc/RightTreeSafe.vue +348 -0
  40. package/src/filiale/baiyin/pc/RoleSelector.vue +160 -0
  41. package/src/filiale/baiyin/pc.js +17 -0
  42. package/src/filiale/bayan/android/AddPlanItem.vue +7 -2
  43. package/src/filiale/bayan/android/CheckPlanDown.vue +249 -0
  44. package/src/filiale/bayan/android/SafecheckOrderV.vue +21 -8
  45. package/src/filiale/bayan/android/SafecheckUserInfo.vue +566 -514
  46. package/src/filiale/bayan/android.js +1 -0
  47. package/src/filiale/bayan/pc/CheckDetail.vue +205 -0
  48. package/src/filiale/bayan/pc/CheckPlan.vue +59 -0
  49. package/src/filiale/bayan/pc/CheckPlanAreaList.vue +565 -0
  50. package/src/filiale/bayan/pc/CheckSearchUser.vue +1110 -0
  51. package/src/filiale/bayan/pc/DefectListNew.vue +597 -0
  52. package/src/filiale/bayan/pc/DefectMainNew.vue +63 -0
  53. package/src/filiale/bayan/pc/DefectPaperNew.vue +1218 -0
  54. package/src/filiale/bayan/pc/HiddenSituation.vue +256 -0
  55. package/src/filiale/bayan/pc/NewCheckpaper.vue +31 -1
  56. package/src/filiale/bayan/pc/PaperList.vue +119 -12
  57. package/src/filiale/bayan/pc/PlanManage.vue +29 -8
  58. package/src/filiale/bayan/pc/SelectCheckPlan.vue +333 -0
  59. package/src/filiale/bayan/pc.js +6 -0
  60. package/src/filiale/dexin/android/SafecheckOrderV.vue +123 -24
  61. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
  62. package/src/filiale/fugou/android.js +2 -1
  63. package/src/filiale/fugou/pc/AddToCheckBook.vue +56 -119
  64. package/src/filiale/fugou/pc/CheckBook.vue +303 -301
  65. package/src/filiale/fugou/pc/CheckBookDetails.vue +161 -161
  66. package/src/filiale/fugou/pc/CheckBookEntry.vue +94 -66
  67. package/src/filiale/fugou/pc/CheckBookList.vue +366 -366
  68. package/src/filiale/fugou/pc/CheckBookSearchArea.vue +560 -560
  69. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +810 -685
  70. package/src/filiale/fugou/pc/CheckBookUser.vue +102 -45
  71. package/src/filiale/fugou/pc/DefectPaperNew.vue +10 -6
  72. package/src/filiale/fugou/pc/PaperDefectMain.vue +12 -6
  73. package/src/filiale/fugou/pc/PaperList.vue +14 -6
  74. package/src/filiale/fugou/pc/PlanManage.vue +62 -8
  75. package/src/filiale/fugou/pc/checkPlanList.vue +371 -371
  76. package/src/filiale/fugou/pc/checkUserList.vue +222 -42
  77. package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +15 -5
  78. package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +12 -2
  79. package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +12 -3
  80. package/src/filiale/hanzhong/pc/CheckSearchUser.vue +13 -0
  81. package/src/filiale/hanzhong/pc/CheckUserList.vue +30 -11
  82. package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +11 -2
  83. package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
  84. package/src/filiale/jingyang/pc.js +1 -0
  85. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +2 -22
  86. package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -0
  87. package/src/filiale/liaoyuan/pc.js +2 -1
  88. package/src/filiale/qianneng/pc/PaperList.vue +31 -1
  89. package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +1270 -1268
  90. package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2779
  91. package/src/filiale/rongchuang/android/SafecheckDevices.vue +468 -748
  92. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +984 -1234
  93. package/src/filiale/rongchuang/android.js +1 -0
  94. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +294 -305
  95. package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
  96. package/src/filiale/rongchuang/pc.js +1 -0
  97. package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -0
  98. package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -0
  99. package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -0
  100. package/src/filiale/siyang/android.js +11 -0
  101. package/src/filiale/siyang/pc/PaperDefectMain.vue +864 -0
  102. package/src/filiale/siyang/pc/PaperList.vue +834 -0
  103. package/src/filiale/siyang/pc/PlanManage.vue +839 -0
  104. package/src/filiale/siyang/pc/checkUserList.vue +781 -0
  105. package/src/filiale/siyang/pc.js +15 -0
  106. package/src/filiale/tianke/pc/checkScreen.vue +36 -31
  107. package/src/filiale/tongchuan/android/PhoneUpUserinfo.vue +60 -2
  108. package/src/filiale/tongchuan/android/SafecheckOrderV.vue +2 -3
  109. package/src/filiale/tongchuan/pc/NewCheckpaper.vue +1 -1
  110. package/src/filiale/tongchuan/pc/checkUserList.vue +2 -2
  111. package/src/filiale/weinan/android/PaperFeedback.vue +8 -8
  112. package/src/filiale/weinan/android/SafecheckDevices.vue +6 -2
  113. package/src/filiale/weinan/android/SafecheckOrderV.vue +16 -2
  114. package/src/filiale/weinan/android/SafecheckUserInfo.vue +7 -2
  115. package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
  116. package/src/filiale/weinan/pc/DefectListNew.vue +617 -0
  117. package/src/filiale/weinan/pc/DefectMainNew.vue +1 -1
  118. package/src/filiale/weinan/pc/DefectPaperNew.vue +7 -1
  119. package/src/filiale/weinan/pc.js +2 -0
  120. package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1 -1
  121. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +85 -63
  122. package/src/filiale/wenxi/pc/NewCheckpaper.vue +1 -1
  123. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +46 -1
  124. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +45 -4
  125. package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +2 -2
  126. package/src/filiale/yangchunboneng/android/NewCheckpaperAndroid.vue +1362 -1362
  127. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +1731 -1731
  128. package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -0
  129. package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1332 -1332
  130. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2845 -2832
  131. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -869
  132. package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +2 -1
  133. package/src/filiale/yangchunboneng/android.js +1 -0
  134. package/src/filiale/yangchunboneng/pc/CheckBookList.vue +4 -4
  135. package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +76 -32
  136. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +72 -1
  137. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1192 -1018
  138. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +944 -849
  139. package/src/filiale/yangchunboneng/pc/PaperList.vue +17 -0
  140. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +221 -256
  141. package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
  142. package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1 -1
  143. package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
  144. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +412 -107
  145. package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -0
  146. package/src/filiale/yongzhou/pc/PaperList.vue +1 -1
  147. package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
  148. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +56 -125
  149. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +94 -187
  150. package/src/filiale/yongzhou/pc/safeDetail.vue +311 -20
  151. package/src/filiale/yongzhou/pc/safeStatistics.vue +74 -24
  152. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +2 -2
  153. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
  154. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +47 -23
  155. package/src/filiale/yongzhou/pc/safeTable.vue +3 -3
  156. package/src/filiale/yongzhou/pc.js +4 -0
  157. package/src/filiale/zhongsheng/android/CurrentCreate.vue +7 -2
  158. package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +6 -2
  159. package/src/main.js +33 -33
  160. package/src/rongcheng.js +3 -1
  161. package/src/safecheck-android.js +6 -0
  162. package/src/safecheck.js +3 -0
@@ -3,7 +3,8 @@ import Vue from "vue";
3
3
 
4
4
  // 手机特殊目录注册到该文件中
5
5
  let specialComp = {
6
- 'add-plan-item': (resolve) => { require(['./android/AddPlanItem'], resolve) }
6
+ 'add-plan-item': (resolve) => { require(['./android/AddPlanItem'], resolve) },
7
+ 'safecheck-order-v': (resolve) => { require(['./android/SafecheckOrderV'], resolve) }
7
8
  }
8
9
 
9
10
  exports.specialComp = specialComp
@@ -3,11 +3,11 @@
3
3
  <div class="auto select-overspread">
4
4
  <validator name='v'>
5
5
  <ul class="nav nav-tabs">
6
- <p class="bg-info text-center" style="padding: 8px;">{{tabstitles[$parent.$refs.tabs.active]}}</p>
6
+ <p class="bg-info text-center" style="padding: 8px;">添加到目标安检册</p>
7
7
  </ul>
8
- <div class="form-horizontal select-overspread container-fluid auto" style="margin-top:20px;flex: 1;" v-show="!($parent.$refs.tabs.active == 2)">
8
+ <div class="form-horizontal select-overspread container-fluid auto" style="margin-top:20px;flex: 1;">
9
9
  <div class="row" style="text-align: center">
10
-
10
+ <p class="text-center" style="padding: 8px;">共{{usernum?usernum:0}}位用户</p>
11
11
  <div class="col-sm-12 form-group" :class="[$v.f_check_book_num.required ? 'has-error' : '']">
12
12
  <label class="font_normal_body" style="width: 26%;">目标安检册</label>
13
13
  <input type="text" v-model="model.f_check_book_num" v-show="false"
@@ -18,9 +18,18 @@
18
18
  style="width:60%"
19
19
  close-on-select></v-select>
20
20
  </div>
21
+ <!--
22
+ <div class="col-sm-6 form-group" :class="[$v.f_invoice_type.required ? 'has-error' : '']">
23
+ <label class="font_normal_body">发票类型</label>
24
+ <input type="text" v-model="model.f_invoice_type" v-show="false" v-validate:f_invoice_type='{required: true }'>
25
+ <v-select :value.sync="model.f_invoice_type" :options='invoiceType' :value-single="true" :search="false"
26
+ placeholder='发票类型' close-on-select v-model='model.f_invoice_type'>
27
+ </v-select>
28
+ </div>
29
+ -->
21
30
  </div>
22
31
  </div>
23
- <div class="row" v-show="!($parent.$refs.tabs.active == 2)">
32
+ <div class="row">
24
33
  <div style="float:right;margin-top: 250px;margin-right: 20px;">
25
34
  <button @click="confirm()" class="btn button_search" style="width: 70px" :disabled='!$v.valid'>
26
35
  <span class="glyphicon glyphicon-floppy-disk"></span>保存
@@ -30,129 +39,57 @@
30
39
  </validator>
31
40
  </div>
32
41
  </div>
33
-
34
42
  </template>
35
43
 
36
44
  <script>
37
- import * as Util from '../../../components/Util'
38
- import {HttpResetClass} from "vue-client";
39
- import bus from "../../../bus";
40
- export default {
41
- name: 'AddTobook',
42
-
43
- data () {
44
- return {
45
- model:{
46
- f_check_book_num:''
47
- },
48
- checkbook: [],
49
- checkbooks:[],
50
- tabstitles:['请选择小区添加到目标安检册','请选择单位添加到目标安检册','用户无法单独添加到安检册内']
51
- }
52
- },
53
- created () {
54
- },
55
- ready () {
56
- // this.close()
57
- new HttpResetClass().load('POST','rs/sql/safe_singleTable_OrderBy',{data: {
58
- items: 'id,f_check_book_name,f_check_book_type,f_user_type',
59
- tablename: 't_check_book',
60
- condition: `1=1`,
61
- orderitem: 'id'
62
- }}, {resolveMsg: null, rejectMsg: null}).then(res=>{
63
- console.log("checkbook", res.data)
64
- res.data.forEach(item=>{
65
- this.checkbooks.push({
66
- f_user_type:item.f_user_type,
67
- booktype:item.f_check_book_type,
68
- label:item.f_check_book_name,
69
- value:item.id
70
- })
71
- })
72
- this.checkbook = this.checkbooks.filter(item=>item.f_user_type==='民用')
73
- })
74
- },
75
- methods: {
76
- selectbook(val){
77
-
78
- },
79
- close () {
80
-
45
+ export default {
46
+ name: 'AddTobook',
47
+ props: ['usernum'],
48
+ data () {
49
+ return {
50
+ model: {
51
+ f_check_book_num: '',
52
+ f_userinfo_code: '',
53
+ f_user_state: '',
54
+ f_operator: this.$login.f.name,
55
+ f_operatorid: this.$login.f.id,
56
+ f_orgid: this.$login.f.orgid,
57
+ f_orgname: this.$login.f.orgs,
58
+ f_depid: this.$login.f.depids,
59
+ f_depname: this.$login.f.deps,
60
+ f_state: '有效'
81
61
  },
82
-
83
- confirm () {
84
- if (!this.model.f_check_book_num){
85
- this.$showMessage('请选择安检册')
86
- return
87
- }
88
- console.log(this.$parent.$refs.tabs.active)
89
- console.log(this.$parent.bookList)
90
- console.log(this.$parent.bookAll)
91
- console.log(this.$parent.bookCondition)
92
- let userCondition = ''
93
- if(this.$parent.bookAll){
94
- if(!this.$parent.bookCondition){
95
- this.$showMessage("请先查询")
96
- return
97
- }else{
98
- userCondition = this.$parent.bookCondition
99
- }
100
- }else if(this.$parent.bookList.length > 0){
101
- userCondition = this.$parent.$refs.tabs.active ===0? 'ta.id in (' + this.$parent.bookList.toString() + ')':
102
- 'tc.id in (' + this.$parent.bookList.toString() + ')'
103
- }else{
104
- this.$showMessage(this.$parent.$refs.tabs.active===0?'请选择小区':'请选择单位')
105
- return;
106
- }
107
- if(this.$parent.$refs.tabs.active ===0){
108
- new HttpResetClass().load('POST', 'rs/logic/updateCheckBook', {data: {f_check_book_id: this.model.f_check_book_num,
109
- f_check_book_type:'小区',condition:userCondition}},
110
- {resolveMsg: null, rejectMsg: '添加失败'}).then(res=>{
111
- if(res && res.data){
112
- this.model.f_check_book_num = ""
113
- this.$showMessage("本次成功添加"+res.data+"个小区",['confirm']).then(res=>{
114
- if(res==='confirm'){
115
- console.log("刷新了")
116
- bus.$emit('fresh-area')
117
- }
118
- })
119
- }else{
120
- this.$showMessage("添加失败")
121
- }
122
- })
123
- }else{
124
- new HttpResetClass().load('POST', 'rs/logic/updateCheckBook', {data: {f_check_book_id: this.model.f_check_book_num,
125
- f_check_book_type:'单位',condition:userCondition}},
126
- {resolveMsg: null, rejectMsg: '添加失败'}).then(res=>{
127
- if(res && res.data){
128
- this.model.f_check_book_num = ""
129
- this.$showMessage("本次成功添加"+res.data+"个单位",['confirm']).then(res=>{
130
- if(res==='confirm'){
131
- console.log("刷新了")
132
- bus.$emit('fresh-area')
133
- }
134
- })
135
- }else{
136
- this.$showMessage("添加失败")
137
- }
138
- })
139
- }
140
- }
62
+ checkbook: [],
63
+ f_orgid: ''
64
+ }
65
+ },
66
+ created () {
67
+ },
68
+ async ready () {
69
+ // await this.$LoadParams.loadMeterBook(this.f_filialeid)
70
+ this.$refs.paged.$refs.cri.model.performDate = this.$login.toStandardDateString()
71
+ // this.close()
72
+ },
73
+ methods: {
74
+ selectbook(val){
75
+ console.log("val",val)
76
+ this.checkbook=val
77
+ console.log(" this.checkbook.push(val)", this.checkbook)
141
78
  },
142
- watch:{
143
- '$parent.$refs.tabs.active'(val){
144
- if(val =='0'){
145
- this.checkbook = this.checkbooks.filter(item=>item.f_user_type==='民用')
146
- }else{
147
- this.checkbook = this.checkbooks.filter(item=>item.f_user_type==='非民用')
148
- }
149
- this.model.f_check_book_num = ''
150
- }
79
+ close () {
80
+ this.model.f_check_book_num = ''
81
+ this.$dispatch('add-tobook-refresh')
151
82
  },
152
- computed: {
153
-
83
+ confirm () {
84
+ this.$dispatch('add-tobook-confirm', this.model)
154
85
  }
86
+ },
87
+ computed: {
88
+ // meterbooks () {
89
+ // return [{label: '移出表册', value: 'null'}, ...this.$GetSaleParam.getMeterBooks()]
90
+ // }
155
91
  }
92
+ }
156
93
  </script>
157
94
 
158
95
  <style lang="less">