safecheck-client 3.0.34-7 → 3.0.34-71

Sign up to get free protection for your applications and to get access to all the features.
Files changed (143) hide show
  1. package/package.json +1 -1
  2. package/src/App-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.vue +55 -0
  3. package/src/assets/123.png +0 -0
  4. package/src/assets/f8632d3c8c4c1cb68e99da754cab1a7.png +0 -0
  5. package/src/components/LoadData.vue +62 -0
  6. package/src/components/NewDefectList/DefectListNew.vue +1 -0
  7. package/src/components/android/AndroidDefectDeal.vue +1 -0
  8. package/src/components/android/AndroidDefectDealBeforeSafe.vue +502 -0
  9. package/src/components/android/AreaSelect.vue +198 -0
  10. package/src/components/android/BuildingSelect.vue +192 -0
  11. package/src/components/android/CheckPlanSelect.vue +229 -0
  12. package/src/components/android/PaperFeedback.vue +1514 -1481
  13. package/src/components/android/PaperFeedbackTemp.vue +1470 -1470
  14. package/src/components/android/QRCode/QRCodeBinding.vue +300 -0
  15. package/src/components/android/QRCode/QRCodePage.vue +212 -0
  16. package/src/components/android/SafePlanItem.vue +509 -509
  17. package/src/components/android/SafecheckDevices.vue +1298 -1298
  18. package/src/components/android/SafecheckDevicesTemp.vue +1333 -1333
  19. package/src/components/android/SafecheckOrderV.vue +8 -12
  20. package/src/components/android/UserinfoSelect.vue +714 -0
  21. package/src/components/android/examples/SafeListExamples.vue +96 -0
  22. package/src/components/android/examples/UserExamples.vue +130 -0
  23. package/src/components/android/userinfo/SafecheckUserInfo.vue +776 -776
  24. package/src/components/rongcheng/AddPlanItem.vue +4 -0
  25. package/src/components/rongcheng/AspiratedUserInfo.vue +1 -1
  26. package/src/components/rongcheng/CheckSearchUser.vue +40 -14
  27. package/src/components/rongcheng/PaperStatem.vue +6 -1
  28. package/src/components/rongcheng/PhoneDevicesInfo.vue +16 -1
  29. package/src/components/rongcheng/PhoneUpUserinfo.vue +0 -92
  30. package/src/components/rongcheng/SafecheckOrderV.vue +12 -3
  31. package/src/components/rongcheng/SafecheckOrderVCli.vue +9 -0
  32. package/src/components/safecheckNew/android/SafecheckOrderV.vue +2731 -2731
  33. package/src/filiale/baiyin/android/AndroidDefectDeal.vue +4 -4
  34. package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -0
  35. package/src/filiale/baiyin/android.js +1 -0
  36. package/src/filiale/baiyin/pc/CheckSearchUser.vue +2 -2
  37. package/src/filiale/baiyin/pc/DefectListNew.vue +3 -3
  38. package/src/filiale/baiyin/pc/PaperList.vue +7 -7
  39. package/src/filiale/bayan/android/PaperFeedback.vue +1651 -1651
  40. package/src/filiale/bayan/android/SafecheckDevices.vue +1303 -1303
  41. package/src/filiale/bayan/android/SafecheckOrderV.vue +52 -29
  42. package/src/filiale/bayan/android/SafecheckUserInfo.vue +863 -863
  43. package/src/filiale/bayan/pc/PaperList.vue +1 -0
  44. package/src/filiale/dexin/android/SafecheckDevices.vue +1305 -1305
  45. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +35 -15
  46. package/src/filiale/hanzhong/android/PaperFeedback.vue +1477 -1477
  47. package/src/filiale/hanzhong/android/SafecheckDevices.vue +1313 -1313
  48. package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +786 -786
  49. package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -0
  50. package/src/filiale/huaran/android.js +12 -0
  51. package/src/filiale/huaran/pc/CheckBook.vue +313 -0
  52. package/src/filiale/huaran/pc/CheckBookAll.vue +69 -0
  53. package/src/filiale/huaran/pc/CheckBookArea.vue +170 -0
  54. package/src/filiale/huaran/pc/CheckBookCompany.vue +166 -0
  55. package/src/filiale/huaran/pc/CheckBookDetails.vue +196 -0
  56. package/src/filiale/huaran/pc/CheckBookEntry.vue +61 -0
  57. package/src/filiale/huaran/pc/CheckBookList.vue +386 -0
  58. package/src/filiale/huaran/pc/CheckBookSearchArea.vue +564 -0
  59. package/src/filiale/huaran/pc/CheckBookSearchUnit.vue +229 -0
  60. package/src/filiale/huaran/pc/CheckBookSearchUser.vue +604 -0
  61. package/src/filiale/huaran/pc/CheckBookUser.vue +112 -0
  62. package/src/filiale/huaran/pc/PaperList.vue +822 -0
  63. package/src/filiale/huaran/pc/PlanManage.vue +887 -0
  64. package/src/filiale/huaran/pc/checkPlanList.vue +419 -0
  65. package/src/filiale/huaran/pc/checkUserList.vue +867 -0
  66. package/src/filiale/huaran/pc.js +27 -0
  67. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -0
  68. package/src/filiale/jiaxian/android/PhoneUpUserinfo.vue +1229 -0
  69. package/src/filiale/jiaxian/android/SafecheckDevices.vue +1298 -1298
  70. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -0
  71. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -0
  72. package/src/filiale/jiaxian/android.js +4 -0
  73. package/src/filiale/jingyang/android/PaperFeedback.vue +1493 -1493
  74. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +781 -781
  75. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +15 -7
  76. package/src/filiale/pingxiang/android/PaperFeedback.vue +1399 -1399
  77. package/src/filiale/qingjian/android/SafecheckDevices.vue +1269 -1269
  78. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +800 -800
  79. package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -0
  80. package/src/filiale/qingtongxia/android/CurrentCreate.vue +1053 -0
  81. package/src/filiale/qingtongxia/android/PhoneUpUserinfo.vue +1230 -0
  82. package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -0
  83. package/src/filiale/qingtongxia/android.js +4 -0
  84. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +2696 -2696
  85. package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -0
  86. package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -0
  87. package/src/filiale/ruihua/android.js +11 -0
  88. package/src/filiale/shanxian/pc/checkUserList.vue +4 -4
  89. package/src/filiale/shiquan/android/SafecheckDevices.vue +1269 -1269
  90. package/src/filiale/siyang/android/AddPlanItem.vue +446 -0
  91. package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -789
  92. package/src/filiale/siyang/android.js +1 -0
  93. package/src/filiale/siyang/pc/CheckBookSearchArea.vue +645 -0
  94. package/src/filiale/siyang/pc/CheckPlanAreaList.vue +512 -0
  95. package/src/filiale/siyang/pc/CheckSearchUser.vue +982 -0
  96. package/src/filiale/siyang/pc/HiddenSituation.vue +167 -0
  97. package/src/filiale/siyang/pc/NewCheckpaper.vue +1938 -1938
  98. package/src/filiale/siyang/pc/checkPlanList.vue +367 -0
  99. package/src/filiale/siyang/pc/checkUserList.vue +790 -786
  100. package/src/filiale/siyang/pc.js +21 -16
  101. package/src/filiale/tongchuan/android/Select.vue +421 -0
  102. package/src/filiale/tongchuan/android.js +1 -0
  103. package/src/filiale/tongchuan/pc/CheckPlanCountChartArea.vue +3 -1
  104. package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +6 -2
  105. package/src/filiale/tongchuan/pc/HiddenSituation.vue +3 -1
  106. package/src/filiale/tongchuan/pc/NewCheckpaper.vue +13 -22
  107. package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1 -1
  108. package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +5 -2
  109. package/src/filiale/tongchuan/utils/EventListener.js +29 -0
  110. package/src/filiale/tongchuan/utils/coerceBoolean.js +7 -0
  111. package/src/filiale/weinan/android/SafecheckDevices.vue +1295 -1295
  112. package/src/filiale/weinan/android/SafecheckOrderV.vue +1 -1
  113. package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +75 -62
  114. package/src/filiale/weinan/pc/CheckDetail.vue +11 -11
  115. package/src/filiale/weinan/pc/DefectPaperNew.vue +31 -0
  116. package/src/filiale/weinan/pc/DeviceChange.vue +1088 -0
  117. package/src/filiale/weinan/pc/checkUserList.vue +49 -113
  118. package/src/filiale/weinan/pc.js +1 -0
  119. package/src/filiale/wuan/android/SafecheckOrderV.vue +2241 -2240
  120. package/src/filiale/wuan/android/SafecheckUserInfo.vue +596 -592
  121. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +1731 -1731
  122. package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1332 -1332
  123. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -887
  124. package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +13 -11
  125. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +269 -269
  126. package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +96 -30
  127. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +10 -10
  128. package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +1128 -1128
  129. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +972 -972
  130. package/src/filiale/yangchunboneng/pc/PaperList.vue +773 -773
  131. package/src/filiale/yongzhou/android/PaperFeedback.vue +1519 -1519
  132. package/src/filiale/yongzhou/android/SafecheckDevices.vue +1294 -1294
  133. package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +776 -776
  134. package/src/filiale/yuansheng/android/SafecheckDevices.vue +11 -1
  135. package/src/filiale/yuansheng/android/SwitchValve.vue +322 -322
  136. package/src/filiale/yuansheng/android.js +17 -17
  137. package/src/filiale/yuansheng/pc/NewCheckpaper.vue +10 -2
  138. package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1508 -1508
  139. package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +1270 -1270
  140. package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +784 -784
  141. package/src/main-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.js +24 -0
  142. package/src/safecheck-android.js +9 -0
  143. package/src/safecheck-page.js +10 -0
