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,232 +1,30 @@
1
- <template>
2
- <div class="basic-main">
3
- <criteria-paged :model="model" v-ref:cp>
4
- <criteria partial='criteria' @condition-changed='search' v-ref:cri>
5
- <div 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" style="width: 60%" v-model="model.f_entry_name"
10
- v-on:keyup.enter="$parent.$parent.search()" condition="a.f_entry_name like '%{}%'" placeholder='项目名'>
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 HH:mm:ss'"
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 HH:mm:ss'"
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
- <div
38
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
39
- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
40
- class="button_spacing"
41
- style="float: right">
42
- </div>
43
- </div>
44
- </div>
45
- <div class="row" v-show="$parent.$parent.criteriaShow">
46
- <div class="form-group col-sm-3">
47
- <label class="font_normal_body">报建编号:</label>
48
- <input type="text" style="width: 60%" class="input_search" placeholder='报建编号' v-model="model.f_apply_num"
49
- v-on:keyup.enter="$parent.$parent.search()"
50
- condition="a.f_apply_num = '{}'">
51
- </div>
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_contract_number"
55
- v-on:keyup.enter="$parent.$parent.search()"
56
- condition="a.f_contract_number = '{}'">
57
- </div>
58
- <div class="form-group col-sm-3">
59
- <label class="font_normal_body">报建类型:</label>
60
- <v-select
61
- v-model="model.f_apply_type"
62
- placeholder='请选择'
63
- condition="a.f_apply_type = '{}'"
64
- :value.sync="model.f_apply_type"
65
- :options='$parent.$parent.applytype'
66
- class="select select_list"
67
- :value-single="true"
68
- close-on-select ></v-select>
69
- </div>
70
- <div class="form-group col-sm-3">
71
- <label class="font_normal_body">收费人员:</label>
72
- <input type="text" class="input_search" style="width: 60%" placeholder='收费人员' v-model="model.f_charge_collectors"
73
- v-on:keyup.enter="$parent.$parent.search()"
74
- condition="cr.f_charge_collectors like '%{}%'">
75
- </div>
76
- <div class="form-group col-sm-3">
77
- <label class="font_normal_body">付款方式:</label>
78
- <v-select
79
- v-model="model.f_payment_method"
80
- placeholder='请选择'
81
- condition="cr.f_payment_method = '{}'"
82
- :value.sync="model.f_payment_method"
83
- :options='$parent.$parent.paymentMethod'
84
- class="select select_list"
85
- :value-single="true"
86
- close-on-select ></v-select>
87
- </div>
88
- <div class="form-group col-sm-3">
89
- <label class="font_normal_body">缴费状态:</label>
90
- <v-select
91
- v-model="model.f_charging_status"
92
- placeholder='请选择'
93
- condition="cr.f_charging_status = '{}'"
94
- :value.sync="model.f_charging_status"
95
- :options='$parent.$parent.chargingStatus'
96
- class="select select_list"
97
- :value-single="true"
98
- close-on-select ></v-select>
99
- </div>
100
- </div>
101
- </div>
102
- </criteria>
103
- <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy" style="height: 100%">
104
- <template partial='head'>
105
- <tr>
106
- <th>序号</th>
107
- <th>报建编号</th>
108
- <th>项目名称</th>
109
- <th>合同编号</th>
110
- <th>报建类型</th>
111
- <th>收费金额</th>
112
- <th>付款方式</th>
113
- <th>收费人员</th>
114
- <th>收费日期</th>
115
- <th>状态</th>
116
- <th>地址</th>
117
- </tr>
118
- </template>
119
- <template partial='body'>
120
- <tr >
121
- <td style="text-align: center;">
122
- <nobr><font>{{$index+1}}</font></nobr>
123
- </td>
124
- <td style="text-align: center;">
125
- <nobr><font>{{row.f_apply_num}}</font></nobr>
126
- </td>
127
- <td style="text-align: center;">
128
- <nobr><font>{{row.f_entry_name}}</font></nobr>
129
- </td>
130
- <td style="text-align: center;">
131
- <nobr><font>{{row.f_contract_number}}</font></nobr>
132
- </td>
133
- <td style="text-align: center;">
134
- <nobr><font>{{row.f_apply_type}}</font></nobr>
135
- </td>
136
- <td style="text-align: center;">
137
- <nobr><font>{{row.f_charge_money}}</font></nobr>
138
- </td>
139
- <td style="text-align: center;">
140
- <nobr><font>{{row.f_payment_method}}</font></nobr>
141
- </td>
142
- <td style="text-align: center;">
143
- <nobr><font>{{row.f_charge_collectors}}</font></nobr>
144
- </td>
145
- <td style="text-align: center;">
146
- <nobr><font>{{row.f_charge_date}}</font></nobr>
147
- </td>
148
- <td style="text-align: center;">
149
- <nobr><font>{{row.f_charging_status}}</font></nobr>
150
- </td>
151
- <td style="text-align: center;">
152
- <nobr><font>{{row.f_address}}</font></nobr>
153
- </td>
154
- </tr>
155
- </template>
156
- </data-grid>
157
- </criteria-paged>
158
- <div class="flex" style="height: 10%">
159
- <div novalidate class="form-inline auto" partial>
160
- <p class="bg-info text-center" style="padding: 8px;font-size: 20px">合计收费记录共
161
- <span style="color: red">{{chargeAll.count}}</span>笔,合计金额<span style="color: red">{{chargeAll.sum}}</span>元
162
- </p>
163
- </div>
164
- </div>
165
- </div>
166
- </template>
167
-
168
- <script>
169
- import {PagedList} from 'vue-client'
170
- import {HttpResetClass} from 'vue-client'
171
- export default {
172
- title: '报建收费明细',
173
- data () {
174
- return {
175
- model: new PagedList('rs/sql/getApplyCharge', 30, {
176
- data: {
177
- orgid: this.$login.f.orgid
178
- }
179
- }),
180
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
181
- paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
182
- chargingStatus: [
183
- {label: '全部', value: ''},
184
- {label: '有效', value: '有效'},
185
- {label: '作废', value: '作废'}
186
- ],
187
- criteriaShow: false,
188
- chargeAll: {
189
- count: 0,
190
- sum: 0
191
- }
192
- }
193
- },
194
- ready () {
195
- // 调用查询
196
- this.search()
197
- },
198
- methods: {
199
- clear() {
200
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
201
- this.$refs.cp.$refs.cri.model[key] = []
202
- })
203
- },
204
- // 查询
205
- search () {
206
- this.$refs.cp.$refs.cri.search()
207
- this.getChargeAll()
208
- },
209
- async getChargeAll () {
210
- let http = new HttpResetClass()
211
- let data = {
212
- condition: this.model.condition,
213
- data: {
214
- orgid: this.$login.f.orgid
215
- }
216
- }
217
- let res = await http.load('POST', 'rs/sql/getChargeAll', {data: data}, {resolveMsg: null, rejectMsg: null})
218
-
219
- this.chargeAll = res.data[0]
220
- }
221
- }
222
- }
223
- </script>
224
-
225
- <style scoped>
226
- .button-range {
227
- display: flex;
228
- float: right;
229
- width: auto;
230
- align-items: center;
231
- }
232
- </style>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <div style="height: 95%">
5
+ <apply-charge-list v-ref:query ></apply-charge-list>
6
+ </div>
7
+ <p class="bg-info text-center" style="font-size: 20px;height: 5%">
8
+ 合计记录共<span style="color: red">&ensp;{{$refs.query.chargeAll.count}}&ensp;</span>笔,
9
+ 合计金额<span style="color: red">&ensp;{{$refs.query.chargeAll.sum}}&ensp;</span>元
10
+ </p>
11
+ </div>
12
+ </div>
13
+ </template>
14
+
15
+ <script>
16
+ export default {
17
+ title: '报建收费明细',
18
+ data () {
19
+ return {
20
+ }
21
+ },
22
+ ready () {
23
+ },
24
+ methods: {
25
+ }
26
+ }
27
+ </script>
28
+
29
+ <style scoped>
30
+ </style>
@@ -8,10 +8,10 @@
8
8
  <div class="col-sm-3">
