apply-clients 3.3.59 → 3.3.60

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.
@@ -11,8 +11,10 @@ var compiler = webpack(config)
11
11
  // var ldap = 'http://192.168.50.4:8400'
12
12
  var ldap = 'http://192.168.20.28:8400'
13
13
  // var ldap = 'http://192.168.20.27:8400'
14
+ // var ldap = 'http://61.163.127.69:8555'
14
15
  // var applyinstall = 'http://192.168.20.27:8400'
15
16
  var applyinstall = 'http://127.0.0.1:8080'
17
+ // var applyinstall = 'http://61.163.127.69:8555'
16
18
 
17
19
  var proxyTable = {
18
20
  '/wx': {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "3.3.59",
3
+ "version": "3.3.60",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -498,9 +498,39 @@ export default {
498
498
  value: item.id
499
499
  }
500
500
  })
501
+ },
502
+ async surveyStopApply () {
503
+ console.log('终止报建!!!!!')
504
+
505
+ this.show_data.f_stop_reason = '现场勘察不符合报装条件'
506
+
507
+ let data = {
508
+ data: this.show_data,
509
+ user: Vue.user
510
+ }
511
+
512
+ let res = await this.$resetpost(
513
+ `${this.$androidUtil.getProxyUrl()}/rs/logic/surveyStopApply`,
514
+ {data: data},
515
+ {resolveMsg: null, rejectMsg: '终止报建失败!!!'}
516
+ )
517
+
518
+ this.$dispatch('loadPage')
519
+
520
+ throw '终止报建!!!'
501
521
  }
502
522
  },
