apply-clients 3.3.64 → 3.3.68

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.
@@ -0,0 +1,242 @@
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <criteria-paged :model="model" v-ref:cp>
5
+ <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
6
+ <div class="form-horizontal select-overspread container-fluid auto" partial>
7
+ <div class="row">
8
+ <div class="form-group col-sm-3">
9
+ <label class="font_normal_body">组织机构:</label>
10
+ <res-select
11
+ restype='organization'
12
+ :initresid='$parent.$parent.curorgid'
13
+ @res-select="$parent.$parent.getorg"
14
+ :is-mul="false"
15
+ ></res-select>
16
+ </div>
17
+ <div class="form-group col-sm-3">
18
+ <label class="font_normal_body">工程编号:</label>
19
+ <input type="text" style="width: 60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
20
+ v-on:keyup.enter="$parent.$parent.search()"
21
+ condition="a.f_apply_num = '{}'">
22
+ </div>
23
+ <div class="form-group col-sm-3">
24
+ <label class="font_normal_body">用&ensp;户&ensp;号:</label>
25
+ <input type="text" style="width: 60%" class="input_search" placeholder='用户号' v-model="model.f_userinfo_code"
26
+ v-on:keyup.enter="$parent.$parent.search()"
27
+ condition="ui.f_userinfo_code = '{}'">
28
+ </div>
29
+ <div class="form-group col-sm-3 button-range">
30
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
31
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
32
+ <export-excel :data="$parent.$parent.getCondition"
33
+ :field="$parent.$parent.getfield"
34
+ sqlurl="rs/logic/applyExportfile"
35
+ sql-name="getBusinessApply"
36
+ template-name='工商业报建情况导出'
37
+ :choose-col="true"></export-excel>
38
+ <div
39
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
40
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
41
+ class="button_spacing"
42
+ style="float: right">
43
+ </div>
44
+ </div>
45
+ </div>
46
+ <div class="row" v-show="$parent.$parent.criteriaShow">
47
+ <div class="form-group col-sm-3">
48
+ <label class="font_normal_body">用&ensp;户&ensp;名:</label>
49
+ <input type="text" style="width: 60%" class="input_search" placeholder='用户名' v-model="model.f_user_name"
50
+ v-on:keyup.enter="$parent.$parent.search()"
51
+ condition="ui.f_user_name = '{}'">
52
+ </div>
53
+ <div class="form-group col-sm-3">
54
+ <label class="font_normal_body">联系电话:</label>
55
+ <input type="text" style="width: 60%" class="input_search" placeholder='联系电话' v-model="model.f_user_phone"
56
+ v-on:keyup.enter="$parent.$parent.search()"
57
+ condition="ui.f_user_phone = '{}'">
58
+ </div>
59
+ <div class="form-group col-sm-3">
60
+ <label class="font_normal_body">地&emsp;&emsp;址:</label>
61
+ <input type="text" style="width: 60%" class="input_search" placeholder='地址' v-model="model.f_address"
62
+ v-on:keyup.enter="$parent.$parent.search()"
63
+ condition="ua.f_address like '%{}%'">
64
+ </div>
65
+ </div>
66
+ </div>
67
+ </criteria>
68
+ <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
69
+ <template partial='head'>
70
+ <tr>
71
+ <th style="white-space: nowrap;">序号</th>
72
+ <th style="white-space: nowrap;">工程编号</th>
73
+ <th style="white-space: nowrap;">用户名</th>
74
+ <th style="white-space: nowrap;">用户号</th>
75
+ <th style="white-space: nowrap;">联系电话</th>
76
+ <th style="white-space: nowrap;">地址</th>
77
+ <th style="white-space: nowrap;">报装类型</th>
78
+ <th style="white-space: nowrap;">报装时间</th>
79
+ <th style="white-space: nowrap;">发展人员</th>
80
+ <th style="white-space: nowrap;">安装时间</th>
81
+ <th style="white-space: nowrap;">安装人员</th>
82
+ <th style="white-space: nowrap;">表品牌</th>
83
+ <th style="white-space: nowrap;">表类型</th>
84
+ <th style="white-space: nowrap;">表型号</th>
85
+ <th style="white-space: nowrap;">表缸号</th>
86
+ <th style="white-space: nowrap;">表卡号</th>
87
+ <th style="white-space: nowrap;">预算价格</th>
88
+ <th style="white-space: nowrap;">预算时间</th>
89
+ <th style="white-space: nowrap;">设计人员</th>
90
+ <th style="white-space: nowrap;">交款金额</th>
91
+ <th style="white-space: nowrap;">交款时间</th>
92
+ <th style="white-space: nowrap;">出图时间</th>
93
+ </tr>
94
+ </template>
95
+ <template partial='body'>
96
+ <tr >
97
+ <td style="text-align: center;">
98
+ <nobr><font>{{$index+1}}</font></nobr>
99
+ </td>
100
+ <td style="text-align: center;">
101
+ <nobr><font>{{row.f_apply_num}}</font></nobr>
102
+ </td>
103
+ <td style="text-align: center;">
104
+ <nobr><font>{{row.f_user_name}}</font></nobr>
105
+ </td>
106
+ <td style="text-align: center;">
107
+ <nobr><font>{{row.f_userinfo_code}}</font></nobr>
108
+ </td>
109
+ <td style="text-align: center;">
110
+ <nobr><font>{{row.f_user_phone}}</font></nobr>
111
+ </td>
112
+ <td style="text-align: center;">
113
+ <nobr><font>{{row.f_address}}</font></nobr>
114
+ </td>
115
+ <td style="text-align: center;">
116
+ <nobr><font>{{row.f_apply_type}}</font></nobr>
117
+ </td>
118
+ <td style="text-align: center;">
119
+ <nobr><font>{{row.f_apply_date}}</font></nobr>
120
+ </td>
121
+ <td style="text-align: center;">
122
+ <nobr><font>{{row.f_operator}}</font></nobr>
123
+ </td>
124
+ <td style="text-align: center;">
125
+ <nobr><font>{{row.f_install_date}}</font></nobr>
126
+ </td>
127
+ <td style="text-align: center;">
128
+ <nobr><font>{{row.f_install_person}}</font></nobr>
129
+ </td>
130
+ <td style="text-align: center;">
131
+ <nobr><font>{{row.f_meter_brand}}</font></nobr>
132
+ </td>
133
+ <td style="text-align: center;">
134
+ <nobr><font>{{row.f_meter_classify}}</font></nobr>
135
+ </td>
136
+ <td style="text-align: center;">
137
+ <nobr><font>{{row.f_meter_style}}</font></nobr>
138
+ </td>
139
+ <td style="text-align: center;">
140
+ <nobr><font>{{row.f_metertitles}}</font></nobr>
141
+ </td>
142
+ <td style="text-align: center;">
143
+ <nobr><font>{{row.f_meternumber}}</font></nobr>
144
+ </td>
145
+ <td style="text-align: center;">
146
+ <nobr><font>{{row.f_budget_money}}</font></nobr>
147
+ </td>
148
+ <td style="text-align: center;">
149
+ <nobr><font>{{row.finishtime}}</font></nobr>
150
+ </td>
151
+ <td style="text-align: center;">
152
+ <nobr><font>{{row.f_designer_people}}</font></nobr>
153
+ </td>
154
+ <td style="text-align: center;">
155
+ <nobr><font>{{row.f_cumulative_payment_money}}</font></nobr>
156
+ </td>
157
+ <td style="text-align: center;">
158
+ <nobr><font>{{row.f_charge_date}}</font></nobr>
159
+ </td>
160
+ <td style="text-align: center;">
161
+ <nobr><font>{{row.f_drawing_time}}</font></nobr>
162
+ </td>
163
+ </tr>
164
+ </template>
165
+ </data-grid>
166
+ </criteria-paged>
167
+ </div>
168
+ </div>
169
+ </template>
170
+
171
+ <script>
172
+ import {PagedList} from 'vue-client'
173
+
174
+ export default {
175
+ title: '工商业报建情况',
176
+ data () {
177
+ return {
178
+ model: new PagedList('rs/sql/getBusinessApply', 20, null),
179
+ criteriaShow: false,
180
+ curorgid: [this.$login.f.orgid],
181
+ getfield: {
182
+ 'f_apply_num': '工程编号',
183
+ 'f_user_name': '用户名',
184
+ 'f_userinfo_code': '用户号',
185
+ 'f_user_phone': '联系电话',
186
+ 'f_address': '地址',
187
+ 'f_apply_type': '报装类型',
188
+ 'f_apply_date': '报装时间',
189
+ 'f_operator': '发展人员',
190
+ 'f_install_date': '安装时间',
191
+ 'f_install_person': '安装人员',
192
+ 'f_meter_brand': '表品牌',
193
+ 'f_meter_classify': '表类型',
194
+ 'f_meter_style': '表型号',
195
+ 'f_metertitles': '表缸号',
196
+ 'f_meternumber': '表卡号',
197
+ 'f_budget_money': '预算价格',
198
+ 'finishtime': '预算时间',
199
+ 'f_designer_people': '设计人员',
200
+ 'f_cumulative_payment_money': '交款金额',
201
+ 'f_charge_date': '交款时间',
202
+ 'f_drawing_time': '出图时间'
203
+ }
204
+ }
205
+ },
206
+ ready () {
207
+ this.search()
208
+ },
209
+ methods: {
210
+ searchCondition (args) {
211
+ args.condition = args.condition + ` and a.f_orgid = '${this.curorgid}'`
212
+ this.model.search(args.condition, args.model)
213
+ },
214
+ // 查询
215
+ search () {
216
+ this.$refs.cp.$refs.cri.search()
217
+ },
218
+ clear () {
219
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
220
+ this.$refs.cp.$refs.cri.model[key] = null
221
+ })
222
+ },
223
+ getorg (val) {
224
+ if (val.length <= 0) {
225
+ return
226
+ }
227
+ this.curorgid = val
228
+ this.search()
229
+ }
230
+ },
231
+ computed: {
232
+ getCondition () {
233
+ return {
234
+ condition: this.model.condition
235
+ }
236
+ }
237
+ }
238
+ }
239
+ </script>
240
+
241
+ <style scoped>
242
+ </style>
@@ -302,6 +302,8 @@ export default {
302
302
  'f_meter_base': '表读数',
303
303
  'f_initial_base': '初始底数',
304
304
  'f_aroundmeter': '表向',
305
+ 'f_user_phone': '电话',
306
+ 'f_userinfo_comments': '备注',
305
307
  'f_position': '安装位置'
306
308
  },