9
9
  <installfeeinfo :selectdata="selectdata"></installfeeinfo>
10
10
  </div>
11
- <div class="col-sm-9">
11
+ <div class="col-sm-9" style="overflow: auto; height: 95%">
12
12
  <div class="panel panel-info">
13
13
  <div class="panel-heading head auto" style="background-color: #e8f4ff">{{funcdata.title}}</div>
14
- <div class="panel-body" style="overflow: auto;">
14
+ <div class="panel-body">
15
15
  <function-service-control v-ref:func :funcdata="funcdata" :selectdata="selectdata"></function-service-control>
16
16
  </div>
17
17
  </div>
@@ -4,16 +4,16 @@
4
4
  <criteria partial='criteria' @condition-changed='search' v-ref:cri>
5
5
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
6
  <div class="row">
7
- <div class="form-group col-sm-5">
7
+ <div class="form-group col-sm-4">
8
8
  <label class="font_normal_body">客户名称/联系人:</label>
9
9
  <input type="text" class="input_search" v-model="model.f_user_name"
10
10
  v-on:keyup.enter="search" condition=" (f_user_name like '%{}%' or f_contact like '%{}%') " placeholder='二选一输入'>
11
11
  </div>
12
12
  <div class="form-group col-sm-4">
13
- <label class="font_normal_body">合同编号:</label>
14
- <input type="text" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
13
+ <label class="font_normal_body">工程编号:</label>
14
+ <input type="text" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
15
15
  v-on:keyup.enter="search"