@@ -0,0 +1,167 @@
1
+ <template>
2
+ <div id='app' class="basic-main" style="height: 100%">
3
+ <criteria-paged :model="model" :pager='false'>
4
+ <criteria partial='criteria' @condition-changed='$parent.search' class="search_area">
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row">
7
+ <div class="col-sm-4 form-group">
8
+ <role-selector-safe role-name="安检员" role-lable="安&ensp;检&ensp;员" @re-res="$parent.$parent.getRes"
9
+ :value.sync="model.f_checker_id" v-model="model.f_checker_id" condition="f_checker_name like '%{}%'">
10
+ </role-selector-safe>
11
+ </div>
12
+ <div class="col-sm-2 form-group">
13
+ <label for="startDate" class="font_normal_body">开始日期:</label>
14
+ <datepicker id="startDate" placeholder="开始日期" v-model="model.startDate" :value.sync="model.startDate"
15
+ style="width: 60%;" :disabled-days-of-Week="[]" :format="'yyyy-MM-dd 00:00:00'"
16
+ :show-reset-button="reset">
17
+ </datepicker>
18
+ </div>
19
+ <div class="col-sm-2 form-group">
20
+ <label for="endDate" class="font_normal_body">结束日期:</label>
21
+ <datepicker id="endDate" placeholder="结束日期" v-model="model.endDate" :value.sync="model.endDate"
22
+ :disabled-days-of-Week="[]" style="width: 60%;" :format="'yyyy-MM-dd 23:59:59'"
23
+ :show-reset-button="reset">
24
+ </datepicker>
25
+ </div>
26
+ <div class="col-sm-4 form-group" style="margin-top: 8px">
27
+ <button class="button_search button_spacing" @click="search()">查询</button>
28
+ <report-print class="button_export button_spacing" style="width:28%" id='shexian'></report-print>
29
+ <report-excel class="button_export button_spacing" style="width:28%" id='shexian'></report-excel>
30
+ </div>
31
+ </div>
32
+ <div class="row">
33
+ <div class="col-sm-2 form-group">
34
+ <label class="font_normal_body">用气性质</label>
35
+ <v-select class="select_list select" placeholder='用气性质' style="width: 60%" v-model='model.userType'
36
+ :value.sync="model.userType" :options='$parent.$parent.userTypes' condition="tuf.f_gasproperties in {} "
37
+ :multiple="true"></v-select>
38
+ </div>
39
+ <div class="col-sm-2 form-group">
40
+ <label class="font_normal_body">气表类型</label>
41
+ <v-select class="select_list select" placeholder='气表类型' style="width: 60%" v-model='model.tableType'
42
+ :value.sync="model.tableType" :options='$parent.$parent.tableTypes'
43
+ condition="tuf.f_meter_classify = '{}'" :value-single="true" close-on-select clear-button></v-select>
44
+ </div>
45
+ <div class="col-sm-2 form-group">
46
+ <label class="font_normal_body">气表品牌</label>
47
+ <v-select class="select_list select" placeholder='气表类型' style="width: 60%" v-model='model.tableBrand'
48
+ :value.sync="model.tableBrand" :options='$parent.$parent.tableBrands'
49
+ condition="gb.f_meter_brand = '{}'" :value-single="true" close-on-select clear-button></v-select>
50
+ </div>
51
+ </div>
52
+ </div>
53
+ </criteria>
54
+ <div partial='list' id='shexian' class="list_area" style="overflow-y: scroll">
55
+ <table class='tableprint' style="margin: 0px auto">
56
+ <thead>
57
+ <tr>
58
+ <th colspan='5' style="font-weight: normal; text-align: left;">
59
+ <h3 style="text-align: center">隐患报表</h3>
60
+ </th>
61
+ </tr>
62
+ <tr>
63
+ <th colspan='5' style="font-weight: normal; text-align: center;">
64
+ 隐患户数:{{ $parent.hiddenHouseholds }}&nbsp;&nbsp;&nbsp;
65
+ 隐患发生数:{{ $parent.hiddenNumber }}&nbsp;&nbsp;&nbsp;
66
+ 开始时间:{{ model.model.startDate }}&nbsp;&nbsp;&nbsp;
67
+ 结束时间:{{ model.model.endDate }}
68
+ </th>
69
+ </tr>
70
+ </thead>
71
+ <tr>
72
+ <th colspan='5' style="font-weight: normal;">
73
+ {{{ model.data.substring(26, model.data.length - 8) }}}
74
+ </th>
75
+ </tr>
76
+ </table>
77
+ </div>
78
+ </criteria-paged>
79
+ </div>
80
+
81
+ </template>
82
+
83
+ <script>
84
+ import { DataModel, HttpResetClass } from 'vue-client'
85
+
86
+ export default {
87
+ title: '隐患报表',
88
+ data() {
89
+
90
+ let model = new DataModel('rs/report/hiddensituation', {
91
+ startDate: 'this.model.startDate',
92
+ endDate: 'this.model.endDate',
93
+ f_filialeid: 'this.f_filialeid'
94
+ })
95
+ model.f_filialeid = '(' + this.$login.f.orgid + ')'
96
+ return {
97
+ userTypes: [{ label: '全部', value: '' }, ...this.$appdata.getParam('用气性质')],
98
+ tableTypes: [{ label: '全部', value: '' }, ...this.$appdata.getParam('气表类型')],
99
+ tableBrands: [{ label: '全部', value: '' }],
100
+ filialeNameStr: '',
101
+ hiddenNumber: '',
102
+ hiddenHouseholds: '',
103
+ filialeCodeStr: '',
104
+ userid: this.$login.f.id,
105
+ source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
106
+ model: model
107
+ }
108
+ },
109
+ methods: {
110
+ search(args) {
111
+ this.model.search(args.condition, args.model)
112
+ let dateCondition
113
+ if (args.model.startDate && args.model.endDate) {
114
+ dateCondition = `f_offsite_time BETWEEN '${args.model.startDate}' AND '${args.model.endDate}'`
115
+ } else if (args.model.startDate) {
116
+ dateCondition = `f_offsite_time >= '${args.model.startDate}'`
117
+ } else if (args.model.endDate) {
118
+ dateCondition = `f_offsite_time <= '${args.model.endDate}'`
119
+ }
120
+ if (dateCondition){
121
+ this.getHiddenNumber(dateCondition)
122
+ this.getHiddenHouseholds(dateCondition)
123
+ }
124
+ },
125
+ getRes(obj) {
126
+ this.model.f_filialeid = this.$login.convertToIn(obj.resids)
127
+ },
128
+ getHiddenNumber(condition) {
129
+ new HttpResetClass().load("POST", `/rs/sql/defectDetails`,
130
+ { data: { condition: condition } },
131
+ { resolveMsg: null, rejectMsg: null }).then(resp => {
132
+ this.$set('hiddenNumber',resp.data.length)
133
+ })
134
+ },
135
+ getHiddenHouseholds(condition) {
136
+ new HttpResetClass().load("POST", `/rs/sql/safe_singleTable_GroupBy`,
137
+ { data: { items: "f_userinfoid", tablename: "t_check_paper", groupitem: "f_userinfoid", condition: ` f_defect_content LIKE '%有隐患%' and ${condition}` } },
138
+ { resolveMsg: null, rejectMsg: null }).then(resp => {
139
+ this.$set('hiddenHouseholds',resp.data.length)
140
+ })
141
+ },
142
+ getTableBrands() {
143
+ new HttpResetClass().load("POST", `/rs/sql/safe_singleTable_OrderBy`,
144
+ { data: { items: "*", tablename: "t_gasbrand", orderitem: "id", condition: ` 1=1 ` } },
145
+ { resolveMsg: null, rejectMsg: null }).then((resp) => {
146
+ resp.data.forEach((result) => {
147
+ this.tableBrands.push({ label: result.f_meter_brand, value: result.f_meter_brand })
148
+ })
149
+ })
150
+ },
151
+ },
152
+ ready() {
153
+ this.getTableBrands()
154
+ },
155
+ computed: {
156
+ selected() {
157
+ return this.$refs.grid.selected
158
+ }
159
+ // outlets () {
160
+ // return [{label: '全部', value: ''}, ...AppData.getParam('营业网点')]
161
+ // },
162
+ // operator () {
163
+ // return [{label: '全部', value: ''}, ...AppData.getParam('操作员')]
164
+ // }
165
+ }
166
+ }
167
+ </script>