apply-clients 3.3.110-203 → 3.3.110-204

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-203",
3
+ "version": "3.3.110-204",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -202,7 +202,7 @@ export default {
202
202
 
203
203
  },*/
204
204
  charge: {
205
- payment_terms:[{f_payment_term: '',f_charge_money: '',f_amount_words:'',f_payment_method : '掌上营业厅'}]
205
+ payment_terms:[{f_payment_term: '',f_charge_money: '',f_amount_words:'',f_payment_method : '手机APP'}]
206
206
  },
207
207
  order: null,
208
208
  timeLeft: 120,
@@ -130,6 +130,18 @@
130
130
  :value-single="true"
131
131
  close-on-select ></v-select>
132
132
  </div>
133
+ <div class="form-group col-sm-3">
134
+ <label class="font_normal_body">收费项目:</label>
135
+ <v-select
136
+ v-model="model.f_payment_term"
137
+ placeholder='请选择'
138
+ condition="cr.f_payment_term = '{}'"
139
+ :value.sync="model.f_payment_term"
140
+ :options='$parent.$parent.paymentTerm'
141
+ class="select select_list"
142
+ :value-single="true"
143
+ close-on-select ></v-select>
144
+ </div>
133
145
  <div class="form-group col-sm-3">
134
146
  <label class="font_normal_body">流&ensp;水&ensp;号:</label>
135
147
  <input type="text" style="width: 60%" class="input_search" placeholder='流水号' v-model="model.f_payer_number"
@@ -207,6 +219,7 @@
207
219
  <th style="white-space: nowrap;">用户地址</th>
208
220
  <th style="white-space: nowrap;">身份证号</th>
209
221
  <th style="white-space: nowrap;">缴费编码</th>
222
+ <th style="white-space: nowrap;">收费项目</th>
210
223
  <th style="white-space: nowrap;">收费金额(退款金额)</th>
211
224
  <th style="white-space: nowrap;">付款方式</th>
212
225
  <th style="white-space: nowrap;">流水号</th>
@@ -250,6 +263,9 @@
250
263
  <td style="text-align: center;">
251
264
  <nobr><font>{{row.f_charge_number}}</font></nobr>
252
265
  </td>
266
+ <td style="text-align: center;">
267
+ <nobr><font>{{row.f_payment_term}}</font></nobr>
268
+ </td>
253
269
  <td style="text-align: center;">
254
270
  <nobr><font>{{row.f_charge_money}}</font></nobr>
255
271
  </td>
@@ -299,6 +315,7 @@ export default {
299
315
  servicerList:[],
300
316
  operatorList:[],
301
317
  curuserid: [],
318
+ paymentTerm :[{label: '全部', value: ''}, ...this.$appdata.getParam('收费项目')],
302
319
  applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
303
320
  applyNatures: [{label: '全部', value: ''}], // 报建性质
304
321
  paymentMethod: [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')],
@@ -337,7 +354,7 @@ export default {
337
354
  // 调用查询
338
355
  this.search()
339
356
  this.getservicer()
340
- this.getoperator()
357
+ this.getapplyoperator()
341
358
  },
342
359
  methods: {
343
360
  async getservicer(){
@@ -360,13 +377,13 @@ export default {
360
377
  })
361
378
  })},
362
379
 
