apply-clients 3.1.55 → 3.1.57

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 (26) hide show
  1. package/package.json +1 -1
  2. package/src/App.vue +20 -20
  3. package/src/apply.js +77 -77
  4. package/src/components/product/ApplyCharge/ApplyChargeList.vue +316 -316
  5. package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +26 -26
  6. package/src/components/product/Function/InstallFunction.vue +165 -165
  7. package/src/components/product/Function/InstallInfoSelect.vue +278 -278
  8. package/src/components/product/Function/Service/FunctionServiceControl.vue +262 -262
  9. package/src/components/product/Function/functions/ChargeManagement.vue +1013 -1013
  10. package/src/components/product/Order/OrderApply.vue +467 -467
  11. package/src/components/product/Process/ExplorationSelect.vue +371 -371
  12. package/src/components/product/Process/ExplorationUser.vue +168 -168
  13. package/src/components/product/Process/Service/ServiceControl.vue +29 -13
  14. package/src/components/product/Report/ApplyDevicesList.vue +249 -249
  15. package/src/components/product/Report/ApplyGongliaoList.vue +239 -239
  16. package/src/components/product/Report/ApplyReportSearch.vue +26 -26
  17. package/src/components/product/Report/ReportControl.vue +129 -129
  18. package/src/components/product/ReportForm/CustomerRecordMessage.vue +1593 -1593
  19. package/src/components/product/ServiceView.vue +728 -728
  20. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +169 -169
  21. package/src/components/product/Supervisory/SupervisoryControl.vue +132 -132
  22. package/src/components/product/Supervisory/SupervisoryControl2.vue +132 -132
  23. package/src/components/product/Supervisory/SupervisoryList.vue +311 -311
  24. package/src/components/product/Supervisory/SupervisoryList2.vue +368 -368
  25. package/src/components/product/Supervisory/SupervisoryhCart.vue +105 -105
  26. package/yarn-error.log +0 -9175
