apply-clients 3.4.98-2 → 3.4.98-21

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 (73) hide show
  1. package/build/dev-server.js +2 -10
  2. package/package.json +3 -2
  3. package/src/App.vue +6 -11
  4. package/src/applyAndroid.js +1 -0
  5. package/src/components/android/AppSign.vue +9 -10
  6. package/src/components/android/Ignition/VentilationIgnition.vue +312 -312
  7. package/src/components/android/Ignition/VentilationIgnitionHandle.vue +353 -353
  8. package/src/components/android/Process/AppServiceControl.vue +1738 -1734
  9. package/src/components/product/ApplyCharge/ApplyChargeList.vue +476 -476
  10. package/src/components/product/Function/InstallInfoSelect.vue +326 -326
  11. package/src/components/product/Ignition/IgnitionListManage.vue +420 -420
  12. package/src/components/product/Install/ContractCharge.vue +210 -210
  13. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  14. package/src/components/product/Material/Materiallist.vue +74 -74
  15. package/src/components/product/Material/Materialmanger.vue +58 -58
  16. package/src/components/product/Process/ExplorationSelect.vue +491 -491
  17. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +203 -203
  18. package/src/components/product/Process/Service/ServiceControl.vue +2 -2
  19. package/src/components/product/Process/ShowBackReason.vue +40 -40
  20. package/src/components/product/Stop/StopApplyList.vue +278 -278
  21. package/src/components/product/Supervisory/SupervisoryControl.vue +140 -140
  22. package/src/components/product/Supervisory/SupervisoryList.vue +27 -0
  23. package/src/filiale/gongyi/pc/ServiceControl.vue +1926 -0
  24. package/src/filiale/gongyi/pc.js +6 -0
  25. package/src/filiale/guzhou/pc/ServiceControl.vue +1926 -0
  26. package/src/filiale/guzhou/pc.js +6 -0
  27. package/src/filiale/hongda/pc/FunctionServiceControl.vue +21 -0
  28. package/src/filiale/hongda/pc/printChargepc.vue +114 -114
  29. package/src/filiale/hongda/pc/printactivatecard.vue +151 -151
  30. package/src/filiale/hongda/pc/printrefit.vue +3 -1
  31. package/src/filiale/huayinyihua/pc/StopApplyList.vue +271 -0
  32. package/src/filiale/huayinyihua/pc/SupervisoryList.vue +363 -0
  33. package/src/filiale/huayinyihua/pc.js +7 -0
  34. package/src/filiale/linzhou/pc/ApplyChargeList.vue +486 -486
  35. package/src/filiale/linzhou/pc/ServiceControl.vue +1968 -1968
  36. package/src/filiale/linzhou/pc/devicesManagement.vue +494 -494
  37. package/src/filiale/linzhou/pc.js +10 -10
  38. package/src/filiale/qianneng/android/AppAddMaterialScience.vue +477 -477
  39. package/src/filiale/qianneng/android/AppExplorationUser.vue +447 -447
  40. package/src/filiale/qianneng/android/AppServiceControl.vue +1608 -1608
  41. package/src/filiale/qianneng/android/AppServiceView.vue +761 -761
  42. package/src/filiale/qianneng/android/AppSign.vue +152 -152
  43. package/src/filiale/qianneng/android/AppTakePic.vue +140 -140
  44. package/src/filiale/qianneng/android.js +12 -12
  45. package/src/filiale/qianneng/pc/ApplyUpload.vue +290 -290
  46. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +685 -685
  47. package/src/filiale/qianneng/pc/ExplorationUser.vue +189 -189
  48. package/src/filiale/qianneng/pc/InstallationDetails.vue +561 -561
  49. package/src/filiale/qianneng/pc/ServiceView.vue +1118 -1118
  50. package/src/filiale/qianneng/pc/SupervisoryList.vue +344 -344
  51. package/src/filiale/qianneng/pc/SupervisoryhCart.vue +127 -127
  52. package/src/filiale/qianneng/pc/addMaterialScience.vue +464 -464
  53. package/src/filiale/qianneng/pc/addressAndUserinfoManagement.vue +389 -389
  54. package/src/filiale/qianneng/pc/devicesManagement.vue +484 -484
  55. package/src/filiale/qianneng/pc/printactivatecard.vue +295 -295
  56. package/src/filiale/qianneng/pc.js +26 -26
  57. package/src/filiale/yangchunboneng/android/AppAddMaterialScience.vue +390 -0
  58. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +108 -0
  59. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +552 -0
  60. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +507 -0
  61. package/src/filiale/yangchunboneng/android/chargesList.vue +173 -0
  62. package/src/filiale/yangchunboneng/android.js +6 -0
  63. package/src/filiale/yangchunboneng/pc/ApplyChargeList.vue +594 -546
  64. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +375 -375
  65. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +469 -469
  66. package/src/filiale/yangchunboneng/pc/InstallInfoSelect.vue +364 -357
  67. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +1739 -1734
  68. package/src/filiale/yangchunboneng/pc/ServiceView.vue +1004 -0
  69. package/src/filiale/yangchunboneng/pc/addMaterialScience.vue +374 -0
  70. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +955 -1011
  71. package/src/filiale/yangchunboneng/pc/devicesManagement.vue +511 -0
  72. package/src/filiale/yangchunboneng/pc.js +16 -13
  73. package/src/main.js +1 -1