363
- async getoperator(){
380
+ async getapplyoperator(){
364
381
  debugger
365
382
  let data = {
366
383
  condition: `1=1`
367
384
  }
368
385
  let http = new HttpResetClass()
369
- let res = await http.load('POST', 'rs/sql/getOperator', {data: data}, {resolveMsg: null, rejectMsg: null})
386
+ let res = await http.load('POST', 'rs/sql/getapplyOperator', {data: data}, {resolveMsg: null, rejectMsg: null})
370
387
  res.data.forEach(item => {
371
388
  this.operatorList.push({
372
389
  'label': item.f_operator,
@@ -402,6 +419,7 @@ export default {
402
419
  search () {
403
420
  this.$refs.cp.$refs.cri.search()
404
421
  this.getChargeAll()
422
+ this.getapplyoperator()
405
423
  },
406
424
  async getChargeAll () {
407
425
  let http = new HttpResetClass()
@@ -87,6 +87,18 @@
87
87
  :value-single="true"
88
88
  close-on-select ></v-select>
89
89
  </div>
90
+ <div class="form-group col-sm-3">
91
+ <label class="font_normal_body">真实流程状态:</label>
92
+ <v-select
93
+ v-model="model.f_reality_sub_state"
94
+ placeholder='流程状态'
95
+ condition="f_reality_sub_state = '{}'"
96
+ :value.sync="model.f_reality_sub_state"
97
+ :options='$parent.$parent.showrevise'
98
+ class="select select_list"
99
+ :value-single="true"
100
+ close-on-select ></v-select>
101
+ </div>
90
102
  <div class="form-group col-sm-3">
91
103
  <label class="font_normal_body">用气性质:</label>
92
104
  <v-select
@@ -135,6 +147,7 @@
135
147
  <th style="white-space: nowrap;">报建类型</th>
136
148
  <th style="white-space: nowrap;">用气性质</th>
137
149
  <th style="white-space: nowrap;">流程状态</th>
150
+ <th style="white-space: nowrap;">真实流程状态</th>
138
151
  <th style="white-space: nowrap;">收费项目</th>
139
152
  <th style="white-space: nowrap;">合同金额</th>
140
153
  <th style="white-space: nowrap;">表号</th>
@@ -170,6 +183,9 @@
170
183
  <td style="text-align: center;">
171
184
  <nobr><font>{{row.f_sub_state}}</font></nobr>
172
185
  </td>
186
+ <td style="text-align: center;">
187
+ <nobr><font>{{row.f_reality_sub_state}}</font></nobr>
188
+ </td>
173
189
  <td style="text-align: center;">
174
190
  <nobr><font>{{row.f_payment_term}}</font></nobr>
175
191
  </td>
@@ -197,6 +213,7 @@
197
213
  <li>
198
214
  <a href="#" v-if="this.$login.f.rolesnames.indexOf('工程部派工') !== -1 || this.$login.f.rolesnames.indexOf('运营部派工') !== -1 || (this.$login.f.rolesnames.indexOf('营业厅报装') !== -1 && row.f_sub_state === '待点火')" @click="$parent.$parent.$parent.click(row)">{{row.f_sub_state}}</a>
199
215
  <a href="#" v-if="this.$login.f.rolesnames.indexOf('营业厅报装') !== -1 || this.$login.f.rolesnames.indexOf('运营部派工') !== -1" @click="$parent.$parent.$parent.stopApply(row)">异常终止</a>
216
+ <a href="#" v-if="this.$login.f.rolesnames.indexOf('营业厅报装') !== -1 || this.$login.f.rolesnames.indexOf('运营部派工') !== -1" @click="$parent.$parent.$parent.reviseApply(row)">修改真实流程状态</a>
200
217
  </li>
201
218
  </ul>
202
219
  </dropdown>
@@ -241,7 +258,8 @@ export default {
241
258
  {label: '民用',value: '民用'},
242
259
  {label: '商业',value: '商业'},
243
260
  {label: '工业',value: '工业'}
244
- ]
261
+ ],
262
+ showrevise:this.$appdata.getParam('真实流程状态')
245
263
  }
246
264
  },
247
265
  ready () {
@@ -251,6 +269,9 @@ export default {
251
269
  stopApply (row) {
252
270
  this.$dispatch('stopApply', row)
253
271
  },
272
+ reviseApply (row) {
273
+ this.$dispatch('reviseApply', row)
274
+ },
254
275
  click (row) {
255
276
  this.$dispatch('openApply', row, 'handle')
256
277
  },
@@ -92,6 +92,18 @@
92
92
  :value-single="true"
93
93
  close-on-select ></v-select>
94
94
  </div>
95
+ <div class="form-group col-sm-3">
96
+ <label class="font_normal_body">真实流程状态:</label>
97
+ <v-select
98
+ v-model="model.f_reality_sub_state"
99
+ placeholder='流程状态'
100
+ condition="f_reality_sub_state = '{}'"
101
+ :value.sync="model.f_reality_sub_state"
102
+ :options='$parent.$parent.showrevise'
103
+ class="select select_list"
104
+ :value-single="true"
105
+ close-on-select ></v-select>
106
+ </div>
95
107
  <div class="form-group col-sm-3">
96
108
  <label class="font_normal_body">用气性质:</label>
97
109
  <v-select
@@ -152,6 +164,7 @@
152
164
  <th style="white-space: nowrap;">报建类型</th>
153
165
  <th style="white-space: nowrap;">用气性质</th>
154
166
  <th style="white-space: nowrap;">流程状态</th>
167
+ <th style="white-space: nowrap;">真实流程状态</th>
155
168
  <th style="white-space: nowrap;">收费项目</th>
156
169
  <th style="white-space: nowrap;">合同金额</th>
157
170
  <th style="white-space: nowrap;">表号</th>
@@ -186,6 +199,9 @@
186
199
  <td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
187
200
  <nobr><font>{{row.f_sub_state}}</font></nobr>
188
201
  </td>
202
+ <td style="text-align: center;">
203
+ <nobr><font>{{row.f_reality_sub_state}}</font></nobr>
204
+ </td>
189
205
  <td @click="$parent.$parent.$parent.click(row)" style="text-align: center;">
190
206
  <nobr><font>{{row.f_payment_term}}</font></nobr>
191
207
  </td>
@@ -245,6 +261,7 @@ export default {
245
261
  {label: '商业', value: '商业'},
246
262
  {label: '工业', value: '工业'}
247
263
  ],
264
+ showrevise: [{label: '全部', value: ''}, ...this.$appdata.getParam('真实流程状态')],
248
265
  stopReasons: [{label: '全部', value: ''}, ...this.$appdata.getParam('终止原因')],
249
266
  getfield: {
250
267
  'f_userinfo_code': '用户编号',
@@ -281,7 +298,10 @@ export default {
281
298
  'f_stop_reason': '终止原因',
282
299
  'f_stop_user': '终止人员',
283
300
  'f_stop_date': '终止时间',
284
- 'f_stop_remarks': '终止备注'
301
+ 'f_stop_remarks': '终止备注',
302
+ 'f_reality_sub_state': '真实流程状态',
303
+ 'f_reality_sub_user': '修改人员',
304
+ 'f_reality_sub_date': '修改时间'
285
305
  }
286
306
  }
287
307
  },
@@ -60,6 +60,35 @@
60
60
  </footer>
61
61
  </modal>
62
62
 
63
+
64
+ <modal v-if="showRevise" :show.sync="showRevise" backdrop="false" large>
65
+ <header slot="modal-header" class="modal-header">
66
+ <button type="button" class="close" @click="closeModal()"><span>&times;</span></button>
67
+ <span class="modal-title"><font size="3">修改状态</font></span>
68
+ </header>
69
+ <article slot="modal-body" class="modal-body clearfix">
70
+ <div class="col-sm-12 form-group" :class="apply.f_reality_sub_state ? '':'has-error'">
71
+ <label class="control-label-justify control-label col-sm-2" style="line-height: 35px">真实流程状态</label>
72
+ <div class="col-sm-10">
73
+ <v-select
74
+ width="100%"
75
+ v-model="apply.f_reality_sub_state"
76
+ :value.sync="apply.f_reality_sub_state"
77
+ :options='showrevise'
78
+ class="select select_list"
79
+ :value-single="true"
80
+ close-on-select ></v-select>
81
+ </div>
82
+ </div>
83
+ </article>
84
+ <footer slot="modal-footer" class="modal-footer">
85
+ <button :class="apply.f_reality_sub_state ? 'btn btn-primary' : 'btn btn-default'"
86
+ :disabled="!apply.f_reality_sub_state" type="button" @click="reviseApply()">
87
+ 确认
88
+ </button>
89
+ </footer>
90
+ </modal>
91
+
63
92
  </template>
64
93
 
65
94
  <script>
@@ -74,9 +103,11 @@ export default {
74
103
  show: [true],
75
104
  showMessage: false,
76
105
  showStop: false,
106
+ showRevise:false,
77
107
  apply: null,
78
108
  type: null,
79
- stopReasons: this.$appdata.getParam('终止原因')
109
+ stopReasons: this.$appdata.getParam('终止原因'),
110
+ showrevise:this.$appdata.getParam('真实流程状态')
80
111
  }
81
112
  },
82
113
  methods: {
@@ -94,6 +125,19 @@ export default {
94
125
 
95
126
  this.closeModal()
96
127
  },
128
+ async reviseApply(){
129
+ let data = {
130
+ apply: this.apply,
131
+ user: this.$login.f
132
+ }
133
+ let http = new HttpResetClass()
134
+ let res = await http.load('POST', 'rs/logic/reviseOldApply', {data:data}, {
135
+ resolveMsg: null,
136
+ rejectMsg: '状态修改失败!!!'
137
+ })
138
+ this.closeModal()
139
+
140
+ },
97
141
  async stopApply () {
98
142
  let data = {
99
143
  apply: this.apply,
@@ -112,7 +156,7 @@ export default {
112
156
  closeModal () {
113
157
  this.showMessage = false
114
158
  this.showStop = false
115
-
159
+ this.showRevise = false
116
160
  this.apply = null
117
161
 
118
162
  this.type = null
@@ -131,6 +175,10 @@ export default {
131
175
  this.apply = apply
132
176
  this.showStop = true
133
177
  },
178
+ 'reviseApply' (apply) {
179
+ this.apply = apply
180
+ this.showRevise = true
181
+ },
134
182
  'openApply' (apply, type) {
135
183
  this.showMessage = false
136
184
 
@@ -57,6 +57,18 @@
57
57
  v-on:keyup.enter="$parent.$parent.search()"
58
58
  condition="f_construction_unit = '{}'">
59
59
  </div>
60
+ <div class="form-group col-sm-3">
61
+ <label class="font_normal_body">是否打印:</label>
62
+ <v-select
63
+ v-model="model.f_prints_number"
64
+ placeholder='是否打印'
65
+ condition=" f_prints_number {}"
66
+ :value.sync="model.f_prints_number"
67
+ :options='$parent.$parent.isprints'
68
+ class="select select_list"
69
+ :value-single="true"
70
+ close-on-select ></v-select>
71
+ </div>
60
72
  <div class="form-group col-sm-3">
61
73
  <label for="startDate" class="font_normal_body">开始时间:</label>
62
74
  <datepicker id="startDate" placeholder="开始日期"
@@ -79,6 +91,29 @@
79
91
  condition="f_construction_date <= '{}'">
80
92
  </datepicker>
81
93
  </div>
94
+
95
+ <div class="form-group col-sm-3">
96
+ <label for="startDate" class="font_normal_body">打印开始时间:</label>
97
+ <datepicker id="startDate1" placeholder="打印开始日期"
98
+ style="width: 60%!important;"
99
+ v-model="model.startDate1"
100
+ :value.sync="model.startDate1"
101
+ :format="'yyyy-MM-dd 00:00:00'"
102
+ :show-reset-button="true"
103
+ condition="f_prints_date >= to_char('{}','yyyy-MM-dd hh24:mi:ss')">
104
+ </datepicker>
105
+ </div>
106
+ <div class="form-group col-sm-3">
107
+ <label for="endDate" class="font_normal_body">打印结束时间:</label>
108
+ <datepicker id="endDate1" placeholder="打印结束日期"
109
+ style="width: 60%!important;"
110
+ v-model="model.endDate2"
111
+ :value.sync="model.endDate2"
112
+ :format="'yyyy-MM-dd 23:59:59'"
113
+ :show-reset-button="true"
114
+ condition="f_prints_date <= to_char('{}','yyyy-MM-dd hh24:mi:ss')">
115
+ </datepicker>
116
+ </div>
82
117
  </div>
83
118
  </div>
84
119
  </criteria>
@@ -92,6 +127,8 @@
92
127
  <th>地址</th>
93
128
  <th>安装单位</th>
94
129
  <th>安装时间</th>
130
+ <th>打印次数</th>
131
+ <th>打印时间</th>
95
132
  </tr>
96
133
  </template>
97
134
  <template partial='body'>
@@ -117,6 +154,12 @@
117
154
  <td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
118
155
  <nobr><font>{{row.f_construction_date}}</font></nobr>
119
156
  </td>
157
+ <td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
158
+ <nobr><font>{{row.f_prints_number}}</font></nobr>
159
+ </td>
160
+ <td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
161
+ <nobr><font>{{row.f_prints_date}}</font></nobr>
162
+ </td>
120
163
  </tr>
121
164
  </template>
122
165
  </data-grid>
@@ -168,7 +211,8 @@ export default {
168
211
  showProgress: false,
169
212
  percent: 0,
170
213
  type: 'PREVIEW',
171
- showRow:false
214
+ showRow:false,
215
+ isprints: [{label: '全部', value: ''},{label: '是', value: '>0'},{label: '否', value: '=0'}],
172
216
  }
173
217
  },
174
218
  ready () {
@@ -181,6 +225,23 @@ export default {
181
225
  if (selectPrint.length > 0) {
182
226
  let res = await this.$showMessage(`当前数据条数: ${selectPrint.length}, 条数过大时打印时间可能会过长, 是否确认打印?`)
183
227
  if (res == 'confirm') {
228
+ for(var i=0;i<selectPrint.length;i++){
229
+ if(selectPrint[i].f_prints_number==null){
230
+ selectPrint[i].f_prints_number=0
231
+ selectPrint[i].f_prints_number ++
232
+ }else{
233
+ selectPrint[i].f_prints_number ++
234
+ }
235
+ }
236
+ console.log('打印内容',selectPrint)
237
+ let http = new HttpResetClass()
238
+ let data = {
239
+ selectPrint:selectPrint
240
+ }
241
+ let res2 = await http.load('POST', 'rs/logic/getPrintsNumber', {data:data}, {
242
+ resolveMsg: null,
243
+ rejectMsg: '保存次数值失败!!!'
244
+ })
184
245
  this.showProgress = true
185
246
  for (let i = 0; i < selectPrint.length; i++) {
186
247
  this.type = 'PRINT'
@@ -238,11 +299,15 @@ export default {
238
299
  this.selectdata = res.data[0]
239
300
  debugger
240
301
  console.log("打印数据 ",this.selectdata)
241
- let temp = this.selectdata.f_downloadpath
242
- let URL = temp.substring(temp.lastIndexOf(":\\") + 2)
243
- this.selectdata.f_downloadpath = "http://" + location.host + "/" + URL
244
- debugger
245
- console.log('打印地址',this.selectdata.f_downloadpath)
302
+ if(this.selectdata.f_downloadpath !=null){
303
+ let temp = this.selectdata.f_downloadpath
304
+ let URL = temp.substring(temp.lastIndexOf(":\\") + 2)
305
+ this.selectdata.f_downloadpath = "http://" + location.host + "/" + URL
306
+ debugger
307
+ console.log('打印地址',this.selectdata.f_downloadpath)
308
+ }else{
309
+ this.selectdata.f_downloadpath=''
310
+ }
246
311
  },
247
312
  clear () {
248
313
  Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
@@ -306,7 +306,13 @@ export default {
306
306
  'f_aroundmeter': '表向',
307
307
  'f_user_phone': '电话',
308
308
  'f_userinfo_comments': '备注',
309
- 'f_position': '安装位置'
309
+ 'f_position': '安装位置',
310
+
311
+ 'f_material_name': '材料名称',
312
+ 'f_material_style': '材料型号',
313
+ 'f_material_price': '材料价格',
314
+ 'f_material_unit': '材料单位',
315
+ 'f_material_number': '材料数量'
310
316
  },
311
317
  showWork: false
312
318
  }
@@ -166,6 +166,12 @@
166
166
  v-on:keyup.enter="$parent.$parent.search()"
167
167
  condition="fyr like '%{}%'">
168
168
  </div>
169
+ <div class="form-group col-sm-3">
170
+ <label class="font_normal_body">发起人:</label>
171
+ <input type="text" style="width:60%" class="input_search" placeholder='发起人' v-model="model.f_operator"
172
+ v-on:keyup.enter="$parent.$parent.search()"
173
+ condition="f_operator like '%{}%'">
174
+ </div>
169
175
  <div class="form-group col-sm-3">
170
176
  <label class="font_normal_body">领用状态:</label>
171
177
  <v-select
@@ -201,6 +207,7 @@
201
207
  <th style="white-space: nowrap;">缴费金额</th>
202
208
  <th style="white-space: nowrap;">领用人</th>
203
209
  <th style="white-space: nowrap;">发货人</th>
210
+ <th style="white-space: nowrap;">发起人</th>
204
211
  </tr>
205
212
  </template>
206
213
  <template partial='body'>
@@ -256,6 +263,9 @@
256
263
  <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
257
264
  <nobr>{{row.fyr}}</nobr>
258
265
  </td>
266
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
267
+ <nobr>{{row.f_operator}}</nobr>
268
+ </td>
259
269
  </tr>
260
270
  </template>
261
271
  </data-grid>
@@ -308,12 +318,15 @@
308
318
  'f_apply_date': '报建日期',
309
319
  'f_apply_remarks': '备注',
310
320
  'f_payment_remarks': '缴费备注',
311
- 'f_operator': '发起人',
312
321
  'f_install_project': '安装项目',
313
322
  'f_construction_unit': '施工单位',
314
323
  'f_construction_date': '施工时间',
324
+ 'f_operator': '发起人',
325
+ 'f_depname':'发起人部门',
315
326
  'lyr': '领用人',
327
+ 'fdnyr':'领用人部门',
316
328
  'fyr': '发货人',
329
+ 'fdnfr':'发货人部门',
317
330
  'meternumber':'表号'
318
331
  }
319
332
  }