apply-clients 3.3.32 → 3.3.33

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.
@@ -1,103 +1,101 @@
1
- <template>
2
- <div class="flex-row">
3
- <div class="basic-main">
4
- <div style="height: 95%">
5
- <stop-apply-list v-ref:query></stop-apply-list>
6
- </div>
7
- </div>
8
-
9
- <modal v-if="showModal" :show.sync="showModal" backdrop="false" large>
10
- <header slot="modal-header" class="modal-header">
11
- <button type="button" class="close" @click="closeModal()"><span>&times;</span></button>
12
- <span class="modal-title"><font size="3">撤销</font></span>
13
- </header>
14
- <article slot="modal-body" class="modal-body clearfix">
15
- <div :class="data.f_cancel_reason ? '' : 'has-error'" class="form-group">
16
- <label class="control-label-justify control-label col-sm-1">撤销原因</label>
17
- <div class="col-sm-9">
18
- <textarea
19
- class="form-control input_view" style="width: 100%" rows="5"
20
- v-model="data.f_cancel_reason" :value="data.f_cancel_reason"
21
- ></textarea>
22
- </div>
23
- </div>
24
- </article>
25
- <footer slot="modal-footer" class="modal-footer">
26
- <button :class="!data.f_cancel_reason ? 'btn btn-default':'btn btn-primary'"
27
- :disabled="!data.f_cancel_reason" type="button" @click="confirmModal()">
28
- 确认
29
- </button>
30
- </footer>
31
- </modal>
32
- </div>
33
- </template>
34
-
35
- <script>
36
- export default {
37
- title: '终止报建',
38
- data () {
39
- return {
40
- showModal: false,
41
- data: null
42
- }
43
- },
44
- ready () {
45
- },
46
- methods: {
47
- closeModal () {
48
- this.showModal = false
49
- this.data = null
50
-
51
- this.$refs.query.$refs.cp.$refs.cri.search()
52
- },
53
- async confirmModal () {
54
- let data = {
55
- data: this.data,
56
- user: this.$login.f
57
- }
58
-
59
- let res = await this.$resetpost(
60
- `rs/logic/cancelStopApply`,
61
- {data: data},
62
- {resolveMsg: null, rejectMsg: '撤销失败!!!'}
63
- )
64
-
65
- this.closeModal()
66
- }
67
- },
68
- events: {
69
- 'search' () {
70
- this.$refs.query.$refs.cp.$refs.cri.search()
71
- },
72
- 'cancelStopApply' (row) {
73
- this.data = row
74
-
75
- this.showModal = true
76
- }
77
- }
78
- }
79
- </script>
80
-
81
- <style scoped>
82
- .control-label-justify {
83
- display: inline-block;
84
- vertical-align: top;
85
- width: 110px;
86
- text-align: justify;
87
- font-family: PingFang-SC-Bold;
88
- }
89
-
90
- .control-label-justify::after {
91
- content: "";
92
- display: inline-block;
93
- width: 100%;
94
- overflow: hidden;
95
- height: 0;
96
- }
97
- .clearfix:after,.clearfix:before{
98
- display: table;
99
- }
100
- .clearfix:after{
101
- clear: both;
102
- }
103
- </style>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <stop-apply-list v-ref:query></stop-apply-list>
5
+ </div>
6
+
7
+ <modal v-if="showModal" :show.sync="showModal" backdrop="false" large>
8
+ <header slot="modal-header" class="modal-header">
9
+ <button type="button" class="close" @click="closeModal()"><span>&times;</span></button>
10
+ <span class="modal-title"><font size="3">撤销</font></span>
11
+ </header>
12
+ <article slot="modal-body" class="modal-body clearfix">
13
+ <div :class="data.f_cancel_reason ? '' : 'has-error'" class="form-group">
14
+ <label class="control-label-justify control-label col-sm-1">撤销原因</label>
15
+ <div class="col-sm-9">
16
+ <textarea
17
+ class="form-control input_view" style="width: 100%" rows="5"
18
+ v-model="data.f_cancel_reason" :value="data.f_cancel_reason"
19
+ ></textarea>
20
+ </div>
21
+ </div>
22
+ </article>
23
+ <footer slot="modal-footer" class="modal-footer">
24
+ <button :class="!data.f_cancel_reason ? 'btn btn-default':'btn btn-primary'"
25
+ :disabled="!data.f_cancel_reason" type="button" @click="confirmModal()">
26
+ 确认
27
+ </button>
28
+ </footer>
29
+ </modal>
30
+ </div>
31
+ </template>
32
+
33
+ <script>
34
+ export default {
35
+ title: '终止报建',
36
+ data () {
37
+ return {
38
+ showModal: false,
39
+ data: null
40
+ }
41
+ },
42
+ ready () {
43
+ },
44
+ methods: {
45
+ closeModal () {
46
+ this.showModal = false
47
+ this.data = null
48
+
49
+ this.$refs.query.$refs.cp.$refs.cri.search()
50
+ },
51
+ async confirmModal () {
52
+ let data = {
53
+ data: this.data,
54
+ user: this.$login.f
55
+ }
56
+
57
+ let res = await this.$resetpost(
58
+ `rs/logic/cancelStopApply`,
59
+ {data: data},
60
+ {resolveMsg: null, rejectMsg: '撤销失败!!!'}
61
+ )
62
+
63
+ this.closeModal()
64
+ }
65
+ },
66
+ events: {
67
+ 'search' () {
68
+ this.$refs.query.$refs.cp.$refs.cri.search()
69
+ },
70
+ 'cancelStopApply' (row) {
71
+ this.data = row
72
+
73
+ this.showModal = true
74
+ }
75
+ }
76
+ }
77
+ </script>
78
+
79
+ <style scoped>
80
+ .control-label-justify {
81
+ display: inline-block;
82
+ vertical-align: top;
83
+ width: 110px;
84
+ text-align: justify;
85
+ font-family: PingFang-SC-Bold;
86
+ }
87
+
88
+ .control-label-justify::after {
89
+ content: "";
90
+ display: inline-block;
91
+ width: 100%;
92
+ overflow: hidden;
93
+ height: 0;
94
+ }
95
+ .clearfix:after,.clearfix:before{
96
+ display: table;
97
+ }
98
+ .clearfix:after{
99
+ clear: both;
100
+ }
101
+ </style>
@@ -737,7 +737,7 @@
737
737
  f_process_id : this.show_data.f_process_id,
738
738
  f_operator_id: this.$login.f.id,
739
739
  f_operator: this.$login.f.name,
740
- f_operation_date: new Date(),
740
+ f_operation_date: new Date().Format('yyyy-MM-dd HH:mm:ss'),
741
741
  f_orgid: this.$login.f.orgid,
742
742
  f_orgname: this.$login.f.orgs
743
743
  }