307
309
  showWork: false
@@ -359,6 +359,34 @@
359
359
  }
360
360
  }
361
361
  },
362
+ disabledButtons(...buttons) {
363
+ for (const item of this.show_data.buttons) {
364
+ if (buttons.includes(item.button_name)) {
365
+ item.disabled = true
366
+ }
367
+ }
368
+ },
369
+ enableButtons(...buttons) {
370
+ for (const item of this.show_data.buttons) {
371
+ if (buttons.includes(item.button_name)) {
372
+ item.disabled = false
373
+ }
374
+ }
375
+ },
376
+ showButtons(...buttons) {
377
+ for (const item of this.show_data.buttons) {
378
+ if (buttons.includes(item.button_name)) {
379
+ item.hidden = false
380
+ }
381
+ }
382
+ },
383
+ hideButtons(...buttons) {
384
+ for (const item of this.show_data.buttons) {
385
+ if (buttons.includes(item.button_name)) {
386
+ item.hidden = true
387
+ }
388
+ }
389
+ },
362
390
  async checkDuplicate(index) {
363
391
  let http = new HttpResetClass()
364
392
  let data = {
@@ -496,9 +524,40 @@
496
524
  return true
497
525
  }
498
526
  return false
527
+ },
528
+ async getDesignerPeople () {
529
+ let data = {
530
+ source: 'this.getParentByType($organization$).getChildByName($设计部报装$).getChildren()',
531
+ userid: this.$login.f.id
532
+ }
533
+
534
+ let http = new HttpResetClass()
535
+ let res = await http.load(
536
+ 'POST',
537
+ `rs/search`,
538
+ {data: data},
539
+ {resolveMsg: null, rejectMsg: '设计人员查询失败!!!'}
540
+ )
541
+
542
+ return res.data.map(item => {
543
+ return {
544
+ label: item.name,
545
+ value: item.id
546
+ }
547
+ })
499
548
  }