16
- condition="f_contract_number like '%{}%'">
16
+ condition="f_apply_num like '%{}%'">
17
17
  </div>
18
18
  <div class="form-group col-sm-3 operate">
19
19
  <label class="font_normal_body"></label>
@@ -27,6 +27,18 @@
27
27
  </div>
28
28
  </div>
29
29
  <div class="row" v-show="$parent.$parent.criteriaShow">
30
+ <div class="form-group col-sm-4">
31
+ <label class="font_normal_body">合同编号:</label>
32
+ <input type="text" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
33
+ v-on:keyup.enter="search"
34
+ condition="f_contract_number like '%{}%'">
35
+ </div>
36
+ <div class="form-group col-sm-4">
37
+ <label class="font_normal_body">票号:</label>
38
+ <input type="text" class="input_search" placeholder='票号' v-model="model.f_ticket_number"
39
+ v-on:keyup.enter="search"
40
+ condition="c.f_ticket_number like '%{}%'">
41
+ </div>
30
42
  <div class="form-group col-sm-4">
31
43
  <label class="font_normal_body">用户地址:</label>
32
44
  <input type="text" class="input_search" placeholder='用户地址' v-model="model.f_address"
@@ -57,6 +69,28 @@
57
69
  :value-single="true"
58
70
  close-on-select ></v-select>
59
71
  </div>
72
+ <div class="form-group col-sm-4">
73
+ <label for="startDate" class="font_normal_body">开始时间:</label>
74
+ <datepicker id="startDate" placeholder="开始日期"
75
+ style="width: 60%!important;"
76
+ v-model="model.startDate"
77
+ :value.sync="model.startDate"
78
+ :format="'yyyy-MM-dd 00:00:00'"
79
+ :show-reset-button="true"
80
+ condition="f_apply_date >= '{}'">
81
+ </datepicker>
82
+ </div>
83
+ <div class="form-group col-sm-4">
84
+ <label for="endDate" class="font_normal_body">结束时间:</label>
85
+ <datepicker id="endDate" placeholder="结束日期"
86
+ style="width: 60%!important;"
87
+ v-model="model.endDate"
88
+ :value.sync="model.endDate"
89
+ :format="'yyyy-MM-dd 23:59:59'"
90
+ :show-reset-button="true"
91
+ condition="f_apply_date <= '{}'">
92
+ </datepicker>
93
+ </div>
60
94
  </div>
61
95
  </div>
62
96
  </criteria>
@@ -64,6 +98,7 @@
64
98
  <template partial='head'>
65
99
  <tr class="title">
66
100
  <th>序号</th>
101
+ <th>报建编号</th>
67
102
  <th>当前环节</th>
68
103
  <th>客户名称/联系人</th>
69
104
  <th>合同编号</th>
@@ -79,6 +114,9 @@
79
114
  <td style="text-align: center;">
80
115
  <nobr>{{$index+1}}</nobr>
81
116
  </td>
117
+ <td style="text-align: center;">
118
+ <nobr><font>{{row.f_apply_num}}</font></nobr>
119
+ </td>
82
120
  <td style="text-align: center;">
83
121
  <nobr>{{row.defname}}</nobr>
84
122
  </td>
