apply-clients 3.3.16 → 3.3.17

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 (57) hide show
  1. package/index.html +33 -33
  2. package/package.json +1 -1
  3. package/src/AndroidApp.vue +30 -30
  4. package/src/android.js +21 -21
  5. package/src/apply.js +3 -6
  6. package/src/applyAndroid.js +35 -35
  7. package/src/components/android/AppOnetomany.vue +285 -285
  8. package/src/components/android/AppServiceView.vue +570 -570
  9. package/src/components/android/AppTakePic.vue +143 -143
  10. package/src/components/android/Function/AppFunctionServiceControl.vue +329 -329
  11. package/src/components/android/Function/AppInstallFunction.vue +327 -327
  12. package/src/components/android/Process/AppExplorationUser.vue +268 -268
  13. package/src/components/android/Process/AppServiceControl.vue +711 -686
  14. package/src/components/android/Process/Processes/AppChargeManagement.vue +468 -468
  15. package/src/components/android/Process/Processes/AppDevicesManagement.vue +490 -490
  16. package/src/components/android/Process/Processes/AppInstallationDetails.vue +466 -466
  17. package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +297 -297
  18. package/src/components/android/Supervisory/AppProcessSupervisory.vue +261 -261
  19. package/src/components/android/Supervisory/AppSupervisoryCart.vue +115 -115
  20. package/src/components/product/ApplyCharge/ApplyChargeList.vue +265 -265
  21. package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +30 -30
  22. package/src/components/product/Function/InstallFunction.vue +122 -122
  23. package/src/components/product/Function/InstallInfoSelect.vue +289 -289
  24. package/src/components/product/Function/Service/FunctionServiceControl.vue +254 -254
  25. package/src/components/product/Onetomany.vue +296 -296
  26. package/src/components/product/Order/OrderApply.vue +47 -47
  27. package/src/components/product/Order/OrderApplyList.vue +62 -62
  28. package/src/components/product/Order/OrderMessage.vue +237 -237
  29. package/src/components/product/Process/ExplorationSelect.vue +145 -143
  30. package/src/components/product/Process/ExplorationUser.vue +128 -128
  31. package/src/components/product/Process/Processes/InstallationDetails.vue +421 -352
  32. package/src/components/product/Process/Processes/Print/img/10101.png +0 -0
  33. package/src/components/product/Process/Processes/Print/img/1010109.png +0 -0
  34. package/src/components/product/Process/Processes/Print/img/1010110.png +0 -0
  35. package/src/components/product/Process/Processes/Print/img/1010111.png +0 -0
  36. package/src/components/product/Process/Processes/Print/img/1010112.png +0 -0
  37. package/src/components/product/Process/Processes/{printCharge.vue → Print/printCharge.vue} +139 -121
  38. package/src/components/product/Process/Processes/Print/printRefund.vue +193 -0
  39. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +181 -181
  40. package/src/components/product/Process/Processes/chargeManagement.vue +639 -639
  41. package/src/components/product/Process/Processes/devicesManagement.vue +458 -458
  42. package/src/components/product/Process/Processes/selectApply.vue +250 -250
  43. package/src/components/product/Process/Processes/selectUserinfo.vue +182 -182
  44. package/src/components/product/Process/Processes/supplementalAgreement.vue +298 -298
  45. package/src/components/product/Process/Service/ServiceControl.vue +916 -810
  46. package/src/components/product/Process/ShowBackReason.vue +33 -33
  47. package/src/components/product/ServiceView.vue +301 -307
  48. package/src/components/product/Stop/StopApplyList.vue +254 -254
  49. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +512 -517
  50. package/src/components/product/Supervisory/SupervisoryControl.vue +100 -100
  51. package/src/components/product/Supervisory/SupervisoryList.vue +226 -226
  52. package/src/components/product/Supervisory/SupervisoryhCart.vue +124 -124
  53. package/src/components/product/VueUtils/ApplyUpload.vue +262 -262
  54. package/src/components/product/VueUtils/GaoPaiYi/HighMeter.vue +1090 -1090
  55. package/src/main.js +23 -23
  56. package/src/components/product/Function/Inform.vue +0 -74
  57. package/src/components/product/Function/MarketSurvey.vue +0 -80
