apply-clients 3.5.5-96 → 3.5.5-98

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.
@@ -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://113.219.4.57:31467'
12
- var applyinstall = 'http://113.219.4.57:31467'
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "3.5.5-96",
3
+ "version": "3.5.5-98",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -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>&times;</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',
@@ -1474,8 +1474,9 @@ export default {
1474
1474
  if(this.show_data.fields[index].label === '是否老居民首次开发'){
1475
1475
  if( this.getLableValue('是否老居民首次开发')==='是'){
1476
1476
  this.showLabels('开户比例')
1477
+ this.hideLabels('立管架空')
1477
1478
  this.setLabelValue("立管架空", '')
1478
- }else{
1479
+ }else if(this.getLableValue('是否老居民首次开发')==='否'){
1479
1480
  this.showLabels('立管架空')
1480
1481
  this.hideLabels('开户比例')
1481
1482
  this.setLabelValue("开户比例", '')
@@ -1890,8 +1890,9 @@
1890
1890
  if(this.show_data.fields[index].label === '是否老居民首次开发'){
1891
1891
  if( this.getLableValue('是否老居民首次开发')==='是'){
1892
1892
  this.showLabels('开户比例')
1893
+ this.hideLabels('立管架空')
1893
1894
  this.setLabelValue("立管架空", '')
1894
- }else{
1895
+ }else if(this.getLableValue('是否老居民首次开发')==='否'){
1895
1896
  this.showLabels('立管架空')
1896
1897
  this.hideLabels('开户比例')
1897
1898
  this.setLabelValue("开户比例", '')
@@ -263,8 +263,9 @@
263
263
  <th style="white-space: nowrap;">施工单位</th>
264
264
  <th style="white-space: nowrap;">施工时间</th>
265
265
  <th style="white-space: nowrap;">缴费金额</th>
266
- <th style="white-space: nowrap;">领用人</th>
267
- <th style="white-space: nowrap;">发货人</th>
266
+ <th style="white-space: nowrap;">是否老居民首次开发</th>
267
+ <th style="white-space: nowrap;">立管架空</th>
268
+ <th style="white-space: nowrap;">开户比例</th>
268
269
  <th style="white-space: nowrap;">发起人</th>
269
270
  </tr>
270
271
  </template>
@@ -322,10 +323,13 @@
322
323
  <nobr>{{row.f_cumulative_payment_money}}</nobr>
323
324
  </td>
324
325
  <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
325
- <nobr>{{row.lyr}}</nobr>
326
+ <nobr>{{row.f_first_user}}</nobr>
326
327
  </td>
327
328
  <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
328
- <nobr>{{row.fyr}}</nobr>
329
+ <nobr>{{row.f_igniter_pipe}}</nobr>
330
+ </td>
331
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
332
+ <nobr>{{row.f_igniter_account}}</nobr>
329
333
  </td>
330
334
  <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
331
335
  <nobr>{{row.f_operator}}</nobr>
package/src/main.js CHANGED
@@ -9,7 +9,7 @@ import {material} from 'material-client'
9
9
  import apply from './apply'
10
10
 
11
11
  all()
12
- apply('jinhuang')
12
+ apply('fugou')
13
13
  ldap()
14
14
  sale()
15
15
  material()