safecheck-client 3.0.34-1 → 3.0.34-100

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 (183) 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/AddPlanItemYy.vue +451 -0
  8. package/src/components/android/AndroidDefectDeal.vue +1 -0
  9. package/src/components/android/AndroidDefectDealBeforeSafe.vue +502 -0
  10. package/src/components/android/AreaPlan.vue +1 -7
  11. package/src/components/android/AreaSelect.vue +198 -0
  12. package/src/components/android/BuildingSelect.vue +192 -0
  13. package/src/components/android/CheckPlanSelect.vue +229 -0
  14. package/src/components/android/CurrentCreateYy.vue +1051 -0
  15. package/src/components/android/ImgSelfAndroid.vue +181 -181
  16. package/src/components/android/PaperFeedback.vue +34 -1
  17. package/src/components/android/PaperFeedbackTemp.vue +1 -1
  18. package/src/components/android/QRCode/QRCodeBinding.vue +300 -0
  19. package/src/components/android/QRCode/QRCodePage.vue +212 -0
  20. package/src/components/android/SafecheckDevices.vue +4 -4
  21. package/src/components/android/SafecheckDevicesTemp.vue +1 -1
  22. package/src/components/android/SafecheckOrderV.vue +8 -12
  23. package/src/components/android/UserinfoSelect.vue +714 -0
  24. package/src/components/android/examples/410.png +0 -0
  25. package/src/components/android/examples/SafeListExamples.vue +296 -0
  26. package/src/components/android/examples/UserExamples.vue +137 -0
  27. package/src/components/android/examples/ViewDetailsExamples.vue +1235 -0
  28. package/src/components/android/examples/touxiang.png +0 -0
  29. package/src/components/android/userinfo/SafecheckUserInfo.vue +1 -1
  30. package/src/components/pc/SafeVisitInfo.vue +261 -0
  31. package/src/components/rongcheng/AddPlanItem.vue +8 -0
  32. package/src/components/rongcheng/AspiratedAreaPlan.vue +574 -464
  33. package/src/components/rongcheng/AspiratedUserInfo.vue +1 -1
  34. package/src/components/rongcheng/CheckSearchUser.vue +46 -16
  35. package/src/components/rongcheng/PaperStatem.vue +6 -1
  36. package/src/components/rongcheng/PhoneDevicesInfo.vue +16 -1
  37. package/src/components/rongcheng/PhoneUpUserinfo.vue +1236 -1328
  38. package/src/components/rongcheng/SafecheckOrderV.vue +12 -3
  39. package/src/components/rongcheng/SafecheckOrderVCli.vue +9 -0
  40. package/src/filiale/baiyin/android/AndroidDefectDeal.vue +633 -633
  41. package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -0
  42. package/src/filiale/baiyin/android.js +11 -10
  43. package/src/filiale/baiyin/pc/CheckPlanAreaList.vue +485 -485
  44. package/src/filiale/baiyin/pc/CheckSearchUser.vue +1067 -1067
  45. package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
  46. package/src/filiale/baiyin/pc/DefectMainNew.vue +63 -63
  47. package/src/filiale/baiyin/pc/DefectPaperNew.vue +1052 -1052
  48. package/src/filiale/baiyin/pc/PaperList.vue +790 -790
  49. package/src/filiale/baiyin/pc/PlanChooser.vue +167 -167
  50. package/src/filiale/baiyin/pc/PlanManage.vue +834 -834
  51. package/src/filiale/baiyin/pc/RightTreeSafe.vue +348 -348
  52. package/src/filiale/baiyin/pc/RoleSelector.vue +160 -160
  53. package/src/filiale/bayan/android/AddPlanItem.vue +8 -0
  54. package/src/filiale/bayan/android/PaperFeedback.vue +68 -50
  55. package/src/filiale/bayan/android/PhoneUpUserinfo.vue +40 -40
  56. package/src/filiale/bayan/android/SafecheckDevices.vue +1 -1
  57. package/src/filiale/bayan/android/SafecheckOrderV.vue +58 -58
  58. package/src/filiale/bayan/android/SafecheckUserInfo.vue +6 -1
  59. package/src/filiale/bayan/pc/NewCheckpaper.vue +50 -46
  60. package/src/filiale/bayan/pc/PaperList.vue +1 -0
  61. package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
  62. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +35 -15
  63. package/src/filiale/hanzhong/android/PaperFeedback.vue +1 -1
  64. package/src/filiale/hanzhong/android/SafecheckDevices.vue +1 -1
  65. package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +1 -1
  66. package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -0
  67. package/src/filiale/huaran/android.js +12 -0
  68. package/src/filiale/huaran/pc/CheckBook.vue +313 -0
  69. package/src/filiale/huaran/pc/CheckBookAll.vue +69 -0
  70. package/src/filiale/huaran/pc/CheckBookArea.vue +170 -0
  71. package/src/filiale/huaran/pc/CheckBookCompany.vue +166 -0
  72. package/src/filiale/huaran/pc/CheckBookDetails.vue +196 -0
  73. package/src/filiale/huaran/pc/CheckBookEntry.vue +61 -0
  74. package/src/filiale/huaran/pc/CheckBookList.vue +386 -0
  75. package/src/filiale/huaran/pc/CheckBookSearchArea.vue +564 -0
  76. package/src/filiale/huaran/pc/CheckBookSearchUnit.vue +229 -0
  77. package/src/filiale/huaran/pc/CheckBookSearchUser.vue +604 -0
  78. package/src/filiale/huaran/pc/CheckBookUser.vue +112 -0
  79. package/src/filiale/huaran/pc/PaperList.vue +822 -0
  80. package/src/filiale/huaran/pc/PlanManage.vue +887 -0
  81. package/src/filiale/huaran/pc/checkPlanList.vue +419 -0
  82. package/src/filiale/huaran/pc/checkUserList.vue +867 -0
  83. package/src/filiale/huaran/pc.js +27 -0
  84. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -0
  85. package/src/filiale/jiaxian/android/PhoneUpUserinfo.vue +1229 -0
  86. package/src/filiale/jiaxian/android/SafecheckDevices.vue +1298 -1298
  87. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -0
  88. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -0
  89. package/src/filiale/jiaxian/android.js +14 -10
  90. package/src/filiale/jiaxian/pc.js +12 -12
  91. package/src/filiale/jingyang/android/PaperFeedback.vue +1 -1
  92. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +1 -1
  93. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +15 -7
  94. package/src/filiale/pingxiang/android/PaperFeedback.vue +1 -1
  95. package/src/filiale/qianneng/android/SafecheckOrderV.vue +1 -1
  96. package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +1270 -1270
  97. package/src/filiale/qingjian/android/SafecheckDevices.vue +1 -1
  98. package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2844
  99. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +1 -1
  100. package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -0
  101. package/src/filiale/qingtongxia/android/CurrentCreate.vue +1053 -0
  102. package/src/filiale/qingtongxia/android/PhoneUpUserinfo.vue +1230 -0
  103. package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -0
  104. package/src/filiale/qingtongxia/android.js +4 -0
  105. package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -0
  106. package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -0
  107. package/src/filiale/ruihua/android.js +11 -0
  108. package/src/filiale/shanxian/android/AddPlanItem.vue +447 -0
  109. package/src/filiale/shanxian/android/SafecheckOrderV.vue +1 -1
  110. package/src/filiale/shanxian/android.js +1 -0
  111. package/src/filiale/shanxian/pc/PaperList.vue +785 -0
  112. package/src/filiale/shanxian/pc/checkUserList.vue +4 -4
  113. package/src/filiale/shanxian/pc.js +2 -2
  114. package/src/filiale/shiquan/android/SafecheckDevices.vue +1 -1
  115. package/src/filiale/siyang/android/AddPlanItem.vue +450 -0
  116. package/src/filiale/siyang/android/AppCheckPlan.vue +246 -0
  117. package/src/filiale/siyang/android/CurrentCreate.vue +1051 -0
  118. package/src/filiale/siyang/android/SafecheckUserInfo.vue +1 -1
  119. package/src/filiale/siyang/android.js +4 -0
  120. package/src/filiale/siyang/pc/CheckBookList.vue +396 -0
  121. package/src/filiale/siyang/pc/CheckBookSearchArea.vue +667 -0
  122. package/src/filiale/siyang/pc/CheckPlanAreaList.vue +512 -0
  123. package/src/filiale/siyang/pc/CheckSearchUser.vue +1035 -0
  124. package/src/filiale/siyang/pc/HiddenSituation.vue +167 -0
  125. package/src/filiale/siyang/pc/checkPlanList.vue +367 -0
  126. package/src/filiale/siyang/pc/checkUserList.vue +22 -18
  127. package/src/filiale/siyang/pc.js +6 -0
  128. package/src/filiale/tongchuan/android/SafecheckDevices.vue +2 -2
  129. package/src/filiale/tongchuan/android/Select.vue +421 -0
  130. package/src/filiale/tongchuan/android.js +1 -0
  131. package/src/filiale/tongchuan/pc/CheckPlanCountChartArea.vue +3 -1
  132. package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +6 -2
  133. package/src/filiale/tongchuan/pc/HiddenSituation.vue +3 -1
  134. package/src/filiale/tongchuan/pc/NewCheckpaper.vue +13 -22
  135. package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1 -1
  136. package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +5 -2
  137. package/src/filiale/tongchuan/pc/checkUserList.vue +30 -0
  138. package/src/filiale/tongchuan/utils/EventListener.js +29 -0
  139. package/src/filiale/tongchuan/utils/coerceBoolean.js +7 -0
  140. package/src/filiale/weinan/android/SafecheckDevices.vue +1 -1
  141. package/src/filiale/weinan/android/SafecheckOrderV.vue +6 -2
  142. package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +75 -62
  143. package/src/filiale/weinan/pc/CheckDetail.vue +11 -11
  144. package/src/filiale/weinan/pc/DefectPaperNew.vue +31 -0
  145. package/src/filiale/weinan/pc/DeviceChange.vue +1088 -0
  146. package/src/filiale/weinan/pc/checkUserList.vue +49 -113
  147. package/src/filiale/weinan/pc.js +1 -0
  148. package/src/filiale/wuan/android/SafecheckOrderV.vue +5 -1
  149. package/src/filiale/wuan/android/SafecheckUserInfo.vue +10 -5
  150. package/src/filiale/xilan/android/AddPlanItem.vue +457 -0
  151. package/src/filiale/xilan/android/CurrentCreate.vue +1063 -0
  152. package/src/filiale/xilan/android.js +11 -0
  153. package/src/filiale/xilan/pc/checkUserList.vue +772 -0
  154. package/src/filiale/xilan/pc.js +12 -0
  155. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +8 -11
  156. package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +8 -13
  157. package/src/filiale/yangchunboneng/android/NewCheckpaperAndroid.vue +1362 -1362
  158. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +1731 -1731
  159. package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -1235
  160. package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1336 -1332
  161. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2865 -2845
  162. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -887
  163. package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +8 -13
  164. package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +23 -11
  165. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +9 -9
  166. package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +96 -30
  167. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1192 -1192
  168. package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +54 -3
  169. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +1046 -944
  170. package/src/filiale/yangchunboneng/pc/PaperList.vue +29 -0
  171. package/src/filiale/yongzhou/android/PaperFeedback.vue +1 -1
  172. package/src/filiale/yongzhou/android/SafecheckDevices.vue +1 -1
  173. package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +1 -1
  174. package/src/filiale/yuansheng/android/SafecheckDevices.vue +11 -1
  175. package/src/filiale/yuansheng/pc/NewCheckpaper.vue +10 -2
  176. package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1 -1
  177. package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +1 -1
  178. package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +1 -1
  179. package/src/main-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.js +24 -0
  180. package/src/main.js +33 -33
  181. package/src/safecheck-android.js +307 -296
  182. package/src/safecheck-page.js +12 -0
  183. package/src/safecheck.js +3 -0