@@ -1,353 +1,353 @@
1
- <template>
2
- <div class="form-horizontal select-overspread p-10">
3
- <validator name="v1" v-if="selectdata.f_process_id !== null">
4
- <div class="col-xs-12 form-group app-input auto">
5
- <label class="control-label-justify">用户编号</label>
6
- <div class="col-xs-8">
7
- <input class="" style="width: 100%" type="input"
8
- v-model="selectdata.f_userinfo_id"
9
- :value="selectdata.f_userinfo_id"
10
- :readonly="true"
11
- />
12
- </div>
13
- </div>
14
- <div class="col-xs-12 form-group app-input auto">
15
- <label class="control-label-justify">用户名</label>
16
- <div class="col-xs-8">
17
- <input class="" style="width: 100%" type="input"
18
- v-model="selectdata.f_user_name"
19
- :value="selectdata.f_user_name"
20
- :readonly="true"
21
- />
22
- </div>
23
- </div>
24
- <div class="col-xs-12 form-group app-input auto">
25
- <label class="control-label-justify">电话</label>
26
- <div class="col-xs-8">
27
- <input class="" style="width: 100%" type="input"
28
- v-model="selectdata.f_user_phone"
29
- :value="selectdata.f_user_phone"
30
- :readonly="true"
31
- />
32
- </div>
33
- </div>
34
- <div class="col-xs-12 form-group app-input auto">
35
- <label class="control-label-justify">地址</label>
36
- <div class="col-xs-8">
37
- <input class="" style="width: 100%" type="input"
38
- v-model="selectdata.f_address + selectdata.f_address_detail"
39
- :readonly="true"
40
- />
41
- </div>
42
- </div>
43
- <div class="col-xs-12 form-group app-input auto">
44
- <label class="control-label-justify">派单时间</label>
45
- <div class="col-xs-8">
46
- <input class="" style="width: 100%" type="input"
47
- v-model="selectdata.f_date"
48
- :value="selectdata.f_date"
49
- :readonly="true"
50
- />
51
- </div>
52
- </div>
53
- <div class="col-xs-12 form-group app-input auto">
54
- <label class="control-label-justify">表号</label>
55
- <div class="col-xs-8">
56
- <input class="" style="width: 100%" type="input"
57
- v-model="selectdata.f_meternumber"
58
- :value="selectdata.f_meternumber"
59
- :readonly="true"
60
- />
61
- </div>
62
- </div>
63
- <div class="col-xs-12 form-group app-input auto">
64
- <label class="control-label-justify">气表分类</label>
65
- <div class="col-xs-8">
66
- <input class="" style="width: 100%" type="input"
67
- v-model="selectdata.f_meter_classify"
68
- :value="selectdata.f_meter_classify"
69
- :readonly="true"
70
- />
71
- </div>
72
- </div>
73
- <div class="col-xs-12 form-group app-input auto">
74
- <label class="control-label-justify">气表品牌</label>
75
- <div class="col-xs-8">
76
- <input class="" style="width: 100%" type="input"
77
- v-model="selectdata.f_meter_brand"
78
- :value="selectdata.f_meter_brand"
79
- :readonly="true"
80
- />
81
- </div>
82
- </div>
83
- <div class="col-xs-12 form-group app-input auto">
84
- <label class="control-label-justify">气表型号</label>
85
- <div class="col-xs-8">
86
- <input class="" style="width: 100%" type="input"
87
- v-model="selectdata.f_meter_style"
88
- :value="selectdata.f_meter_style"
89
- :readonly="true"
90
- />
91
- </div>
92
- </div>
93
- <div class="col-xs-12 form-group app-input auto">
94
- <label class="control-label-justify">有无隐患</label>
95
- <div class="col-xs-8">
96
- <input-select
97
- class="select select_list"
98
- :value.sync="model.f_ignition_trouble"
99
- v-model="model.f_ignition_trouble"
100
- :options="ignition_trouble"
101
- :valueSingle="true"></input-select>
102
- </div>
103
- </div>
104
- <div class="col-xs-12 form-group app-input auto">
105
- <label class="control-label-justify">点火备注</label>
106
- <div class="col-xs-8">
107
- <input class="" style="width: 100%" type="input"
108
- v-model="model.f_ignition_remarks"
109
- :value="model.f_ignition_remarks"
110
- :readonly="false"
111
- />
112
- </div>
113
- </div>
114
- <div class="col-xs-12 auto">
115
- <accordion one-at-a-time="true">
116
- <panel header="拍照" :is-open="false" type="primary">
117
- <app-take-pic
118
- :blobid="selectdata.f_blobid"
119
- :defname="selectdata.defname"
120
- :isdelete="true"
121
- :istakepic="true"
122
- :istype="true">
123
-
124
- </app-take-pic>
125
- </panel>
126
- </accordion>
127
- </div>
128
- <div class="col-xs-12 auto">
129
- <accordion one-at-a-time="true">
130
- <panel header="用户签字" :is-open="false" type="primary">
131
- <survey-user-sign
132
- :title="'用户签字'"
133
- :selectdata="selectdata">
134
- </survey-user-sign>
135
- </panel>
136
- </accordion>
137
- </div>
138
- <div class="col-xs-12 form-group auto">
139
- <button style="width: 100%" class="btn btn-warning" :disabled="!$v1.valid" @click.prevent="saveApplyVentilate">保存</button>
140
- <button v-if="model.f_ignition_trouble === '有隐患'" style="width: 100%" class="btn btn-danger" :disabled="!$v1.valid" @click.prevent="cleanTrouble">消除隐患</button>
141
- <button style="width: 100%" class="btn btn-success" :disabled="!$v1.valid" @click.prevent="applyVentilate">提交</button>
142
- </div>
143
- </validator>
144
- </div>
145
-
146
- <validator name="v">
147
- </validator>
148
- </template>
149
- <script>
150
- import {HttpResetClass, PagedList} from 'vue-client'
151
- import Vue from 'vue'
152
- import {isEmpty} from '../../Util'
153
-
154
- export default {
155
- title: '通气点火',
156
- props: ['selectdata'],
157
- data () {
158
- return {
159
- showModal: false,
160
- type: null,
161
- reason: null,
162
- boxReason: null,
163
- reasonOptions:[{label: '具备通气条件', value: '具备通气条件'}],
164
- model: {
165
- f_ignition_trouble: '',
166
- f_ignition_remarks: ''
167
- },
168
- ignition_trouble:[{label: '有隐患', value: '有隐患'}, {label: '无隐患', value: '无隐患'}]
169
- }
170
- },
171
- ready () {
172
- this.search()
173
- },
174
- methods: {
175
- changeAllChecked(){
176
- if (this.boxReason){
177
- this.reason = this.reasonOptions[0].value
178
- }else {
179
- this.reason = ''
180
- }
181
- },
182
- async applyVentilate () {
183
- if (this.model.f_ignition_trouble === '有隐患'){
184
- this.$showMessage("隐患未消除,无法提交")
185
- return
186
- }
187
- let http = new HttpResetClass()
188
- let data = {
189
- selectdata: this.selectdata,
190
- user: Vue.user
191
- }
192
-
193
- let res = await http.load(
194
- 'POST',
195
- `${this.$androidUtil.getProxyUrl()}/rs/logic/applyVentilate`,
196
- {data: data},
197
- {resolveMsg: null, rejectMsg: `操作失败!!!`}
198
- )
199
-
200
- // 返回上层
201
- this.$dispatch('confirm')
202
- },
203
- async saveApplyVentilate () {
204
- let http = new HttpResetClass()
205
- let data = {
206
- selectdata: this.selectdata,
207
- user: Vue.user,
208
- model:this.model
209
- }
210
-
211
- let res = await http.load(
212
- 'POST',
213
- `${this.$androidUtil.getProxyUrl()}/rs/logic/saveApplyVentilate`,
214
- {data: data},
215
- {resolveMsg: null, rejectMsg: `操作失败!!!`}
216
- )
217
-
218
- // 刷新
219
- this.$dispatch('confirm')
220
- },
221
- async cleanTrouble () {
222
- let http = new HttpResetClass()
223
- let data = {
224
- selectdata: this.selectdata,
225
- model:this.model
226
- }
227
-
228
- let res = await http.load(
229
- 'POST',
230
- `${this.$androidUtil.getProxyUrl()}/rs/logic/cleanTrouble`,
231
- {data: data},
232
- {resolveMsg: null, rejectMsg: `清除隐患操作失败!!!`}
233
- )
234
-
235
- // 返回上层
236
- this.$dispatch('confirm')
237
- },
238
- async search(){
239
- let data = {
240
- tablename: 't_ignition_record',
241
- condition: `f_userinfo_id = '${this.selectdata.f_userinfo_id}'`
242
- }
243
- let http = new HttpResetClass()
244
- let res = await http.load(
245
- 'POST',
246
- `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`,
247
- {data: data},
248
- {resolveMsg: null, rejectMsg: '点火记录查询失败!!!'}
249
- )
250
- if (res.data.length > 0) {
251
- this.model.f_ignition_trouble = res.data[0].f_ignition_trouble
252
- this.model.f_ignition_remarks = res.data[0].f_ignition_remarks
253
- }
254
- }
255
- },
256
- events: {
257
- },
258
- watch: {
259
- },
260
- computed: {
261
- }
262
- }
263
- </script>
264
- <style scoped>
265
- .apply-has-error {
266
- border-bottom: 1px solid #a94442;
267
- }
268
- .control-label-justify {
269
- width: 30%;
270
- text-align: justify;
271
- text-align-last: justify;
272
- font-family: PingFang-SC-Bold;
273
- float: left;
274
- }
275
- textarea {
276
- padding: 8px 10px;
277
- outline: none;
278
- margin: 0px;
279
- background: #FFF;
280
- border: 1px solid #ccc;
281
- }
282
- textarea[readonly]{
283
- color: #ACA899!important;
284
- background: #FFFFFF;
285
- border: none;
286
- outline: none;
287
- }
288
- textarea:disabled{
289
- color: #ACA899!important;
290
- background: #FFFFFF;
291
- border: none;
292
- outline: none;
293
- }
294
- .button_spacing{margin: 0px 0px 0px 10px;}
295
- </style>
296
- <style lang="less">
297
- .apply-has-error {
298
- border-bottom: 1px solid #a94442;
299
- }
300
- .app-input {
301
- label {
302
- float: left;
303
- }
304
- .select {
305
- button {
306
- border: none;
307
- outline: none;
308
- text-align: left;
309
- .btn-placeholder {
310
- color: #ACA899
311
- }
312
- }
313
- }
314
- .datepicker {
315
- .form-control:focus {
316
- border: none!important;
317
- outline: none!important;
318
- -webkit-box-shadow: none;
319
- box-shadow: none;
320
- }
321
- }
322
- textarea {
323
- padding: 8px 10px;
324
- border: none;
325
- outline: none;
326
- margin: 0px;
327
- }
328
- input[readonly]{
329
- color: #ACA899!important;
330
- background: #FFFFFF;
331
- border: none;
332
- outline: none;
333
- }
334
- input:disabled{
335
- color: #ACA899!important;
336
- background: #FFFFFF;
337
- border: none;
338
- outline: none;
339
- }
340
- textarea[readonly]{
341
- color: #ACA899!important;
342
- background: #FFFFFF;
343
- border: none;
344
- outline: none;
345
- }
346
- textarea:disabled{
347
- color: #ACA899!important;
348
- background: #FFFFFF;
349
- border: none;
350
- outline: none;
351
- }
352
- }
353
- </style>
1
+ <template>
2
+ <div class="form-horizontal select-overspread p-10">
3
+ <validator name="v1" v-if="selectdata.f_process_id !== null">
4
+ <div class="col-xs-12 form-group app-input auto">
5
+ <label class="control-label-justify">用户编号</label>
6
+ <div class="col-xs-8">
7
+ <input class="" style="width: 100%" type="input"
8
+ v-model="selectdata.f_userinfo_id"
9
+ :value="selectdata.f_userinfo_id"
10
+ :readonly="true"
11
+ />
12
+ </div>
13
+ </div>
14
+ <div class="col-xs-12 form-group app-input auto">
15
+ <label class="control-label-justify">用户名</label>
16
+ <div class="col-xs-8">
17
+ <input class="" style="width: 100%" type="input"
18
+ v-model="selectdata.f_user_name"
19
+ :value="selectdata.f_user_name"
20
+ :readonly="true"
21
+ />
22
+ </div>
23
+ </div>
24
+ <div class="col-xs-12 form-group app-input auto">
25
+ <label class="control-label-justify">电话</label>
26
+ <div class="col-xs-8">
27
+ <input class="" style="width: 100%" type="input"
28
+ v-model="selectdata.f_user_phone"
29
+ :value="selectdata.f_user_phone"
30
+ :readonly="true"
31
+ />
32
+ </div>
33
+ </div>
34
+ <div class="col-xs-12 form-group app-input auto">
35
+ <label class="control-label-justify">地址</label>
36
+ <div class="col-xs-8">
37
+ <input class="" style="width: 100%" type="input"
38
+ v-model="selectdata.f_address + selectdata.f_address_detail"
39
+ :readonly="true"
40
+ />
41
+ </div>
42
+ </div>
43
+ <div class="col-xs-12 form-group app-input auto">
44
+ <label class="control-label-justify">派单时间</label>
45
+ <div class="col-xs-8">
46
+ <input class="" style="width: 100%" type="input"
47
+ v-model="selectdata.f_date"
48
+ :value="selectdata.f_date"
49
+ :readonly="true"
50
+ />
51
+ </div>
52
+ </div>
53
+ <div class="col-xs-12 form-group app-input auto">
54
+ <label class="control-label-justify">表号</label>
55
+ <div class="col-xs-8">
56
+ <input class="" style="width: 100%" type="input"
57
+ v-model="selectdata.f_meternumber"
58
+ :value="selectdata.f_meternumber"
59
+ :readonly="true"
60
+ />
61
+ </div>
62
+ </div>
63
+ <div class="col-xs-12 form-group app-input auto">
64
+ <label class="control-label-justify">气表分类</label>
65
+ <div class="col-xs-8">
66
+ <input class="" style="width: 100%" type="input"
67
+ v-model="selectdata.f_meter_classify"
68
+ :value="selectdata.f_meter_classify"
69
+ :readonly="true"
70
+ />
71
+ </div>
72
+ </div>
73
+ <div class="col-xs-12 form-group app-input auto">
74
+ <label class="control-label-justify">气表品牌</label>
75
+ <div class="col-xs-8">
76
+ <input class="" style="width: 100%" type="input"
77
+ v-model="selectdata.f_meter_brand"
78
+ :value="selectdata.f_meter_brand"
79
+ :readonly="true"
80
+ />
81
+ </div>
82
+ </div>
83
+ <div class="col-xs-12 form-group app-input auto">
84
+ <label class="control-label-justify">气表型号</label>
85
+ <div class="col-xs-8">
86
+ <input class="" style="width: 100%" type="input"
87
+ v-model="selectdata.f_meter_style"
88
+ :value="selectdata.f_meter_style"
89
+ :readonly="true"
90
+ />
91
+ </div>
92
+ </div>
93
+ <div class="col-xs-12 form-group app-input auto">
94
+ <label class="control-label-justify">有无隐患</label>
95
+ <div class="col-xs-8">
96
+ <input-select
97
+ class="select select_list"
98
+ :value.sync="model.f_ignition_trouble"
99
+ v-model="model.f_ignition_trouble"
100
+ :options="ignition_trouble"
101
+ :valueSingle="true"></input-select>
102
+ </div>
103
+ </div>
104
+ <div class="col-xs-12 form-group app-input auto">
105
+ <label class="control-label-justify">点火备注</label>
106
+ <div class="col-xs-8">
107
+ <input class="" style="width: 100%" type="input"
108
+ v-model="model.f_ignition_remarks"
109
+ :value="model.f_ignition_remarks"
110
+ :readonly="false"
111
+ />
112
+ </div>
113
+ </div>
114
+ <div class="col-xs-12 auto">
115
+ <accordion one-at-a-time="true">
116
+ <panel header="拍照" :is-open="false" type="primary">
117
+ <app-take-pic
118
+ :blobid="selectdata.f_blobid"
119
+ :defname="selectdata.defname"
120
+ :isdelete="true"
121
+ :istakepic="true"
122
+ :istype="true">
123
+
124
+ </app-take-pic>
125
+ </panel>
126
+ </accordion>
127
+ </div>
128
+ <div class="col-xs-12 auto">
129
+ <accordion one-at-a-time="true">
130
+ <panel header="用户签字" :is-open="false" type="primary">
131
+ <survey-user-sign
132
+ :title="'用户签字'"
133
+ :selectdata="selectdata">
134
+ </survey-user-sign>
135
+ </panel>
136
+ </accordion>
137
+ </div>
138
+ <div class="col-xs-12 form-group auto">
139
+ <button style="width: 100%" class="btn btn-warning" :disabled="!$v1.valid" @click.prevent="saveApplyVentilate">保存</button>
140
+ <button v-if="model.f_ignition_trouble === '有隐患'" style="width: 100%" class="btn btn-danger" :disabled="!$v1.valid" @click.prevent="cleanTrouble">消除隐患</button>
141
+ <button style="width: 100%" class="btn btn-success" :disabled="!$v1.valid" @click.prevent="applyVentilate">提交</button>
142
+ </div>
143
+ </validator>
144
+ </div>
145
+
146
+ <validator name="v">
147
+ </validator>
148
+ </template>
149
+ <script>
150
+ import {HttpResetClass, PagedList} from 'vue-client'
151
+ import Vue from 'vue'
152
+ import {isEmpty} from '../../Util'
153
+
154
+ export default {
155
+ title: '通气点火',
156
+ props: ['selectdata'],
157
+ data () {
158
+ return {
159
+ showModal: false,
160
+ type: null,
161
+ reason: null,
162
+ boxReason: null,
163
+ reasonOptions:[{label: '具备通气条件', value: '具备通气条件'}],
164
+ model: {
165
+ f_ignition_trouble: '',
166
+ f_ignition_remarks: ''
167
+ },
168
+ ignition_trouble:[{label: '有隐患', value: '有隐患'}, {label: '无隐患', value: '无隐患'}]
169
+ }
170
+ },
171
+ ready () {
172
+ this.search()
173
+ },
174
+ methods: {
175
+ changeAllChecked(){
176
+ if (this.boxReason){
177
+ this.reason = this.reasonOptions[0].value
178
+ }else {
179
+ this.reason = ''
180
+ }
181
+ },
182
+ async applyVentilate () {
183
+ if (this.model.f_ignition_trouble === '有隐患'){
184
+ this.$showMessage("隐患未消除,无法提交")
185
+ return
186
+ }
187
+ let http = new HttpResetClass()
188
+ let data = {
189
+ selectdata: this.selectdata,
190
+ user: Vue.user
191
+ }
192
+
193
+ let res = await http.load(
194
+ 'POST',
195
+ `${this.$androidUtil.getProxyUrl()}/rs/logic/applyVentilate`,
196
+ {data: data},
197
+ {resolveMsg: null, rejectMsg: `操作失败!!!`}
198
+ )
199
+
200
+ // 返回上层
201
+ this.$dispatch('confirm')
202
+ },
203
+ async saveApplyVentilate () {
204
+ let http = new HttpResetClass()
205
+ let data = {
206
+ selectdata: this.selectdata,
207
+ user: Vue.user,
208
+ model:this.model
209
+ }
210
+
211
+ let res = await http.load(
212
+ 'POST',
213
+ `${this.$androidUtil.getProxyUrl()}/rs/logic/saveApplyVentilate`,
214
+ {data: data},
215
+ {resolveMsg: null, rejectMsg: `操作失败!!!`}
216
+ )
217
+
218
+ // 刷新
219
+ this.$dispatch('confirm')
220
+ },
221
+ async cleanTrouble () {
222
+ let http = new HttpResetClass()
223
+ let data = {
224
+ selectdata: this.selectdata,
225
+ model:this.model
226
+ }
227
+
228
+ let res = await http.load(
229
+ 'POST',
230
+ `${this.$androidUtil.getProxyUrl()}/rs/logic/cleanTrouble`,
231
+ {data: data},
232
+ {resolveMsg: null, rejectMsg: `清除隐患操作失败!!!`}
233
+ )
234
+
235
+ // 返回上层
236
+ this.$dispatch('confirm')
237
+ },
238
+ async search(){
239
+ let data = {
240
+ tablename: 't_ignition_record',
241
+ condition: `f_userinfo_id = '${this.selectdata.f_userinfo_id}'`
242
+ }
243
+ let http = new HttpResetClass()
244
+ let res = await http.load(
245
+ 'POST',
246
+ `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`,
247
+ {data: data},
248
+ {resolveMsg: null, rejectMsg: '点火记录查询失败!!!'}
249
+ )
250
+ if (res.data.length > 0) {
251
+ this.model.f_ignition_trouble = res.data[0].f_ignition_trouble
252
+ this.model.f_ignition_remarks = res.data[0].f_ignition_remarks
253
+ }
254
+ }
255
+ },
256
+ events: {
257
+ },
258
+ watch: {
259
+ },
260
+ computed: {
261
+ }
262
+ }
263
+ </script>
264
+ <style scoped>
265
+ .apply-has-error {
266
+ border-bottom: 1px solid #a94442;
267
+ }
268
+ .control-label-justify {
269
+ width: 30%;
270
+ text-align: justify;
271
+ text-align-last: justify;
272
+ font-family: PingFang-SC-Bold;
273
+ float: left;
274
+ }
275
+ textarea {
276
+ padding: 8px 10px;
277
+ outline: none;
278
+ margin: 0px;
279
+ background: #FFF;
280
+ border: 1px solid #ccc;
281
+ }
282
+ textarea[readonly]{
283
+ color: #ACA899!important;
284
+ background: #FFFFFF;
285
+ border: none;
286
+ outline: none;
287
+ }
288
+ textarea:disabled{
289
+ color: #ACA899!important;
290
+ background: #FFFFFF;
291
+ border: none;
292
+ outline: none;
293
+ }
294
+ .button_spacing{margin: 0px 0px 0px 10px;}
295
+ </style>
296
+ <style lang="less">
297
+ .apply-has-error {
298
+ border-bottom: 1px solid #a94442;
299
+ }
300
+ .app-input {
301
+ label {
302
+ float: left;
303
+ }
304
+ .select {
305
+ button {
306
+ border: none;
307
+ outline: none;
308
+ text-align: left;
309
+ .btn-placeholder {
310
+ color: #ACA899
311
+ }
312
+ }
313
+ }
314
+ .datepicker {
315
+ .form-control:focus {
316
+ border: none!important;
317
+ outline: none!important;
318
+ -webkit-box-shadow: none;
319
+ box-shadow: none;
320
+ }
321
+ }
322
+ textarea {
323
+ padding: 8px 10px;
324
+ border: none;
325
+ outline: none;
326
+ margin: 0px;
327
+ }
328
+ input[readonly]{
329
+ color: #ACA899!important;
330
+ background: #FFFFFF;
331
+ border: none;
332
+ outline: none;
333
+ }
334
+ input:disabled{
335
+ color: #ACA899!important;
336
+ background: #FFFFFF;
337
+ border: none;
338
+ outline: none;
339
+ }
340
+ textarea[readonly]{
341
+ color: #ACA899!important;
342
+ background: #FFFFFF;
343
+ border: none;
344
+ outline: none;
345
+ }
346
+ textarea:disabled{
347
+ color: #ACA899!important;
348
+ background: #FFFFFF;
349
+ border: none;
350
+ outline: none;
351
+ }
352
+ }
353
+ </style>