apply-clients 3.1.36 → 3.1.39

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 +112 -112
  2. package/src/App.vue +20 -20
  3. package/src/apply.js +3 -0
  4. package/src/components/product/ApplyCharge/ApplyChargeList.vue +266 -247
  5. package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +30 -232
  6. package/src/components/product/Function/InstallFunction.vue +2 -2
  7. package/src/components/product/Function/InstallInfoSelect.vue +44 -5
  8. package/src/components/product/Function/Service/FunctionServiceControl.vue +61 -2
  9. package/src/components/product/Function/functions/ChargeManagement.vue +397 -30
  10. package/src/components/product/Function/functions/ContractNo.vue +354 -354
  11. package/src/components/product/Function/functions/DispatchList.vue +490 -490
  12. package/src/components/product/Function/functions/InstallFeeInfo.vue +43 -43
  13. package/src/components/product/Order/OrderApply.vue +467 -467
  14. package/src/components/product/Order/OrderApplyList.vue +301 -301
  15. package/src/components/product/Process/ExplorationSelect.vue +326 -287
  16. package/src/components/product/Process/ExplorationUser.vue +168 -140
  17. package/src/components/product/Process/Service/ServiceControl.vue +15 -14
  18. package/src/components/product/ReportForm/ApplyUpload.vue +261 -261
  19. package/src/components/product/ReportForm/CustomerRecordMessage.vue +1587 -1409
  20. package/src/components/product/ServiceView.vue +5 -1
  21. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +169 -153
  22. package/src/components/product/Supervisory/SupervisoryControl.vue +132 -132
  23. package/src/components/product/Supervisory/SupervisoryControl2.vue +132 -0
  24. package/src/components/product/Supervisory/SupervisoryList.vue +76 -10
  25. package/src/components/product/Supervisory/SupervisoryList2.vue +285 -0
  26. package/src/components/product/Supervisory/SupervisoryhCart.vue +105 -104