@@ -1,160 +1,160 @@
1
- <template>
2
- <div style="width: 100%;height: 100%">
3
- <div class="col-sm-6 form-group" style="margin-bottom: 0px">
4
- <label class="font_normal_body">公&emsp;&emsp;司</label>
5
- <right-tree-safe :width="leftWidth" @re-res="getRes" :resobjprop.sync="resobjprop"></right-tree-safe>
6
- </div>
7
- <div class="col-sm-6 form-group" style="margin-bottom: 0px">
8
- <label class="font_normal_body">{{ roleLable }}</label>
9
- <v-select :value="selVal" v-model='selVal'
10
- :value-single="!valueMultiple"
11
- class="select_list select"
12
- :options='users' :placeholder='roleName'
13
- :close-on-select = 'valueClose'
14
- :multiple="valueMultiple"
15
- :width="rightWidth"
16
- @change="valuechange">
17
- </v-select>
18
- </div>
19
- </div>
20
- </template>
21
-
22
- <script>
23
- import {HttpResetClass} from 'vue-client'
24
-
25
- export default {
26
- name: "RoleSelector",
27
- props: {
28
- valueMultiple: {
29
- type: Boolean,
30
- default: false
31
- },
32
- roleName: {
33
- type: String,
34
- default: '安检员'
35
- },
36
- roleLable: {
37
- type: String,
38
- default: '安检员'
39
- },
40
- leftWidth: {
41
- type: String,
42
- default: '60%'
43
- },
44
- rightWidth: {
45
- type: String,
46
- default: '60%'
47
- },
48
- value: {
49
- default: ''
50
- },
51
- resobjprop: {
52
- default: {}
53
- },
54
- valueClose: {
55
- type: Boolean,
56
- default: true
57
- }
58
- },
59
- data() {
60
- return {
61
- source: `tool.getChildrenOfResName($${this.roleName}$)`,
62
- //source: `root.getResourceById($${this.$login.f.f_orgids.substring(0,this.$login.f.f_orgids.length-1)}$,$organization$).getSpecialResByType($user$).where(row.getAttributes().get($rolesnames$).indexOf($${this.roleName}$) != -1)`,
63
- allUsers: [],
64
- users: [],
65
- selVal: '',
66
- organizationname:this.$login.f.f_fengongsi,
67
- resids: [],
68
- changeval: ''
69
- }
70
- },
71
- watch: {
72
- 'value'(val) {
73
- console.log("969696", val)
74
- if (val) {
75
- if (this.valueMultiple) {
76
-
77
- } else {
78
- this.selVal = val
79
- }
80
-
81
- }
82
- }
83
- },
84
- async ready() {
85
- await this.search()
86
- await this.filterUser(this.resids)
87
- },
88
- methods: {
89
- async search() {
90
- let http = new HttpResetClass()
91
- const res = await http.load('POST', '/rs/search', {
92
- data: {
93
- source: this.source,
94
- userid: this.$login.f.id
95
- }
96
- }, {resolveMsg: null, rejectMsg: null})
97
- this.allUsers = res.data
98
- },
99
- valuechange(val) {
100
- console.log(`val instanceof Array======${!val instanceof Array}`)
101
- if ((typeof val === 'object' && !val instanceof Array) || (val instanceof Event)) {
102
- return
103
- }
104
- if (this.valueMultiple && Array.isArray(val)) {
105
- if (val && val.length > 0) {
106
- let valuesele = `(`
107
- for (let i = 0; i < val.length; i++) {
108
- valuesele += `'${val[i]}',`
109
- }
110
- this.value = valuesele.substring(0, valuesele.length - 1) + ')'
111
- } else {
112
- this.value = ''
113
- }
114
- } else {
115
- this.value = val
116
- }
117
- // this.changeval = val
118
- },
119
- getRes(obj) {
120
- this.resids = obj.resids
121
- this.organizationname = obj.res[0]
122
- this.filterUser(this.resids)
123
- this.$dispatch('re-res', obj)
124
- },
125
- async filterUser(resids) {
126
- // 处理第一次进入页面值异常问题
127
- if (resids.length > 0 && typeof resids[0] == "object") {
128
- resids = resids[0]
129
- }
130
- if (resids[0]) {
131
- this.source = `tool.getChildrenOfResName($${this.roleName}$)`
132
- await this.search()
133
- }
134
- this.users = []
135
- this.allUsers.forEach(user => {
136
- if (this.organizationname == user.organizationname || !user.organizationname){
137
- this.users.push({label: user.name, value: user.name})
138
- }
139
- })
140
- if (!this.valueMultiple && this.users.length > 0) {
141
- this.users = [{label: '全部', value: ''}, ...this.users]
142
- }
143
- let temp = []
144
- this.users = this.users.filter(item => {
145
- if (!temp.includes(item.label)) {
146
- temp.push(item.label)
147
- return true
148
- }
149
- return false
150
- })
151
- this.$emit('alluser', this.allUsers)
152
- //tag
153
- }
154
- }
155
- }
156
- </script>
157
-
158
- <style scoped>
159
-
160
- </style>
1
+ <template>
2
+ <div style="width: 100%;height: 100%">
3
+ <div class="col-sm-6 form-group" style="margin-bottom: 0px">
4
+ <label class="font_normal_body">公&emsp;&emsp;司</label>
5
+ <right-tree-safe :width="leftWidth" @re-res="getRes" :resobjprop.sync="resobjprop"></right-tree-safe>
6
+ </div>
7
+ <div class="col-sm-6 form-group" style="margin-bottom: 0px">
8
+ <label class="font_normal_body">{{ roleLable }}</label>
9
+ <v-select :value="selVal" v-model='selVal'
10
+ :value-single="!valueMultiple"
11
+ class="select_list select"
12
+ :options='users' :placeholder='roleName'
13
+ :close-on-select = 'valueClose'
14
+ :multiple="valueMultiple"
15
+ :width="rightWidth"
16
+ @change="valuechange">
17
+ </v-select>
18
+ </div>
19
+ </div>
20
+ </template>
21
+
22
+ <script>
23
+ import {HttpResetClass} from 'vue-client'
24
+
25
+ export default {
26
+ name: "RoleSelector",
27
+ props: {
28
+ valueMultiple: {
29
+ type: Boolean,
30
+ default: false
31
+ },
32
+ roleName: {
33
+ type: String,
34
+ default: '安检员'
35
+ },
36
+ roleLable: {
37
+ type: String,
38
+ default: '安检员'
39
+ },
40
+ leftWidth: {
41
+ type: String,
42
+ default: '60%'
43
+ },
44
+ rightWidth: {
45
+ type: String,
46
+ default: '60%'
47
+ },
48
+ value: {
49
+ default: ''
50
+ },
51
+ resobjprop: {
52
+ default: {}
53
+ },
54
+ valueClose: {
55
+ type: Boolean,
56
+ default: true
57
+ }
58
+ },
59
+ data() {
60
+ return {
61
+ source: `tool.getChildrenOfResName($${this.roleName}$)`,
62
+ //source: `root.getResourceById($${this.$login.f.f_orgids.substring(0,this.$login.f.f_orgids.length-1)}$,$organization$).getSpecialResByType($user$).where(row.getAttributes().get($rolesnames$).indexOf($${this.roleName}$) != -1)`,
63
+ allUsers: [],
64
+ users: [],
65
+ selVal: '',
66
+ organizationname:this.$login.f.f_fengongsi,
67
+ resids: [],
68
+ changeval: ''
69
+ }
70
+ },
71
+ watch: {
72
+ 'value'(val) {
73
+ console.log("969696", val)
74
+ if (val) {
75
+ if (this.valueMultiple) {
76
+
77
+ } else {
78
+ this.selVal = val
79
+ }
80
+
81
+ }
82
+ }
83
+ },
84
+ async ready() {
85
+ await this.search()
86
+ await this.filterUser(this.resids)
87
+ },
88
+ methods: {
89
+ async search() {
90
+ let http = new HttpResetClass()
91
+ const res = await http.load('POST', '/rs/search', {
92
+ data: {
93
+ source: this.source,
94
+ userid: this.$login.f.id
95
+ }
96
+ }, {resolveMsg: null, rejectMsg: null})
97
+ this.allUsers = res.data
98
+ },
99
+ valuechange(val) {
100
+ console.log(`val instanceof Array======${!val instanceof Array}`)
101
+ if ((typeof val === 'object' && !val instanceof Array) || (val instanceof Event)) {
102
+ return
103
+ }
104
+ if (this.valueMultiple && Array.isArray(val)) {
105
+ if (val && val.length > 0) {
106
+ let valuesele = `(`
107
+ for (let i = 0; i < val.length; i++) {
108
+ valuesele += `'${val[i]}',`
109
+ }
110
+ this.value = valuesele.substring(0, valuesele.length - 1) + ')'
111
+ } else {
112
+ this.value = ''
113
+ }
114
+ } else {
115
+ this.value = val
116
+ }
117
+ // this.changeval = val
118
+ },
119
+ getRes(obj) {
120
+ this.resids = obj.resids
121
+ this.organizationname = obj.res[0]
122
+ this.filterUser(this.resids)
123
+ this.$dispatch('re-res', obj)
124
+ },
125
+ async filterUser(resids) {
126
+ // 处理第一次进入页面值异常问题
127
+ if (resids.length > 0 && typeof resids[0] == "object") {
128
+ resids = resids[0]
129
+ }
130
+ if (resids[0]) {
131
+ this.source = `tool.getChildrenOfResName($${this.roleName}$)`
132
+ await this.search()
133
+ }
134
+ this.users = []
135
+ this.allUsers.forEach(user => {
136
+ if (this.organizationname == user.organizationname || !user.organizationname){
137
+ this.users.push({label: user.name, value: user.name})
138
+ }
139
+ })
140
+ if (!this.valueMultiple && this.users.length > 0) {
141
+ this.users = [{label: '全部', value: ''}, ...this.users]
142
+ }
143
+ let temp = []
144
+ this.users = this.users.filter(item => {
145
+ if (!temp.includes(item.label)) {
146
+ temp.push(item.label)
147
+ return true
148
+ }
149
+ return false
150
+ })
151
+ this.$emit('alluser', this.allUsers)
152
+ //tag
153
+ }
154
+ }
155
+ }
156
+ </script>
157
+
158
+ <style scoped>
159
+
160
+ </style>
@@ -174,6 +174,14 @@
174
174
  <p class="panel-title col-xs-4 text-left font">最后安检状态</p>
