apply-clients 3.2.32 → 3.2.37

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 (37) hide show
  1. package/package.json +1 -1
  2. package/src/AndroidApp.vue +26 -26
  3. package/src/App.vue +20 -20
  4. package/src/apply.js +67 -67
  5. package/src/applyAndroid.js +24 -24
  6. package/src/components/Util.js +359 -359
  7. package/src/components/app_apply/AppOnetomany.vue +90 -90
  8. package/src/components/app_apply/AppServiceView.vue +664 -664
  9. package/src/components/app_apply/AppTakePic.vue +112 -112
  10. package/src/components/app_apply/Process/AppExplorationUser.vue +310 -310
  11. package/src/components/app_apply/Process/AppServiceControl.vue +409 -409
  12. package/src/components/app_apply/Process/Processes/AppInstallationDetails.vue +456 -456
  13. package/src/components/app_apply/Supervisory/AppProcessSupervisory.vue +300 -300
  14. package/src/components/app_apply/Supervisory/AppSupervisoryCart.vue +121 -121
  15. package/src/components/product/ApplyCharge/ApplyChargeList.vue +251 -251
  16. package/src/components/product/ApplyCharge/ApplyChargeReport.vue +107 -107
  17. package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +30 -30
  18. package/src/components/product/Function/InstallFunction.vue +147 -147
  19. package/src/components/product/Function/InstallInfoSelect.vue +281 -281
  20. package/src/components/product/Function/Service/FunctionServiceControl.vue +245 -245
  21. package/src/components/product/Function/StopApplyCrrdList.vue +176 -176
  22. package/src/components/product/Function/functions/StopInstall.vue +106 -106
  23. package/src/components/product/Process/ExplorationSelect.vue +346 -346
  24. package/src/components/product/Process/ExplorationUser.vue +134 -134
  25. package/src/components/product/Process/Processes/InstallationDetails.vue +243 -233
  26. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +201 -201
  27. package/src/components/product/Process/Processes/chargeManagement.vue +555 -555
  28. package/src/components/product/Process/Processes/printCharge.vue +133 -133
  29. package/src/components/product/Process/Processes/supplementalAgreement.vue +297 -297
  30. package/src/components/product/Process/ShowBackReason.vue +32 -32
  31. package/src/components/product/ServiceView.vue +759 -759
  32. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +199 -199
  33. package/src/components/product/Supervisory/SupervisoryControl.vue +119 -119
  34. package/src/components/product/Supervisory/SupervisoryList.vue +208 -208
  35. package/src/components/product/Supervisory/SupervisoryhCart.vue +103 -103
  36. package/src/components/product/VueUtils/ApplyUpload.vue +261 -261
  37. package/src/main.js +23 -23
