apply-clients 3.4.39 → 3.4.51

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 (58) hide show
  1. package/build/dev-server.js +2 -2
  2. package/package.json +1 -1
  3. package/src/android.js +21 -21
  4. package/src/apply.js +113 -113
  5. package/src/applyAndroid.js +53 -53
  6. package/src/components/android/AppServiceView.vue +745 -745
  7. package/src/components/android/AppSign.vue +154 -154
  8. package/src/components/android/Process/AppExplorationUser.vue +507 -507
  9. package/src/components/android/Process/AppServiceControl.vue +1708 -1708
  10. package/src/components/android/Process/Processes/AppAddMaterialScience.vue +477 -477
  11. package/src/components/android/Process/Processes/AppDevicesManagement.vue +519 -519
  12. package/src/components/android/Process/Processes/AppInstallationDetails.vue +482 -482
  13. package/src/components/android/Supervisory/AppSupervisoryCart.vue +156 -156
  14. package/src/components/product/Business/BusinessApply.vue +269 -269
  15. package/src/components/product/Business/CivilApply.vue +269 -269
  16. package/src/components/product/GroupByApply/ApplyGroupByList.vue +253 -253
  17. package/src/components/product/GroupByApply/ApplyGroupByMain.vue +53 -53
  18. package/src/components/product/GroupByApply/ApplyGroupByPaper.vue +376 -376
  19. package/src/components/product/Material/MaterialDetailed.vue +262 -262
  20. package/src/components/product/OldApply/Monitor/MonitorApply.vue +360 -360
  21. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +157 -157
  22. package/src/components/product/Print/IgnitionBill/IgnitionBill.vue +259 -259
  23. package/src/components/product/Print/IgnitionBill/printIgnitionBill.vue +168 -168
  24. package/src/components/product/Process/ExplorationSelect.vue +495 -495
  25. package/src/components/product/Process/ExplorationUser.vue +189 -189
  26. package/src/components/product/Process/Processes/InstallationDetails.vue +610 -610
  27. package/src/components/product/Process/Processes/Print/printCharge.vue +166 -166
  28. package/src/components/product/Process/Processes/addMaterialScience.vue +454 -454
  29. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +211 -211
  30. package/src/components/product/Process/Processes/chargeManagement.vue +656 -656
  31. package/src/components/product/Process/Processes/devicesManagement.vue +484 -484
  32. package/src/components/product/Process/Service/ServiceControl.vue +1918 -1920
  33. package/src/components/product/ServiceView.vue +981 -981
  34. package/src/components/product/Supervisory/SupervisoryControl.vue +137 -137
  35. package/src/components/product/Supervisory/SupervisoryList.vue +404 -404
  36. package/src/components/product/VueUtils/ApplyUpload.vue +275 -280
  37. package/src/filiale/gehua/pc/ExplorationSelect.vue +483 -483
  38. package/src/filiale/gehua/pc/ServiceControl.vue +1929 -1929
  39. package/src/filiale/gehua/pc/SupervisoryControl.vue +137 -137
  40. package/src/filiale/gehua/pc/SupervisoryServiceControl.vue +890 -890
  41. package/src/filiale/gehua/pc/buildOrderList.vue +339 -0
  42. package/src/filiale/gehua/pc/printBuildOrder.vue +243 -0
  43. package/src/filiale/gehua/pc.js +3 -2
  44. package/src/filiale/guangxi/android/Process/AppExplorationUser.vue +503 -503
  45. package/src/filiale/guangxi/android/Process/Processes/AppAddMaterialScience.vue +470 -470
  46. package/src/filiale/guangxi/android/Process/Processes/AppDevicesManagement.vue +519 -519
  47. package/src/filiale/guangxi/android/Process/Processes/AppInstallationDetails.vue +482 -482
  48. package/src/filiale/guangxi/android/Process/Processes/AppServiceControl.vue +1708 -1708
  49. package/src/filiale/guangxi/android/Process/Processes/AppServiceView.vue +766 -766
  50. package/src/filiale/guangxi/android.js +9 -9
  51. package/src/filiale/guangxi/pc/ApplyCharge/ApplyChargeList.vue +470 -470
  52. package/src/filiale/guangxi/pc/ApplyCharge/chargeManagement.vue +702 -702
  53. package/src/filiale/guangxi/pc/Process/ExplorationSelect.vue +538 -538
  54. package/src/filiale/guangxi/pc/Process/Service/ServiceControl.vue +1922 -1922
  55. package/src/filiale/guangxi/pc/Process/Service/SupervisoryServiceControl.vue +891 -891
  56. package/src/filiale/guangxi/pc/Process/Service/addMaterialScience.vue +482 -482
  57. package/src/filiale/guangxi/pc.js +15 -15
  58. package/src/main.js +1 -4