175
175
  <p class="panel-title col-xs-8 text-left input-font">{{ row.f_last_check_state }}</p>
176
176
  </div>
177
+ <div class="row">
178
+ <p class="panel-title col-xs-4 text-left font">表具状态</p>
179
+ <p class="panel-title col-xs-8 text-left input-font">{{ row.f_table_state }}</p>
180
+ </div>
181
+ <div class="row" v-if="row.f_table_state = '停用'">
182
+ <p class="panel-title col-xs-4 text-left font">原因</p>
183
+ <p class="panel-title col-xs-8 text-left input-font">{{ row.f_table_state }}</p>
184
+ </div>
177
185
  </div>
178
186
  </div>
179
187
 
@@ -77,6 +77,20 @@
77
77
  </ol>
78
78
  </div>
79
79
  </div>
80
+ <div class="form-group col-sm-12 col-xs-12 col-md-12 info" :class="style__">
81
+ <div class="text-center">
82
+ <label class="font">客户意见反馈:</label>
83
+ </div>
84
+ <div class="col-md-12 col-sm-12 col-xs-12">
85
+ <ol class="showIi">
86
+ <li>检查说明:</li>
87
+ <li>1.已对客户燃气设施进行了安全检查</li>
88
+ <li>2.已对客户进行了安全用气知识宣传,并发放宣传资料</li>
89
+ <li>3.已对客户资料进行了登记</li>
90
+ <li>4.已向隐患用户告知说明隐患整改项目,并充分向用户告知了存在的隐患内容及注意事项,用户已获悉其中的内容</li>
91
+ </ol>
92
+ </div>
93
+ </div>
80
94
  <div class="form-group col-sm-12 col-xs-12 col-md-12 " :class="style__">