@@ -1,570 +1,570 @@
1
- <template>
2
- <div class="form-horizontal select-overspread">
3
- <div v-for="(index,item) in data.fields">
4
- <!--input-->
5
- <div :style="item.style ? item.style : ''"
6
- v-if="(item.type==='input' || item.type==='number'||item.type === 'tel'||item.type === 'email') && !item.hidden && (item.device === 'app' || !item.device)"
7
- :class="[item.required && !(item.value) ? 'apply-has-error' : '', item.bootstraped ? item.bootstraped + ' form-group app-input':'col-xs-12 form-group app-input']">
8
- <label class="control-label-justify">{{item.label}}</label>
9
- <div :style="item.value_style ? item.value_style:''"
10
- :class="item.value_bootstraped ? item.value_bootstraped : 'col-xs-8'">
11
- <input class="" style="width: 100%"
12
- :type="item.type"
13
- v-model="data.fields[index].value"
14
- :placeholder="item.placeholder"
15
- :value="data.fields[index].value"
16
- :readonly="item.readonly"
17
- :disabled="item.disabled"
18
- @change="onchange(index)"
19
- @blur="onblur(index)"
20
- @input="oninput(index)"
21
- />
22
- </div>
23
- </div>
24
-
25
- <!--select-->
26
- <div :style="item.style ? item.style : ''"
27
- v-if="item.type==='select' && !item.hidden && (item.device === 'app' || !item.device)"
28
- :class="[item.required && !(item.value) ? 'apply-has-error' : '', item.bootstraped ? item.bootstraped + ' form-group app-input':'col-xs-12 form-group app-input']">
29
- <label class="control-label-justify">{{item.label}}</label>
30
- <div :style="item.value_style ? item.value_style:''"
31
- :class="item.value_bootstraped ? item.value_bootstraped : 'col-xs-8'">
32
- <v-select
33
- class="select" width="100%" align="right"
34
- :placeholder="item.placeholder"
35
- :search="item.search"
36
- close-on-select value-single
37
- :options="data.fields[index].options"
38
- v-model="data.fields[index].value"
39
- :value.sync="data.fields[index].value"
40
- @blur="onblur(index)"
41
- @change="onchange(index)"
42
- :readonly="item.readonly"
43
- :disabled="item.disabled"
44
- ></v-select>
45
- </div>
46
- </div>
47
-
48
- <!--时间datepicker-->
49
- <div :style="item.style ? item.style : ''"
50
- v-if="item.type==='datepicker' && !item.hidden && (item.device === 'app' || !item.device)"
51
- :class="[item.required && !(item.value) ? 'apply-has-error' : '', item.bootstraped ? item.bootstraped+' form-group app-input':'col-xs-12 form-group app-input']">
52
- <label class="control-label-justify">{{item.label}}</label>
53
- <div class="form-group" :style="item.value_style ? item.value_style:''"
54
- :class="item.value_bootstraped ? item.value_bootstraped : 'col-xs-8'">
55
- <datepicker
56
- @change="onchange(index)"
57
- @blur="onblur(index)"
58
- :placeholder="item.placeholder"
59
- :value.sync="data.fields[index].value"
60
- :format="item.format ? item.format : 'yyyy-MM-dd'"
61
- v-model="data.fields[index].value"
62
- :readonly="item.readonly"
63
- :disabled="item.disabled"
64
- :show-reset-button="true">
65
- </datepicker>
66
- </div>
67
- </div>
68
-
69
- <!--textarea-->
70
- <div :style="item.style ? item.style : ''"
71
- v-if="item.type==='textarea' && !item.hidden && (item.device === 'app' || !item.device)"
72
- :class="[item.required && !(item.value) ? 'apply-has-error' : '', item.bootstraped?item.bootstraped+' form-group app-input':'col-xs-12 form-group app-input']">
73
- <label class="control-label-justify">{{item.label}}</label>
74
- <div :style="item.value_style ? item.value_style:''"
75
- :class="item.value_bootstraped ? item.value_bootstraped : 'col-xs-8'">
76
- <textarea
77
- :readonly="item.readonly"
78
- :disabled="item.disabled"
79
- class="" rows="1"
80
- style="width: 100%;height: 100%"
81
- v-model="data.fields[index].value"
82
- :value="data.fields[index].value"
83
- @change="onchange(index)"
84
- @blur="onblur(index)"
85
- @input="oninput(index)"
86
- ></textarea>
87
- </div>
88
- </div>
89
-
90
- <!--checkbox-->
91
- <div :style="item.style ? item.style : ''"
92
- v-if="item.type==='checkbox' && !item.hidden && (item.device === 'app' || !item.device)"
93
- :class="[item.required && item.value.length === 0 ? 'apply-has-error' : '',item.bootstraped?item.bootstraped+' form-group app-input':'col-xs-12 form-group app-input']">
94
- <label class="control-label-justify">{{item.label}}</label>
95
- <div :style="item.value_style ? item.value_style:''"
96
- :class="item.value_bootstraped ? item.value_bootstraped : 'col-xs-8'">
97
- <label class="" v-for="(index2,row) in item.options">
98
- <input type="checkbox" class=""
99
- :readonly="data.fields[index].readonly"
100
- :disabled="data.fields[index].disabled"
101
- v-model="data.fields[index].value"
102
- :value="data.fields[index].options[index2].value"
103
- @change="onchange(index)"
104
- @blur="onblur(index)">
105
- {{row.label}}
106
- </label>
107
- </div>
108
- </div>
109
- </div>
110
-
111
- <div class="col-sm-12 col-xs-12">
112
- <accordion one-at-a-time="true">
113
- <panel v-for="(i,item) in data.onetomany" :header="item.title" :is-open="false" type="primary">
114
- <app-onetomany :onetomany="item" :index="i"></app-onetomany>
115
- </panel>
116
- <panel v-for="(i,item) in data.components" :header="item.title" :is-open="false" type="primary" v-if="item.device === 'app' || !item.device">
117
- <component :is="item.name" :selectdata="data" :mark="item.mark"></component>
118
- </panel>
119
- </accordion>
120
- </div>
121
-
122
- <!--自定义组件-->
123
- <slot></slot>
124
-
125
- <!-- 按钮组 -->
126
- <div class="text-center">
127
- <button v-for="(index,button) in data.buttons"
128
- :disabled="button.disabled && disable_button"
129
- style="min-width:100px"
130
- :class="button.disabled && disable_button ? 'btn btn-default button_spacing' : 'btn btn-primary button_spacing'"
131
- v-if="!button.hidden"
132
- @click.prevent="click_but(button)"
133
- >
134
- {{button.button_name}}
135
- </button>
136
- </div>
137
-
138
- <!-- 按钮模态框 -->
139
- <modal v-if="showButModal" :show.sync="showButModal" backdrop="false" large>
140
- <header slot="modal-header" class="modal-header">
141
- <button type="button" class="close" @click="closeModal()"><span>&times;</span></button>
142
- <span class="modal-title"><font
143
- size="3">{{data.button.button_name}}</font></span>
144
- </header>
145
- <article slot="modal-body" class="modal-body clearfix">
146
- <div class="form-group" >
147
- <div v-for="(index,item) in data.button.button_fields">
148
- <div :style="item.style ? item.style : ''" :class="[item.required && !(item.value) ? 'has-error' : '', item.bootstraped ? item.bootstraped + ' form-group' : 'form-group']"
149
- v-if="(item.type==='input' || item.type==='number'||item.type === 'tel'||item.type === 'email') && !item.hidden && (item.device === 'pc' || !item.device)">
150
- <label :style="item.label_style ? item.label_style : ''"
151
- :class="item.label_bootstraped ? item.label_bootstraped + ' control-label-justify control-label' : 'control-label-justify control-label'">{{item.label}}</label>
152
- <div :style="item.value_style ? item.value_style : ''"
153
- :class="item.value_bootstraped ? item.value_bootstraped : 'col-xs-8'">
154
- <input class="form-control input_view"
155
- :placeholder="item.placeholder"
156
- :type="item.type"
157
- v-model="item.value"
158
- :value="item.value"
159
- :readonly="item.readonly"
160
- :disabled="item.disabled"
161
- @change="onbutchange(index)"
162
- @blur="onbutblur(index)"
163
- @input="onbutinput(index)"
164
- />
165
- </div>
166
- </div>
167
-
168
- <!--时间datepicker-->
169
- <div :style="item.style ? item.style : ''" :class="[item.required && !(item.value) ? 'has-error' : '', item.bootstraped ? item.bootstraped + ' form-group':'form-group']"
170
- v-if="item.type==='datepicker' && !item.hidden && (item.device === 'pc' || !item.device)">
171
- <label :style="item.label_style ? item.label_style : ''"
172
- :class="item.label_bootstraped ? item.label_bootstraped + ' control-label-justify control-label' : 'control-label-justify control-label'">{{item.label}}</label>
173
- <div :style="item.value_style ? item.value_style : ''"
174
- :class="item.value_bootstraped ? item.value_bootstraped : 'col-xs-8'">
175
- <datepicker
176
- :placeholder="item.placeholder"
177
- :value.sync="item.value"
178
- v-model="item.value"
179
- :readonly="item.readonly"
180
- :disabled="item.disabled"
181
- :format="item.format ? item.format : 'yyyy-MM-dd'"
182
- :show-reset-button="true"
183
- @change="onbutchange(index)"
184
- @blur="onbutblur(index)"
185
- ></datepicker>
186
- </div>
187
- </div>
188
-
189
- <!--select-->
190
- <div :style="item.style ? item.style : ''" :class="[item.required && !(item.value) ? 'has-error' : '', item.bootstraped ? item.bootstraped + ' form-group':'form-group']"
191
- v-if="item.type==='select' && !item.hidden && (item.device === 'pc' || !item.device)">
192
- <label :style="item.label_style ? item.label_style : ''"
193
- :class="item.label_bootstraped ? item.label_bootstraped + ' control-label-justify control-label' : 'control-label-justify control-label'">{{item.label}}</label>
194
- <div :style="item.value_style ? item.value_style : ''"
195
- :class="item.value_bootstraped ? item.value_bootstraped : 'col-xs-8'">
196
- <input-select
197
- class="select select_list"
198
- :value.sync="item.value"
199
- v-model="item.value"
200
- :options='item.options'
201
- :readonly="item.readonly"
202
- :disable="item.disabled"
203
- :valueSingle="true"
204
- @blur="onbutblur(index)"
205
- @change="onbutchange(index)"
206
- ></input-select>
207
- </div>
208
- </div>
209
-
210
- <!--textarea-->
211
- <div :style="item.style ? item.style : ''" :class="[item.required && !(item.value) ? 'has-error' : '', item.bootstraped ? item.bootstraped + ' form-group':'form-group']"
212
- v-if="item.type==='textarea' && !item.hidden && (item.device === 'pc' || !item.device)">
213
- <label :style="item.label_style ? item.label_style : ''"
214
- :class="item.label_bootstraped ? item.label_bootstraped + ' control-label-justify control-label' : 'control-label-justify control-label'">{{item.label}}</label>
215
- <div :style="item.value_style ? item.value_style : ''"
216
- :class="item.value_bootstraped ? item.value_bootstraped : 'col-xs-8'">
217
- <textarea
218
- class="form-control input_view"
219
- style="width: 100%;height: 100%"
220
- v-model="item.value"
221
- :value="item.value"
222
- :rows="item.rows"
223
- :readonly="item.readonly"
224
- :disabled="item.disabled"
225
- @change="onbutchange(index)"
226
- @blur="onbutblur(index)"
227
- @input="onbutinput(index)"
228
- ></textarea>
229
- </div>
230
- </div>
231
- </div>
232
- </div>
233
- </article>
234
- <footer slot="modal-footer" class="modal-footer">
235
- <button :class="disable_modal_button ? 'btn btn-default':'btn btn-primary'"
236
- :disabled="disable_modal_button" type="button" @click="confirmModal()">
237
- 确认
238
- </button>
239
- </footer>
240
- </modal>
241
- </div>
242
- </template>
243
- <script>
244
- import Vue from 'vue'
245
- import {isEmpty} from "../Util";
246
- // Date格式化
247
- Date.prototype.Format = function (fmt) {
248
- var o = {
249
- 'M+': this.getMonth() + 1, // 月份
250
- 'd+': this.getDate(), // 日
251
- 'H+': this.getHours(), // 小时
252
- 'm+': this.getMinutes(), // 分
253
- 's+': this.getSeconds(), // 秒
254
- 'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
255
- 'S': this.getMilliseconds() // 毫秒
256
- }
257
- if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
258
- for (var k in o) {
259
- if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
260
- }
261
- return fmt
262
- }
263
-
264
- export default {
265
- title: '报建业务通用组件',
266
- props: {
267
- data: {
268
- type: Object
269
- },
270
- showprint: {
271
- type: Boolean,
272
- default: true
273
- }
274
- },
275
- data () {
276
- return {
277
- model: {}, // 公司等属性
278
- disable_button: true, // 控制按钮禁用
279
- disable_modal_button: true, // 控制按钮禁用
280
- showButModal: false,
281
- }
282
- },
283
- watch: {
284
- deep: true
285
- },
286
- computed: {
287
-
288
- },
289
- created () {
290
- // 初始化数据
291
- this.initializtion()
292
- if (this.data.readyEvent) {
293
- this.$dispatch(this.data.readyEvent)
294
- }
295
- this.$dispatch('initializtionView')
296
- },
297
- methods: {
298
- // 初始化数据
299
- initializtion () {
300
- for (const item of this.data.fields) {
301
- this.data[item.field] = item.value
302
- }
303
- // 是否禁用按钮
304
- this.disableButton()
305
- },
306
- // 是否禁用按钮
307
- disableButton () {
308
- let flag = false
309
-
310
- for (const field of this.data.fields) {
311
- if (field.required && !field.value) {
312
- if (field.value === 0) {
313
- flag = false
314
- } else {
315
- flag = true
316
- }
317
- }
318
-
319
- // 任何选择框只要是否都不能提交
320
- if (field.type === 'select' && field.value === '否' && field.value_no_disable) {
321
- flag = true
322
- }
323
-
324
- if (field.type === 'checkbox' && field.required && field.value.length === 0) {
325
- flag = true
326
- }
327
- }
328
-
329
- this.disable_button = flag
330
- },
331
- // 失去焦点且值最终发生变化触发
332
- async onchange (index) {
333
- // 是否禁用按钮
334
- this.disableButton()
335
-
336
- if (!isEmpty(this.data.fields[index].value)) {
337
- // 前缀、后缀
338
- if (this.data.fields[index].prefix) {
339
- this.data.fields[index].value = this.data.fields[index].prefix + this.data.fields[index].value
340
- }
341
- if (this.data.fields[index].suffix) {
342
- this.data.fields[index].value = this.data.fields[index].value + this.data.fields[index].suffix
343
- }
344
- }
345
-
346
- // data赋值
347
- this.data[this.data.fields[index].field] = this.data.fields[index].value
348
-
349
- if (this.data.fields[index].type === 'datepicker') {
350
- this.check_datepicker(index)
351
- }
352
-
353
- if (this.data.fields[index].onchange) {
354
- this.$dispatch(this.data.fields[index].onchange, index)
355
- }
356
- this.$dispatch('onchange', index)
357
-
358
-
359
- },
360
- // 失去焦点触发,无论值是否发生变化
361
- onblur (index) {
362
- this.disableButton()
363
-
364
- if (this.data.fields[index].onblur) {
365
- this.$dispatch(this.data.fields[index].onblur, index)
366
- }
367
-
368
- this.$dispatch('onblur', index)
369
- },
370
- oninput (index) {
371
- // 是否禁用按钮
372
- this.disableButton()
373
-
374
- if (this.data.fields[index].oninput) {
375
- this.$dispatch(this.data.fields[index].oninput, index)
376
- }
377
- this.$dispatch('oninput', index)
378
- },
379
- // 点击按钮组按钮
380
- async click_but (button) {
381
- this.disable_button = true
382
-
383
- this.data.fields.forEach(item => {
384
- this.data[item.field] = item.value
385
- })
386
-
387
- this.data.button = button
388
-
389
- if (button.button_fields && button.button_fields.length > 0) {
390
- this.showButModal = true
391
- return
392
- }
393
-
394
- if (this.data.button.event) {
395
- this.$dispatch(this.data.button.event)
396
- } else {
397
- this.$dispatch('button')
398
- }
399
- },
400
- confirmModal () {
401
- this.closeModal()
402
-
403
- this.data.button.button_fields.forEach(item => {
404
- this.data.button[item.field] = item.value
405
- })
406
-
407
- if (this.data.button.event) {
408
- this.$dispatch(this.data.button.event)
409
- } else {
410
- this.$dispatch('button')
411
- }
412
- },
413
- // 关闭模态框
414
- closeModal () {
415
- this.showButModal = false
416
- this.disable_modal_button = true
417
- },
418
- onbutchange (index) {
419
- // 是否禁用按钮
420
- this.disableModalButton()
421
-
422
- if (this.data.button.button_fields[index].onchange) {
423
- this.$dispatch(this.data.button.button_fields[index].onchange, index)
424
- } else {
425
- this.$dispatch('onbutchange', index)
426
- }
427
-
428
- },
429
- onbutblur (index) {
430
- this.disableModalButton()
431
-
432
- if (this.data.button.button_fields[index].onblur) {
433
- this.$dispatch(this.data.button.button_fields[index].onblur, index)
434
- } else {
435
- this.$dispatch('onbutblur', index)
436
- }
437
- },
438
- onbutinput (index) {
439
- // 是否禁用按钮
440
- this.disableModalButton()
441
-
442
- if (this.data.button.button_fields[index].oninput) {
443
- this.$dispatch(this.data.button.button_fields[index].oninput, index)
444
- } else {
445
- this.$dispatch('onbutinput', index)
446
- }
447
- },
448
- disableModalButton () {
449
- let flag = false
450
-
451
-
452
- for (const item of this.data.button.button_fields) {
453
- if (item.required && !item.value) {
454
- if (item.value === 0) {
455
- flag = false
456
- } else {
457
- flag = true
458
- }
459
- }
460
- }
461
-
462
- this.disable_modal_button = flag
463
- },
464
- check_datepicker (index) {
465
- // 时间格式检测
466
- if (!isEmpty(this.data.fields[index].value)) {
467
-
468
- let dateReg = /^[1-9]\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/
469
- let timeReg = /^(20|21|22|23|[0-1]\d):[0-5]\d:[0-5]\d$/
470
- let datetimeReg = /^[1-9]\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])\s+(20|21|22|23|[0-1]\d):[0-5]\d:[0-5]\d$/
471
- if (this.data.fields[index].format) {
472
- if (this.data.fields[index].format === 'yyyy-MM-dd') {
473
- if (!dateReg.test(this.data.fields[index].value)) {
474
- this.data.fields[index].value = ''
475
- this.$showAlert(this.data.fields[index].label + '格式错误如:2021-01-01', 'warning', 2000)
476
- }
477
- }
478
- if (this.data.fields[index].format === 'HH:mm:ss') {
479
- if (!timeReg.test(this.data.fields[index].value)) {
480
- this.data.fields[index].value = ''
481
- this.$showAlert(this.data.fields[index].label + '格式错误如:00:00:00', 'warning', 2000)
482
- }
483
- }
484
- if (this.data.fields[index].format === 'yyyy-MM-dd HH:mm:ss') {
485
- if (!datetimeReg.test(this.data.fields[index].value)) {
486
- this.data.fields[index].value = ''
487
- this.$showAlert(this.data.fields[index].label + '格式错误如:2021-01-01 00:00:00', 'warning', 2000)
488
- }
489
- }
490
- } else {
491
- if (!dateReg.test(this.data.fields[index].value)) {
492
- this.data.fields[index].value = ''
493
- this.$showAlert(this.data.fields[index].label + '格式错误如:2021-01-01', 'warning', 2000)
494
- }
495
- }
496
- }
497
- }
498
- },
499
- events: {
500
- }
501
- }
502
- </script>
503
- <style scoped>
504
- .control-label-justify {
505
- width: 30%;
506
- text-align: justify;
507
- text-align-last: justify;
508
- font-family: PingFang-SC-Bold;
509
- float: left;
510
- }
511
- .button_spacing{margin: 0px 0px 0px 10px;}
512
- </style>
513
- <style lang="less">
514
- .apply-has-error {
515
- border-bottom: 1px solid #a94442;
516
- }
517
- .app-input {
518
- label {
519
- float: left;
520
- }
521
- .select {
522
- button {
523
- border: none;
524
- outline: none;
525
- text-align: left;
526
- .btn-placeholder {
527
- color: #ACA899
528
- }
529
- }
530
- }
531
- .datepicker {
532
- .form-control:focus {
533
- border: none!important;
534
- outline: none!important;
535
- -webkit-box-shadow: none;
536
- box-shadow: none;
537
- }
538
- }
539
- textarea {
540
- padding: 8px 10px;
541
- border: none;
542
- outline: none;
543
- margin: 0px;
544
- }
545
- input[readonly]{
546
- color: #ACA899!important;
547
- background: #FFFFFF;
548
- border: none;
549
- outline: none;
550
- }
551
- input:disabled{
552
- color: #ACA899!important;
553
- background: #FFFFFF;
554
- border: none;
555
- outline: none;
556
- }
557
- textarea[readonly]{
558
- color: #ACA899!important;
559
- background: #FFFFFF;
560
- border: none;
561
- outline: none;
562
- }
563
- textarea:disabled{
564
- color: #ACA899!important;
565
- background: #FFFFFF;
566
- border: none;
567
- outline: none;
568
- }
569
- }
570
- </style>
1
+ <template>
2
+ <div class="form-horizontal select-overspread">
3
+ <div v-for="(index,item) in data.fields">
4
+ <!--input-->
5
+ <div :style="item.style ? item.style : ''"
6
+ v-if="(item.type==='input' || item.type==='number'||item.type === 'tel'||item.type === 'email') && !item.hidden && (item.device === 'app' || !item.device)"
7
+ :class="[item.required && !(item.value) ? 'apply-has-error' : '', item.bootstraped ? item.bootstraped + ' form-group app-input':'col-xs-12 form-group app-input']">
8
+ <label class="control-label-justify">{{item.label}}</label>
9
+ <div :style="item.value_style ? item.value_style:''"
10
+ :class="item.value_bootstraped ? item.value_bootstraped : 'col-xs-8'">
11
+ <input class="" style="width: 100%"
12
+ :type="item.type"
13
+ v-model="data.fields[index].value"
14
+ :placeholder="item.placeholder"
15
+ :value="data.fields[index].value"
16
+ :readonly="item.readonly"
17
+ :disabled="item.disabled"
18
+ @change="onchange(index)"
19
+ @blur="onblur(index)"
20
+ @input="oninput(index)"
21
+ />
22
+ </div>
23
+ </div>
24
+
25
+ <!--select-->
26
+ <div :style="item.style ? item.style : ''"
27
+ v-if="item.type==='select' && !item.hidden && (item.device === 'app' || !item.device)"
28
+ :class="[item.required && !(item.value) ? 'apply-has-error' : '', item.bootstraped ? item.bootstraped + ' form-group app-input':'col-xs-12 form-group app-input']">
29
+ <label class="control-label-justify">{{item.label}}</label>
30
+ <div :style="item.value_style ? item.value_style:''"
31
+ :class="item.value_bootstraped ? item.value_bootstraped : 'col-xs-8'">
32
+ <v-select
33
+ class="select" width="100%" align="right"
34
+ :placeholder="item.placeholder"
35
+ :search="item.search"
36
+ close-on-select value-single
37
+ :options="data.fields[index].options"
38
+ v-model="data.fields[index].value"
39
+ :value.sync="data.fields[index].value"
40
+ @blur="onblur(index)"
41
+ @change="onchange(index)"
42
+ :readonly="item.readonly"
43
+ :disabled="item.disabled"
44
+ ></v-select>
45
+ </div>
46
+ </div>
47
+
48
+ <!--时间datepicker-->
49
+ <div :style="item.style ? item.style : ''"
50
+ v-if="item.type==='datepicker' && !item.hidden && (item.device === 'app' || !item.device)"
51
+ :class="[item.required && !(item.value) ? 'apply-has-error' : '', item.bootstraped ? item.bootstraped+' form-group app-input':'col-xs-12 form-group app-input']">
52
+ <label class="control-label-justify">{{item.label}}</label>
53
+ <div class="form-group" :style="item.value_style ? item.value_style:''"
54
+ :class="item.value_bootstraped ? item.value_bootstraped : 'col-xs-8'">
55
+ <datepicker
56
+ @change="onchange(index)"
57
+ @blur="onblur(index)"
58
+ :placeholder="item.placeholder"
59
+ :value.sync="data.fields[index].value"
60
+ :format="item.format ? item.format : 'yyyy-MM-dd'"
61
+ v-model="data.fields[index].value"
62
+ :readonly="item.readonly"
63
+ :disabled="item.disabled"
64
+ :show-reset-button="true">
65
+ </datepicker>
66
+ </div>
67
+ </div>
68
+
69
+ <!--textarea-->
70
+ <div :style="item.style ? item.style : ''"
71
+ v-if="item.type==='textarea' && !item.hidden && (item.device === 'app' || !item.device)"
72
+ :class="[item.required && !(item.value) ? 'apply-has-error' : '', item.bootstraped?item.bootstraped+' form-group app-input':'col-xs-12 form-group app-input']">
73
+ <label class="control-label-justify">{{item.label}}</label>
74
+ <div :style="item.value_style ? item.value_style:''"
75
+ :class="item.value_bootstraped ? item.value_bootstraped : 'col-xs-8'">
76
+ <textarea
77
+ :readonly="item.readonly"
78
+ :disabled="item.disabled"
79
+ class="" rows="1"
80
+ style="width: 100%;height: 100%"
81
+ v-model="data.fields[index].value"
82
+ :value="data.fields[index].value"
83
+ @change="onchange(index)"
84
+ @blur="onblur(index)"
85
+ @input="oninput(index)"
86
+ ></textarea>
87
+ </div>
88
+ </div>
89
+
90
+ <!--checkbox-->
91
+ <div :style="item.style ? item.style : ''"
92
+ v-if="item.type==='checkbox' && !item.hidden && (item.device === 'app' || !item.device)"
93
+ :class="[item.required && item.value.length === 0 ? 'apply-has-error' : '',item.bootstraped?item.bootstraped+' form-group app-input':'col-xs-12 form-group app-input']">
94
+ <label class="control-label-justify">{{item.label}}</label>
95
+ <div :style="item.value_style ? item.value_style:''"
96
+ :class="item.value_bootstraped ? item.value_bootstraped : 'col-xs-8'">
97
+ <label class="" v-for="(index2,row) in item.options">
98
+ <input type="checkbox" class=""
99
+ :readonly="data.fields[index].readonly"
100
+ :disabled="data.fields[index].disabled"
101
+ v-model="data.fields[index].value"
102
+ :value="data.fields[index].options[index2].value"
103
+ @change="onchange(index)"
104
+ @blur="onblur(index)">
105
+ {{row.label}}
106
+ </label>
107
+ </div>
108
+ </div>
109
+ </div>
110
+
111
+ <div class="col-sm-12 col-xs-12">
112
+ <accordion one-at-a-time="true">
113
+ <panel v-for="(i,item) in data.onetomany" :header="item.title" :is-open="false" type="primary">
114
+ <app-onetomany :onetomany="item" :index="i"></app-onetomany>
115
+ </panel>
116
+ <panel v-for="(i,item) in data.components" :header="item.title" :is-open="false" type="primary" v-if="item.device === 'app' || !item.device">
117
+ <component :is="item.name" :selectdata="data" :mark="item.mark"></component>
118
+ </panel>
119
+ </accordion>
120
+ </div>
121
+
122
+ <!--自定义组件-->
123
+ <slot></slot>
124
+
125
+ <!-- 按钮组 -->
126
+ <div class="text-center">
127
+ <button v-for="(index,button) in data.buttons"
128
+ :disabled="button.disabled && disable_button"
129
+ style="min-width:100px"
130
+ :class="button.disabled && disable_button ? 'btn btn-default button_spacing' : 'btn btn-primary button_spacing'"
131
+ v-if="!button.hidden"
132
+ @click.prevent="click_but(button)"
133
+ >
134
+ {{button.button_name}}
135
+ </button>
136
+ </div>
137
+
138
+ <!-- 按钮模态框 -->
139
+ <modal v-if="showButModal" :show.sync="showButModal" backdrop="false" large>
140
+ <header slot="modal-header" class="modal-header">
141
+ <button type="button" class="close" @click="closeModal()"><span>&times;</span></button>
142
+ <span class="modal-title"><font
143
+ size="3">{{data.button.button_name}}</font></span>
144
+ </header>
145
+ <article slot="modal-body" class="modal-body clearfix">
146
+ <div class="form-group" >
147
+ <div v-for="(index,item) in data.button.button_fields">
148
+ <div :style="item.style ? item.style : ''" :class="[item.required && !(item.value) ? 'has-error' : '', item.bootstraped ? item.bootstraped + ' form-group' : 'form-group']"
149
+ v-if="(item.type==='input' || item.type==='number'||item.type === 'tel'||item.type === 'email') && !item.hidden && (item.device === 'pc' || !item.device)">
150
+ <label :style="item.label_style ? item.label_style : ''"
151
+ :class="item.label_bootstraped ? item.label_bootstraped + ' control-label-justify control-label' : 'control-label-justify control-label'">{{item.label}}</label>
152
+ <div :style="item.value_style ? item.value_style : ''"
153
+ :class="item.value_bootstraped ? item.value_bootstraped : 'col-xs-8'">
154
+ <input class="form-control input_view"
155
+ :placeholder="item.placeholder"
156
+ :type="item.type"
157
+ v-model="item.value"
158
+ :value="item.value"
159
+ :readonly="item.readonly"
160
+ :disabled="item.disabled"
161
+ @change="onbutchange(index)"
162
+ @blur="onbutblur(index)"
163
+ @input="onbutinput(index)"
164
+ />
165
+ </div>
166
+ </div>
167
+
168
+ <!--时间datepicker-->
169
+ <div :style="item.style ? item.style : ''" :class="[item.required && !(item.value) ? 'has-error' : '', item.bootstraped ? item.bootstraped + ' form-group':'form-group']"
170
+ v-if="item.type==='datepicker' && !item.hidden && (item.device === 'pc' || !item.device)">
171
+ <label :style="item.label_style ? item.label_style : ''"
172
+ :class="item.label_bootstraped ? item.label_bootstraped + ' control-label-justify control-label' : 'control-label-justify control-label'">{{item.label}}</label>
173
+ <div :style="item.value_style ? item.value_style : ''"
174
+ :class="item.value_bootstraped ? item.value_bootstraped : 'col-xs-8'">
175
+ <datepicker
176
+ :placeholder="item.placeholder"
177
+ :value.sync="item.value"
178
+ v-model="item.value"
179
+ :readonly="item.readonly"
180
+ :disabled="item.disabled"
181
+ :format="item.format ? item.format : 'yyyy-MM-dd'"
182
+ :show-reset-button="true"
183
+ @change="onbutchange(index)"
184
+ @blur="onbutblur(index)"
185
+ ></datepicker>
186
+ </div>
187
+ </div>
188
+
189
+ <!--select-->
190
+ <div :style="item.style ? item.style : ''" :class="[item.required && !(item.value) ? 'has-error' : '', item.bootstraped ? item.bootstraped + ' form-group':'form-group']"
191
+ v-if="item.type==='select' && !item.hidden && (item.device === 'pc' || !item.device)">
192
+ <label :style="item.label_style ? item.label_style : ''"
193
+ :class="item.label_bootstraped ? item.label_bootstraped + ' control-label-justify control-label' : 'control-label-justify control-label'">{{item.label}}</label>
194
+ <div :style="item.value_style ? item.value_style : ''"
195
+ :class="item.value_bootstraped ? item.value_bootstraped : 'col-xs-8'">
196
+ <input-select
197
+ class="select select_list"
198
+ :value.sync="item.value"
199
+ v-model="item.value"
200
+ :options='item.options'
201
+ :readonly="item.readonly"
202
+ :disable="item.disabled"
203
+ :valueSingle="true"
204
+ @blur="onbutblur(index)"
205
+ @change="onbutchange(index)"
206
+ ></input-select>
207
+ </div>
208
+ </div>
209
+
210
+ <!--textarea-->
211
+ <div :style="item.style ? item.style : ''" :class="[item.required && !(item.value) ? 'has-error' : '', item.bootstraped ? item.bootstraped + ' form-group':'form-group']"
212
+ v-if="item.type==='textarea' && !item.hidden && (item.device === 'pc' || !item.device)">
213
+ <label :style="item.label_style ? item.label_style : ''"
214
+ :class="item.label_bootstraped ? item.label_bootstraped + ' control-label-justify control-label' : 'control-label-justify control-label'">{{item.label}}</label>
215
+ <div :style="item.value_style ? item.value_style : ''"
216
+ :class="item.value_bootstraped ? item.value_bootstraped : 'col-xs-8'">
217
+ <textarea
218
+ class="form-control input_view"
219
+ style="width: 100%;height: 100%"
220
+ v-model="item.value"
221
+ :value="item.value"
222
+ :rows="item.rows"
223
+ :readonly="item.readonly"
224
+ :disabled="item.disabled"
225
+ @change="onbutchange(index)"
226
+ @blur="onbutblur(index)"
227
+ @input="onbutinput(index)"
228
+ ></textarea>
229
+ </div>
230
+ </div>
231
+ </div>
232
+ </div>
233
+ </article>
234
+ <footer slot="modal-footer" class="modal-footer">
235
+ <button :class="disable_modal_button ? 'btn btn-default':'btn btn-primary'"
236
+ :disabled="disable_modal_button" type="button" @click="confirmModal()">
237
+ 确认
238
+ </button>
239
+ </footer>
240
+ </modal>
241
+ </div>
242
+ </template>
243
+ <script>
244
+ import Vue from 'vue'
245
+ import {isEmpty} from "../Util";
246
+ // Date格式化
247
+ Date.prototype.Format = function (fmt) {
248
+ var o = {
249
+ 'M+': this.getMonth() + 1, // 月份
250
+ 'd+': this.getDate(), // 日
251
+ 'H+': this.getHours(), // 小时
252
+ 'm+': this.getMinutes(), // 分
253
+ 's+': this.getSeconds(), // 秒
254
+ 'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
255
+ 'S': this.getMilliseconds() // 毫秒
256
+ }
257
+ if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
258
+ for (var k in o) {
259
+ if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
260
+ }
261
+ return fmt
262
+ }
263
+
264
+ export default {
265
+ title: '报建业务通用组件',
266
+ props: {
267
+ data: {
268
+ type: Object
269
+ },
270
+ showprint: {
271
+ type: Boolean,
272
+ default: true
273
+ }
274
+ },
275
+ data () {
276
+ return {
277
+ model: {}, // 公司等属性
278
+ disable_button: true, // 控制按钮禁用
279
+ disable_modal_button: true, // 控制按钮禁用
280
+ showButModal: false,
281
+ }
282
+ },
283
+ watch: {
284
+ deep: true
285
+ },
286
+ computed: {
287
+
288
+ },
289
+ created () {
290
+ // 初始化数据
291
+ this.initializtion()
292
+ if (this.data.readyEvent) {
293
+ this.$dispatch(this.data.readyEvent)
294
+ }
295
+ this.$dispatch('initializtionView')
296
+ },
297
+ methods: {
298
+ // 初始化数据
299
+ initializtion () {
300
+ for (const item of this.data.fields) {
301
+ this.data[item.field] = item.value
302
+ }
303
+ // 是否禁用按钮
304
+ this.disableButton()
305
+ },
306
+ // 是否禁用按钮
307
+ disableButton () {
308
+ let flag = false
309
+
310
+ for (const field of this.data.fields) {
311
+ if (field.required && !field.value) {
312
+ if (field.value === 0) {
313
+ flag = false
314
+ } else {
315
+ flag = true
316
+ }
317
+ }
318
+
319
+ // 任何选择框只要是否都不能提交
320
+ if (field.type === 'select' && field.value === '否' && field.value_no_disable) {
321
+ flag = true
322
+ }
323
+
324
+ if (field.type === 'checkbox' && field.required && field.value.length === 0) {
325
+ flag = true
326
+ }
327
+ }
328
+
329
+ this.disable_button = flag
330
+ },
331
+ // 失去焦点且值最终发生变化触发
332
+ async onchange (index) {
333
+ // 是否禁用按钮
334
+ this.disableButton()
335
+
336
+ if (!isEmpty(this.data.fields[index].value)) {
337
+ // 前缀、后缀
338
+ if (this.data.fields[index].prefix) {
339
+ this.data.fields[index].value = this.data.fields[index].prefix + this.data.fields[index].value
340
+ }
341
+ if (this.data.fields[index].suffix) {
342
+ this.data.fields[index].value = this.data.fields[index].value + this.data.fields[index].suffix
343
+ }
344
+ }
345
+
346
+ // data赋值
347
+ this.data[this.data.fields[index].field] = this.data.fields[index].value
348
+
349
+ if (this.data.fields[index].type === 'datepicker') {
350
+ this.check_datepicker(index)
351
+ }
352
+
353
+ if (this.data.fields[index].onchange) {
354
+ this.$dispatch(this.data.fields[index].onchange, index)
355
+ }
356
+ this.$dispatch('onchange', index)
357
+
358
+
359
+ },
360
+ // 失去焦点触发,无论值是否发生变化
361
+ onblur (index) {
362
+ this.disableButton()
363
+
364
+ if (this.data.fields[index].onblur) {
365
+ this.$dispatch(this.data.fields[index].onblur, index)
366
+ }
367
+
368
+ this.$dispatch('onblur', index)
369
+ },
370
+ oninput (index) {
371
+ // 是否禁用按钮
372
+ this.disableButton()
373
+
374
+ if (this.data.fields[index].oninput) {
375
+ this.$dispatch(this.data.fields[index].oninput, index)
376
+ }
377
+ this.$dispatch('oninput', index)
378
+ },
379
+ // 点击按钮组按钮
380
+ async click_but (button) {
381
+ this.disable_button = true
382
+
383
+ this.data.fields.forEach(item => {
384
+ this.data[item.field] = item.value
385
+ })
386
+
387
+ this.data.button = button
388
+
389
+ if (button.button_fields && button.button_fields.length > 0) {
390
+ this.showButModal = true
391
+ return
392
+ }
393
+
394
+ if (this.data.button.event) {
395
+ this.$dispatch(this.data.button.event)
396
+ } else {
397
+ this.$dispatch('button')
398
+ }
399
+ },
400
+ confirmModal () {
401
+ this.closeModal()
402
+
403
+ this.data.button.button_fields.forEach(item => {
404
+ this.data.button[item.field] = item.value
405
+ })
406
+
407
+ if (this.data.button.event) {
408
+ this.$dispatch(this.data.button.event)
409
+ } else {
410
+ this.$dispatch('button')
411
+ }
412
+ },
413
+ // 关闭模态框
414
+ closeModal () {
415
+ this.showButModal = false
416
+ this.disable_modal_button = true
417
+ },
418
+ onbutchange (index) {
419
+ // 是否禁用按钮
420
+ this.disableModalButton()
421
+
422
+ if (this.data.button.button_fields[index].onchange) {
423
+ this.$dispatch(this.data.button.button_fields[index].onchange, index)
424
+ } else {
425
+ this.$dispatch('onbutchange', index)
426
+ }
427
+
428
+ },
429
+ onbutblur (index) {
430
+ this.disableModalButton()
431
+
432
+ if (this.data.button.button_fields[index].onblur) {
433
+ this.$dispatch(this.data.button.button_fields[index].onblur, index)
434
+ } else {
435
+ this.$dispatch('onbutblur', index)
436
+ }
437
+ },
438
+ onbutinput (index) {
439
+ // 是否禁用按钮
440
+ this.disableModalButton()
441
+
442
+ if (this.data.button.button_fields[index].oninput) {
443
+ this.$dispatch(this.data.button.button_fields[index].oninput, index)
444
+ } else {
445
+ this.$dispatch('onbutinput', index)
446
+ }
447
+ },
448
+ disableModalButton () {
449
+ let flag = false
450
+
451
+
452
+ for (const item of this.data.button.button_fields) {
453
+ if (item.required && !item.value) {
454
+ if (item.value === 0) {
455
+ flag = false
456
+ } else {
457
+ flag = true
458
+ }
459
+ }
460
+ }
461
+
462
+ this.disable_modal_button = flag
463
+ },
464
+ check_datepicker (index) {
465
+ // 时间格式检测
466
+ if (!isEmpty(this.data.fields[index].value)) {
467
+
468
+ let dateReg = /^[1-9]\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/
469
+ let timeReg = /^(20|21|22|23|[0-1]\d):[0-5]\d:[0-5]\d$/
470
+ let datetimeReg = /^[1-9]\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])\s+(20|21|22|23|[0-1]\d):[0-5]\d:[0-5]\d$/
471
+ if (this.data.fields[index].format) {
472
+ if (this.data.fields[index].format === 'yyyy-MM-dd') {
473
+ if (!dateReg.test(this.data.fields[index].value)) {
474
+ this.data.fields[index].value = ''
475
+ this.$showAlert(this.data.fields[index].label + '格式错误如:2021-01-01', 'warning', 2000)
476
+ }
477
+ }
478
+ if (this.data.fields[index].format === 'HH:mm:ss') {
479
+ if (!timeReg.test(this.data.fields[index].value)) {
480
+ this.data.fields[index].value = ''
481
+ this.$showAlert(this.data.fields[index].label + '格式错误如:00:00:00', 'warning', 2000)
482
+ }
483
+ }
484
+ if (this.data.fields[index].format === 'yyyy-MM-dd HH:mm:ss') {
485
+ if (!datetimeReg.test(this.data.fields[index].value)) {
486
+ this.data.fields[index].value = ''
487
+ this.$showAlert(this.data.fields[index].label + '格式错误如:2021-01-01 00:00:00', 'warning', 2000)
488
+ }
489
+ }
490
+ } else {
491
+ if (!dateReg.test(this.data.fields[index].value)) {
492
+ this.data.fields[index].value = ''
493
+ this.$showAlert(this.data.fields[index].label + '格式错误如:2021-01-01', 'warning', 2000)
494
+ }
495
+ }
496
+ }
497
+ }
498
+ },
499
+ events: {
500
+ }
501
+ }
502
+ </script>
503
+ <style scoped>
504
+ .control-label-justify {
505
+ width: 30%;
506
+ text-align: justify;
507
+ text-align-last: justify;
508
+ font-family: PingFang-SC-Bold;
509
+ float: left;
510
+ }
511
+ .button_spacing{margin: 0px 0px 0px 10px;}
512
+ </style>
513
+ <style lang="less">
514
+ .apply-has-error {
515
+ border-bottom: 1px solid #a94442;
516
+ }
517
+ .app-input {
518
+ label {
519
+ float: left;
520
+ }
521
+ .select {
522
+ button {
523
+ border: none;
524
+ outline: none;
525
+ text-align: left;
526
+ .btn-placeholder {
527
+ color: #ACA899
528
+ }
529
+ }
530
+ }
531
+ .datepicker {
532
+ .form-control:focus {
533
+ border: none!important;
534
+ outline: none!important;
535
+ -webkit-box-shadow: none;
536
+ box-shadow: none;
537
+ }
538
+ }
539
+ textarea {
540
+ padding: 8px 10px;
541
+ border: none;
542
+ outline: none;
543
+ margin: 0px;
544
+ }
545
+ input[readonly]{
546
+ color: #ACA899!important;
547
+ background: #FFFFFF;
548
+ border: none;
549
+ outline: none;
550
+ }
551
+ input:disabled{
552
+ color: #ACA899!important;
553
+ background: #FFFFFF;
554
+ border: none;
555
+ outline: none;
556
+ }
557
+ textarea[readonly]{
558
+ color: #ACA899!important;
559
+ background: #FFFFFF;
560
+ border: none;
561
+ outline: none;
562
+ }
563
+ textarea:disabled{
564
+ color: #ACA899!important;
565
+ background: #FFFFFF;
566
+ border: none;
567
+ outline: none;
568
+ }
569
+ }
570
+ </style>