@@ -1,376 +1,376 @@
1
- <template>
2
- <criteria-paged :model="model" v-ref:cp>
3
- <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
4
- <div class="form-horizontal select-overspread container-fluid auto" partial>
5
- <div class="row">
6
- <div class="form-group col-sm-3">
7
- <label class="font_normal_body">组织机构:</label>
8
- <res-select
9
- restype='organization'
10
- :initresid='$parent.$parent.curorgid'
11
- @res-select="$parent.$parent.getorg"
12
- :is-mul="false"
13
- ></res-select>
14
- </div>
15
- <div class="form-group col-sm-3">
16
- <label for="startDate" class="font_normal_body">开始时间:</label>
17
- <datepicker id="startDate" placeholder="开始日期"
18
- style="width: 60%!important;"
19
- v-model="model.startDate"
20
- :value.sync="model.startDate"
21
- :format="'yyyy-MM-dd 00:00:00'"
22
- :show-reset-button="true"
23
- condition="a.f_apply_date >= '{}'">
24
- </datepicker>
25
- </div>
26
- <div class="form-group col-sm-3">
27
- <label for="endDate" class="font_normal_body">结束时间:</label>
28
- <datepicker id="endDate" placeholder="结束日期"
29
- style="width: 60%!important;"
30
- v-model="model.endDate"
31
- :value.sync="model.endDate"
32
- :format="'yyyy-MM-dd 23:59:59'"
33
- :show-reset-button="true"
34
- condition="a.f_apply_date <= '{}'">
35
- </datepicker>
36
- </div>
37
- <div class="form-group col-sm-3 button-range">
38
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
39
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
40
- <export-excel :data="$parent.$parent.getCondition"
41
- :field="$parent.$parent.getfield"
42
- sqlurl="rs/logic/applyExportfile"
43
- sql-name="getApplyCharge"
44
- template-name='收费记录信息导出'
45
- :choose-col="true"></export-excel>
46
- <div
47
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
48
- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
49
- class="button_spacing"
50
- style="float: right">
51
- </div>
52
- </div>
53
- </div>
54
- <div class="row" v-show="$parent.$parent.criteriaShow">
55
- <div class="form-group col-sm-3">
56
- <label class="font_normal_body">房产名称:</label>
57
- <input type="text" style="width: 60%" class="input_search" placeholder='房产名称' v-model="model.f_user_name"
58
- v-on:keyup.enter="$parent.$parent.search()"
59
- condition="a.f_user_name = '{}'">
60
- </div>
61
- <div class="form-group col-sm-3">
62
- <label class="font_normal_body">地址:</label>
63
- <input type="text" style="width: 60%" class="input_search" placeholder='地址' v-model="model.f_residential_area"
64
- v-on:keyup.enter="$parent.$parent.search()"
65
- condition="a.f_residential_area = '{}'">
66
- </div>
67
- <div class="form-group col-sm-3">
68
- <label class="font_normal_body">报建地区:</label>
69
- <v-select
70
- v-model="model.f_entry_type"
71
- placeholder='请选择'
72
- condition="a.f_entry_type = '{}'"
73
- :value.sync="model.f_entry_type"
74
- :options='$parent.$parent.applytype'
75
- class="select select_list"
76
- :value-single="true"
77
- @change="$parent.$parent.applyTypeChange()"
78
- close-on-select ></v-select>
79
- </div>
80
- <div class="form-group col-sm-3">
81
- <label class="font_normal_body">报建性质:</label>
82
- <v-select
83
- v-model="model.f_apply_nature"
84
- placeholder='报建性质'
85
- condition="a.f_apply_nature = '{}'"
86
- :value.sync="model.f_apply_nature"
87
- :options='$parent.$parent.applyNatures'
88
- class="select select_list"
89
- :value-single="true"
90
- close-on-select ></v-select>
91
- </div>
92
- <div class="form-group col-sm-3">
93
- <label class="font_normal_body">合同编号:</label>
94
- <input type="text" style="width:60%" class="input_search" v-model="model.f_contract_number"
95
- v-on:keyup.enter="$parent.$parent.search()" condition="a.f_contract_number like '%{}%'" placeholder='合同编号'>
96
- </div>
97
- <div class="form-group col-sm-3">
98
- <label class="font_normal_body">工程编号:</label>
99
- <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
100
- v-on:keyup.enter="$parent.$parent.search()"
101
- condition="a.f_apply_num like '%{}%'">
102
- </div>
103
- <div class="form-group col-sm-3">
104
- <label class="font_normal_body">项目负责人:</label>
105
- <input type="text" style="width:60%" class="input_search" placeholder='项目负责人' v-model="model.f_corporate_name"
106
- v-on:keyup.enter="$parent.$parent.search()"
107
- condition="a.f_corporate_name like '%{}%'">
108
- </div>
109
- <div class="form-group col-sm-3">
110
- <label class="font_normal_body">联系电话:</label>
111
- <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
112
- v-on:keyup.enter="$parent.$parent.search()"
113
- condition="a.f_phone like '%{}%'">
114
- </div>
115
- <div class="form-group col-sm-3">
116
- <label class="font_normal_body">工程状态(是否完工):</label>
117
- <v-select
118
- v-model="model.F_is_STATE"
119
- placeholder='请选择'
120
- condition="a.f_is_wangong='{}'"
121
- :value.sync="model.F_is_STATE"
122
- :options='$parent.$parent.chargeStatus'
123
- class="select select_list"
124
- :value-single="true"
125
- close-on-select ></v-select>
126
- </div>
127
-
128
- <div class="form-group col-sm-3">
129
- <label class="font_normal_body">合同金额:</label>
130
- <input type="text" style="width: 60%" class="input_search" placeholder='合同金额' v-model="model.f_contract_money"
131
- v-on:keyup.enter="$parent.$parent.search()"
132
- condition="a.f_contract_money = '{}'">
133
- </div>
134
- <div class="form-group col-sm-3">
135
- <label class="font_normal_body">责任人:</label>
136
- <v-select
137
- v-model="model.f_operator"
138
- placeholder='请选择'
139
- condition="a.f_operator = '{}'"
140
- :value.sync="model.f_operator"
141
- class="select select_list"
142
- :options='$parent.$parent.operatorList'
143
- :value-single="true"
144
- close-on-select ></v-select>
145
- </div>
146
- </div>
147
- </div>
148
- </criteria>
149
- <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
150
- <template partial='head'>
151
- <tr>
152
- <th style="text-align: center;" colspan="18">已签房产项目</th>
153
- </tr>
154
- <tr>
155
- <th style="white-space: nowrap;">序号</th>
156
- <th style="white-space: nowrap;">房产名称</th>
157
- <th style="white-space: nowrap;">地址</th>
158
- <th style="white-space: nowrap;">报建地区</th>
159
- <th style="white-space: nowrap;">报建性质</th>
160
- <th style="white-space: nowrap;">签约户数</th>
161
- <th style="white-space: nowrap;">签约时间</th>
162
- <th style="white-space: nowrap;">合同金额(元)</th>
163
- <th style="white-space: nowrap;">已回款金额(元)</th>
164
- <th style="white-space: nowrap;">剩余金额(元)</th>
165
- <th style="white-space: nowrap;">签约金额</th>
166
- <th style="white-space: nowrap;">签约单位价格(元)</th>
167
- <th style="white-space: nowrap;">备注</th>
168
- <th style="white-space: nowrap;">签约合同之外回款</th>
169
- <th style="white-space: nowrap;">项目负责人</th>
170
- <th style="white-space: nowrap;">联系电话</th>
171
- <th style="white-space: nowrap;">责任人</th>
172
- </tr>
173
- </template>
174
- <template partial='body'>
175
- <tr >
176
- <td style="text-align: center;">
177
- <nobr><font>{{$index+1}}</font></nobr>
178
- </td>
179
- <td style="text-align: center;">
180
- <nobr><font>{{row.f_user_name}}</font></nobr>
181
- </td>
182
- <td style="text-align: center;">
183
- <nobr><font>{{row.f_residential_area}}</font></nobr>
184
- </td>
185
- <td style="text-align: center;">
186
- <nobr><font>{{row.f_entry_type}}</font></nobr>
187
- </td>
188
- <td style="text-align: center;">
189
- <nobr><font>{{row.f_apply_nature}}</font></nobr>
190
- </td>
191
- <td style="text-align: center;">
192
- <nobr><font>{{row.f_apply_count}}</font></nobr>
193
- </td>
194
- <td style="text-align: center;">
195
- <nobr><font>{{row.f_apply_date}}</font></nobr>
196
- </td>
197
- <td style="text-align: center;">
198
- <nobr><font>{{row.f_contract_money}}</font></nobr>
199
- </td>
200
- <td style="text-align: center;">
201
- <nobr><font>{{row.f_cumulative_payment_money}}</font></nobr>
202
- </td>
203
- <td style="text-align: center;">
204
- <nobr><font>{{row.f_surplus_money}}</font></nobr>
205
- </td>
206
- <td style="text-align: center;">
207
- <nobr><font>{{row.f_qy_jine}}</font></nobr>
208
- </td>
209
- <td style="text-align: center;">
210
- <nobr><font>{{row.f_qy_danjia}}</font></nobr>
211
- </td>
212
- <td style="text-align: center;">
213
- <nobr><font>{{row.f_apply_remarks}}</font></nobr>
214
- </td>
215
- <td style="text-align: center;">
216
- <nobr><font>{{row.f_add_contract_money}}</font></nobr>
217
- </td>
218
- <td style="text-align: center;">
219
- <nobr><font>{{row.f_corporate_name}}</font></nobr>
220
- </td>
221
- <td style="text-align: center;">
222
- <nobr><font>{{row.f_phone}}</font></nobr>
223
- </td>
224
- <td style="text-align: center;">
225
- <nobr><font>{{row.f_operator}}</font></nobr>
226
- </td>
227
- </tr>
228
- </template>
229
- </data-grid>
230
- </criteria-paged>
231
- </template>
232
-
233
- <script>
234
- import {PagedList} from 'vue-client'
235
- import {HttpResetClass} from 'vue-client'
236
- import {isEmpty} from "../../Util";
237
- export default {
238
- title: '报建团购数据查询列表',
239
- data () {
240
- return {
241
- model: new PagedList('rs/sql/getGroupBy', 30, null),
242
- curorgid: [this.$login.f.orgid],
243
- curdepid: [],
244
- servicerList:[],
245
- operatorList:[],
246
- curuserid: [],
247
- // paymentTerm :[{label: '全部', value: ''}, ...this.$appdata.getParam('收费项目')],
248
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建地区')],
249
- applyNatures: [{label: '全部', value: ''},...this.$appdata.getParam('团购报建性质')], // 报建性质
250
- // istongqi: [{label: '全部', value: ''},
251
- // {label: '是', value: '是'},
252
- // {label: '否', value: '否'},
253
- // ],
254
- chargeStatus: [
255
- {label: '全部', value: ''},
256
- {label: '是', value: '是'},
257
- {label: '否', value: '否'},
258
- ],
259
- criteriaShow: false,
260
- chargeAll: {
261
- count: 0,
262
- sum: 0
263
- },
264
- getfield: {
265
- 'f_apply_num': '工程编号',
266
- 'f_contract_number': '合同编号',
267
- 'f_user_name': '房产名称',
268
- 'f_residential_area':'地址',
269
- 'f_entry_type':'报建地区',
270
- 'f_apply_nature': '报建性质',
271
- 'f_apply_count': '签约户数',
272
- 'f_apply_date':'签约时间',
273
- 'f_contract_money':'签约金额(万元)',
274
- 'f_cumulative_payment_money':'已回款金额(万元)',
275
- 'f_surplus_money':'剩余金额(万元)',
276
- 'f_qy_jine':'签约金额',
277
- 'f_qy_danjia':'签约单价(元)',
278
- 'f_apply_remarks': '备注',
279
- 'f_add_contract_money': '签约合同之外回款',
280
- 'f_corporate_name': '项目负责人',
281
- 'f_phone': '联系电话',
282
- 'f_operator': '责任人',
283
-
284
- }
285
- }
286
- },
287
- ready () {
288
- // 调用查询
289
- this.search()
290
- this.getapplyoperator()
291
- },
292
- methods: {
293
- async getapplyoperator(){
294
- let data = {
295
- condition: `1=1 and f_apply_type='团购报建'`
296
- }
297
- let http = new HttpResetClass()
298
- let res = await http.load('POST', 'rs/sql/getapplyOperator', {data: data}, {resolveMsg: null, rejectMsg: null})
299
- res.data.forEach(item => {
300
- this.operatorList.push({
301
- 'label': item.f_operator,
302
- 'value': item.f_operator
303
- })
304
- })},
305
-
306
- applyTypeChange () {
307
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
308
- this.applyNatures = isEmpty(this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)]
309
- } else {
310
- this.applyNatures = [{label: '全部', value: ''}]
311
- }
312
- },
313
- clear () {
314
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
315
- this.$refs.cp.$refs.cri.model[key] = ''
316
- })
317
- this.curdepid = []
318
- this.curuserid = []
319
- },
320
- searchCondition (args) {
321
- args.condition = args.condition + ` and f_orgid in (${this.curorgid})`
322
- if (this.curdepid.length > 0) {
323
- args.condition = args.condition + ` and f_depid in (${this.curdepid})`
324
- }
325
- if (this.curuserid.length > 0) {
326
- args.condition = args.condition + ` and f_charge_collectors_id in (${this.curuserid})`
327
- }
328
- this.model.search(args.condition, args.model)
329
- },
330
- // 查询
331
- search () {
332
- this.$refs.cp.$refs.cri.search()
333
- this.getapplyoperator()
334
- },
335
-
336
- getuser (val) {
337
- if (val.length <= 0) {
338
- return
339
- }
340
- this.curuserid = val
341
- this.search()
342
- },
343
- getdep (val) {
344
- if (val.length <= 0) {
345
- return
346
- }
347
- this.curdepid = val
348
- this.curuserid = []
349
- this.search()
350
- },
351
- getorg (val) {
352
- if (val.length <= 0) {
353
- return
354
- }
355
- this.curorgid = val
356
- this.curdepid = []
357
- this.curuserid = []
358
- this.search()
359
- },
360
-
361
- },
362
- computed: {
363
- getCondition () {
364
- return {
365
- condition: this.model.condition
366
- }
367
- },
368
- selected() {
369
- return this.$refs.cp.$refs.grid.selected
370
- }
371
- }
372
- }
373
- </script>
374
-
375
- <style scoped>
376
- </style>
1
+ <template>
2
+ <criteria-paged :model="model" v-ref:cp>
3
+ <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
4
+ <div class="form-horizontal select-overspread container-fluid auto" partial>
5
+ <div class="row">
6
+ <div class="form-group col-sm-3">
7
+ <label class="font_normal_body">组织机构:</label>
8
+ <res-select
9
+ restype='organization'
10
+ :initresid='$parent.$parent.curorgid'
11
+ @res-select="$parent.$parent.getorg"
12
+ :is-mul="false"
13
+ ></res-select>
14
+ </div>
15
+ <div class="form-group col-sm-3">
16
+ <label for="startDate" class="font_normal_body">开始时间:</label>
17
+ <datepicker id="startDate" placeholder="开始日期"
18
+ style="width: 60%!important;"
19
+ v-model="model.startDate"
20
+ :value.sync="model.startDate"
21
+ :format="'yyyy-MM-dd 00:00:00'"
22
+ :show-reset-button="true"
23
+ condition="a.f_apply_date >= '{}'">
24
+ </datepicker>
25
+ </div>
26
+ <div class="form-group col-sm-3">
27
+ <label for="endDate" class="font_normal_body">结束时间:</label>
28
+ <datepicker id="endDate" placeholder="结束日期"
29
+ style="width: 60%!important;"
30
+ v-model="model.endDate"
31
+ :value.sync="model.endDate"
32
+ :format="'yyyy-MM-dd 23:59:59'"
33
+ :show-reset-button="true"
34
+ condition="a.f_apply_date <= '{}'">
35
+ </datepicker>
36
+ </div>
37
+ <div class="form-group col-sm-3 button-range">
38
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
39
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
40
+ <export-excel :data="$parent.$parent.getCondition"
41
+ :field="$parent.$parent.getfield"
42
+ sqlurl="rs/logic/applyExportfile"
43
+ sql-name="getApplyCharge"
44
+ template-name='收费记录信息导出'
45
+ :choose-col="true"></export-excel>
46
+ <div
47
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
48
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
49
+ class="button_spacing"
50
+ style="float: right">
51
+ </div>
52
+ </div>
53
+ </div>
54
+ <div class="row" v-show="$parent.$parent.criteriaShow">
55
+ <div class="form-group col-sm-3">
56
+ <label class="font_normal_body">房产名称:</label>
57
+ <input type="text" style="width: 60%" class="input_search" placeholder='房产名称' v-model="model.f_user_name"
58
+ v-on:keyup.enter="$parent.$parent.search()"
59
+ condition="a.f_user_name = '{}'">
60
+ </div>
61
+ <div class="form-group col-sm-3">
62
+ <label class="font_normal_body">地址:</label>
63
+ <input type="text" style="width: 60%" class="input_search" placeholder='地址' v-model="model.f_residential_area"
64
+ v-on:keyup.enter="$parent.$parent.search()"
65
+ condition="a.f_residential_area = '{}'">
66
+ </div>
67
+ <div class="form-group col-sm-3">
68
+ <label class="font_normal_body">报建地区:</label>
69
+ <v-select
70
+ v-model="model.f_entry_type"
71
+ placeholder='请选择'
72
+ condition="a.f_entry_type = '{}'"
73
+ :value.sync="model.f_entry_type"
74
+ :options='$parent.$parent.applytype'
75
+ class="select select_list"
76
+ :value-single="true"
77
+ @change="$parent.$parent.applyTypeChange()"
78
+ close-on-select ></v-select>
79
+ </div>
80
+ <div class="form-group col-sm-3">
81
+ <label class="font_normal_body">报建性质:</label>
82
+ <v-select
83
+ v-model="model.f_apply_nature"
84
+ placeholder='报建性质'
85
+ condition="a.f_apply_nature = '{}'"
86
+ :value.sync="model.f_apply_nature"
87
+ :options='$parent.$parent.applyNatures'
88
+ class="select select_list"
89
+ :value-single="true"
90
+ close-on-select ></v-select>
91
+ </div>
92
+ <div class="form-group col-sm-3">
93
+ <label class="font_normal_body">合同编号:</label>
94
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_contract_number"
95
+ v-on:keyup.enter="$parent.$parent.search()" condition="a.f_contract_number like '%{}%'" placeholder='合同编号'>
96
+ </div>
97
+ <div class="form-group col-sm-3">
98
+ <label class="font_normal_body">工程编号:</label>
99
+ <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
100
+ v-on:keyup.enter="$parent.$parent.search()"
101
+ condition="a.f_apply_num like '%{}%'">
102
+ </div>
103
+ <div class="form-group col-sm-3">
104
+ <label class="font_normal_body">项目负责人:</label>
105
+ <input type="text" style="width:60%" class="input_search" placeholder='项目负责人' v-model="model.f_corporate_name"
106
+ v-on:keyup.enter="$parent.$parent.search()"
107
+ condition="a.f_corporate_name like '%{}%'">
108
+ </div>
109
+ <div class="form-group col-sm-3">
110
+ <label class="font_normal_body">联系电话:</label>
111
+ <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
112
+ v-on:keyup.enter="$parent.$parent.search()"
113
+ condition="a.f_phone like '%{}%'">
114
+ </div>
115
+ <div class="form-group col-sm-3">
116
+ <label class="font_normal_body">工程状态(是否完工):</label>
117
+ <v-select
118
+ v-model="model.F_is_STATE"
119
+ placeholder='请选择'
120
+ condition="a.f_is_wangong='{}'"
121
+ :value.sync="model.F_is_STATE"
122
+ :options='$parent.$parent.chargeStatus'
123
+ class="select select_list"
124
+ :value-single="true"
125
+ close-on-select ></v-select>
126
+ </div>
127
+
128
+ <div class="form-group col-sm-3">
129
+ <label class="font_normal_body">合同金额:</label>
130
+ <input type="text" style="width: 60%" class="input_search" placeholder='合同金额' v-model="model.f_contract_money"
131
+ v-on:keyup.enter="$parent.$parent.search()"
132
+ condition="a.f_contract_money = '{}'">
133
+ </div>
134
+ <div class="form-group col-sm-3">
135
+ <label class="font_normal_body">责任人:</label>
136
+ <v-select
137
+ v-model="model.f_operator"
138
+ placeholder='请选择'
139
+ condition="a.f_operator = '{}'"
140
+ :value.sync="model.f_operator"
141
+ class="select select_list"
142
+ :options='$parent.$parent.operatorList'
143
+ :value-single="true"
144
+ close-on-select ></v-select>
145
+ </div>
146
+ </div>
147
+ </div>
148
+ </criteria>
149
+ <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
150
+ <template partial='head'>
151
+ <tr>
152
+ <th style="text-align: center;" colspan="18">已签房产项目</th>
153
+ </tr>
154
+ <tr>
155
+ <th style="white-space: nowrap;">序号</th>
156
+ <th style="white-space: nowrap;">房产名称</th>
157
+ <th style="white-space: nowrap;">地址</th>
158
+ <th style="white-space: nowrap;">报建地区</th>
159
+ <th style="white-space: nowrap;">报建性质</th>
160
+ <th style="white-space: nowrap;">签约户数</th>
161
+ <th style="white-space: nowrap;">签约时间</th>
162
+ <th style="white-space: nowrap;">合同金额(元)</th>
163
+ <th style="white-space: nowrap;">已回款金额(元)</th>
164
+ <th style="white-space: nowrap;">剩余金额(元)</th>
165
+ <th style="white-space: nowrap;">签约金额</th>
166
+ <th style="white-space: nowrap;">签约单位价格(元)</th>
167
+ <th style="white-space: nowrap;">备注</th>
168
+ <th style="white-space: nowrap;">签约合同之外回款</th>
169
+ <th style="white-space: nowrap;">项目负责人</th>
170
+ <th style="white-space: nowrap;">联系电话</th>
171
+ <th style="white-space: nowrap;">责任人</th>
172
+ </tr>
173
+ </template>
174
+ <template partial='body'>
175
+ <tr >
176
+ <td style="text-align: center;">
177
+ <nobr><font>{{$index+1}}</font></nobr>
178
+ </td>
179
+ <td style="text-align: center;">
180
+ <nobr><font>{{row.f_user_name}}</font></nobr>
181
+ </td>
182
+ <td style="text-align: center;">
183
+ <nobr><font>{{row.f_residential_area}}</font></nobr>
184
+ </td>
185
+ <td style="text-align: center;">
186
+ <nobr><font>{{row.f_entry_type}}</font></nobr>
187
+ </td>
188
+ <td style="text-align: center;">
189
+ <nobr><font>{{row.f_apply_nature}}</font></nobr>
190
+ </td>
191
+ <td style="text-align: center;">
192
+ <nobr><font>{{row.f_apply_count}}</font></nobr>
193
+ </td>
194
+ <td style="text-align: center;">
195
+ <nobr><font>{{row.f_apply_date}}</font></nobr>
196
+ </td>
197
+ <td style="text-align: center;">
198
+ <nobr><font>{{row.f_contract_money}}</font></nobr>
199
+ </td>
200
+ <td style="text-align: center;">
201
+ <nobr><font>{{row.f_cumulative_payment_money}}</font></nobr>
202
+ </td>
203
+ <td style="text-align: center;">
204
+ <nobr><font>{{row.f_surplus_money}}</font></nobr>
205
+ </td>
206
+ <td style="text-align: center;">
207
+ <nobr><font>{{row.f_qy_jine}}</font></nobr>
208
+ </td>
209
+ <td style="text-align: center;">
210
+ <nobr><font>{{row.f_qy_danjia}}</font></nobr>
211
+ </td>
212
+ <td style="text-align: center;">
213
+ <nobr><font>{{row.f_apply_remarks}}</font></nobr>
214
+ </td>
215
+ <td style="text-align: center;">
216
+ <nobr><font>{{row.f_add_contract_money}}</font></nobr>
217
+ </td>
218
+ <td style="text-align: center;">
219
+ <nobr><font>{{row.f_corporate_name}}</font></nobr>
220
+ </td>
221
+ <td style="text-align: center;">
222
+ <nobr><font>{{row.f_phone}}</font></nobr>
223
+ </td>
224
+ <td style="text-align: center;">
225
+ <nobr><font>{{row.f_operator}}</font></nobr>
226
+ </td>
227
+ </tr>
228
+ </template>
229
+ </data-grid>
230
+ </criteria-paged>
231
+ </template>
232
+
233
+ <script>
234
+ import {PagedList} from 'vue-client'
235
+ import {HttpResetClass} from 'vue-client'
236
+ import {isEmpty} from "../../Util";
237
+ export default {
238
+ title: '报建团购数据查询列表',
239
+ data () {
240
+ return {
241
+ model: new PagedList('rs/sql/getGroupBy', 30, null),
242
+ curorgid: [this.$login.f.orgid],
243
+ curdepid: [],
244
+ servicerList:[],
245
+ operatorList:[],
246
+ curuserid: [],
247
+ // paymentTerm :[{label: '全部', value: ''}, ...this.$appdata.getParam('收费项目')],
248
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建地区')],
249
+ applyNatures: [{label: '全部', value: ''},...this.$appdata.getParam('团购报建性质')], // 报建性质
250
+ // istongqi: [{label: '全部', value: ''},
251
+ // {label: '是', value: '是'},
252
+ // {label: '否', value: '否'},
253
+ // ],
254
+ chargeStatus: [
255
+ {label: '全部', value: ''},
256
+ {label: '是', value: '是'},
257
+ {label: '否', value: '否'},
258
+ ],
259
+ criteriaShow: false,
260
+ chargeAll: {
261
+ count: 0,
262
+ sum: 0
263
+ },
264
+ getfield: {
265
+ 'f_apply_num': '工程编号',
266
+ 'f_contract_number': '合同编号',
267
+ 'f_user_name': '房产名称',
268
+ 'f_residential_area':'地址',
269
+ 'f_entry_type':'报建地区',
270
+ 'f_apply_nature': '报建性质',
271
+ 'f_apply_count': '签约户数',
272
+ 'f_apply_date':'签约时间',
273
+ 'f_contract_money':'签约金额(万元)',
274
+ 'f_cumulative_payment_money':'已回款金额(万元)',
275
+ 'f_surplus_money':'剩余金额(万元)',
276
+ 'f_qy_jine':'签约金额',
277
+ 'f_qy_danjia':'签约单价(元)',
278
+ 'f_apply_remarks': '备注',
279
+ 'f_add_contract_money': '签约合同之外回款',
280
+ 'f_corporate_name': '项目负责人',
281
+ 'f_phone': '联系电话',
282
+ 'f_operator': '责任人',
283
+
284
+ }
285
+ }
286
+ },
287
+ ready () {
288
+ // 调用查询
289
+ this.search()
290
+ this.getapplyoperator()
291
+ },
292
+ methods: {
293
+ async getapplyoperator(){
294
+ let data = {
295
+ condition: `1=1 and f_apply_type='团购报建'`
296
+ }
297
+ let http = new HttpResetClass()
298
+ let res = await http.load('POST', 'rs/sql/getapplyOperator', {data: data}, {resolveMsg: null, rejectMsg: null})
299
+ res.data.forEach(item => {
300
+ this.operatorList.push({
301
+ 'label': item.f_operator,
302
+ 'value': item.f_operator
303
+ })
304
+ })},
305
+
306
+ applyTypeChange () {
307
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
308
+ this.applyNatures = isEmpty(this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)]
309
+ } else {
310
+ this.applyNatures = [{label: '全部', value: ''}]
311
+ }
312
+ },
313
+ clear () {
314
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
315
+ this.$refs.cp.$refs.cri.model[key] = ''
316
+ })
317
+ this.curdepid = []
318
+ this.curuserid = []
319
+ },
320
+ searchCondition (args) {
321
+ args.condition = args.condition + ` and f_orgid in (${this.curorgid})`
322
+ if (this.curdepid.length > 0) {
323
+ args.condition = args.condition + ` and f_depid in (${this.curdepid})`
324
+ }
325
+ if (this.curuserid.length > 0) {
326
+ args.condition = args.condition + ` and f_charge_collectors_id in (${this.curuserid})`
327
+ }
328
+ this.model.search(args.condition, args.model)
329
+ },
330
+ // 查询
331
+ search () {
332
+ this.$refs.cp.$refs.cri.search()
333
+ this.getapplyoperator()
334
+ },
335
+
336
+ getuser (val) {
337
+ if (val.length <= 0) {
338
+ return
339
+ }
340
+ this.curuserid = val
341
+ this.search()
342
+ },
343
+ getdep (val) {
344
+ if (val.length <= 0) {
345
+ return
346
+ }
347
+ this.curdepid = val
348
+ this.curuserid = []
349
+ this.search()
350
+ },
351
+ getorg (val) {
352
+ if (val.length <= 0) {
353
+ return
354
+ }
355
+ this.curorgid = val
356
+ this.curdepid = []
357
+ this.curuserid = []
358
+ this.search()
359
+ },
360
+
361
+ },
362
+ computed: {
363
+ getCondition () {
364
+ return {
365
+ condition: this.model.condition
366
+ }
367
+ },
368
+ selected() {
369
+ return this.$refs.cp.$refs.grid.selected
370
+ }
371
+ }
372
+ }
373
+ </script>
374
+
375
+ <style scoped>
376
+ </style>