81
95
  <input type="checkbox" v-model="paper.f_read_instructions"/><label class="text-left font">我已阅读须知内容</label>
82
96
 
@@ -172,6 +186,10 @@
172
186
  </div>
173
187
 
174
188
  </div>
189
+ <div class="form-group col-sm-12 col-xs-12 col-md-12 ">
190
+ <label class="text-left font">隐患整改通知单单号</label>
191
+ <input v-model="paper.f_repairorder_id" :value="paper.f_repairorder_id" type="text">
192
+ </div>
175
193
  <div class="form-group col-sm-12 col-xs-12 col-md-12 ">
176
194
  <label class="text-left font">副操</label>
177
195
  <v-select
@@ -338,7 +356,7 @@
338
356
  </div>
339
357
  </modal>
340
358
 
341
- <!--停用框-->
359
+ <!--停用框-->
342
360
  <modal :show.sync="showTYModel" v-ref:modal>
343
361
  <div slot="modal-header" class="modal-header">
344
362
  <h4 class="modal-title">
@@ -592,55 +610,55 @@ export default {
592
610
  methods: {
593
611
  //对用户停用
594
612
  async backlistTY() {
595
- if (!this.tyCause) {
596
- this.$showMessage("请填写停用原因!")
597
- return
598
- }
599
- let http = new HttpResetClass()
600
- let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/safe_singleTable_OrderBy`, {
601
- data: {
602
- items: "f_userfiles_id,version",
603
- tablename: "t_userfiles",
604
- condition: "f_table_state in ('正常','停用','封堵') and f_userinfo_id= '" + this.paper.f_userinfoid + "'",
605
- orderitem: "f_userfiles_id"
606
- }
607
- }, {resolveMsg: null, rejectMsg: null})
608
- if (res2.data.length==0){
609
- this.$showMessage('已成功停用')
610
- this.showTYModel = false
611
- return
612
- }
613
- let data = {
614
- f_userfiles_id: {
615
- f_userfiles_id: res2.data[0].f_userfiles_id,
616
- f_table_state: '停用',
617
- version: res2.data[0].version
618
- },
619
- f_userfile_id: res2.data[0].f_userfiles_id,
620
- f_user_id: this.paper.f_userinfo_code,
621
- f_userinfo_id: "'"+this.paper.f_userinfoid+"'",
622
- f_user_name: this.paper.f_user_name,
623
- f_othereason: this.tyCause,
624
- f_operat_type: '停用',
625
- f_describe: `${Vue.user.name}对客户${this.paper.f_user_name}进行停用操作`,
626
- f_state: '有效',
627
- f_user_phone: this.paper.f_user_phone,
628
- f_operator: Vue.user.name,
629
- f_operatorid: Vue.user.id,
630
- f_orgid: Vue.user.orgid,
631
- f_orgname: Vue.user.orgs,
632
- f_depid: Vue.user.depids,
633
- f_depname: Vue.user.deps,
634
- f_zoneid: Vue.user.zoneid,
635
- f_zones: Vue.user.zones
613
+ if (!this.tyCause) {
614
+ this.$showMessage("请填写停用原因!")
615
+ return
616
+ }
617
+ let http = new HttpResetClass()
618
+ let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/safe_singleTable_OrderBy`, {
619
+ data: {
620
+ items: "f_userfiles_id,version",
621
+ tablename: "t_userfiles",
622
+ condition: "f_table_state in ('正常','停用','封堵') and f_userinfo_id= '" + this.paper.f_userinfoid + "'",
623
+ orderitem: "f_userfiles_id"
636
624
  }
637
- new HttpResetClass().load('post',`${this.$androidUtil.getProxyUrl()}/rs/entity/t_disable`,
638
- data, {resolveMsg: null, rejectMsg: null}).then((row) => {
639
- this.$showMessage('已成功停用')
640
- this.paper.f_table_state = '停用'
641
- this.$parent.$parent.data.f_table_state = '停用'
642
- this.showTYModel = false
643
- })
625
+ }, {resolveMsg: null, rejectMsg: null})
626
+ if (res2.data.length==0){
627
+ this.$showMessage('已成功停用')
628
+ this.showTYModel = false
629
+ return
630
+ }
631
+ let data = {
632
+ f_userfiles_id: {
633
+ f_userfiles_id: res2.data[0].f_userfiles_id,
634
+ f_table_state: '停用',
635
+ version: res2.data[0].version
636
+ },
637
+ f_userfile_id: res2.data[0].f_userfiles_id,
638
+ f_user_id: this.paper.f_userinfo_code,
639
+ f_userinfo_id: "'"+this.paper.f_userinfoid+"'",
640
+ f_user_name: this.paper.f_user_name,
641
+ f_othereason: this.tyCause,
642
+ f_operat_type: '停用',
643
+ f_describe: `${Vue.user.name}对客户${this.paper.f_user_name}进行停用操作`,
644
+ f_state: '有效',
645
+ f_user_phone: this.paper.f_user_phone,
646
+ f_operator: Vue.user.name,
647
+ f_operatorid: Vue.user.id,
648
+ f_orgid: Vue.user.orgid,
649
+ f_orgname: Vue.user.orgs,
650
+ f_depid: Vue.user.depids,
651
+ f_depname: Vue.user.deps,
652
+ f_zoneid: Vue.user.zoneid,
653
+ f_zones: Vue.user.zones
654
+ }
655
+ new HttpResetClass().load('post',`${this.$androidUtil.getProxyUrl()}/rs/entity/t_disable`,
656
+ data, {resolveMsg: null, rejectMsg: null}).then((row) => {
657
+ this.$showMessage('已成功停用')
658
+ this.paper.f_table_state = '停用'
659
+ this.$parent.$parent.data.f_table_state = '停用'
660
+ this.showTYModel = false
661
+ })
644
662
  },
645
663
  //停用取消按钮
646
664
  tyCancel() {
@@ -707,7 +725,6 @@ export default {
707
725
  HostApp.__this__ = null
708
726
  },
709
727
  takePic(prop, title, index) {
710
- const obj = HostApp.getGpsDetailAddress()
711
728
  HostApp.__callback__ = this.cameraCallBack
712
729
  HostApp.__this__ = this
713
730
  ////tag
@@ -728,6 +745,7 @@ export default {
728
745
  }
729
746
  let jingweidu = ''
730
747
  if (this.$parent.$parent.is_has_jingweidu == 'true'){
748
+ const obj = HostApp.getGpsDetailAddress()
731
749
  jingweidu = '\t经度:' + obj.longitude+ '\t纬度:' + obj.latitude
732
750
  }
733
751
  HostApp._open_a_page({
@@ -285,21 +285,21 @@
285
285
  :options="deviceBrandOption[row.f_devices_type]"
286
286
  close-on-select value-single></v-select> -->
287
287
  </div>
288
- <div class="row auto" style="margin: 5px 0">
289
- <label class="righttxt">设备型号:</label>
290
- <input type="text" class="form-control rightipt" v-model="row.f_devices_model" />
291
- </div>
292
- <div class="row auto" style="margin: 5px 0">
293
- <label class="righttxt">生产日期:</label>
294
- <!--<input type="text" class="form-control rightipt" v-model="row.f_make_date" />-->
295
- <datepicker class="rightipt" :value.sync="row.f_make_date" v-model="row.f_make_date"
296
- :disabled-days-of-Week="[]" :format="'yyyy-MM-dd'" :show-reset-button="reset" readonly="readonly">
297
- </datepicker>
298
- </div>
299
- <div class="row auto" style="margin: 5px 0">
300
- <label class="righttxt">使用年限:</label><input type="number" class="form-control rightipt"
301
- v-model="row.f_service_life" />
302
- </div>
288
+ <!-- <div class="row auto" style="margin: 5px 0">-->
289
+ <!-- <label class="righttxt">设备型号:</label>-->
290
+ <!-- <input type="text" class="form-control rightipt" v-model="row.f_devices_model" />-->
291
+ <!-- </div>-->
292
+ <!-- <div class="row auto" style="margin: 5px 0">-->
293
+ <!-- <label class="righttxt">生产日期:</label>-->
294
+ <!-- &lt;!&ndash;<input type="text" class="form-control rightipt" v-model="row.f_make_date" />&ndash;&gt;-->
295
+ <!-- <datepicker class="rightipt" :value.sync="row.f_make_date" v-model="row.f_make_date"-->
296
+ <!-- :disabled-days-of-Week="[]" :format="'yyyy-MM-dd'" :show-reset-button="reset" readonly="readonly">-->
297
+ <!-- </datepicker>-->
298
+ <!-- </div>-->
299
+ <!-- <div class="row auto" style="margin: 5px 0">-->
300
+ <!-- <label class="righttxt">使用年限:</label><input type="number" class="form-control rightipt"-->
301
+ <!-- v-model="row.f_service_life" />-->
302
+ <!-- </div>-->
303
303
  <!-- <div class="row auto" style="margin: 5px 0">
304
304
  <label class="righttxt">到期日期:</label>
305
305
  &lt;!&ndash;<input type="text" class="form-control rightipt" v-model="row.f_expire_date" />&ndash;&gt;
@@ -311,31 +311,31 @@
311
311
  :show-reset-button="reset" readonly="readonly">
312
312
  </datepicker>
313
313
  </div>-->
314
- <div class="row auto" style="margin: 5px 0">
315
- <label class="righttxt">安&ensp;装&ensp;人:</label><input type="text" class="form-control rightipt"
316
- v-model="row.f_input_person" />
317
- </div>
318
- <div class="row auto" style="margin: 5px 0">
319
- <label class="righttxt">安装日期:</label>
320
- <!--<input type="text" class="form-control rightipt" v-model="row.f_input_date" />-->
321
- <datepicker class="rightipt" :value.sync="row.f_input_date" v-model="row.f_input_date"
322
- :disabled-days-of-Week="[]" :format="'yyyy-MM-dd'" :show-reset-button="reset" readonly="readonly">
323
- </datepicker>
324
- </div>
325
- <div class="row auto" style="margin: 5px 0">
326
- <label class="righttxt">设备数量:</label><input type="number" class="form-control rightipt"
327
- v-model="row.f_devices_num" />
328
- </div>
329
- <div class="row auto" style="margin: 5px 0">
330
- <label class="righttxt">管道类型:</label>
331
- <v-select class="rightipt" :value.sync="row.f_pipe_type"
332
- v-model="row.f_pipe_type"
333
- placeholder='请选择管道类型'
334
- :width='wid'
335
- readonly
336
- :options="pipetypes"
337
- close-on-select value-single></v-select>
338
- </div>
314
+ <!-- <div class="row auto" style="margin: 5px 0">-->
315
+ <!-- <label class="righttxt">安&ensp;装&ensp;人:</label><input type="text" class="form-control rightipt"-->
316
+ <!-- v-model="row.f_input_person" />-->
317
+ <!-- </div>-->
318
+ <!-- <div class="row auto" style="margin: 5px 0">-->
319
+ <!-- <label class="righttxt">安装日期:</label>-->
320
+ <!-- &lt;!&ndash;<input type="text" class="form-control rightipt" v-model="row.f_input_date" />&ndash;&gt;-->
321
+ <!-- <datepicker class="rightipt" :value.sync="row.f_input_date" v-model="row.f_input_date"-->
322
+ <!-- :disabled-days-of-Week="[]" :format="'yyyy-MM-dd'" :show-reset-button="reset" readonly="readonly">-->
323
+ <!-- </datepicker>-->
324
+ <!-- </div>-->
325
+ <!-- <div class="row auto" style="margin: 5px 0">-->
326
+ <!-- <label class="righttxt">设备数量:</label><input type="number" class="form-control rightipt"-->
327
+ <!-- v-model="row.f_devices_num" />-->
328
+ <!-- </div>-->
329
+ <!-- <div class="row auto" style="margin: 5px 0">-->
330
+ <!-- <label class="righttxt">管道类型:</label>-->
331
+ <!-- <v-select class="rightipt" :value.sync="row.f_pipe_type"-->
332
+ <!-- v-model="row.f_pipe_type"-->
333
+ <!-- placeholder='请选择管道类型'-->
334
+ <!-- :width='wid'-->
335
+ <!-- readonly-->
336
+ <!-- :options="pipetypes"-->
337
+ <!-- close-on-select value-single></v-select>-->
338
+ <!-- </div>-->
339
339
  <!--<div class="row auto" style="margin: 5px 0">
340
340
  <label class="righttxt">设备状态:</label><input type="text" class="form-control rightipt" readonly v-model="row.f_userinfodevices_state" />
341
341
  </div>-->
@@ -430,7 +430,6 @@ export default {
430
430
  if (this.role == 'androidview') {
431
431
  return
432
432
  }
433
- const obj = HostApp.getGpsDetailAddress()
434
433
  HostApp.__callback__ = this.cameraCallBack
435
434
  HostApp.__this__ = this
436
435
  //tag
@@ -450,6 +449,7 @@ export default {
450
449
  }
451
450
  let jingweidu = ''
452
451
  if (this.$parent.$parent.is_has_jingweidu == 'true'){
452
+ const obj = HostApp.getGpsDetailAddress()
453
453
  jingweidu = '\t经度:' + obj.longitude+ '\t纬度:' + obj.latitude
454
454
  }
455
455
  //tag