apply-clients 3.3.110-235 → 3.3.110-238

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "3.3.110-235",
3
+ "version": "3.3.110-238",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -93,7 +93,7 @@
93
93
  "style": "0.0.3",
94
94
  "style-loader": "^0.20.3",
95
95
  "system-clients": "3.1.87",
96
- "system-phone": "1.2.80-49",
96
+ "system-phone": "1.2.96",
97
97
  "url-loader": "^0.5.7",
98
98
  "vue-client": "1.24.33",
99
99
  "vue-hot-reload-api": "^1.2.0",
package/src/apply.js CHANGED
@@ -46,6 +46,10 @@ export default function () {
46
46
  /** 报建收费记录 **/
47
47
  Vue.component('apply-charge-search', (resolve) => { require(['./components/product/ApplyCharge/ApplyChargeSearch'], resolve) })
48
48
  Vue.component('apply-charge-list', (resolve) => { require(['./components/product/ApplyCharge/ApplyChargeList'], resolve) })
49
+ /** 团购转散户 **/
50
+ Vue.component('apply-group-by-paper', (resolve) => { require(['./components/product/GroupByApply/ApplyGroupByPaper'], resolve) })
51
+ Vue.component('apply-group-by-main', (resolve) => { require(['./components/product/GroupByApply/ApplyGroupByMain'], resolve) })
52
+ Vue.component('apply-group-by-list', (resolve) => { require(['./components/product/GroupByApply/ApplyGroupByList'], resolve) })
49
53
 
50
54
  // 地址管理
51
55
  Vue.component('apply-address-userinfo-management', (resolve) => { require(['./components/product/Process/Processes/addressAndUserinfoManagement'], resolve) })
@@ -141,6 +141,48 @@
141
141
  />
142
142
  </div>
143
143
  </div>
144
+ <div class="form-group col-sm-6">
145
+ <label class="col-sm-4 control-label"></label>
146
+ <div class="col-sm-8">
147
+
148
+ </div>
149
+ </div>
150
+ <div class="form-group col-sm-6">
151
+ <label class="col-sm-4 control-label"></label>
152
+ <div class="col-sm-8">
153
+
154
+ </div>
155
+ </div>
156
+ <div class="form-group col-sm-6">
157
+ <label class="col-sm-4 control-label"></label>
158
+ <div class="col-sm-8">
159
+
160
+ </div>
161
+ </div>
162
+ <div class="form-group col-sm-6">
163
+ <label class="col-sm-4 control-label"></label>
164
+ <div class="col-sm-8">
165
+
166
+ </div>
167
+ </div>
168
+ <div class="form-group col-sm-6">
169
+ <label class="col-sm-4 control-label"></label>
170
+ <div class="col-sm-8">
171
+
172
+ </div>
173
+ </div>
174
+ <div class="form-group col-sm-6">
175
+ <label class="col-sm-4 control-label"></label>
176
+ <div class="col-sm-8">
177
+
178
+ </div>
179
+ </div>
180
+ <div class="form-group col-sm-6">
181
+ <label class="col-sm-4 control-label"></label>
182
+ <div class="col-sm-8">
183
+
184
+ </div>
185
+ </div>
144
186
  <div v-if=" (this.selectdata.f_apply_type === '报警器报建' || this.selectdata.f_apply_type === '工商业报警器报建')">
145
187
  <app-qrcode-reader :istype = fmaterialname :index = i v-show="isShow[i]"></app-qrcode-reader>
146
188
  </div>
@@ -245,10 +245,9 @@ export default {
245
245
  let data = {
246
246
  apply: this.selectdata,
247
247
  charge: this.charge,
248
- user: Vue.user
249
- // user: {"f_show_department_name":"","parentname":"周口运营部","functions":[{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","parentname":"客服系统","icon":"/images/lefticon/档案管理.png","hasright":false,"resourcetype":"function","parentid":"27","children":[{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","parentname":"档案管理","link":"city-manage","hasright":true,"resourcetype":"function","parentid":"212","children":[],"selfid":"231","name":"街道管理","templatename":"functionedit","id":"230","position":"1","fullname":"资源管理.功能模块.客服系统.档案管理.街道管理","fullid":"3.21.27.212.230","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","parentname":"档案管理","link":"area-manage","hasright":true,"resourcetype":"function","parentid":"212","children":[],"selfid":"219","name":"小区管理","templatename":"functionedit","id":"218","position":"3","fullname":"资源管理.功能模块.客服系统.档案管理.小区管理","fullid":"3.21.27.212.218","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","parentname":"档案管理","link":"address-manage","hasright":true,"resourcetype":"function","parentid":"212","children":[],"selfid":"33664","name":"地址管理","templatename":"functionedit","id":"33663","position":"5","fullname":"资源管理.功能模块.客服系统.档案管理.地址管理","fullid":"3.21.27.212.33663","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","parentname":"档案管理","link":"file-user-files","hasright":true,"resourcetype":"function","parentid":"212","children":[],"selfid":"237","name":"用户档案","templatename":"functionedit","id":"236","position":"5","fullname":"资源管理.功能模块.客服系统.档案管理.用户档案","fullid":"3.21.27.212.236","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"15","parentname":"档案管理","link":"file-user-files-new","hasright":true,"resourcetype":"function","parentid":"212","f_parentname":"档案管理","children":[],"selfid":"39450","name":"预备户管理","templatename":"functionedit","id":"39449","position":"6","fullname":"资源管理.功能模块.客服系统.档案管理.预备户管理","fullid":"3.21.27.212.39449","tablename":"t_function"}],"selfid":"213","name":"档案管理","templatename":"functionedit","id":"212","position":"2","fullname":"资源管理.功能模块.客服系统.档案管理","fullid":"3.21.27.212","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"15","parentname":"客服系统","icon":"/images/lefticon/报建系统.png","hasright":true,"resourcetype":"function","parentid":"27","f_parentname":"客服系统","children":[{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"15","parentname":"报建业务","link":"install-function","hasright":true,"resourcetype":"function","parentid":"34673","f_parentname":"报建业务","children":[],"selfid":"34680","name":"功能业务","templatename":"functionedit","id":"34679","position":"1","fullname":"资源管理.功能模块.客服系统.报建业务.功能业务","fullid":"3.21.27.34673.34679","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"15","parentname":"报建业务","link":"exploration-user","hasright":true,"resourcetype":"function","parentid":"34673","f_parentname":"报建业务","children":[],"selfid":"34686","name":"流程业务","templatename":"functionedit","id":"34685","position":"2","fullname":"资源管理.功能模块.客服系统.报建业务.流程业务","fullid":"3.21.27.34673.34685","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"15","parentname":"报建业务","link":"supervisory-control","hasright":true,"resourcetype":"function","parentid":"34673","f_parentname":"报建业务","children":[],"selfid":"34692","name":"流程监控","templatename":"functionedit","id":"34691","position":"3","fullname":"资源管理.功能模块.客服系统.报建业务.流程监控","fullid":"3.21.27.34673.34691","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"15","parentname":"报建业务","link":"apply-charge-search","hasright":true,"resourcetype":"function","parentid":"34673","f_parentname":"报建业务","children":[],"selfid":"34698","name":"收费明细","templatename":"functionedit","id":"34697","position":"4","fullname":"资源管理.功能模块.客服系统.报建业务.收费明细","fullid":"3.21.27.34673.34697","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"15","parentname":"报建业务","link":"order-apply","hasright":true,"resourcetype":"function","parentid":"34673","f_parentname":"报建业务","children":[],"selfid":"34704","name":"预约申请","templatename":"functionedit","id":"34703","position":"5","fullname":"资源管理.功能模块.客服系统.报建业务.预约申请","fullid":"3.21.27.34673.34703","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"15","parentname":"报建业务","link":"stop-apply","hasright":true,"resourcetype":"function","parentid":"34673","f_parentname":"报建业务","children":[],"selfid":"34710","name":"终止报建","templatename":"functionedit","id":"34709","position":"6","fullname":"资源管理.功能模块.客服系统.报建业务.终止报建","fullid":"3.21.27.34673.34709","tablename":"t_function"}],"selfid":"34674","name":"报建业务","templatename":"functionedit","id":"34673","position":"12","fullname":"资源管理.功能模块.客服系统.报建业务","fullid":"3.21.27.34673","tablename":"t_function"}],"qrcode":"/rs/user/getQRcode?QRCODE=12b2-1631604191812-03447","rolesnames":"营业厅报装,市场部报装,设计部报装,工程部报装,运营部报装,财务部报装,角色监控","f_sex":"男","roles":"51383,51485,51707,51767,51833,51905,52289","f_icon":"tree_user","fullnames":"河南亿星集团实业有限公司.周口市天然气有限公司.周口运营部.报建测试","dir":"ZhouKou","userid":"12b2-1631604191812-03447","accesstime":"1631606085945","parentid":"46569","f_show_rolestr":"","fullids":"30463.10101.46569.51953.","number":"10101","f_dep_id":"1010101203","f_idnumber":{},"selfid":"51954","templatename":"useredit","id":"51953","state":"在职","tablename":"t_user","deptype":"部门","depids":"46569","loginid":"15","imgid":{},"f_user_telephone":{},"rolestr":"营业厅报装,市场部报装,设计部报装,工程部报装,运营部报装,财务部报装,角色监控","deps":"周口运营部","f_age":{},"resourcetype":"user","orgid":"10101","f_department_name":"周口运营部","ename":"bjcs","deleted":"false","entitytype":"t_user","f_description":{},"loginip":"192.168.66.37","name":"报建测试","position":"1","orgs":"周口市天然气有限公司","haslicense":true,"f_role_name":"营业厅报装 市场部报装 设计部报装 工程部报装 运营部报装 财务部报装 角色监控 ","f_allArea":[],"f_gasman":[],"lics":[]}
248
+ user: Vue.user,
249
+ f_out_trade_no:this.order.f_out_trade_no
250
250
  }
251
-
252
251
  let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/appaddApplyChargeRecord`, {data:data}, {
253
252
  resolveMsg: null,
254
253
  rejectMsg: '缴费失败!!!'
@@ -361,26 +360,39 @@ export default {
361
360
  resolveMsg: null,
362
361
  rejectMsg: '订单生成失败!!!'
363
362
  })
364
-
365
363
  console.log('=================================')
366
364
  console.log(JSON.stringify(res.data))
367
365
  this.order = res.data
366
+ let info = {
367
+ apply: this.selectdata,
368
+ charge: this.charge,
369
+ user: Vue.user,
370
+ f_out_trade_no:this.order.f_out_trade_no
371
+ }
372
+ http.load('POST',`${this.$androidUtil.getProxyUrl()}/rs/logic/beforeAddChargeRecord`,{data:info},{
373
+ resolveMsg: null,
374
+ rejectMsg: null
375
+ }).then(ress=>{
376
+ console.log('ress',ress)
377
+ if(ress.data.code == '200'){
378
+ this.showQrCode = true
379
+ this.$nextTick(()=>{
380
+ this.qrcode()
381
+ })
382
+ // 剩余支付时间
383
+ this.paymentInterval = setInterval(() => {
384
+ this.timeLeft = this.timeLeft - 1
385
+ },1000)
368
386
 
369
- this.showQrCode = true
370
-
371
- this.$nextTick(()=>{
372
- this.qrcode()
387
+ // 3秒查询一次订单支付信息
388
+ this.orderInterval = setInterval(() => {
389
+ this.getOrderInformation()
390
+ },3000)
391
+ }else{
392
+ this.$showMessage('订单生成失败')
393
+ }
373
394
  })
374
395
 
375
- // 剩余支付时间
376
- this.paymentInterval = setInterval(() => {
377
- this.timeLeft = this.timeLeft - 1
378
- },1000)
379
-
380
- // 3秒查询一次订单支付信息
381
- this.orderInterval = setInterval(() => {
382
- this.getOrderInformation()
383
- },3000)
384
396
 
385
397
  },
386
398
  accMul(arg1,arg2) {
@@ -0,0 +1,207 @@
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
+
7
+
8
+ <div class="form-group col-sm-4">
9
+ <label class="font_normal_body">地址状态:</label>
10
+ <v-select
11
+ v-model="model.f_address_state"
12
+ placeholder='请选择'
13
+ condition="f_address_state='{}'"
14
+ :value.sync="model.f_address_state"
15
+ :options='$parent.$parent.address_state'
16
+ class="select select_list"
17
+ :value-single="true"
18
+ close-on-select ></v-select>
19
+ </div>
20
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
21
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
22
+ <!-- <export-excel :data="$parent.$parent.getCondition"-->
23
+ <!-- :field="$parent.$parent.getfield"-->
24
+ <!-- sqlurl="rs/logic/applyExportfile"-->
25
+ <!-- sql-name="getApplyCharge"-->
26
+ <!-- template-name='收费记录信息导出'-->
27
+ <!-- :choose-col="true"></export-excel>-->
28
+ <!-- <div-->
29
+ <!-- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"-->
30
+ <!-- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"-->
31
+ <!-- class="button_spacing"-->
32
+ <!-- style="float: right">-->
33
+ <!-- </div>-->
34
+ </div>
35
+
36
+ </div>
37
+ </criteria>
38
+ <data-grid :model="model" v-ref:grid partial='list' class="list_area table_sy" style="padding: 0px">
39
+ <template partial='head'>
40
+ <tr>
41
+ <th class="textNoLineBreak">序号</th>
42
+ <th class="textNoLineBreak">区/县</th>
43
+ <th class="textNoLineBreak">片区</th>
44
+ <th class="textNoLineBreak">街道</th>
45
+ <th class="textNoLineBreak">小区</th>
46
+ <th class="textNoLineBreak">详细地址</th>
47
+ <th class="textNoLineBreak">地址状态</th>
48
+ <th class="textNoLineBreak">客户编号</th>
49
+ <th class="textNoLineBreak">用户姓名</th>
50
+ <th class="textNoLineBreak">电话</th>
51
+ <th class="textNoLineBreak">证件类型</th>
52
+ <th class="textNoLineBreak">证件号码</th>
53
+ <th class="textNoLineBreak">时间</th>
54
+ <th class="textNoLineBreak">备注</th>
55
+ <th class="textNoLineBreak">
56
+ <!-- <button type="button" class="btn btn-info head-but"-->
57
+ <!-- :disabled="$parent.$parent.$parent.mark === 1"-->
58
+ <!-- @click="$parent.$parent.$parent.showFileModal()">导入</button>-->
59
+ <!-- <a type="button" class="btn btn-info head-but"-->
60
+ <!-- href="/apply/download/excel/批量导入.xlsx" download>模板下载</a>-->
61
+ </th>
62
+ </tr>
63
+ </template>
64
+ <template partial='body'>
65
+ <tr>
66
+ <td style="text-align: center;">
67
+ <nobr>{{$index+1}}</nobr>
68
+ </td>
69
+ <td style="text-align: center;">
70
+ <nobr>{{row.f_pcd}}</nobr>
71
+ </td>
72
+ <td style="text-align: center;">
73
+ <nobr>{{row.f_slice_area}}</nobr>
74
+ </td>
75
+ <td style="text-align: center;">
76
+ <nobr>{{row.f_street}}</nobr>
77
+ </td>
78
+ <td style="text-align: center;">
79
+ <nobr>{{row.f_residential_area}}</nobr>
80
+ </td>
81
+ <td style="text-align: center;">
82
+ <nobr>{{row.f_address}}</nobr>
83
+ </td>
84
+ <td style="text-align: center;">
85
+ <nobr>{{row.f_address_state}}</nobr>
86
+ </td>
87
+ <td style="text-align: center;">
88
+ <nobr>{{row.f_userinfo_code}}</nobr>
89
+ </td>
90
+ <td style="text-align: center;">
91
+ <nobr>{{row.f_user_name}}</nobr>
92
+ </td>
93
+ <td style="text-align: center;">
94
+ <nobr>{{row.f_user_phone}}</nobr>
95
+ </td>
96
+ <td style="text-align: center;">
97
+ <nobr>{{row.f_credentials}}</nobr>
98
+ </td>
99
+ <td style="text-align: center;">
100
+ <nobr>{{row.f_idnumber}}</nobr>
101
+ </td>
102
+ <td style="text-align: center;">
103
+ <nobr>{{row.f_create_date}}</nobr>
104
+ </td>
105
+ <td style="text-align: center;">
106
+ <nobr>{{row.f_userinfo_comments}}</nobr>
107
+ </td>
108
+ <td style="text-align: center;">
109
+ <nobr>
110
+
111
+ </nobr>
112
+ </td>
113
+ </tr>
114
+ </template>
115
+ </data-grid>
116
+ </criteria-paged>
117
+ </template>
118
+
119
+ <script>
120
+ import {PagedList} from 'vue-client'
121
+ export default {
122
+ title: '报建团购数据查询列表',
123
+ props: ['check'],
124
+ data () {
125
+ let model = new PagedList('rs/sql/getAddressAanUserinfo1', 30, {
126
+ f_filialeid: 'this.f_filialeid',
127
+ f_process_id: 'this.f_process_id'
128
+ })
129
+ model.f_filialeid = ''
130
+ model.f_process_id = ''
131
+ return {
132
+ model: model,
133
+ f_process_id: '',
134
+ f_filialeid: '',
135
+ address_state: [{label: '全部', value: ''}, ...this.$appdata.getParam('地址状态')],
136
+ istongqi: [{label: '全部', value: ''},
137
+ {label: '是', value: '是'},
138
+ {label: '否', value: '否'}
139
+ ],
140
+ chargeStatus: [
141
+ {label: '全部', value: ''},
142
+ {label: '是', value: '是'},
143
+ {label: '否', value: '否'}
144
+ ],
145
+ criteriaShow: false,
146
+ chargeAll: {
147
+ count: 0,
148
+ sum: 0
149
+ },
150
+ getfield: {
151
+ 'f_apply_num': '工程编号',
152
+ 'f_contract_number': '合同编号',
153
+ 'f_apply_type': '报建类型',
154
+ 'f_apply_nature': '报建性质',
155
+ 'f_user_name': '用户名称',
156
+ 'f_phone': '用户电话',
157
+ 'f_address': '用户地址',
158
+ 'f_idnumber': '身份证号',
159
+ 'f_charge_number': '缴费编码',
160
+ 'f_charge_money': '收费金额',
161
+ 'f_payment_method': '付款方式',
162
+ 'f_payer_number': '流水号',
163
+ 'f_charge_collectors': '收费人员',
164
+ 'f_charge_date': '收费日期',
165
+ 'f_actual_date': '实际收费时间',
166
+ 'f_charge_status': '状态'
167
+ }
168
+ }
169
+ },
170
+ methods: {
171
+ clear () {
172
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
173
+ this.$refs.cp.$refs.cri.model[key] = ''
174
+ })
175
+ this.curdepid = []
176
+ this.curuserid = []
177
+ },
178
+ searchCondition (args) {
179
+ this.model.search(args.condition, args.model)
180
+ },
181
+ // 查询
182
+ search () {
183
+ this.model.f_process_id = this.check.f_process_id
184
+ this.model.f_filialeid = this.check.f_orgid
185
+ this.$refs.cp.$refs.cri.search()
186
+ }
187
+
188
+ },
189
+ watch: {
190
+ 'check': function (val) {
191
+ if (val) {
192
+ this.search()
193
+ }
194
+ }
195
+ },
196
+ computed: {
197
+ getCondition () {
198
+ return {
199
+ condition: this.model.condition
200
+ }
201
+ }
202
+ }
203
+ }
204
+ </script>
205
+
206
+ <style scoped>
207
+ </style>
@@ -0,0 +1,53 @@
1
+ <template>
2
+ <div class="flex">
3
+ <section>
4
+ <div class="row" style="height: 100%" :class="{'basic-main':!showItem,'binary':showItem}">
5
+ <div :class="{'binary-left':showItem}" >
6
+ <apply-group-by-paper @select-changed="selected" v-ref:check></apply-group-by-paper>
7
+ </div>
8
+ <div :class="{'binary-right':showItem}" v-show="showItem">
9
+ <apply-group-by-list v-show='$refs.check && $refs.check.selected' :check='$refs.check.selected'
10
+ v-ref:detail></apply-group-by-list>
11
+ </div>
12
+
13
+ </div>
14
+ </section>
15
+ </div>
16
+ </template>
17
+
18
+ <script>
19
+ export default {
20
+ title: '团购报建数据查询',
21
+ data() {
22
+ return {
23
+ showItem: false
24
+ }
25
+ },
26
+ ready(){
27
+
28
+ },
29
+ methods: {
30
+ selected(row) {
31
+ this.showItem = true
32
+ }
33
+ },
34
+
35
+ watch: {}
36
+
37
+ }
38
+ </script>
39
+
40
+ <style >
41
+ .form-input-group label {
42
+ text-align: right;
43
+ width: auto;
44
+ }
45
+
46
+ .datapanel {
47
+ color: #333;
48
+ background-color: white;
49
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
50
+ padding: 5px 7px 5px 7px;
51
+ border-radius: 10px;
52
+ }
53
+ </style>
@@ -0,0 +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>
@@ -636,7 +636,12 @@ export default {
636
636
  }
637
637
  if (item.label === '集收单位') {
638
638
  item.hidden = false
639
- item.required = false
639
+ if (this.show_data.f_apply_type === '非民用报建'){
640
+ item.required = true
641
+ } else {
642
+ item.required = false
643
+ }
644
+
640
645
  }
641
646
  if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层' || item.label === '门牌号') {
642
647
  item.hidden = true