503
523
  events: {
524
+ 'complyInstallation' (index) {
525
+ if (this.show_data.f_is_have === '否') {
526
+ this.hideButtons('提交', '出图', '缴费')
527
+ this.showButtons('终止')
528
+ }
529
+ if (this.show_data.f_is_have === '是') {
530
+ this.hideButtons('终止')
531
+ this.showButtons('提交', '出图', '缴费')
532
+ }
533
+ },
504
534
  async 'igniteDispatchReadyEvent' () {
505
535
  let data = {
506
536
  tablename: 'activityins',
@@ -1,263 +1,263 @@
1
- <template>
2
- <div class="col-sm-12">
3
- <criteria-paged :model="model" v-ref:cp>
4
- <criteria partial='criteria' @condition-changed='$parent.searchCondition' 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-3">
8
- <label class="font_normal_body">组织机构:</label>
9
- <res-select
10
- restype='organization'
11
- :initresid='$parent.$parent.curorgid'
12
- @res-select="$parent.$parent.getorg"
13
- is-mul="false"
14
- ></res-select>
15
- </div>
16
- <div class="form-group col-sm-3">
17
- <label class="font_normal_body">预约类型:</label>
18
- <v-select
19
- v-model="model.f_ordertype"
20
- placeholder='预约类型'
21
- condition="o.f_ordertype = '{}'"
22
- :value.sync="model.f_ordertype"
23
- :options='$parent.$parent.orderType'
24
- class="select select_list"
25
- :value-single="true"
26
- close-on-select ></v-select>
27
- </div>
28
- <div class="form-group col-sm-3">
29
- <label class="font_normal_body">处理状态:</label>
30
- <v-select
31
- v-model="model.f_orderstate"
32
- placeholder='处理状态'
33
- condition="o.f_orderstate = '{}'"
34
- :value.sync="model.f_orderstate"
35
- :options='$parent.$parent.orderState'
36
- class="select select_list"
37
- :value-single="true"
38
- close-on-select ></v-select>
39
- </div>
40
- <div class="form-group col-sm-6 button-range">
41
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
42
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
43
- <div
44
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
45
- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
46
- class="button_spacing"
47
- style="float: right">
48
- </div>
49
- </div>
50
- </div>
51
- <div class="row" v-show="$parent.$parent.criteriaShow">
52
- <div class="form-group col-sm-3">
53
- <label class="font_normal_body">预约来源:</label>
54
- <v-select
55
- placeholder='预约来源'
56
- v-model="model.f_order_source"
57
- :value.sync="model.f_order_source"
58
- condition="o.f_order_source = '{}'"
59
- :options='$parent.$parent.orderSource'
60
- class="select select_list"
61
- :value-single="true"
62
- close-on-select ></v-select>
63
- </div>
64
- <div class="form-group col-sm-3">
65
- <label class="font_normal_body">用户编号:</label>
66
- <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
67
- v-on:keyup.enter="$parent.$parent.search()" condition="o.f_userinfo_code like '%{}%'" placeholder='用户编号'>
68
- </div>
69
- <div class="form-group col-sm-3">
70
- <label class="font_normal_body">用户姓名:</label>
71
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
72
- v-on:keyup.enter="$parent.$parent.search()" condition="o.f_user_name like '%{}%'" placeholder='用户姓名'>
73
- </div>
74
- <div class="form-group col-sm-3">
75
- <label class="font_normal_body">联系电话:</label>
76
- <input type="text" style="width:60%" class="input_search" v-model="model.f_phone"
77
- v-on:keyup.enter="$parent.$parent.search()" condition="o.f_phone like '%{}%'" placeholder='联系电话'>
78
- </div>
79
- <div class="form-group col-sm-3">
80
- <label class="font_normal_body">详细地址:</label>
81
- <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
82
- v-on:keyup.enter="$parent.$parent.search()" condition="o.f_address like '%{}%'" placeholder='详细地址'>
83
- </div>
84
- <div class="form-group col-sm-3">
85
- <label class="font_normal_body">审&ensp;核&ensp;人:</label>
86
- <input type="text" style="width:60%" class="input_search" v-model="model.f_check_user"
87
- v-on:keyup.enter="$parent.$parent.search()" condition="o.f_check_user like '%{}%'" placeholder='审核人'>
88
- </div>
89
- <div class="form-group col-sm-3">
90
- <label class="font_normal_body">处&ensp;理&ensp;人:</label>
91
- <input type="text" style="width:60%" class="input_search" v-model="model.f_process_user"
92
- v-on:keyup.enter="$parent.$parent.search()" condition="o.f_process_user like '%{}%'" placeholder='处理人'>
93
- </div>
94
- <div class="form-group col-sm-3">
95
- <label class="font_normal_body">报建编号:</label>
96
- <input type="text" style="width:60%" class="input_search" v-model="model.f_apply_num"
97
- v-on:keyup.enter="$parent.$parent.search()" condition="u.f_apply_num like '%{}%'" placeholder='报建编号'>
98
- </div>
99
- <div class="form-group col-sm-3">
100
- <label for="startDate" class="font_normal_body">开始时间:</label>
101
- <datepicker id="startDate" placeholder="开始日期"
102
- style="width: 60%!important;"
103
- v-model="model.startDate"
104
- :value.sync="model.startDate"
105
- :format="'yyyy-MM-dd 00:00:00'"
106
- :show-reset-button="true"
107
- condition="o.f_orderdate >= '{}'">
108
- </datepicker>
109
- </div>
110
- <div class="form-group col-sm-3">
111
- <label for="endDate" class="font_normal_body">结束时间:</label>
112
- <datepicker id="endDate" placeholder="结束日期"
113
- style="width: 60%!important;"
114
- v-model="model.endDate"
115
- :value.sync="model.endDate"
116
- :format="'yyyy-MM-dd 23:59:59'"
117
- :show-reset-button="true"
118
- condition="o.f_orderdate <= '{}'">
119
- </datepicker>
120
- </div>
121
- </div>
122
- </div>
123
- </criteria>
124
- <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
125
- <template partial='head'>
126
- <tr>
127
- <th style="white-space: nowrap;">序号</th>
128
- <th style="white-space: nowrap;">预约类型</th>
129
- <th style="white-space: nowrap;">处理状态</th>
130
- <th style="white-space: nowrap;">预约来源</th>
131
- <th style="white-space: nowrap;">用户编号</th>
132
- <th style="white-space: nowrap;">用户姓名</th>
133
- <th style="white-space: nowrap;">联系电话</th>
134
- <th style="white-space: nowrap;">预约地址</th>
135
- <th style="white-space: nowrap;">备注信息</th>
136
- <th style="white-space: nowrap;">预约时间</th>
137
- <th style="white-space: nowrap;">报建编号</th>
138
- <th style="white-space: nowrap;">操作</th>
139
- </tr>
140
- </template>
141
- <template partial='body'>
142
- <tr>
143
- <td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
144
- <nobr>{{$index+1}}</nobr>
145
- </td>
146
- <td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
147
- <nobr>{{row.f_ordertype}}</nobr>
148
- </td>
149
- <td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
150
- <nobr>{{row.f_orderstate}}</nobr>
151
- </td>
152
- <td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
153
- <nobr>{{row.f_order_source}}</nobr>
154
- </td>
155
- <td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
156
- <nobr>{{row.f_userinfo_code}}</nobr>
157
- </td>
158
- <td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
159
- <nobr>{{row.f_user_name}}</nobr>
160
- </td>
161
- <td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
162
- <nobr>{{row.f_phone}}</nobr>
163
- </td>
164
- <td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
165
- <nobr>{{row.f_address}}</nobr>
166
- </td>
167
- <td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
168
- <nobr>{{row.f_orderremark}}</nobr>
169
- </td>
170
- <td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
171
- <nobr>{{row.f_orderdate}}</nobr>
172
- </td>
173
- <td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
174
- <nobr>{{row.f_apply_num}}</nobr>
175
- </td>
176
- <td style="text-align: center;">
177
- <button class="button_search button_spacing width-60"
178
- @click="$parent.$parent.$parent.handleOrder('check', row)"
179
- v-if="row.f_orderstate === '待审核'"
180
- >审核</button>
181
- <button class="button_search button_spacing width-60"
182
- @click="$parent.$parent.$parent.handleOrder('process', row)"
183
- v-if="row.f_orderstate === '待处理' && row.f_ordertype !== '预约点火'"
184
- >处理</button>
185
- </td>
186
- </tr>
187
- </template>
188
- </data-grid>
189
- </criteria-paged>
190
- </div>
191
- </template>
192
- <script>
193
- import {PagedList} from 'vue-client'
194
- export default {
195
- title: '预约单',
196
- data () {
197
- return {
198
- model: new PagedList('rs/sql/getOrderApply', 20, null),
199
- curorgid: [this.$login.f.orgid],
200
- criteriaShow: false,
201
- orderType: [
202
- {'label': '预约报装', 'value': '预约报装'},
203
- {'label': '预约改管', 'value': '预约改管'},
204
- {'label': '预约增容', 'value': '预约增容'},
205
- {'label': '预约点火', 'value': '预约点火'}
206
- ],
207
- orderState: [
208
- {'label': '待审核', 'value': '待审核'},
209
- {'label': '待处理', 'value': '待处理'},
210
- {'label': '预约成功', 'value': '预约成功'},
211
- {'label': '预约失败', 'value': '预约失败'}
212
- ],
213
- orderSource: [
214
- {'label': '微客服', 'value': '微客服'},
215
- {'label': '呼叫中心', 'value': '呼叫中心'}
216
- ],
217
- userType: [
218
- {'label': '个人', 'value': '个人'},
219
- {'label': '整体小区', 'value': '整体小区'}
220
- ],
221
- userNature: [
222
- {'label': '民用', 'value': '民用'},
223
- {'label': '非民用', 'value': '非民用'}
224
- ]
225
- }
226
- },
227
- ready () {
228
- // 调用查询
229
- this.search()
230
- },
231
- events: {
232
- },
233
- methods: {
234
- // 处理
235
- handleOrder (type, row) {
236
- this.$dispatch('handleOrder', type, row)
237
- },
238
- searchCondition (args) {
239
- args.condition = args.condition + ` and o.f_orgid = '${this.curorgid[0]}'`
240
- this.model.search(args.condition, args.model)
241
- },
242
- search () {
243
- this.$dispatch('search')
244
- },
245
- clear () {
246
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
247
- this.$refs.cp.$refs.cri.model[key] = null
248
- })
249
- },
250
- getorg (val) {
251
- if (val.length <= 0) {
252
- return
253
- }
254
- this.curorgid = val
255
- this.search()
256
- }
257
- },
258
- computed: {
259
- }
260
- }
261
- </script>
262
- <style scoped>
263
- </style>
1
+ <template>
2
+ <div class="col-sm-12">
3
+ <criteria-paged :model="model" v-ref:cp>
4
+ <criteria partial='criteria' @condition-changed='$parent.searchCondition' 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-3">
8
+ <label class="font_normal_body">组织机构:</label>
9
+ <res-select
10
+ restype='organization'
11
+ :initresid='$parent.$parent.curorgid'
12
+ @res-select="$parent.$parent.getorg"
13
+ is-mul="false"
14
+ ></res-select>
15
+ </div>
16
+ <div class="form-group col-sm-3">
17
+ <label class="font_normal_body">预约类型:</label>
18
+ <v-select
19
+ v-model="model.f_ordertype"
20
+ placeholder='预约类型'
21
+ condition="o.f_ordertype = '{}'"
22
+ :value.sync="model.f_ordertype"
23
+ :options='$parent.$parent.orderType'
24
+ class="select select_list"
25
+ :value-single="true"
26
+ close-on-select ></v-select>
27
+ </div>
28
+ <div class="form-group col-sm-3">
29
+ <label class="font_normal_body">处理状态:</label>
30
+ <v-select
31
+ v-model="model.f_orderstate"
32
+ placeholder='处理状态'
33
+ condition="o.f_orderstate = '{}'"
34
+ :value.sync="model.f_orderstate"
35
+ :options='$parent.$parent.orderState'
36
+ class="select select_list"
37
+ :value-single="true"
38
+ close-on-select ></v-select>
39
+ </div>
40
+ <div class="form-group col-sm-6 button-range">
41
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
42
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
43
+ <div
44
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
45
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
46
+ class="button_spacing"
47
+ style="float: right">
48
+ </div>
49
+ </div>
50
+ </div>
51
+ <div class="row" v-show="$parent.$parent.criteriaShow">
52
+ <div class="form-group col-sm-3">
53
+ <label class="font_normal_body">预约来源:</label>
54
+ <v-select
55
+ placeholder='预约来源'
56
+ v-model="model.f_order_source"
57
+ :value.sync="model.f_order_source"
58
+ condition="o.f_order_source = '{}'"
59
+ :options='$parent.$parent.orderSource'`
60
+ class="select select_list"
61
+ :value-single="true"
62
+ close-on-select ></v-select>
63
+ </div>
64
+ <div class="form-group col-sm-3">
65
+ <label class="font_normal_body">用户编号:</label>
66
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
67
+ v-on:keyup.enter="$parent.$parent.search()" condition="o.f_userinfo_code like '%{}%'" placeholder='用户编号'>
68
+ </div>
69
+ <div class="form-group col-sm-3">
70
+ <label class="font_normal_body">用户姓名:</label>
71
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
72
+ v-on:keyup.enter="$parent.$parent.search()" condition="o.f_user_name like '%{}%'" placeholder='用户姓名'>
73
+ </div>
74
+ <div class="form-group col-sm-3">
75
+ <label class="font_normal_body">联系电话:</label>
76
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_phone"
77
+ v-on:keyup.enter="$parent.$parent.search()" condition="o.f_phone like '%{}%'" placeholder='联系电话'>
78
+ </div>
79
+ <div class="form-group col-sm-3">
80
+ <label class="font_normal_body">详细地址:</label>
81
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
82
+ v-on:keyup.enter="$parent.$parent.search()" condition="o.f_address like '%{}%'" placeholder='详细地址'>
83
+ </div>
84
+ <div class="form-group col-sm-3">
85
+ <label class="font_normal_body">审&ensp;核&ensp;人:</label>
86
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_check_user"
87
+ v-on:keyup.enter="$parent.$parent.search()" condition="o.f_check_user like '%{}%'" placeholder='审核人'>
88
+ </div>
89
+ <div class="form-group col-sm-3">
90
+ <label class="font_normal_body">处&ensp;理&ensp;人:</label>
91
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_process_user"
92
+ v-on:keyup.enter="$parent.$parent.search()" condition="o.f_process_user like '%{}%'" placeholder='处理人'>
93
+ </div>
94
+ <div class="form-group col-sm-3">
95
+ <label class="font_normal_body">报建编号:</label>
96
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_apply_num"
97
+ v-on:keyup.enter="$parent.$parent.search()" condition="u.f_apply_num like '%{}%'" placeholder='报建编号'>
98
+ </div>
99
+ <div class="form-group col-sm-3">
100
+ <label for="startDate" class="font_normal_body">开始时间:</label>
101
+ <datepicker id="startDate" placeholder="开始日期"
102
+ style="width: 60%!important;"
103
+ v-model="model.startDate"
104
+ :value.sync="model.startDate"
105
+ :format="'yyyy-MM-dd 00:00:00'"
106
+ :show-reset-button="true"
107
+ condition="o.f_orderdate >= '{}'">
108
+ </datepicker>
109
+ </div>
110
+ <div class="form-group col-sm-3">
111
+ <label for="endDate" class="font_normal_body">结束时间:</label>
112
+ <datepicker id="endDate" placeholder="结束日期"
113
+ style="width: 60%!important;"
114
+ v-model="model.endDate"
115
+ :value.sync="model.endDate"
116
+ :format="'yyyy-MM-dd 23:59:59'"
117
+ :show-reset-button="true"
118
+ condition="o.f_orderdate <= '{}'">
119
+ </datepicker>
120
+ </div>
121
+ </div>
122
+ </div>
123
+ </criteria>
124
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
125
+ <template partial='head'>
126
+ <tr>
127
+ <th style="white-space: nowrap;">序号</th>
128
+ <th style="white-space: nowrap;">预约类型</th>
129
+ <th style="white-space: nowrap;">处理状态</th>
130
+ <th style="white-space: nowrap;">预约来源</th>
131
+ <th style="white-space: nowrap;">用户编号</th>
132
+ <th style="white-space: nowrap;">用户姓名</th>
133
+ <th style="white-space: nowrap;">联系电话</th>
134
+ <th style="white-space: nowrap;">预约地址</th>
135
+ <th style="white-space: nowrap;">备注信息</th>
136
+ <th style="white-space: nowrap;">预约时间</th>
137
+ <th style="white-space: nowrap;">报建编号</th>
138
+ <th style="white-space: nowrap;">操作</th>
139
+ </tr>
140
+ </template>
141
+ <template partial='body'>
142
+ <tr>
143
+ <td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
144
+ <nobr>{{$index+1}}</nobr>
145
+ </td>
146
+ <td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
147
+ <nobr>{{row.f_ordertype}}</nobr>
148
+ </td>
149
+ <td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
150
+ <nobr>{{row.f_orderstate}}</nobr>
151
+ </td>
152
+ <td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
153
+ <nobr>{{row.f_order_source}}</nobr>
154
+ </td>
155
+ <td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
156
+ <nobr>{{row.f_userinfo_code}}</nobr>
157
+ </td>
158
+ <td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
159
+ <nobr>{{row.f_user_name}}</nobr>
160
+ </td>
161
+ <td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
162
+ <nobr>{{row.f_phone}}</nobr>
163
+ </td>
164
+ <td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
165
+ <nobr>{{row.f_address}}</nobr>
166
+ </td>
167
+ <td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
168
+ <nobr>{{row.f_orderremark}}</nobr>
169
+ </td>
170
+ <td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
171
+ <nobr>{{row.f_orderdate}}</nobr>
172
+ </td>
173
+ <td style="text-align: center;" @click="$parent.$parent.$parent.handleOrder('view', row)">
174
+ <nobr>{{row.f_apply_num}}</nobr>
175
+ </td>
176
+ <td style="text-align: center;">
177
+ <button class="button_search button_spacing width-60"
178
+ @click="$parent.$parent.$parent.handleOrder('check', row)"
179
+ v-if="row.f_orderstate === '待审核'"
180
+ >审核</button>
181
+ <button class="button_search button_spacing width-60"
182
+ @click="$parent.$parent.$parent.handleOrder('process', row)"
183
+ v-if="row.f_orderstate === '待处理' && row.f_ordertype !== '预约点火'"
184
+ >处理</button>
185
+ </td>
186
+ </tr>
187
+ </template>
188
+ </data-grid>
189
+ </criteria-paged>
190
+ </div>
191
+ </template>
192
+ <script>
193
+ import {PagedList} from 'vue-client'
194
+ export default {
195
+ title: '预约单',
196
+ data () {
197
+ return {
198
+ model: new PagedList('rs/sql/getOrderApply', 20, null),
199
+ curorgid: [this.$login.f.orgid],
200
+ criteriaShow: false,
201
+ orderType: [
202
+ {'label': '预约报装', 'value': '预约报装'},
203
+ {'label': '预约改管', 'value': '预约改管'},
204
+ {'label': '预约增容', 'value': '预约增容'},
205
+ {'label': '预约点火', 'value': '预约点火'}
206
+ ],
207
+ orderState: [
208
+ {'label': '待审核', 'value': '待审核'},
209
+ {'label': '待处理', 'value': '待处理'},
210
+ {'label': '预约成功', 'value': '预约成功'},
211
+ {'label': '预约失败', 'value': '预约失败'}
212
+ ],
213
+ orderSource: [
214
+ {'label': '微客服', 'value': '微客服'},
215
+ {'label': '呼叫中心', 'value': '呼叫中心'}
216
+ ],
217
+ userType: [
218
+ {'label': '个人', 'value': '个人'},
219
+ {'label': '整体小区', 'value': '整体小区'}
220
+ ],
221
+ userNature: [
222
+ {'label': '民用', 'value': '民用'},
223
+ {'label': '非民用', 'value': '非民用'}
224
+ ]
225
+ }
226
+ },
227
+ ready () {
228
+ // 调用查询
229
+ this.search()
230
+ },
231
+ events: {
232
+ },
233
+ methods: {
234
+ // 处理
235
+ handleOrder (type, row) {
236
+ this.$dispatch('handleOrder', type, row)
237
+ },
238
+ searchCondition (args) {
239
+ args.condition = args.condition + ` and o.f_orgid = '${this.curorgid[0]}'`
240
+ this.model.search(args.condition, args.model)
241
+ },
242
+ search () {
243
+ this.$dispatch('search')
244
+ },
245
+ clear () {
246
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
247
+ this.$refs.cp.$refs.cri.model[key] = null
248
+ })
249
+ },
250
+ getorg (val) {
251
+ if (val.length <= 0) {
252
+ return
253
+ }
254
+ this.curorgid = val
255
+ this.search()
256
+ }
257
+ },
258
+ computed: {
259
+ }
260
+ }
261
+ </script>
262
+ <style scoped>
263
+ </style>
@@ -681,9 +681,39 @@ export default {
681
681
  value: item.id
682
682
  }
683
683
  })
684
+ },
685
+ async surveyStopApply () {
686
+ console.log('终止报建!!!!!')
687
+
688
+ this.show_data.f_stop_reason = '现场勘察不符合报装条件'
689
+
690
+ let data = {
691
+ data: this.show_data,
692
+ user: this.$login.f
693
+ }
694
+
695
+ let res = await this.$resetpost(
696
+ `rs/logic/surveyStopApply`,
697
+ {data: data},
698
+ {resolveMsg: null, rejectMsg: '终止报建失败!!!'}
699
+ )
700
+
701
+ this.$dispatch('loadPage')
702
+
703
+ throw '终止报建!!!'
684
704
  }
685
705
  },
686
706
  events: {
707
+ 'complyInstallation' (index) {
708
+ if (this.show_data.f_is_have === '否') {
709
+ this.hideButtons('提交', '出图', '缴费')
710
+ this.showButtons('终止')
711
+ }
712
+ if (this.show_data.f_is_have === '是') {
713
+ this.hideButtons('终止')
714
+ this.showButtons('提交', '出图', '缴费')
715
+ }
716
+ },
687
717
  async 'igniteDispatchReadyEvent' () {
688
718
  let data = {
689
719
  tablename: 'activityins',