@@ -1,311 +1,311 @@
1
- <template>
2
- <div class="col-sm-12">
3
- <criteria-paged :model="model" v-ref:cp>
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-3">
8
- <label class="font_normal_body">客户名称:</label>
9
- <input type="text" class="input_search" v-model="model.f_user_name"
10
- v-on:keyup.enter="search" condition=" (f_user_name like '%{}%' or f_contact like '%{}%') " placeholder='二选一输入'>
11
- </div>
12
- <div class="form-group col-sm-3">
13
- <label class="font_normal_body">报建编号:</label>
14
- <input type="text" class="input_search" placeholder='报建编号' v-model="model.f_apply_num"
15
- v-on:keyup.enter="search"
16
- condition="u.f_apply_num like '%{}%'">
17
- </div>
18
- <div class="form-group col-sm-3">
19
- <label class="font_normal_body">工程类型:</label>
20
- <v-select
21
- v-model="model.f_project_type"
22
- placeholder='请选择'
23
- condition="u.f_project_type like '%{}%'"
24
- :value.sync="model.f_project_type"
25
- :options='$parent.$parent.projectType'
26
- class="select select_list"
27
- :value-single="true"
28
- close-on-select ></v-select>
29
- </div>
30
-
31
- <div class="form-group col-sm-3 button-range">
32
- <button type="button" class="btn btn-info head-but" @click="search(),$parent.$parent.close()" v-el:cx>查询</button>
33
- <button type="button" class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
34
- <export-excel :data="$parent.$parent.getCondition"
35
- :field="$parent.$parent.getfield"
36
- sqlurl="rs/logic/applyExportfile"
37
- sql-name="supervisory"
38
- template-name='报建记录信息导出'
39
- :choose-col="true"></export-excel>
40
- <!-- <button class="button_search button_spacing width-60" @click="search(),$parent.$parent.close()" v-el:cx>查询</button>-->
41
- <div
42
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
43
- @click="$parent.$parent.hidden()"
44
- class="button_spacing"
45
- style="float: right">
46
- </div>
47
- </div>
48
- </div>
49
- <div class="row" v-show="$parent.$parent.criteriaShow">
50
- <div class="form-group col-sm-3">
51
- <label class="font_normal_body">小&emsp;&emsp;区:</label>
52
- <v-select
53
- v-model="model.f_residential_area"
54
- placeholder='请选择'
55
- condition="u.f_residential_area = '{}'"
56
- :value.sync="model.f_residential_area"
57
- :options='$parent.$parent.area'
58
- search="true"
59
- class="select select_list"
60
- :value-single="true"
61
- close-on-select ></v-select>
62
- </div>
63
- <div class="form-group col-sm-3">
64
- <label class="font_normal_body">用户地址:</label>
65
- <input type="text" class="input_search" placeholder='用户地址' v-model="model.f_address"
66
- v-on:keyup.enter="search"
67
- condition="f_address like '%{}%'">
68
- </div>
69
- <div class="form-group col-sm-3">
70
- <label class="font_normal_body">票&emsp;&emsp;号:</label>
71
- <input type="text" class="input_search" placeholder='票号' v-model="model.f_ticket_number"
72
- v-on:keyup.enter="search"
73
- condition="c.f_ticket_number like '%{}%'">
74
- </div>
75
- <div class="form-group col-sm-3">
76
- <label class="font_normal_body">合同编号:</label>
77
- <input type="text" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
78
- v-on:keyup.enter="search"
79
- condition="f_contract_number like '%{}%'">
80
- </div>
81
- <div class="col-sm-3 form-group">
82
- <label class="font_normal_body">报建类型:</label>
83
- <v-select
84
- v-model="model.f_apply_type"
85
- placeholder='报建类型'
86
- condition="f_apply_type like '%{}%'"
87
- :value.sync="model.f_apply_type"
88
- :options='$parent.$parent.applytype'
89
- class="select select_list"
90
- :value-single="true"
91
- close-on-select ></v-select>
92
- </div>
93
- <div class="col-sm-3 form-group">
94
- <label class="font_normal_body">办理环节:</label>
95
- <v-select
96
- v-model="model.defname"
97
- placeholder='办理环节'
98
- condition="defname = '{}'"
99
- :value.sync="model.defname"
100
- :options='$parent.$parent.defnames'
101
- class="select select_list"
102
- :value-single="true"
103
- close-on-select ></v-select>
104
- </div>
105
- <div class="form-group col-sm-3">
106
- <label for="startDate" class="font_normal_body">开始时间:</label>
107
- <datepicker id="startDate" placeholder="开始日期"
108
- style="width: 60%!important;"
109
- v-model="model.startDate"
110
- :value.sync="model.startDate"
111
- :format="'yyyy-MM-dd 00:00:00'"
112
- :show-reset-button="true"
113
- condition="f_apply_date >= '{}'">
114
- </datepicker>
115
- </div>
116
- <div class="form-group col-sm-3">
117
- <label for="endDate" class="font_normal_body">结束时间:</label>
118
- <datepicker id="endDate" placeholder="结束日期"
119
- style="width: 60%!important;"
120
- v-model="model.endDate"
121
- :value.sync="model.endDate"
122
- :format="'yyyy-MM-dd 23:59:59'"
123
- :show-reset-button="true"
124
- condition="f_apply_date <= '{}'">
125
- </datepicker>
126
- </div>
127
- <div class="form-group col-sm-3">
128
- <label for="endDate" class="font_normal_body">收费日期:</label>
129
- <datepicker id="f_charge_date" placeholder="收费日期"
130
- style="width: 60%!important;"
131
- v-model="model.f_charge_date"
132
- :value.sync="model.f_charge_date"
133
- :format="'yyyy-MM-dd'"
134
- :show-reset-button="true"
135
- condition="c.f_charge_date <= '{} 23:59:59' and c.f_charge_date >= '{} 00:00:00'">
136
- </datepicker>
137
- </div>
138
- </div>
139
- </div>
140
- </criteria>
141
- <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
142
- <template partial='head'>
143
- <tr>
144
- <th>序号</th>
145
- <th>报建编号</th>
146
- <th>当前状态</th>
147
- <th>客户名称/联系人</th>
148
- <th>合同编号</th>
149
- <th>电话</th>
150
- <th>地址</th>
151
- <th>流程状态</th>
152
- <th>报建类型</th>
153
- <th>报建日期</th>
154
- </tr>
155
- </template>
156
- <template partial='body'>
157
- <tr>
158
- <td style="text-align: center;">
159
- <nobr>{{$index+1}}</nobr>
160
- </td>
161
- <td style="text-align: center;">
162
- <nobr><font>{{row.f_apply_num}}</font></nobr>
163
- </td>
164
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
165
- <nobr>{{row.f_sub_state}}</nobr>
166
- </td>
167
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
168
- <nobr>{{row.f_user_name}}/{{row.f_contact}}</nobr>
169
- </td>
170
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
171
- <nobr>{{row.f_contract_number}}</nobr>
172
- </td>
173
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
174
- <nobr>{{row.f_phone}}</nobr>
175
- </td>
176
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
177
- <nobr>{{row.f_address}}</nobr>
178
- </td>
179
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
180
- <nobr>{{row.defname}}</nobr>
181
- </td>
182
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
183
- <nobr>{{row.f_apply_type}}</nobr>
184
- </td>
185
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
186
- <nobr>{{row.f_apply_date}}</nobr>
187
- </td>
188
- </tr>
189
- </template>
190
- </data-grid>
191
- </criteria-paged>
192
- </div>
193
- </template>
194
- <script>
195
- import {PagedList} from 'vue-client'
196
- import getNowDate from '../../getNowDate.js'
197
- import {HttpResetClass} from 'vue-client'
198
-
199
- export default {
200
- title: '勘探详情',
201
- data() {
202
- return {
203
- applytype: [{label:"全部",value:''}, {label:"集中报建",value:'集中报建'}, {label:"非民用报建",value:'非民用报建'},{label:"散户报建",value:'散户报建'}],
204
- model: new PagedList('rs/sql/supervisory', 20, {
205
- data: {
206
- id: `${this.$login.f.name}`,
207
- org: `${this.$login.f.orgs}`
208
- }
209
- }),
210
- defnames:[], // 所有流程节点
211
- condition: '', // 查询条件
212
- criteriaShow: false,
213
- area:[],
214
- getfield: {
215
- 'f_apply_num': ' 报 建 编 号 ',
216
- 'defname': ' 当 前 环 节 ',
217
- 'f_sub_state': ' 流 程 状 态 ',
218
- 'f_user_name': ' 客 户 名 称 ',
219
- 'f_contact': ' 联 系 人 ',
220
- 'f_contract_number': ' 合 同 编 号 ',
221
- 'f_phone': ' 电 话 ',
222
- 'f_address': ' 地 址 ',
223
- 'f_apply_type': ' 报 建 类 型 ',
224
- 'f_apply_date': ' 报 建 日 期 '
225
- }
226
- }
227
- },
228
- async ready() {
229
- // 调用查询
230
- this.$refs.cp.$refs.cri.search()
231
- // 获取所有办理环节
232
- this.getDefnames()
233
- this.getAreaAll()
234
- },
235
- events: {
236
- },
237
- methods: {
238
- clear () {
239
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
240
- this.$refs.cp.$refs.cri.model[key] = ''
241
- })
242
- },
243
- hidden() {
244
- this.$dispatch('hidden', this.criteriaShow)
245
- this.criteriaShow = !this.criteriaShow
246
- },
247
- // 获取所有办理环节
248
- getDefnames() {
249
- let http = new HttpResetClass()
250
- http.load('POST', 'rs/logic/getAllDefname', {}, {
251
- resolveMsg: null,
252
- rejectMsg: null
253
- }).then((res) => {
254
- this.defnames = [{label: '全部', value: ''}, ...res.data]
255
- })
256
- },
257
- async getAreaAll () {
258
- let http = new HttpResetClass()
259
- let condition = "f_filialeid = " + this.$login.f.orgid
260
- let res = await http.load('POST','rs/logic/apply_queryArea',{data:{condition:condition}}, {resolveMsg: null, rejectMsg: null})
261
-
262
- this.area = res.data.queryArea.map(item => {
263
- return {
264
- 'label': item.f_residential_area,
265
- 'value': item.f_residential_area,
266
- }
267
- })
268
- },
269
- check(val) {
270
- this.criteriaShow = false
271
- this.$dispatch('apply', val)
272
- },
273
- close() {
274
- this.$dispatch('close')
275
- }
276
- },
277
- computed: {
278
- projectType() {
279
- return this.$appdata.getParam("工程类型")
280
- },
281
- getCondition () {
282
- console.log("condition",this.$refs.cp.$refs.cri.condition)
283
- return {
284
- condition: this.$refs.cp.$refs.cri.condition,
285
- data: {
286
- org: `${this.$login.f.orgs}`,
287
- orgid: this.$login.f.orgid
288
- }
289
- }
290
- }
291
- }
292
- }
293
- </script>
294
- <style scoped>
295
-
296
- .operate{
297
- text-align: right;
298
- display: flex;
299
- align-items: center; /*子元素中线居中*/
300
- justify-content: flex-end; /*子元素靠右*/
301
- margin-top: 7px;
302
- }
303
- .head-but{
304
- margin-left: 5px;
305
- height: 34px;
306
- background-color: #6aa6e2;
307
- border-radius: 4px;
308
- font-family: PingFang;
309
- color: #ffffff;
310
- }
311
- </style>
1
+ <template>
2
+ <div class="col-sm-12">
3
+ <criteria-paged :model="model" v-ref:cp>
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-3">
8
+ <label class="font_normal_body">客户名称:</label>
9
+ <input type="text" class="input_search" v-model="model.f_user_name"
10
+ v-on:keyup.enter="search" condition=" (f_user_name like '%{}%' or f_contact like '%{}%') " placeholder='二选一输入'>
11
+ </div>
12
+ <div class="form-group col-sm-3">
13
+ <label class="font_normal_body">报建编号:</label>
14
+ <input type="text" class="input_search" placeholder='报建编号' v-model="model.f_apply_num"
15
+ v-on:keyup.enter="search"
16
+ condition="u.f_apply_num like '%{}%'">
17
+ </div>
18
+ <div class="form-group col-sm-3">
19
+ <label class="font_normal_body">工程类型:</label>
20
+ <v-select
21
+ v-model="model.f_project_type"
22
+ placeholder='请选择'
23
+ condition="u.f_project_type like '%{}%'"
24
+ :value.sync="model.f_project_type"
25
+ :options='$parent.$parent.projectType'
26
+ class="select select_list"
27
+ :value-single="true"
28
+ close-on-select ></v-select>
29
+ </div>
30
+
31
+ <div class="form-group col-sm-3 button-range">
32
+ <button type="button" class="btn btn-info head-but" @click="search(),$parent.$parent.close()" v-el:cx>查询</button>
33
+ <button type="button" class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
34
+ <export-excel :data="$parent.$parent.getCondition"
35
+ :field="$parent.$parent.getfield"
36
+ sqlurl="rs/logic/applyExportfile"
37
+ sql-name="supervisory"
38
+ template-name='报建记录信息导出'
39
+ :choose-col="true"></export-excel>
40
+ <!-- <button class="button_search button_spacing width-60" @click="search(),$parent.$parent.close()" v-el:cx>查询</button>-->
41
+ <div
42
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
43
+ @click="$parent.$parent.hidden()"
44
+ class="button_spacing"
45
+ style="float: right">
46
+ </div>
47
+ </div>
48
+ </div>
49
+ <div class="row" v-show="$parent.$parent.criteriaShow">
50
+ <div class="form-group col-sm-3">
51
+ <label class="font_normal_body">小&emsp;&emsp;区:</label>
52
+ <v-select
53
+ v-model="model.f_residential_area"
54
+ placeholder='请选择'
55
+ condition="u.f_residential_area = '{}'"
56
+ :value.sync="model.f_residential_area"
57
+ :options='$parent.$parent.area'
58
+ search="true"
59
+ class="select select_list"
60
+ :value-single="true"
61
+ close-on-select ></v-select>
62
+ </div>
63
+ <div class="form-group col-sm-3">
64
+ <label class="font_normal_body">用户地址:</label>
65
+ <input type="text" class="input_search" placeholder='用户地址' v-model="model.f_address"
66
+ v-on:keyup.enter="search"
67
+ condition="f_address like '%{}%'">
68
+ </div>
69
+ <div class="form-group col-sm-3">
70
+ <label class="font_normal_body">票&emsp;&emsp;号:</label>
71
+ <input type="text" class="input_search" placeholder='票号' v-model="model.f_ticket_number"
72
+ v-on:keyup.enter="search"
73
+ condition="c.f_ticket_number like '%{}%'">
74
+ </div>
75
+ <div class="form-group col-sm-3">
76
+ <label class="font_normal_body">合同编号:</label>
77
+ <input type="text" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
78
+ v-on:keyup.enter="search"
79
+ condition="f_contract_number like '%{}%'">
80
+ </div>
81
+ <div class="col-sm-3 form-group">
82
+ <label class="font_normal_body">报建类型:</label>
83
+ <v-select
84
+ v-model="model.f_apply_type"
85
+ placeholder='报建类型'
86
+ condition="f_apply_type like '%{}%'"
87
+ :value.sync="model.f_apply_type"
88
+ :options='$parent.$parent.applytype'
89
+ class="select select_list"
90
+ :value-single="true"
91
+ close-on-select ></v-select>
92
+ </div>
93
+ <div class="col-sm-3 form-group">
94
+ <label class="font_normal_body">办理环节:</label>
95
+ <v-select
96
+ v-model="model.defname"
97
+ placeholder='办理环节'
98
+ condition="defname = '{}'"
99
+ :value.sync="model.defname"
100
+ :options='$parent.$parent.defnames'
101
+ class="select select_list"
102
+ :value-single="true"
103
+ close-on-select ></v-select>
104
+ </div>
105
+ <div class="form-group col-sm-3">
106
+ <label for="startDate" class="font_normal_body">开始时间:</label>
107
+ <datepicker id="startDate" placeholder="开始日期"
108
+ style="width: 60%!important;"
109
+ v-model="model.startDate"
110
+ :value.sync="model.startDate"
111
+ :format="'yyyy-MM-dd 00:00:00'"
112
+ :show-reset-button="true"
113
+ condition="f_apply_date >= '{}'">
114
+ </datepicker>
115
+ </div>
116
+ <div class="form-group col-sm-3">
117
+ <label for="endDate" class="font_normal_body">结束时间:</label>
118
+ <datepicker id="endDate" placeholder="结束日期"
119
+ style="width: 60%!important;"
120
+ v-model="model.endDate"
121
+ :value.sync="model.endDate"
122
+ :format="'yyyy-MM-dd 23:59:59'"
123
+ :show-reset-button="true"
124
+ condition="f_apply_date <= '{}'">
125
+ </datepicker>
126
+ </div>
127
+ <div class="form-group col-sm-3">
128
+ <label for="endDate" class="font_normal_body">收费日期:</label>
129
+ <datepicker id="f_charge_date" placeholder="收费日期"
130
+ style="width: 60%!important;"
131
+ v-model="model.f_charge_date"
132
+ :value.sync="model.f_charge_date"
133
+ :format="'yyyy-MM-dd'"
134
+ :show-reset-button="true"
135
+ condition="c.f_charge_date <= '{} 23:59:59' and c.f_charge_date >= '{} 00:00:00'">
136
+ </datepicker>
137
+ </div>
138
+ </div>
139
+ </div>
140
+ </criteria>
141
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
142
+ <template partial='head'>
143
+ <tr>
144
+ <th>序号</th>
145
+ <th>报建编号</th>
146
+ <th>当前状态</th>
147
+ <th>客户名称/联系人</th>
148
+ <th>合同编号</th>
149
+ <th>电话</th>
150
+ <th>地址</th>
151
+ <th>流程状态</th>
152
+ <th>报建类型</th>
153
+ <th>报建日期</th>
154
+ </tr>
155
+ </template>
156
+ <template partial='body'>
157
+ <tr>
158
+ <td style="text-align: center;">
159
+ <nobr>{{$index+1}}</nobr>
160
+ </td>
161
+ <td style="text-align: center;">
162
+ <nobr><font>{{row.f_apply_num}}</font></nobr>
163
+ </td>
164
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
165
+ <nobr>{{row.f_sub_state}}</nobr>
166
+ </td>
167
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
168
+ <nobr>{{row.f_user_name}}/{{row.f_contact}}</nobr>
169
+ </td>
170
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
171
+ <nobr>{{row.f_contract_number}}</nobr>
172
+ </td>
173
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
174
+ <nobr>{{row.f_phone}}</nobr>
175
+ </td>
176
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
177
+ <nobr>{{row.f_address}}</nobr>
178
+ </td>
179
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
180
+ <nobr>{{row.defname}}</nobr>
181
+ </td>
182
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
183
+ <nobr>{{row.f_apply_type}}</nobr>
184
+ </td>
185
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
186
+ <nobr>{{row.f_apply_date}}</nobr>
187
+ </td>
188
+ </tr>
189
+ </template>
190
+ </data-grid>
191
+ </criteria-paged>
192
+ </div>
193
+ </template>
194
+ <script>
195
+ import {PagedList} from 'vue-client'
196
+ import getNowDate from '../../getNowDate.js'
197
+ import {HttpResetClass} from 'vue-client'
198
+
199
+ export default {
200
+ title: '勘探详情',
201
+ data() {
202
+ return {
203
+ applytype: [{label:"全部",value:''}, {label:"集中报建",value:'集中报建'}, {label:"非民用报建",value:'非民用报建'},{label:"散户报建",value:'散户报建'}],
204
+ model: new PagedList('rs/sql/supervisory', 20, {
205
+ data: {
206
+ id: `${this.$login.f.name}`,
207
+ org: `${this.$login.f.orgs}`
208
+ }
209
+ }),
210
+ defnames:[], // 所有流程节点
211
+ condition: '', // 查询条件
212
+ criteriaShow: false,
213
+ area:[],
214
+ getfield: {
215
+ 'f_apply_num': ' 报 建 编 号 ',
216
+ 'defname': ' 当 前 环 节 ',
217
+ 'f_sub_state': ' 流 程 状 态 ',
218
+ 'f_user_name': ' 客 户 名 称 ',
219
+ 'f_contact': ' 联 系 人 ',
220
+ 'f_contract_number': ' 合 同 编 号 ',
221
+ 'f_phone': ' 电 话 ',
222
+ 'f_address': ' 地 址 ',
223
+ 'f_apply_type': ' 报 建 类 型 ',
224
+ 'f_apply_date': ' 报 建 日 期 '
225
+ }
226
+ }
227
+ },
228
+ async ready() {
229
+ // 调用查询
230
+ this.$refs.cp.$refs.cri.search()
231
+ // 获取所有办理环节
232
+ this.getDefnames()
233
+ this.getAreaAll()
234
+ },
235
+ events: {
236
+ },
237
+ methods: {
238
+ clear () {
239
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
240
+ this.$refs.cp.$refs.cri.model[key] = ''
241
+ })
242
+ },
243
+ hidden() {
244
+ this.$dispatch('hidden', this.criteriaShow)
245
+ this.criteriaShow = !this.criteriaShow
246
+ },
247
+ // 获取所有办理环节
248
+ getDefnames() {
249
+ let http = new HttpResetClass()
250
+ http.load('POST', 'rs/logic/getAllDefname', {}, {
251
+ resolveMsg: null,
252
+ rejectMsg: null
253
+ }).then((res) => {
254
+ this.defnames = [{label: '全部', value: ''}, ...res.data]
255
+ })
256
+ },
257
+ async getAreaAll () {
258
+ let http = new HttpResetClass()
259
+ let condition = "f_filialeid = " + this.$login.f.orgid
260
+ let res = await http.load('POST','rs/logic/apply_queryArea',{data:{condition:condition}}, {resolveMsg: null, rejectMsg: null})
261
+
262
+ this.area = res.data.queryArea.map(item => {
263
+ return {
264
+ 'label': item.f_residential_area,
265
+ 'value': item.f_residential_area,
266
+ }
267
+ })
268
+ },
269
+ check(val) {
270
+ this.criteriaShow = false
271
+ this.$dispatch('apply', val)
272
+ },
273
+ close() {
274
+ this.$dispatch('close')
275
+ }
276
+ },
277
+ computed: {
278
+ projectType() {
279
+ return this.$appdata.getParam("工程类型")
280
+ },
281
+ getCondition () {
282
+ console.log("condition",this.$refs.cp.$refs.cri.condition)
283
+ return {
284
+ condition: this.$refs.cp.$refs.cri.condition,
285
+ data: {
286
+ org: `${this.$login.f.orgs}`,
287
+ orgid: this.$login.f.orgid
288
+ }
289
+ }
290
+ }
291
+ }
292
+ }
293
+ </script>
294
+ <style scoped>
295
+
296
+ .operate{
297
+ text-align: right;
298
+ display: flex;
299
+ align-items: center; /*子元素中线居中*/
300
+ justify-content: flex-end; /*子元素靠右*/
301
+ margin-top: 7px;
302
+ }
303
+ .head-but{
304
+ margin-left: 5px;
305
+ height: 34px;
306
+ background-color: #6aa6e2;
307
+ border-radius: 4px;
308
+ font-family: PingFang;
309
+ color: #ffffff;
310
+ }
311
+ </style>