apply-clients 3.5.5-97 → 3.5.5-99
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/build/dev-server.js
CHANGED
|
@@ -8,8 +8,8 @@ var compiler = webpack(config)
|
|
|
8
8
|
// var proxy = httpProxy.createProxyServer()
|
|
9
9
|
// var ldap = 'http://121.36.79.201:8400'
|
|
10
10
|
// var applyinstall = 'http://121.36.79.201:8400'
|
|
11
|
-
var ldap = 'http://
|
|
12
|
-
var applyinstall = 'http://
|
|
11
|
+
var ldap = 'http://61.163.123.47:31785'
|
|
12
|
+
var applyinstall = 'http://61.163.123.47:31785'
|
|
13
13
|
|
|
14
14
|
var proxyTable = {
|
|
15
15
|
'/api': {
|
package/package.json
CHANGED
|
@@ -236,6 +236,7 @@
|
|
|
236
236
|
<th style="white-space: nowrap;">收费日期(退款日期)</th>
|
|
237
237
|
<th style="white-space: nowrap;">实际收费时间</th>
|
|
238
238
|
<th style="white-space: nowrap;">状态</th>
|
|
239
|
+
<th style="white-space: nowrap;" v-if="$parent.$parent.$parent.showbutton">操作</th>
|
|
239
240
|
</tr>
|
|
240
241
|
</template>
|
|
241
242
|
<template partial='body'>
|
|
@@ -303,10 +304,53 @@
|
|
|
303
304
|
<td style="text-align: center;">
|
|
304
305
|
<nobr><font>{{row.f_charge_status}}</font></nobr>
|
|
305
306
|
</td>
|
|
307
|
+
<td style="text-align: center;" v-if="$parent.$parent.$parent.showbutton">
|
|
308
|
+
<nobr>
|
|
309
|
+
<button
|
|
310
|
+
type="button" name="button" class="btn btn-link"
|
|
311
|
+
@click="$parent.$parent.$parent.ChangeRecods(row)">修改</button>
|
|
312
|
+
</nobr>
|
|
313
|
+
</td>
|
|
306
314
|
</tr>
|
|
307
315
|
</template>
|
|
308
316
|
</data-grid>
|
|
309
317
|
</criteria-paged>
|
|
318
|
+
<validator name="v">
|
|
319
|
+
<modal v-if="showCharge" :show.sync="showCharge" v-ref:modal :large="true" :backdrop="false" title="收费明细">
|
|
320
|
+
<header slot="modal-header" class="modal-header">
|
|
321
|
+
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
322
|
+
<h4 class="modal-title">收费明细</h4>
|
|
323
|
+
</header>
|
|
324
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
325
|
+
<div class="form-group col-sm-12" >
|
|
326
|
+
<label class="col-sm-2 control-label">收费项目:</label>
|
|
327
|
+
<div class="col-sm-10">
|
|
328
|
+
<input type="text" v-show="false" v-model="records.f_payment_term" v-validate:f_payment_term = "['required']" >
|
|
329
|
+
<input-select width="100%" class="select select_list" placeholder='请选择'
|
|
330
|
+
v-model="records.f_payment_term"
|
|
331
|
+
:value.sync="records.f_payment_term"
|
|
332
|
+
:options='paymentTerm'
|
|
333
|
+
:value-single="true"
|
|
334
|
+
close-on-select ></input-select>
|
|
335
|
+
</div>
|
|
336
|
+
</div>
|
|
337
|
+
<div class="form-group col-sm-12" >
|
|
338
|
+
<label class="col-sm-2 control-label">状态:</label>
|
|
339
|
+
<div class="col-sm-10">
|
|
340
|
+
<input-select width="100%" class="select select_list" placeholder='请选择'
|
|
341
|
+
v-model="records.f_charge_status"
|
|
342
|
+
:value.sync="records.f_charge_status"
|
|
343
|
+
:options='chargeStatus'
|
|
344
|
+
:value-single="true"
|
|
345
|
+
close-on-select ></input-select>
|
|
346
|
+
</div>
|
|
347
|
+
</div>
|
|
348
|
+
</article>
|
|
349
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
350
|
+
<button type="button" class="btn btn-primary" @click="saveCharge()">确认</button>
|
|
351
|
+
</footer>
|
|
352
|
+
</modal>
|
|
353
|
+
</validator>
|
|
310
354
|
</template>
|
|
311
355
|
|
|
312
356
|
<script>
|
|
@@ -359,7 +403,10 @@ export default {
|
|
|
359
403
|
'f_actual_date': '实际收费时间',
|
|
360
404
|
'f_charge_status': '状态',
|
|
361
405
|
'f_payment_term': '收费项目'
|
|
362
|
-
}
|
|
406
|
+
},
|
|
407
|
+
records:{},
|
|
408
|
+
showbutton:false,
|
|
409
|
+
showCharge:false
|
|
363
410
|
}
|
|
364
411
|
},
|
|
365
412
|
ready () {
|
|
@@ -370,8 +417,27 @@ export default {
|
|
|
370
417
|
this.search()
|
|
371
418
|
this.getservicer()
|
|
372
419
|
this.getapplyoperator()
|
|
420
|
+
if( this.$login.f.rolestr.includes("报建收费明细修改")){
|
|
421
|
+
this.showbutton=true
|
|
422
|
+
}
|
|
373
423
|
},
|
|
374
424
|
methods: {
|
|
425
|
+
ChangeRecods(row){
|
|
426
|
+
this.records = row
|
|
427
|
+
this.showCharge= true
|
|
428
|
+
},
|
|
429
|
+
closeModal(){
|
|
430
|
+
this.records = {}
|
|
431
|
+
this.showCharge= false
|
|
432
|
+
},
|
|
433
|
+
saveCharge(){
|
|
434
|
+
let sql = `update t_charge_record set f_payment_term= '${this.records.f_payment_term}' ,f_charge_status='${this.records.f_charge_status}' where id= '${this.records.id}'`
|
|
435
|
+
let http = new HttpResetClass()
|
|
436
|
+
http.load('post','/rs/logic/runSQL', {data: {sql: sql}},{rejectMsg:null,resolveMsg:'修改成功!!'}).then(res=>{
|
|
437
|
+
this.records = {}
|
|
438
|
+
this.showCharge= false
|
|
439
|
+
})
|
|
440
|
+
},
|
|
375
441
|
async getservicer(){
|
|
376
442
|
let data = {
|
|
377
443
|
tablename: 't_user',
|