@@ -1,176 +1,176 @@
1
- <template>
2
- <div>
3
- <criteria-paged :model="model" v-ref:paged :pager="false">
4
- <criteria partial='criteria' @condition-changed='search' v-ref:cri>
5
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
6
- <div class="row">
7
- <div class="form-group col-sm-12 button-range">
8
- <button class="button_search button_spacing" @click="search()">查询</button>
9
- <div
10
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
11
- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
12
- class="button_spacing"
13
- style="float: right">
14
- </div>
15
- </div>
16
- </div>
17
- <div class="row" v-show="$parent.$parent.criteriaShow">
18
- <div class="form-group col-sm-12">
19
- <label class="font_normal_body">&emsp;</label>
20
- <input type="text" class="input_search" v-model="model.f_user_name"
21
- v-on:keyup.enter="search" condition="f_user_name like '%{}%'" placeholder='联系人'>
22
- </div>
23
- <div class="form-group col-sm-12">
24
- <label class="font_normal_body">&emsp;</label>
25
- <input type="text" class="input_search" v-model="model.f_phone"
26
- v-on:keyup.enter="search" condition="f_phone like '%{}%'" placeholder='电话号码'>
27
- </div>
28
- </div>
29
- </div>
30
- </criteria>
31
- <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
32
- <template partial='head'>
33
- <tr class="title">
34
- <th colspan="2" style="white-space: nowrap;">已终止报建工程</th>
35
- </tr>
36
- </template>
37
- <template partial='body'>
38
- <tr>
39
- <td style="text-align: center;">{{row.f_user_name}}</td>
40
- <td style="text-align: center;">
41
- <dropdown>
42
- <button @click="" type="button" data-toggle="dropdown" style="border: 0px;background: none;">
43
- <span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
44
- </button>
45
- </dropdown>
46
- </td>
47
- </tr>
48
- </template>
49
- </data-grid>
50
- <!-- <div partial="list" style="overflow: auto">-->
51
- <!-- <div class="panel panel-default auto" v-for="item in model.rows">-->
52
- <!-- <div class="panel-heading auto" style="background-color: #E8F4FF" @click="$parent.$parent.showTable(item)">-->
53
- <!-- {{item.f_user_name}}-->
54
- <!-- <div style="float: right">-->
55
- <!-- <dropdown class="auto">-->
56
- <!-- <button type="button" data-toggle="dropdown" style="border: 0px;background: none;">-->
57
- <!-- <span class="glyphicon glyphicon-th-list"></span>-->
58
- <!-- </button>-->
59
- <!-- <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right" style=" min-width: 60px;">-->
60
- <!-- <li>-->
61
- <!-- <a href="#" @click.stop="$parent.$parent.operate(item)">撤销</a>-->
62
- <!-- </li>-->
63
- <!-- </ul>-->
64
- <!-- </dropdown>-->
65
- <!-- </div>-->
66
- <!-- </div>-->
67
- <!-- <table class="table" v-if="$parent.$parent.tableShow(item)">-->
68
- <!-- <tr>-->
69
- <!-- <td><b>终止原因</b></td>-->
70
- <!-- <td>-->
71
- <!-- <span data-toggle="tooltip" data-placement="left" :title="item.f_stop_remarks">-->
72
- <!-- {{item.f_stop_remarks.length > 5 ? item.f_stop_remarks.substring(0,5) + '...' : item.f_stop_remarks.length}}-->
73
- <!-- </span>-->
74
- <!-- </td>-->
75
- <!-- </tr>-->
76
- <!-- <tr>-->
77
- <!-- <td><b>流程节点</b></td>-->
78
- <!-- <td>-->
79
- <!-- <span data-toggle="tooltip" data-placement="left" :title="item.defname">-->
80
- <!-- {{item.defname.length > 5 ? item.defname.substring(0,5) + '...' : item.defname}}-->
81
- <!-- </span>-->
82
- <!-- </td>-->
83
- <!-- </tr>-->
84
- <!-- <tr>-->
85
- <!-- <td><b>操作人</b></td>-->
86
- <!-- <td>-->
87
- <!-- <span data-toggle="tooltip" data-placement="left" :title="item.f_operator">-->
88
- <!-- {{item.f_operator.length > 5 ? item.f_operator.substring(0,5) + '...' : item.f_operator}}-->
89
- <!-- </span>-->
90
- <!-- </td>-->
91
- <!-- </tr>-->
92
- <!-- <tr>-->
93
- <!-- <td><b>操作部门</b></td>-->
94
- <!-- <td>-->
95
- <!-- <span data-toggle="tooltip" data-placement="left" :title="item.f_department">-->
96
- <!-- {{item.f_department.length > 5 ? item.f_department.substring(0,5) + '...' : item.f_department}}-->
97
- <!-- </span>-->
98
- <!-- </td>-->
99
- <!-- </tr>-->
100
- <!-- <tr>-->
101
- <!-- <td><b>操作日期</b></td>-->
102
- <!-- <td>-->
103
- <!-- <span data-toggle="tooltip" data-placement="left" :title="item.f_date">-->
104
- <!-- {{new Date(item.f_date).Format('yyyy-MM-dd')}}...-->
105
- <!-- </span>-->
106
- <!-- </td>-->
107
- <!-- </tr>-->
108
- <!-- </table>-->
109
- <!-- </div>-->
110
- <!-- </div>-->
111
- </criteria-paged>
112
- </div>
113
- </template>
114
- <script>
115
- /**
116
- *操作记录信息
117
- */
118
- import {HttpResetClass} from 'vue-client'
119
- import { PagedList } from 'vue-client'
120
- Date.prototype.Format = function (fmt) {
121
- var o = {
122
- 'M+': this.getMonth() + 1, // 月份
123
- 'd+': this.getDate(), // 日
124
- 'H+': this.getHours(), // 小时
125
- 'm+': this.getMinutes(), // 分
126
- 's+': this.getSeconds(), // 秒
127
- 'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
128
- 'S': this.getMilliseconds() // 毫秒
129
- }
130
- if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
131
- for (var k in o) {
132
- if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
133
- }
134
- return fmt
135
- }
136
- export default {
137
- title: '操作汇总',
138
- data () {
139
- return {
140
- model: new PagedList('rs/sql/getStopApply', 9999999, {
141
- data: {
142
- id: this.$login.f.id,
143
- orgid: this.$login.f.orgid
144
- }
145
- }),
146
- row: null, // 当前点击的数据
147
- criteriaShow: false // 控制查询条件
148
- }
149
- },
150
- props: {
151
- },
152
- ready () {
153
- this.$refs.paged.$refs.cri.search()
154
- },
155
- methods: {
156
- // 控制查询
157
- hidden () {
158
- this.criteriaShow = !this.criteriaShow
159
- },
160
- // 当前点击的卡片数据
161
- showTable (row) {
162
- this.row = row
163
- },
164
- // 判断是否显示详细信息
165
- tableShow (row) {
166
- return this.row === row
167
- },
168
- // 点击撤销
169
- operate (row) {
170
- this.$dispatch('operate', row)
171
- }
172
- },
173
- watch: {
174
- }
175
- }
176
- </script>
1
+ <template>
2
+ <div>
3
+ <criteria-paged :model="model" v-ref:paged :pager="false">
4
+ <criteria partial='criteria' @condition-changed='search' v-ref:cri>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
6
+ <div class="row">
7
+ <div class="form-group col-sm-12 button-range">
8
+ <button class="button_search button_spacing" @click="search()">查询</button>
9
+ <div
10
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
11
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
12
+ class="button_spacing"
13
+ style="float: right">
14
+ </div>
15
+ </div>
16
+ </div>
17
+ <div class="row" v-show="$parent.$parent.criteriaShow">
18
+ <div class="form-group col-sm-12">
19
+ <label class="font_normal_body">&emsp;</label>
20
+ <input type="text" class="input_search" v-model="model.f_user_name"
21
+ v-on:keyup.enter="search" condition="f_user_name like '%{}%'" placeholder='联系人'>
22
+ </div>
23
+ <div class="form-group col-sm-12">
24
+ <label class="font_normal_body">&emsp;</label>
25
+ <input type="text" class="input_search" v-model="model.f_phone"
26
+ v-on:keyup.enter="search" condition="f_phone like '%{}%'" placeholder='电话号码'>
27
+ </div>
28
+ </div>
29
+ </div>
30
+ </criteria>
31
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
32
+ <template partial='head'>
33
+ <tr class="title">
34
+ <th colspan="2" style="white-space: nowrap;">已终止报建工程</th>
35
+ </tr>
36
+ </template>
37
+ <template partial='body'>
38
+ <tr>
39
+ <td style="text-align: center;">{{row.f_user_name}}</td>
40
+ <td style="text-align: center;">
41
+ <dropdown>
42
+ <button @click="" type="button" data-toggle="dropdown" style="border: 0px;background: none;">
43
+ <span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
44
+ </button>
45
+ </dropdown>
46
+ </td>
47
+ </tr>
48
+ </template>
49
+ </data-grid>
50
+ <!-- <div partial="list" style="overflow: auto">-->
51
+ <!-- <div class="panel panel-default auto" v-for="item in model.rows">-->
52
+ <!-- <div class="panel-heading auto" style="background-color: #E8F4FF" @click="$parent.$parent.showTable(item)">-->
53
+ <!-- {{item.f_user_name}}-->
54
+ <!-- <div style="float: right">-->
55
+ <!-- <dropdown class="auto">-->
56
+ <!-- <button type="button" data-toggle="dropdown" style="border: 0px;background: none;">-->
57
+ <!-- <span class="glyphicon glyphicon-th-list"></span>-->
58
+ <!-- </button>-->
59
+ <!-- <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right" style=" min-width: 60px;">-->
60
+ <!-- <li>-->
61
+ <!-- <a href="#" @click.stop="$parent.$parent.operate(item)">撤销</a>-->
62
+ <!-- </li>-->
63
+ <!-- </ul>-->
64
+ <!-- </dropdown>-->
65
+ <!-- </div>-->
66
+ <!-- </div>-->
67
+ <!-- <table class="table" v-if="$parent.$parent.tableShow(item)">-->
68
+ <!-- <tr>-->
69
+ <!-- <td><b>终止原因</b></td>-->
70
+ <!-- <td>-->
71
+ <!-- <span data-toggle="tooltip" data-placement="left" :title="item.f_stop_remarks">-->
72
+ <!-- {{item.f_stop_remarks.length > 5 ? item.f_stop_remarks.substring(0,5) + '...' : item.f_stop_remarks.length}}-->
73
+ <!-- </span>-->
74
+ <!-- </td>-->
75
+ <!-- </tr>-->
76
+ <!-- <tr>-->
77
+ <!-- <td><b>流程节点</b></td>-->
78
+ <!-- <td>-->
79
+ <!-- <span data-toggle="tooltip" data-placement="left" :title="item.defname">-->
80
+ <!-- {{item.defname.length > 5 ? item.defname.substring(0,5) + '...' : item.defname}}-->
81
+ <!-- </span>-->
82
+ <!-- </td>-->
83
+ <!-- </tr>-->
84
+ <!-- <tr>-->
85
+ <!-- <td><b>操作人</b></td>-->
86
+ <!-- <td>-->
87
+ <!-- <span data-toggle="tooltip" data-placement="left" :title="item.f_operator">-->
88
+ <!-- {{item.f_operator.length > 5 ? item.f_operator.substring(0,5) + '...' : item.f_operator}}-->
89
+ <!-- </span>-->
90
+ <!-- </td>-->
91
+ <!-- </tr>-->
92
+ <!-- <tr>-->
93
+ <!-- <td><b>操作部门</b></td>-->
94
+ <!-- <td>-->
95
+ <!-- <span data-toggle="tooltip" data-placement="left" :title="item.f_department">-->
96
+ <!-- {{item.f_department.length > 5 ? item.f_department.substring(0,5) + '...' : item.f_department}}-->
97
+ <!-- </span>-->
98
+ <!-- </td>-->
99
+ <!-- </tr>-->
100
+ <!-- <tr>-->
101
+ <!-- <td><b>操作日期</b></td>-->
102
+ <!-- <td>-->
103
+ <!-- <span data-toggle="tooltip" data-placement="left" :title="item.f_date">-->
104
+ <!-- {{new Date(item.f_date).Format('yyyy-MM-dd')}}...-->
105
+ <!-- </span>-->
106
+ <!-- </td>-->
107
+ <!-- </tr>-->
108
+ <!-- </table>-->
109
+ <!-- </div>-->
110
+ <!-- </div>-->
111
+ </criteria-paged>
112
+ </div>
113
+ </template>
114
+ <script>
115
+ /**
116
+ *操作记录信息
117
+ */
118
+ import {HttpResetClass} from 'vue-client'
119
+ import { PagedList } from 'vue-client'
120
+ Date.prototype.Format = function (fmt) {
121
+ var o = {
122
+ 'M+': this.getMonth() + 1, // 月份
123
+ 'd+': this.getDate(), // 日
124
+ 'H+': this.getHours(), // 小时
125
+ 'm+': this.getMinutes(), // 分
126
+ 's+': this.getSeconds(), // 秒
127
+ 'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
128
+ 'S': this.getMilliseconds() // 毫秒
129
+ }
130
+ if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
131
+ for (var k in o) {
132
+ if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
133
+ }
134
+ return fmt
135
+ }
136
+ export default {
137
+ title: '操作汇总',
138
+ data () {
139
+ return {
140
+ model: new PagedList('rs/sql/getStopApply', 9999999, {
141
+ data: {
142
+ id: this.$login.f.id,
143
+ orgid: this.$login.f.orgid
144
+ }
145
+ }),
146
+ row: null, // 当前点击的数据
147
+ criteriaShow: false // 控制查询条件
148
+ }
149
+ },
150
+ props: {
151
+ },
152
+ ready () {
153
+ this.$refs.paged.$refs.cri.search()
154
+ },
155
+ methods: {
156
+ // 控制查询
157
+ hidden () {
158
+ this.criteriaShow = !this.criteriaShow
159
+ },
160
+ // 当前点击的卡片数据
161
+ showTable (row) {
162
+ this.row = row
163
+ },
164
+ // 判断是否显示详细信息
165
+ tableShow (row) {
166
+ return this.row === row
167
+ },
168
+ // 点击撤销
169
+ operate (row) {
170
+ this.$dispatch('operate', row)
171
+ }
172
+ },
173
+ watch: {
174
+ }
175
+ }
176
+ </script>
@@ -1,106 +1,106 @@
1
- <template>
2
- <div class="col-sm-12 auto">
3
- <validator name="v">
4
- <form class="form-horizontal">
5
- <div class="form-group col-sm-12" style="margin: 100px 0px">
6
- <div class="col-sm-2">
7
- <label class="control-label col-sm-12">终止原因:</label>
8
- </div>
9
- <div class="col-sm-10">
10
- <textarea class="form-control" rows="3" v-model="model.f_stop_remarks"></textarea>
11
- </div>
12
- </div>
13
- <div class="col-sm-12 form-group text-center">
14
- <div class="col-sm-12 form-group text-center">
15
- <div class="form-group col-sm-6 center-block">
16
- <label class="col-sm-4">分公司:</label>
17
- <div class="col-sm-8" style="text-align: left">
18
- {{model.f_filiale}}
19
- </div>
20
- </div>
21
- <div class="form-group col-sm-6 center-block">
22
- <label class="col-sm-4">操作日期:</label>
23
- <div class="col-sm-8" style="text-align: left">
24
- {{model.f_date}}
25
- </div>
26
- </div>
27
- </div>
28
- <div class="col-sm-12 form-group text-center">
29
- <div class="form-group col-sm-6 center-block">
30
- <label class="col-sm-4">部门:</label>
31
- <div class="col-sm-8" style="text-align: left">
32
- {{model.f_department}}
33
- </div>
34
- </div>
35
- <div class="form-group col-sm-6 center-block">
36
- <label class="col-sm-4">操作人:</label>
37
- <div class="col-sm-8" style="text-align: left">
38
- {{model.f_operator}}
39
- </div>
40
- </div>
41
- </div>
42
- </div>
43
- </form>
44
- </validator>
45
-
46
-
47
-
48
- <div class="from-group col-sm-12">
49
- <center>
50
- <button type="button" @click="confirm()" :disabled="disabled" class="btn btn-primary" style="width: 100px">
51
- 保存
52
- </button>
53
- </center>
54
- </div>
55
- </div>
56
- </template>
57
- <script>
58
- import * as Util from '../../../Util'
59
- import {HttpResetClass} from 'vue-client'
60
- export default {
61
- title: '终止报建',
62
- props: ['data'],
63
- data () {
64
- return {
65
- model: {
66
- f_date: Util.toStandardTimeString(),
67
- f_department: this.$login.f.f_department_name,
68
- f_operator: this.$login.f.name,
69
- f_filiale: this.$login.f.orgs,
70
- f_stop_remarks: null
71
- },
72
- disabled: true // 是否禁用确认按钮
73
- }
74
- },
75
- methods: {
76
- // 点击确认提交
77
- confirm () {
78
- this.disabled = true
79
- let http = new HttpResetClass()
80
- let data = {
81
- loginUser: this.$login.f,
82
- selectdata: this.data,
83
- model: this.model
84
- }
85
- http.load('POST', 'rs/logic/stopApply', {data: data}, {resolveMsg: null,rejectMsg: '删除失败'})
86
- .then(res => {
87
- if (res.data === 200) {
88
- this.$dispatch('search')
89
- } else {
90
- this.$showMessage('终止报建失败')
91
- }
92
- })
93
- }
94
- },
95
- watch: {
96
- // 监控确认按钮
97
- 'model.f_stop_remarks' (val) {
98
- if (val != null || val !== '') {
99
- this.disabled = false
100
- }
101
- }
102
- }
103
- }
104
- </script>
105
- <style scoped>
106
- </style>
1
+ <template>
2
+ <div class="col-sm-12 auto">
3
+ <validator name="v">
4
+ <form class="form-horizontal">
5
+ <div class="form-group col-sm-12" style="margin: 100px 0px">
6
+ <div class="col-sm-2">
7
+ <label class="control-label col-sm-12">终止原因:</label>
8
+ </div>
9
+ <div class="col-sm-10">
10
+ <textarea class="form-control" rows="3" v-model="model.f_stop_remarks"></textarea>
11
+ </div>
12
+ </div>
13
+ <div class="col-sm-12 form-group text-center">
14
+ <div class="col-sm-12 form-group text-center">
15
+ <div class="form-group col-sm-6 center-block">
16
+ <label class="col-sm-4">分公司:</label>
17
+ <div class="col-sm-8" style="text-align: left">
18
+ {{model.f_filiale}}
19
+ </div>
20
+ </div>
21
+ <div class="form-group col-sm-6 center-block">
22
+ <label class="col-sm-4">操作日期:</label>
23
+ <div class="col-sm-8" style="text-align: left">
24
+ {{model.f_date}}
25
+ </div>
26
+ </div>
27
+ </div>
28
+ <div class="col-sm-12 form-group text-center">
29
+ <div class="form-group col-sm-6 center-block">
30
+ <label class="col-sm-4">部门:</label>
31
+ <div class="col-sm-8" style="text-align: left">
32
+ {{model.f_department}}
33
+ </div>
34
+ </div>
35
+ <div class="form-group col-sm-6 center-block">
36
+ <label class="col-sm-4">操作人:</label>
37
+ <div class="col-sm-8" style="text-align: left">
38
+ {{model.f_operator}}
39
+ </div>
40
+ </div>
41
+ </div>
42
+ </div>
43
+ </form>
44
+ </validator>
45
+
46
+
47
+
48
+ <div class="from-group col-sm-12">
49
+ <center>
50
+ <button type="button" @click="confirm()" :disabled="disabled" class="btn btn-primary" style="width: 100px">
51
+ 保存
52
+ </button>
53
+ </center>
54
+ </div>
55
+ </div>
56
+ </template>
57
+ <script>
58
+ import * as Util from '../../../Util'
59
+ import {HttpResetClass} from 'vue-client'
60
+ export default {
61
+ title: '终止报建',
62
+ props: ['data'],
63
+ data () {
64
+ return {
65
+ model: {
66
+ f_date: Util.toStandardTimeString(),
67
+ f_department: this.$login.f.f_department_name,
68
+ f_operator: this.$login.f.name,
69
+ f_filiale: this.$login.f.orgs,
70
+ f_stop_remarks: null
71
+ },
72
+ disabled: true // 是否禁用确认按钮
73
+ }
74
+ },
75
+ methods: {
76
+ // 点击确认提交
77
+ confirm () {
78
+ this.disabled = true
79
+ let http = new HttpResetClass()
80
+ let data = {
81
+ loginUser: this.$login.f,
82
+ selectdata: this.data,
83
+ model: this.model
84
+ }
85
+ http.load('POST', 'rs/logic/stopApply', {data: data}, {resolveMsg: null,rejectMsg: '删除失败'})
86
+ .then(res => {
87
+ if (res.data === 200) {
88
+ this.$dispatch('search')
89
+ } else {
90
+ this.$showMessage('终止报建失败')
91
+ }
92
+ })
93
+ }
94
+ },
95
+ watch: {
96
+ // 监控确认按钮
97
+ 'model.f_stop_remarks' (val) {
98
+ if (val != null || val !== '') {
99
+ this.disabled = false
100
+ }
101
+ }
102
+ }
103
+ }
104
+ </script>
105
+ <style scoped>
106
+ </style>