@@ -126,7 +164,7 @@
126
164
  data () {
127
165
  return {
128
166
  // applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
129
- applytype: [{label: '全部', value: ''}],
167
+ applytype: [{label:"全部",value:''}, {label:"集中报建",value:'集中报建'}, {label:"非民用报建",value:'非民用报建'},{label:"散户报建",value:'散户报建'}],
130
168
  funcs: [],
131
169
  defnames: [],
132
170
  model: new PagedList('rs/sql/checkuserfunction', 20, {
@@ -147,6 +185,7 @@
147
185
  // 获取配置
148
186
  checkfuncs (row) {
149
187
  this.funcs = this.$function_vue.functions
188
+ console.log("测试",this.funcs)
150
189
  },
151
190
  // 获取所有办理环节
152
191
  getDefnames () {
@@ -10,7 +10,7 @@
10
10
  <!-- 终止报建 -->
11
11
  <stop-install :selectdata="selectdata" v-if="showstop"></stop-install>
12
12
  <!-- 报建缴费 -->
13
- <apply-charge-management :selectdata="selectdata" v-if="applycharge"></apply-charge-management>
13
+ <apply-charge-management :mark="mark" :selectdata="selectdata" v-if="applycharge"></apply-charge-management>
14
14
 
15
15
  <apply-record-cancel :selectdata="selectdata" v-if="showcancel"></apply-record-cancel>
16
16
  </div>
@@ -24,6 +24,7 @@
24
24
  data () {
25
25
  return {
26
26
  data: null,
27
+ mark:0,
27
28
  showview: false, // 控制通用页面
28
29
  showstop: false, // 控制终止
29
30
  showcancel: false, // 控制撤销
@@ -92,6 +93,7 @@
92
93
  },
93
94
  // 功能组件显示控制
94
95
  hasChange(){
96
+ console.log("cs数据",this.selectdata)
95
97
  if(this.funcdata.fields) {
96
98
  this.data = this.funcdata
97
99
  // 初始化要展示的数据结构
@@ -120,7 +122,12 @@
120
122
  this.applycharge = true
121
123
  this.showcancel = false
122
124
  }
123
-
125
+ if (this.selectdata.f_apply_type === '散户报建'){
126
+ this.mark = 2
127
+ this.showview = false
128
+ this.applycharge = true
129
+ this.showcancel = false
130
+ }
124
131
  },
125
132
  // 打印派工单
126
133
  async printDispatch() {
@@ -193,6 +200,58 @@
193
200
  this.$dispatch('selfsearch')
194
201
  this.$refs.serviceview.data.onetomany[i].rows.splice(j,1,data)
195
202
  },
203
+ async 'check'(index) {
204
+ // =====================================安康逸华特殊逻辑===========================================
205
+
206
+
207
+ // 合成地址
208
+ if (
209
+ this.$refs.serviceview.data.fields[index].label === '县/区' ||
210
+ this.$refs.serviceview.data.fields[index].label === '街道' ||
211
+ this.$refs.serviceview.data.fields[index].label === '小区' ||
212
+ this.$refs.serviceview.data.fields[index].label === '楼号' ||
213
+ this.$refs.serviceview.data.fields[index].label === '单元号' ||
214
+ this.$refs.serviceview.data.fields[index].label === '楼层' ||
215
+ this.$refs.serviceview.data.fields[index].label === '门牌号'
216
+ ) {
217
+ console.log('即将合成地址')
218
+ var address = ''
219
+ for (let i = 0; i < this.$refs.serviceview.data.fields.length; i++) {
220
+ // 控制设置级联
221
+ // 源select所选的值 this.$refs.service_show.data.activitys.fields[index].value
222
+ // xxx xx xxx
223
+ if (this.$refs.serviceview.data.fields[i].label === '县/区' && this.$refs.serviceview.data.fields[i].value) {
224
+ address += this.$refs.serviceview.data.fields[i].value
225
+ }
226
+ if (this.$refs.serviceview.data.fields[i].label === '街道' && this.$refs.serviceview.data.fields[i].value) {
227
+ address += this.$refs.serviceview.data.fields[i].value
228
+ }
229
+ if (this.$refs.serviceview.data.fields[i].label === '小区' && this.$refs.serviceview.data.fields[i].value) {
230
+ address += this.$refs.serviceview.data.fields[i].value
231
+ }
232
+ if (this.$refs.serviceview.data.fields[i].label === '楼号' && this.$refs.serviceview.data.fields[i].value) {
233
+ address += ' ' + this.$refs.serviceview.data.fields[i].value
234
+ }
235
+ if (this.$refs.serviceview.data.fields[i].label === '单元号' && this.$refs.serviceview.data.fields[i].value) {
236
+ address += '-' + this.$refs.serviceview.data.fields[i].value
237
+ }
238
+ if (this.$refs.serviceview.data.fields[i].label === '楼层' && this.$refs.serviceview.data.fields[i].value) {
239
+ address += '-' + this.$refs.serviceview.data.fields[i].value
240
+ }
241
+ if (this.$refs.serviceview.data.fields[i].label === '门牌号' && this.$refs.serviceview.data.fields[i].value) {
242
+ address += '-' + this.$refs.serviceview.data.fields[i].value
243
+ }
244
+ }
245
+ console.log('获取到的address=>' + address)
246
+ // 数据获取完毕时放入地址text
247
+ for (let i = 0; i < this.$refs.serviceview.data.fields.length; i++) {
248
+ if (this.$refs.serviceview.data.fields[i].label === '地址') {
249
+ this.$refs.serviceview.data.fields[i].value = address
250
+ console.log('修改fields[i].value后的值=>' + this.$refs.serviceview.data.fields[i].value)
251
+ }
252
+ }
253
+ }
254
+ },
196
255
  // onetomany模态框监听事件
197
256
  async 'check_modal'(index) {},
198
257
  async 'oninput_modal'(index) {}