500
549
  },
501
550
  events:{
551
+ 'complyInstallation' (index) {
552
+ if (this.show_data.f_is_have === '否') {
553
+ this.hideButtons('提交', '出图', '缴费')
554
+ this.showButtons('终止')
555
+ }
556
+ if (this.show_data.f_is_have === '是') {
557
+ this.hideButtons('终止')
558
+ this.showButtons('提交', '出图', '缴费')
559
+ }
560
+ },
502
561
  // 选择材料
503
562
  async materialNameChenge (index, fieldIndex) {
504
563
  let material = this.show_data.onetomany[index].fields[fieldIndex].value
@@ -1,47 +0,0 @@
1
- <template>
2
- <div class="flex-row">
3
- <div :class="{'basic-main':!showRight,'binary-left':showRight}">
4
- <order-apply-list v-ref:query></order-apply-list>
5
- </div>
6
- <div v-if="showRight" class="binary-right flex">
7
- <order-message :selectdata="selectdata" :type="type"></order-message>
8
- </div>
9
- </div>
10
- </template>
11
- <script>
12
- import Vue from 'vue'
13
- import {HttpResetClass} from 'vue-client'
14
- export default {
15
- title: '预约报建',
16
- data () {
17
- return {
18
- showRight: false,
19
- type: null,
20
- selectdata: null
21
- }
22
- },
23
- methods: {
24
- },
25
- events: {
26
- 'handleOrder' (type, row) {
27
- this.showRight = false
28
-
29
- this.type = type
30
- this.selectdata = row
31
-
32
- this.$nextTick(() => {
33
- this.showRight = true
34
- })
35
- },
36
- 'search' () {
37
- this.selectdata = null
38
- this.showRight = false
39
- this.type = null
40
-
41
- this.$refs.query.$refs.cp.$refs.cri.search()
42
- }
43
- },
44
- watch: {
45
- }
46
- }
47
- </script>
@@ -1,263 +0,0 @@
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>