@@ -1,247 +1,266 @@
1
- <template>
2
- <criteria-paged :model="model" v-ref:cp>
3
- <criteria partial='criteria' @condition-changed='search' 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
- <input type="text" class="input_search" style="width: 60%" v-model="model.f_entry_name"
9
- v-on:keyup.enter="$parent.$parent.search()" condition="a.f_entry_name like '%{}%'" placeholder='项目名'>
10
- </div>
11
- <div class="form-group col-sm-3">
12
- <label for="startDate" class="font_normal_body">开始时间:</label>
13
- <datepicker id="startDate" placeholder="开始日期"
14
- style="width: 60%!important;"
15
- v-model="model.startDate"
16
- :value.sync="model.startDate"
17
- :format="'yyyy-MM-dd HH:mm:ss'"
18
- :show-reset-button="true"
19
- condition="cr.f_charge_date >= '{}'">
20
- </datepicker>
21
- </div>
22
- <div class="form-group col-sm-3">
23
- <label for="endDate" class="font_normal_body">结束时间:</label>
24
- <datepicker id="endDate" placeholder="结束日期"
25
- style="width: 60%!important;"
26
- v-model="model.endDate"
27
- :value.sync="model.endDate"
28
- :format="'yyyy-MM-dd HH:mm:ss'"
29
- :show-reset-button="true"
30
- condition="cr.f_charge_date <= '{}'">
31
- </datepicker>
32
- </div>
33
- <div class="form-group col-sm-3 button-range">
34
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
35
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
36
- <export-excel :data="$parent.$parent.getCondition"
37
- :field="$parent.$parent.getfield"
38
- sqlurl="rs/logic/applyExportfile"
39
- sql-name="getApplyCharge"
40
- template-name='收费记录信息导出'
41
- :choose-col="true"></export-excel>
42
- <div
43
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
44
- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
45
- class="button_spacing"
46
- style="float: right">
47
- </div>
48
- </div>
49
- </div>
50
- <div class="row" v-show="$parent.$parent.criteriaShow">
51
- <div class="form-group col-sm-3">
52
- <label class="font_normal_body">报建编号:</label>
53
- <input type="text" style="width: 60%" class="input_search" placeholder='报建编号' v-model="model.f_apply_num"
54
- v-on:keyup.enter="$parent.$parent.search()"
55
- condition="a.f_apply_num = '{}'">
56
- </div>
57
- <div class="form-group col-sm-3">
58
- <label class="font_normal_body">合同编号:</label>
59
- <input type="text" style="width: 60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
60
- v-on:keyup.enter="$parent.$parent.search()"
61
- condition="a.f_contract_number = '{}'">
62
- </div>
63
- <div class="form-group col-sm-3">
64
- <label class="font_normal_body">报建类型:</label>
65
- <v-select
66
- v-model="model.f_apply_type"
67
- placeholder='请选择'
68
- condition="a.f_apply_type = '{}'"
69
- :value.sync="model.f_apply_type"
70
- :options='$parent.$parent.applytype'
71
- class="select select_list"
72
- :value-single="true"
73
- close-on-select ></v-select>
74
- </div>
75
- <div class="form-group col-sm-3">
76
- <label class="font_normal_body">收费人员:</label>
77
- <input type="text" class="input_search" style="width: 60%" placeholder='收费人员' v-model="model.f_charge_collectors"
78
- v-on:keyup.enter="$parent.$parent.search()"
79
- condition="cr.f_charge_collectors like '%{}%'">
80
- </div>
81
- <div class="form-group col-sm-3">
82
- <label class="font_normal_body">付款方式:</label>
83
- <v-select
84
- v-model="model.f_payment_method"
85
- placeholder='请选择'
86
- condition="cr.f_payment_method = '{}'"
87
- :value.sync="model.f_payment_method"
88
- :options='$parent.$parent.paymentMethod'
89
- class="select select_list"
90
- :value-single="true"
91
- close-on-select ></v-select>
92
- </div>
93
- <div class="form-group col-sm-3">
94
- <label class="font_normal_body">缴费状态:</label>
95
- <v-select
96
- v-model="model.f_charging_status"
97
- placeholder='请选择'
98
- condition="cr.f_charging_status = '{}'"
99
- :value.sync="model.f_charging_status"
100
- :options='$parent.$parent.chargingStatus'
101
- class="select select_list"
102
- :value-single="true"
103
- close-on-select ></v-select>
104
- </div>
105
- </div>
106
- </div>
107
- </criteria>
108
- <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
109
- <template partial='head'>
110
- <tr>
111
- <th>序号</th>
112
- <th>报建编号</th>
113
- <th>项目名称</th>
114
- <th>合同编号</th>
115
- <th>报建类型</th>
116
- <th>收费金额</th>
117
- <th>付款方式</th>
118
- <th>收费人员</th>
119
- <th>收费日期</th>
120
- <th>状态</th>
121
- <th>地址</th>
122
- </tr>
123
- </template>
124
- <template partial='body'>
125
- <tr >
126
- <td style="text-align: center;">
127
- <nobr><font>{{$index+1}}</font></nobr>
128
- </td>
129
- <td style="text-align: center;">
130
- <nobr><font>{{row.f_apply_num}}</font></nobr>
131
- </td>
132
- <td style="text-align: center;">
133
- <nobr><font>{{row.f_entry_name}}</font></nobr>
134
- </td>
135
- <td style="text-align: center;">
136
- <nobr><font>{{row.f_contract_number}}</font></nobr>
137
- </td>
138
- <td style="text-align: center;">
139
- <nobr><font>{{row.f_apply_type}}</font></nobr>
140
- </td>
141
- <td style="text-align: center;">
142
- <nobr><font>{{row.f_charge_money}}</font></nobr>
143
- </td>
144
- <td style="text-align: center;">
145
- <nobr><font>{{row.f_payment_method}}</font></nobr>
146
- </td>
147
- <td style="text-align: center;">
148
- <nobr><font>{{row.f_charge_collectors}}</font></nobr>
149
- </td>
150
- <td style="text-align: center;">
151
- <nobr><font>{{row.f_charge_date}}</font></nobr>
152
- </td>
153
- <td style="text-align: center;">
154
- <nobr><font>{{row.f_charging_status}}</font></nobr>
155
- </td>
156
- <td style="text-align: center;">
157
- <nobr><font>{{row.f_address}}</font></nobr>
158
- </td>
159
- </tr>
160
- </template>
161
- </data-grid>
162
- </criteria-paged>
163
- </template>
164
-
165
- <script>
166
- import {PagedList} from 'vue-client'
167
- import {HttpResetClass} from 'vue-client'
168
- export default {
169
- title: '报建收费列表',
170
- data () {
171
- return {
172
- model: new PagedList('rs/sql/getApplyCharge', 30, {
173
- data: {
174
- orgid: this.$login.f.orgid
175
- }
176
- }, {
177
- f_charge_money: 0
178
- }),
179
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
180
- paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
181
- chargingStatus: [
182
- {label: '全部', value: ''},
183
- {label: '有效', value: '有效'},
184
- {label: '作废', value: '作废'}
185
- ],
186
- criteriaShow: false,
187
- chargeAll: {
188
- count: 0,
189
- sum: 0
190
- },
191
- getfield: {
192
- 'f_apply_num': '报建编号',
193
- 'f_entry_name': '项目名称',
194
- 'f_contract_number': '合同编号',
195
- 'f_apply_type': '报建类型',
196
- 'f_charge_money': '收费金额',
197
- 'f_payment_method': '付款方式',
198
- 'f_charge_collectors': '收费人员',
199
- 'f_charge_date': '收费日期',
200
- 'f_charging_status': '状态',
201
- 'f_address': '地址'
202
- }
203
- }
204
- },
205
- ready () {
206
- // 调用查询
207
- this.search()
208
- },
209
- methods: {
210
- clear () {
211
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
212
- this.$refs.cp.$refs.cri.model[key] = []
213
- })
214
- },
215
- // 查询
216
- search () {
217
- this.$refs.cp.$refs.cri.search()
218
- this.getChargeAll()
219
- },
220
- async getChargeAll () {
221
- let http = new HttpResetClass()
222
- let data = {
223
- condition: this.model.condition,
224
- data: {
225
- orgid: this.$login.f.orgid
226
- }
227
- }
228
- let res = await http.load('POST', 'rs/sql/getChargeAll', {data: data}, {resolveMsg: null, rejectMsg: null})
229
-
230
- this.chargeAll = res.data[0]
231
- }
232
- },
233
- computed: {
234
- getCondition () {
235
- return {
236
- condition: this.$refs.cp.$refs.cri.condition,
237
- data: {
238
- orgid: this.$login.f.orgid
239
- }
240
- }
241
- }
242
- }
243
- }
244
- </script>
245
-
246
- <style scoped>
247
- </style>
1
+ <template>
2
+ <criteria-paged :model="model" v-ref:cp>
3
+ <criteria partial='criteria' @condition-changed='search' 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
+ <input type="text" class="input_search" placeholder='票号' v-model="model.f_ticket_number"
9
+ v-on:keyup.enter="$parent.$parent.search()"
10
+ condition="cr.f_ticket_number like '%{}%'">
11
+ </div>
12
+ <div class="form-group col-sm-3">
13
+ <label for="startDate" class="font_normal_body">开始时间:</label>
14
+ <datepicker id="startDate" placeholder="开始日期"
15
+ style="width: 60%!important;"
16
+ v-model="model.startDate"
17
+ :value.sync="model.startDate"
18
+ :format="'yyyy-MM-dd 00:00:00'"
19
+ :show-reset-button="true"
20
+ condition="cr.f_charge_date >= '{}'">
21
+ </datepicker>
22
+ </div>
23
+ <div class="form-group col-sm-3">
24
+ <label for="endDate" class="font_normal_body">结束时间:</label>
25
+ <datepicker id="endDate" placeholder="结束日期"
26
+ style="width: 60%!important;"
27
+ v-model="model.endDate"
28
+ :value.sync="model.endDate"
29
+ :format="'yyyy-MM-dd 23:59:59'"
30
+ :show-reset-button="true"
31
+ condition="cr.f_charge_date <= '{}'">
32
+ </datepicker>
33
+ </div>
34
+ <div class="form-group col-sm-3 button-range">
35
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
36
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
37
+ <export-excel :data="$parent.$parent.getCondition"
38
+ :field="$parent.$parent.getfield"
39
+ sqlurl="rs/logic/applyExportfile"
40
+ sql-name="getApplyCharge"
41
+ template-name='收费记录信息导出'
42
+ :choose-col="true"></export-excel>
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
+ <input type="text" style="width: 60%" class="input_search" placeholder='报建编号' v-model="model.f_apply_num"
55
+ v-on:keyup.enter="$parent.$parent.search()"
56
+ condition="a.f_apply_num like '%{}%'">
57
+ </div>
58
+ <div class="form-group col-sm-3">
59
+ <label class="font_normal_body">合同编号:</label>
60
+ <input type="text" style="width: 60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
61
+ v-on:keyup.enter="$parent.$parent.search()"
62
+ condition="a.f_contract_number like '%{}%'">
63
+ </div>
64
+ <div class="form-group col-sm-3">
65
+ <label class="font_normal_body">报建类型:</label>
66
+ <v-select
67
+ v-model="model.f_apply_type"
68
+ placeholder='请选择'
69
+ condition="a.f_apply_type = '{}'"
70
+ :value.sync="model.f_apply_type"
71
+ :options='$parent.$parent.applytype'
72
+ class="select select_list"
73
+ :value-single="true"
74
+ close-on-select ></v-select>
75
+ </div>
76
+ <div class="form-group col-sm-3">
77
+ <label class="font_normal_body">收费人员:</label>
78
+ <input type="text" class="input_search" style="width: 60%" placeholder='收费人员' v-model="model.f_operator"
79
+ v-on:keyup.enter="$parent.$parent.search()"
80
+ condition="cr.f_operator like '%{}%'">
81
+ </div>
82
+ <div class="form-group col-sm-3">
83
+ <label class="font_normal_body">付款方式:</label>
84
+ <v-select
85
+ v-model="model.f_payment_method"
86
+ placeholder='请选择'
87
+ condition="cr.f_payment_method = '{}'"
88
+ :value.sync="model.f_payment_method"
89
+ :options='$parent.$parent.paymentMethod'
90
+ class="select select_list"
91
+ :value-single="true"
92
+ close-on-select ></v-select>
93
+ </div>
94
+ <div class="form-group col-sm-3">
95
+ <label class="font_normal_body">缴费状态:</label>
96
+ <v-select
97
+ v-model="model.f_charge_state"
98
+ placeholder='请选择'
99
+ condition="cr.f_charge_state = '{}'"
100
+ :value.sync="model.f_charge_state"
101
+ :options='$parent.$parent.chargingStatus'
102
+ class="select select_list"
103
+ :value-single="true"
104
+ close-on-select ></v-select>
105
+ </div>
106
+ </div>
107
+ </div>
108
+ </criteria>
109
+ <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
110
+ <template partial='head'>
111
+ <tr>
112
+ <th>序号</th>
113
+ <th>报建编号</th>
114
+ <th>票号</th>
115
+ <th>收费项目</th>
116
+ <th>合同编号</th>
117
+ <th>报建类型</th>
118
+ <th>收费金额</th>
119
+ <th>付款方式</th>
120
+ <th>收费人员</th>
121
+ <th>收费日期</th>
122
+ <th>状态</th>
123
+ <th>地址</th>
124
+ </tr>
125
+ </template>
126
+ <template partial='body'>
127
+ <tr >
128
+ <td style="text-align: center;">
129
+ <nobr><font>{{$index+1}}</font></nobr>
130
+ </td>
131
+ <td style="text-align: center;">
132
+ <nobr><font>{{row.f_applynum}}</font></nobr>
133
+ </td>
134
+ <td style="text-align: center;">
135
+ <nobr><font>{{row.f_ticket_number}}</font></nobr>
136
+ </td>
137
+ <td style="text-align: center;">
138
+ <nobr><font>{{row.f_charge_type}}</font></nobr>
139
+ </td>
140
+ <td style="text-align: center;">
141
+ <nobr><font>{{row.f_contract_number}}</font></nobr>
142
+ </td>
143
+ <td style="text-align: center;">
144
+ <nobr><font>{{row.f_apply_type}}</font></nobr>
145
+ </td>
146
+ <td style="text-align: center;">
147
+ <nobr><font>{{row.f_charge_money}}</font></nobr>
148
+ </td>
149
+ <td style="text-align: center;">
150
+ <nobr><font>{{row.f_payment_method}}</font></nobr>
151
+ </td>
152
+ <td style="text-align: center;">
153
+ <nobr><font>{{row.f_operator}}</font></nobr>
154
+ </td>
155
+ <td style="text-align: center;">
156
+ <nobr><font>{{row.f_charge_date}}</font></nobr>
157
+ </td>
158
+ <td style="text-align: center;">
159
+ <nobr><font>{{row.f_charge_state}}</font></nobr>
160
+ </td>
161
+ <td style="text-align: center;">
162
+ <nobr><font>{{row.f_address}}</font></nobr>
163
+ </td>
164
+ </tr>
165
+ </template>
166
+ </data-grid>
167
+ </criteria-paged>
168
+ </template>
169
+
170
+ <script>
171
+ import {PagedList} from 'vue-client'
172
+ import {HttpResetClass} from 'vue-client'
173
+ export default {
174
+ title: '报建收费列表',
175
+ data () {
176
+ return {
177
+ model: new PagedList('rs/sql/getApplyCharge', 30, {
178
+ data: {
179
+ org: this.$login.f.orgs
180
+ }
181
+ }, {
182
+ f_charge_money: 0
183
+ }),
184
+ applytype: [{label:"集中报建",value:'集中报建'},{label:"非民用报建",value:'非民用报建'},{label:"散户报建",value:'散户报建'}], // 所有报建类型
185
+ paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
186
+ chargingStatus: [
187
+ {label: '全部', value: ''},
188
+ {label: '有效', value: '有效'},
189
+ {label: '作废', value: '作废'}
190
+ ],
191
+ criteriaShow: false,
192
+ chargeAll: {
193
+ count: 0,
194
+ sum: 0
195
+ },
196
+ getfield: {
197
+ 'f_applynum': '报建编号',
198
+ 'f_charge_type': '收费设备',
199
+ 'f_brand': '设备品牌',
200
+ 'f_devices_num': '设备数量',
201
+ 'f_contract_number': '合同编号',
202
+ 'f_apply_type': '报建类型',
203
+ 'f_ticket_number': '票号',
204
+ 'f_charge_money': '收费金额',
205
+ 'f_payment_method': '付款方式',
206
+ 'f_operator': '收费人员',
207
+ 'f_charge_date': '收费日期',
208
+ 'f_charge_state': '状态',
209
+ 'f_address': '地址'
210
+ }
211
+ }
212
+ },
213
+ ready () {
214
+ // 调用查询
215
+ this.search()
216
+ },
217
+ methods: {
218
+ clear () {
219
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
220
+ this.$refs.cp.$refs.cri.model[key] = ''
221
+ })
222
+ },
223
+ searchCondition (args) {
224
+ args.condition = args.condition + ` and cr.f_orgid = '${this.curorgid[0]}'`
225
+ this.model.search(args.condition, args.model)
226
+ },
227
+ // 查询
228
+ search () {
229
+ this.$refs.cp.$refs.cri.search()
230
+ this.getChargeAll()
231
+ },
232
+ async getChargeAll () {
233
+ let http = new HttpResetClass()
234
+ let data = {
235
+ condition: this.model.condition,
236
+ data: {
237
+ org: this.$login.f.orgs
238
+ }
239
+ }
240
+ let res = await http.load('POST', 'rs/sql/getChargeAll', {data: data}, {resolveMsg: null, rejectMsg: null})
241
+
242
+ this.chargeAll = res.data[0]
243
+ },
244
+ getorg (val) {
245
+ if (val.length <= 0) {
246
+ return
247
+ }
248
+ this.curorgid = val
249
+ this.search()
250
+ }
251
+ },
252
+ computed: {
253
+ getCondition () {
254
+ return {
255
+ condition: this.$refs.cp.$refs.cri.condition,
256
+ data: {
257
+ org: this.$login.f.orgs
258
+ }
259
+ }
260
+ }
261
+ }
262
+ }
263
+ </script>
264
+
265
+ <style scoped>
266
+ </style>