apply-clients 4.1.81 → 4.1.85

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.
@@ -87,7 +87,11 @@ export default {
87
87
  }
88
88
  }
89
89
  if (item.default || item.default == 0) {
90
- item.value = item.default
90
+ if(item.type === 'datepicker'){
91
+ item.value = ''
92
+ }else {
93
+ item.value = item.default
94
+ }
91
95
  }
92
96
  if (this.selectdata[item.field]) {
93
97
  // 将json字符串格式化赋值给value
@@ -303,7 +307,7 @@ export default {
303
307
  // }
304
308
  // }
305
309
  for (const item of this.show_data.fields) {
306
- if (item.label === '工程状态') {
310
+ if (item.label === '工程状态' && !item.value) {
307
311
  return item.value = '未开工'
308
312
  }
309
313
  }
@@ -552,7 +556,7 @@ export default {
552
556
  }
553
557
  if (
554
558
  model.button.button_name === '提交' &&
555
- model.defname === '收费' &&
559
+ model.defname === '通气点火' &&
556
560
  (
557
561
  model.f_apply_type === '散户报建' ||
558
562
  model.f_apply_type === '工商户报建'
@@ -1,33 +1,33 @@
1
- <template>
2
- <div style="height: auto;text-align: center" class="col-sm-12" v-if="data != null">
3
- <span style="color: red;font-family: 微软雅黑;font-weight: bold;font-size: 18px"> 请注意被退回原因为:{{data.f_back_reason}} 退回时间:{{data.f_date}}</span>
4
- </div>
5
- </template>
6
- <script>
7
- import {HttpResetClass} from 'vue-client'
8
-
9
- export default {
10
- title: '退回原因展示',
11
- props: ['selectdata'],
12
- data () {
13
- return {
14
- data: null
15
- }
16
- },
17
- async created () {
18
- if (this.selectdata) {
19
- let http = new HttpResetClass()
20
- let data = {
21
- tablename: 't_backcause',
22
- condition: `actid = '${this.selectdata.actid}' and f_process_id='${this.selectdata.f_process_id}'`
23
- }
24
- let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
25
- resolveMsg: null,
26
- rejectMsg: null
27
- })
28
- this.data = res.data[0]
29
- console.log("ce",this.data)
30
- }
31
- }
32
- }
33
- </script>
1
+ <template>
2
+ <div style="height: auto;text-align: center" class="col-sm-12" v-if="data != null">
3
+ <span style="color: red;font-family: 微软雅黑;font-weight: bold;font-size: 18px"> 请注意被退回原因为:{{data.f_back_reason}} 退回时间:{{data.f_date}}</span>
4
+ </div>
5
+ </template>
6
+ <script>
7
+ import {HttpResetClass} from 'vue-client'
8
+
9
+ export default {
10
+ title: '退回原因展示',
11
+ props: ['selectdata'],
12
+ data () {
13
+ return {
14
+ data: null
15
+ }
16
+ },
17
+ async created () {
18
+ if (this.selectdata) {
19
+ let http = new HttpResetClass()
20
+ let data = {
21
+ tablename: 't_backcause',
22
+ condition: `actid = '${this.selectdata.actid}' and f_process_id='${this.selectdata.f_process_id}'`
23
+ }
24
+ let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
25
+ resolveMsg: null,
26
+ rejectMsg: null
27
+ })
28
+ this.data = res.data[0]
29
+ console.log("ce",this.data)
30
+ }
31
+ }
32
+ }
33
+ </script>