apply-clients 4.1.2 → 4.1.3-weinan

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 (33) hide show
  1. package/index.html +1 -1
  2. package/package.json +6 -4
  3. package/src/apply.js +81 -66
  4. package/src/applyAndroid.js +41 -39
  5. package/src/components/app_apply/AppChargeManagement.vue +619 -0
  6. package/src/components/product/ApplyCharge/ApplyChargeList.vue +251 -251
  7. package/src/components/product/Function/InstallInfoSelect.vue +40 -27
  8. package/src/components/product/Function/StopApplyCrrdList.vue +1 -1
  9. package/src/components/product/Function/functions/StopInstall.vue +7 -1
  10. package/src/components/product/Process/ExplorationSelect.vue +82 -59
  11. package/src/components/product/Process/Processes/InstallationDetails.vue +276 -246
  12. package/src/components/product/Process/Processes/UserFireInfo.vue +409 -0
  13. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +1458 -99
  14. package/src/components/product/Process/Processes/addressAndUserinfoManagementPro.vue +1221 -0
  15. package/src/components/product/Process/Processes/chargeManagement.vue +47 -53
  16. package/src/components/product/Process/Processes/devicesDetails.vue +834 -0
  17. package/src/components/product/Process/Processes/materialshoufei.vue +182 -0
  18. package/src/components/product/Process/Processes/printCharge.vue +130 -130
  19. package/src/components/product/Process/Processes/recordcancel.vue +50 -0
  20. package/src/components/product/Process/Processes/selectUserinfo.vue +199 -0
  21. package/src/components/product/Process/Processes/splitMaterial.vue +358 -0
  22. package/src/components/product/Process/Service/ServiceControl.vue +1124 -703
  23. package/src/components/product/Process/ShowBackReason.vue +1 -0
  24. package/src/components/product/ServiceView.vue +82 -35
  25. package/src/components/product/Stop/StopApply.vue +101 -0
  26. package/src/components/product/Stop/StopApplyList.vue +257 -0
  27. package/src/components/product/Supervisory/SupervisoryControl.vue +7 -4
  28. package/src/components/product/Supervisory/SupervisoryList.vue +40 -27
  29. package/src/components/product/Supervisory/SupervisoryhCart.vue +0 -7
  30. package/src/components/product/Test.vue +8 -4
  31. package/src/components/product/VueUtils/ApplyUpload.vue +4 -4
  32. package/src/main.js +25 -23
  33. package/static/images/lefticon//347/237/251/345/275/2421183.png +0 -0
@@ -26,6 +26,7 @@
26
26
  rejectMsg: null
27
27
  })
28
28
  this.data = res.data[0]
29
+ console.log("ce",this.data)
29
30
  }
30
31
  }
31
32
  }
@@ -181,7 +181,7 @@
181
181
  </div>
182
182
 
183
183
  <div v-for="(i,item) in data.components">
184
- <component :is="item.name" :selectdata="data" :mark="item.mark"></component>
184
+ <component :is="item.name" :selectdata="data" :mark="item.mark" ></component>
185
185
  </div>
186
186
 
187
187
  <!--自定义组件-->
@@ -320,6 +320,7 @@
320
320
  </template>
321
321
  <script>
322
322
  import Vue from 'vue'
323
+ import {HttpResetClass, PagedList} from "vue-client";
323
324
  // Date格式化
324
325
  Date.prototype.Format = function (fmt) {
325
326
  var o = {
@@ -349,7 +350,7 @@
349
350
  default: true
350
351
  }
351
352
  },
352
- data () {
353
+ data() {
353
354
  return {
354
355
  model: {}, // 公司等属性
355
356
  disable_button: true, // 控制按钮禁用
@@ -360,15 +361,18 @@
360
361
  modeltitle: null, // 模态框标题
361
362
  modalSize: null, // 模态框大小
362
363
  showbutmodal: false,
364
+ showcheck: false,
365
+ back: '',
363
366
  }
364
367
  },
365
- watch: {
366
- deep: true
368
+ ready() {
369
+ console.log("7777777")
370
+ console.log(this.data)
367
371
  },
368
- computed: {
369
-
372
+ watch: {
373
+ deep: true,
370
374
  },
371
- created () {
375
+ created() {
372
376
  // 初始化数据
373
377
  this.initializtion()
374
378
  this.$dispatch('initializtionView')
@@ -388,6 +392,9 @@
388
392
  // 点击按钮组按钮
389
393
  async clicked(index, button) {
390
394
  this.disable_button = true
395
+ console.log("this.data")
396
+ console.log(this.data)
397
+ console.log(button)
391
398
  // 组织model.fields数据
392
399
  for (const item of this.data.fields) {
393
400
  // checkbox特殊处理
@@ -416,18 +423,59 @@
416
423
  this.model.title = this.data.title
417
424
  this.model.fields = this.data.fields
418
425
  this.model.onetomany = this.data.onetomany
419
-
420
-
426
+ if (this.data.defname === '通气点火') {
427
+ if (this.data.processname === '工商户报建流程' || this.data.processname === '开发商集体报建流程') {
428
+ let http = new HttpResetClass()
429
+ let condition = `f_blobid = '${this.data.f_process_id}'`
430
+ let res = await http.load('POST', 'rs/sql/singleTable', {
431
+ data: {
432
+ tablename: 't_files',
433
+ condition: condition
434
+ }
435
+ }, {resolveMsg: null, rejectMsg: null})
436
+ console.log("res_________________")
437
+ console.log(res)
438
+ if (res.data.length === 0) {
439
+ this.$showMessage("未上传图纸")
440
+ return
441
+ }
442
+ }
443
+ }
444
+ // if (this.data.defname === '合同签订') {
445
+ // console.log("ddddd",this.data)
446
+ // }
447
+ // if (this.data.defname === '竣工验收') {
448
+ // // if (this.data.processname !== '工商户报建流程') {
449
+ // // let t=this.selecteddd
450
+ // // let diff = this.all.filter(function (val) {
451
+ // // return t.indexOf(val) === -1
452
+ // // })
453
+ // // console.log("diff", diff)
454
+ // // for(let index = 0;index < diff.length; index++){
455
+ // // let data = {
456
+ // // code:diff[index].f_userinfo_code
457
+ // // }
458
+ // // console.log("code", data.code)
459
+ // // let http = new HttpResetClass()
460
+ // // http.load('POST', 'rs/logic/batchcheck', {data:data}, {resolveMsg: null, rejectMsg: null})
461
+ // //
462
+ // // }
463
+ // // }
464
+ // }
421
465
  if (button.button_name === '退回') {
422
466
  this.showbutmodal = true
423
467
  } else if (button.button_name === '下发') {
424
468
  this.showbutmodal = true
469
+ } else if (button.button_name === '验收') {
470
+ this.showbutmodal = true
471
+ } else if (button.event) {
472
+ this.$dispatch(button.event)
425
473
  } else {
426
474
  this.$dispatch('button', this.model)
427
475
  }
428
476
  },
429
477
  // 初始化数据
430
- initializtion () {
478
+ initializtion() {
431
479
  // 是否禁用按钮
432
480
  this.disableButton()
433
481
 
@@ -437,7 +485,6 @@
437
485
  item.value = new Date().Format('yyyy-MM-dd HH:mm:ss')
438
486
  }
439
487
  }
440
-
441
488
  // 公司等属性初始化
442
489
  if (this.data.filiale) {
443
490
  this.model.f_filiale = this.data.filiale
@@ -461,7 +508,7 @@
461
508
  }
462
509
  },
463
510
  // 是否禁用按钮
464
- disableButton () {
511
+ disableButton() {
465
512
  let fields = this.data.fields
466
513
 
467
514
  let flag = false
@@ -474,7 +521,7 @@
474
521
  }
475
522
  }
476
523
  // 任何选择框只要是否都不能提交
477
- if (item.type === 'select' && item.value === '否' && item.disabledButton) {
524
+ if (item.type === 'select' && (item.value === '否' || item.value === '未开工') && item.disabledButton) {
478
525
  flag = true
479
526
  }
480
527
  }
@@ -492,23 +539,23 @@
492
539
  this.disable_button = flag
493
540
  },
494
541
  // 失去焦点触发,无论值是否发生变化
495
- onblur (index) {
542
+ onblur(index) {
496
543
  // 是否禁用按钮
497
544
  this.disableButton()
498
545
 
499
546
  this.$dispatch('onblur', index)
500
547
  // 如果有错误信息提示走错误信息判断处理
501
548
 
502
- if (this.data.fields[index].error || this.data.fields[index].type === 'datepicker') {
549
+ if (this.data.fields[index].error && this.data.fields[index].type === 'datepicker') {
503
550
  this.$dispatch('error_check', index)
504
551
  }
505
552
  },
506
553
  // 失去焦点且值最终发生变化触发
507
- onchange (index) {
554
+ onchange(index) {
508
555
  // 是否禁用按钮
509
556
  this.disableButton()
510
557
 
511
- this.data.fields[index].value = this.data.fields[index].value.trim()
558
+ // this.data.fields[index].value = this.data.fields[index].value.trim()
512
559
 
513
560
  if (this.data.fields[index].prefix && this.data.fields[index].value !== '') {
514
561
  this.data.fields[index].value = this.data.fields[index].prefix + this.data.fields[index].value
@@ -516,26 +563,29 @@
516
563
 
517
564
  this.data[this.data.fields[index].field] = this.data.fields[index].value
518
565
 
566
+ if (this.data.fields[index].onchange) {
567
+ this.$dispatch(this.data.fields[index].onchange, index)
568
+ }
519
569
  this.$dispatch('onchange', index)
520
570
 
521
571
  // 如果有错误信息提示走错误信息判断处理
522
- if (this.data.fields[index].error || this.data.fields[index].type === 'datepicker') {
572
+ if (this.data.fields[index].error && this.data.fields[index].type === 'datepicker') {
523
573
  this.$dispatch('error_check', index)
524
574
  }
525
575
  },
526
- oninput (index) {
576
+ oninput(index) {
527
577
  // 是否禁用按钮
528
578
  this.disableButton()
529
579
 
530
580
  this.$dispatch('oninput', index)
531
581
 
532
582
  // 如果有错误信息提示走错误信息判断处理
533
- if (this.data.fields[index].error || this.data.fields[index].type === 'datepicker') {
583
+ if (this.data.fields[index].error && this.data.fields[index].type === 'datepicker') {
534
584
  this.$dispatch('error_check', index)
535
585
  }
536
586
  },
537
587
  // 模态框确认按钮
538
- confirm_modal (title) {
588
+ confirm_modal(title) {
539
589
  if (title === '新增') {
540
590
  if (this.data.onetomany[this.onetomany_index].addEvent === 'default' || !this.data.onetomany[this.onetomany_index].addEvent) {
541
591
  this.$dispatch('onetomanyadd', this.onetomany_index)
@@ -553,7 +603,7 @@
553
603
  this.closemodal()
554
604
  },
555
605
  // 删除
556
- delete (i, j) {
606
+ delete(i, j) {
557
607
  this.$showMessage((this.data.onetomany[i].deleteMessage === 'default' || !this.data.onetomany[i].deleteMessage) ? '您确定要删除这条记录吗?' : this.data.onetomany[i].deleteMessage, ['confirm']).then((res) => {
558
608
  if (res === 'confirm') {
559
609
  if (this.data.onetomany[i].deleteEvent === 'default' || !this.data.onetomany[i].deleteEvent) {
@@ -565,7 +615,7 @@
565
615
  })
566
616
  },
567
617
  // 修改
568
- update (i, j) {
618
+ update(i, j) {
569
619
  let onetomany = this.data.onetomany[i]
570
620
  let item = this.data.onetomany[i].rows[j]
571
621
  let count = 0
@@ -585,12 +635,12 @@
585
635
  this.onetomany_index = i
586
636
  this.update_onetomany_index = j
587
637
 
588
- this.$dispatch('openUpdateModel',i,j)
638
+ this.$dispatch('openUpdateModel', i, j)
589
639
 
590
640
  this.show = true
591
641
  },
592
642
  // 添加
593
- add (index) {
643
+ add(index) {
594
644
  let count = 0
595
645
  for (const item of this.data.onetomany[index].fields) {
596
646
  if (item.type === 'datepicker') {
@@ -608,13 +658,13 @@
608
658
  this.modalSize = this.data.onetomany[index].modalSize
609
659
  this.onetomany_index = index
610
660
 
611
- this.$dispatch('openAddModel',index)
661
+ this.$dispatch('openAddModel', index)
612
662
 
613
663
  this.show = true
614
664
  },
615
665
  // 关闭模态框
616
- closemodal (val) {
617
- if (val === 'but'){
666
+ closemodal(val) {
667
+ if (val === 'but') {
618
668
  this.disableButton()
619
669
  this.showbutmodal = false
620
670
  return
@@ -630,7 +680,7 @@
630
680
  this.modalSize = null
631
681
  },
632
682
  // 是否禁用模态框按钮
633
- disableModalButton () {
683
+ disableModalButton() {
634
684
  let fields = this.data.onetomany[this.onetomany_index].fields
635
685
 
636
686
  let flag = false
@@ -656,23 +706,20 @@
656
706
  this.disable_button_onetomany = flag
657
707
  },
658
708
  // 监听模态框属性失去焦点
659
- onchange_modal (index) {
709
+ onchange_modal(index) {
660
710
  this.disableModalButton()
661
711
  this.$dispatch('onchange_modal', this.onetomany_index, index)
662
712
  },
663
713
  // 监听模态框属性失去焦点
664
- onblur_modal (index) {
714
+ onblur_modal(index) {
665
715
  this.disableModalButton()
666
716
  this.$dispatch('onblur_modal', this.onetomany_index, index)
667
717
  },
668
718
  // input输入属性值发生变化监听
669
- oninput_modal (index) {
719
+ oninput_modal(index) {
670
720
  this.disableModalButton()
671
721
  this.$dispatch('oninput_modal', this.onetomany_index, index)
672
722
  }
673
- },
674
- events: {
675
-
676
723
  }
677
724
  }
678
725
  </script>
@@ -0,0 +1,101 @@
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <stop-apply-list v-ref:query></stop-apply-list>
5
+ </div>
6
+
7
+ <modal v-if="showModal" :show.sync="showModal" backdrop="false" large>
8
+ <header slot="modal-header" class="modal-header">
9
+ <button type="button" class="close" @click="closeModal()"><span>&times;</span></button>
10
+ <span class="modal-title"><font size="3">撤销</font></span>
11
+ </header>
12
+ <article slot="modal-body" class="modal-body clearfix">
13
+ <div :class="data.f_cancel_reason ? '' : 'has-error'" class="form-group">
14
+ <label class="control-label-justify control-label col-sm-1">撤销原因</label>
15
+ <div class="col-sm-9">
16
+ <textarea
17
+ class="form-control input_view" style="width: 100%" rows="5"
18
+ v-model="data.f_cancel_reason" :value="data.f_cancel_reason"
19
+ ></textarea>
20
+ </div>
21
+ </div>
22
+ </article>
23
+ <footer slot="modal-footer" class="modal-footer">
24
+ <button :class="!data.f_cancel_reason ? 'btn btn-default':'btn btn-primary'"
25
+ :disabled="!data.f_cancel_reason" type="button" @click="confirmModal()">
26
+ 确认
27
+ </button>
28
+ </footer>
29
+ </modal>
30
+ </div>
31
+ </template>
32
+
33
+ <script>
34
+ export default {
35
+ title: '终止报建',
36
+ data () {
37
+ return {
38
+ showModal: false,
39
+ data: null
40
+ }
41
+ },
42
+ ready () {
43
+ },
44
+ methods: {
45
+ closeModal () {
46
+ this.showModal = false
47
+ this.data = null
48
+
49
+ this.$refs.query.$refs.cp.$refs.cri.search()
50
+ },
51
+ async confirmModal () {
52
+ let data = {
53
+ data: this.data,
54
+ user: this.$login.f
55
+ }
56
+
57
+ let res = await this.$resetpost(
58
+ `rs/logic/cancelStopApply`,
59
+ {data: data},
60
+ {resolveMsg: null, rejectMsg: '撤销失败!!!'}
61
+ )
62
+
63
+ this.closeModal()
64
+ }
65
+ },
66
+ events: {
67
+ 'search' () {
68
+ this.$refs.query.$refs.cp.$refs.cri.search()
69
+ },
70
+ 'cancelStopApply' (row) {
71
+ this.data = row
72
+
73
+ this.showModal = true
74
+ }
75
+ }
76
+ }
77
+ </script>
78
+
79
+ <style scoped>
80
+ .control-label-justify {
81
+ display: inline-block;
82
+ vertical-align: top;
83
+ width: 110px;
84
+ text-align: justify;
85
+ font-family: PingFang-SC-Bold;
86
+ }
87
+
88
+ .control-label-justify::after {
89
+ content: "";
90
+ display: inline-block;
91
+ width: 100%;
92
+ overflow: hidden;
93
+ height: 0;
94
+ }
95
+ .clearfix:after,.clearfix:before{
96
+ display: table;
97
+ }
98
+ .clearfix:after{
99
+ clear: both;
100
+ }
101
+ </style>
@@ -0,0 +1,257 @@
1
+ <template>
2
+ <div class="col-sm-12">
3
+ <criteria-paged :model="model" v-ref:cp>
4
+ <criteria partial='criteria' @condition-changed='search' v-ref:cri>
5
+ <div novalidate 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
+ <!-- <res-select-->
10
+ <!-- restype='organization'-->
11
+ <!-- :initresid='$parent.$parent.curorgid'-->
12
+ <!-- @res-select="$parent.$parent.getorg"-->
13
+ <!-- is-mul="false"-->
14
+ <!-- ></res-select>-->
15
+ <!-- </div>-->
16
+ <div class="form-group col-sm-3">
17
+ <label class="font_normal_body">项目名称:</label>
18
+ <input type="text" style="width:60%" class="input_search" placeholder='项目名称' v-model="model.f_entry_name"
19
+ v-on:keyup.enter="search"
20
+ condition="u.f_entry_name = '{}'">
21
+ </div>
22
+ <div class="form-group col-sm-3">
23
+ <label class="font_normal_body">报建编号:</label>
24
+ <input type="text" style="width:60%" class="input_search" placeholder='报建编号' v-model="model.f_apply_num"
25
+ v-on:keyup.enter="search"
26
+ condition="u.f_apply_num = '{}'">
27
+ </div>
28
+ <div class="form-group col-sm-3">
29
+ <label class="font_normal_body">客户名称:</label>
30
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
31
+ v-on:keyup.enter="$parent.$parent.search()" condition="u.f_user_name like '%{}%'" placeholder='客户名称'>
32
+ </div>
33
+ <div class="form-group col-sm-2 button-range">
34
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
35
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
36
+ <div
37
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
38
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
39
+ class="button_spacing"
40
+ style="float: right">
41
+ </div>
42
+ </div>
43
+ </div>
44
+ <div class="row" v-show="$parent.$parent.criteriaShow">
45
+ <div class="form-group col-sm-3">
46
+ <label class="font_normal_body">联系电话:</label>
47
+ <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
48
+ v-on:keyup.enter="search"
49
+ condition="u.f_phone like '%{}%'">
50
+ </div>
51
+ <div class="form-group col-sm-3">
52
+ <label class="font_normal_body">合同编号:</label>
53
+ <input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
54
+ v-on:keyup.enter="search"
55
+ condition="u.f_contract_number = '{}'">
56
+ </div>
57
+ <div class="form-group col-sm-3">
58
+ <label class="font_normal_body">报建类型:</label>
59
+ <v-select
60
+ v-model="model.f_apply_type"
61
+ placeholder='报建类型'
62
+ condition="u.f_apply_type = '{}'"
63
+ :value.sync="model.f_apply_type"
64
+ :options='$parent.$parent.applytype'
65
+ class="select select_list"
66
+ :value-single="true"
67
+ @change="$parent.$parent.applyTypeChange()"
68
+ close-on-select ></v-select>
69
+ </div>
70
+ <div class="form-group col-sm-3">
71
+ <label class="font_normal_body">办理环节:</label>
72
+ <v-select
73
+ v-model="model.defname"
74
+ placeholder='办理环节'
75
+ condition="defname = '{}'"
76
+ :value.sync="model.defname"
77
+ :options='$parent.$parent.defnames'
78
+ class="select select_list"
79
+ :value-single="true"
80
+ close-on-select ></v-select>
81
+ </div>
82
+ <div class="form-group col-sm-3">
83
+ <label class="font_normal_body">用户地址:</label>
84
+ <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
85
+ v-on:keyup.enter="search"
86
+ condition="u.f_address like '%{}%'">
87
+ </div>
88
+ <div class="form-group col-sm-3">
89
+ <label for="startDate" class="font_normal_body">开始时间:</label>
90
+ <datepicker id="startDate" placeholder="开始日期"
91
+ style="width: 60%!important;"
92
+ v-model="model.startDate"
93
+ :value.sync="model.startDate"
94
+ :format="'yyyy-MM-dd 00:00:00'"
95
+ :show-reset-button="true"
96
+ condition="u.f_apply_date >= '{}'">
97
+ </datepicker>
98
+ </div>
99
+ <div class="form-group col-sm-3">
100
+ <label for="endDate" class="font_normal_body">结束时间:</label>
101
+ <datepicker id="endDate" placeholder="结束日期"
102
+ style="width: 60%!important;"
103
+ v-model="model.endDate"
104
+ :value.sync="model.endDate"
105
+ :format="'yyyy-MM-dd 23:59:59'"
106
+ :show-reset-button="true"
107
+ condition="u.f_apply_date <= '{}'">
108
+ </datepicker>
109
+ </div>
110
+ </div>
111
+ </div>
112
+ </criteria>
113
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
114
+ <template partial='head'>
115
+ <tr>
116
+ <th style="white-space: nowrap;">序号</th>
117
+ <th style="white-space: nowrap;">报建编号</th>
118
+ <th style="white-space: nowrap;">客户名称</th>
119
+ <th style="white-space: nowrap;">电话</th>
120
+ <th style="white-space: nowrap;">报建类型</th>
121
+ <th style="white-space: nowrap;">办理环节</th>
122
+ <th style="white-space: nowrap;">状态</th>
123
+ <th style="white-space: nowrap;">终止原因</th>
124
+ <th style="white-space: nowrap;">终止时间</th>
125
+ <th style="white-space: nowrap;">终止人</th>
126
+ <!-- <th style="white-space: nowrap;">撤销原因</th>-->
127
+ <!-- <th style="white-space: nowrap;">撤销时间</th>-->
128
+ <!-- <th style="white-space: nowrap;">撤销人</th>-->
129
+ <!-- <th style="white-space: nowrap;">操作</th>-->
130
+ </tr>
131
+ </template>
132
+ <template partial='body'>
133
+ <tr>
134
+ <td style="text-align: center;">
135
+ <nobr>{{$index+1}}</nobr>
136
+ </td>
137
+ <td style="text-align: center;">
138
+ <nobr>{{row.f_apply_num}}</nobr>
139
+ </td>
140
+ <td style="text-align: center;">
141
+ <nobr>{{row.f_user_name}}</nobr>
142
+ </td>
143
+ <td style="text-align: center;">
144
+ <nobr>{{row.f_phone}}</nobr>
145
+ </td>
146
+ <td style="text-align: center;">
147
+ <nobr>{{row.f_apply_type}}</nobr>
148
+ </td>
149
+ <td style="text-align: center;">
150
+ <nobr>{{row.defname}}</nobr>
151
+ </td>
152
+ <td style="text-align: center;">
153
+ <nobr>{{row.f_state}}</nobr>
154
+ </td>
155
+ <td style="text-align: center;">
156
+ <nobr>{{row.f_stop_remarks}}</nobr>
157
+ </td>
158
+ <td style="text-align: center;">
159
+ <nobr>{{row.f_date}}</nobr>
160
+ </td>
161
+ <td style="text-align: center;">
162
+ <nobr>{{row.f_operator}}</nobr>
163
+ </td>
164
+ <!-- <td style="text-align: center;">-->
165
+ <!-- <nobr>{{row.f_cancel_reason}}</nobr>-->
166
+ <!-- </td>-->
167
+ <!-- <td style="text-align: center;">-->
168
+ <!-- <nobr>{{row.f_cancel_date}}</nobr>-->
169
+ <!-- </td>-->
170
+ <!-- <td style="text-align: center;">-->
171
+ <!-- <nobr>{{row.f_cancel_name}}</nobr>-->
172
+ <!-- </td>-->
173
+ <!-- <td style="text-align: center;">-->
174
+ <!-- <dropdown v-if="row.f_type === '暂停报建' && row.f_state === '有效'">-->
175
+ <!-- <button type="button" data-toggle="dropdown" style="border: 0px;background: none;">-->
176
+ <!-- <span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>-->
177
+ <!-- </button>-->
178
+ <!-- <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">-->
179
+ <!-- <li>-->
180
+ <!-- <a href="#" @click="$parent.$parent.$parent.click(row)">撤销</a>-->
181
+ <!-- </li>-->
182
+ <!-- </ul>-->
183
+ <!-- </dropdown>-->
184
+ <!-- </td>-->
185
+ </tr>
186
+ </template>
187
+ </data-grid>
188
+ </criteria-paged>
189
+ </div>
190
+ </template>
191
+ <script>
192
+ import {PagedList} from 'vue-client'
193
+ import {isEmpty} from '../../Util'
194
+ export default {
195
+ title: '终止报建',
196
+ data () {
197
+ return {
198
+ model: new PagedList('rs/sql/getStopApply', 20, {
199
+ data: {
200
+ orgid: this.$login.f.orgid
201
+ }
202
+ }),
203
+ curorgid: [this.$login.f.orgid],
204
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
205
+ defnames: [{label: '全部', value: ''}, ...this.$appdata.getParam('办理环节')], // 流程节点
206
+ applyNatures: [{label: '全部', value: ''}], // 报建性质
207
+ criteriaShow: false
208
+ }
209
+ },
210
+ ready () {
211
+ // 调用查询
212
+ this.search()
213
+ },
214
+ events: {
215
+ },
216
+ methods: {
217
+ // 查询
218
+ search () {
219
+ this.$dispatch('search')
220
+ },
221
+ click (row) {
222
+ this.$dispatch('cancelStopApply', row)
223
+ },
224
+ async applyTypeChange () {
225
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
226
+ let res = await this.$resetpost('rs/logic/getDefnameByType',
227
+ { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
228
+ {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
229
+ )
230
+
231
+ this.defnames = [{label: '全部', value: ''}, ...res.data]
232
+
233
+ 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}性质`)]
234
+ } else {
235
+ this.defnames = [{label: '全部', value: ''}, ...this.$appdata.getParam('办理环节')]
236
+
237
+ this.applyNatures = [{label: '全部', value: ''}]
238
+ }
239
+ },
240
+ clear () {
241
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
242
+ this.$refs.cp.$refs.cri.model[key] = null
243
+ })
244
+ },
245
+ getorg (val) {
246
+ if (val.length <= 0) {
247
+ return
248
+ }
249
+ this.model.params.data.orgid = val[0]
250
+ }
251
+ },
252
+ computed: {
253
+ }
254
+ }
255
+ </script>
256
+ <style scoped>
257
+ </style>
@@ -80,17 +80,20 @@
80
80
  this.xmlname = '开发商集体报建流程'
81
81
  } else if (this.selectdata.f_apply_type === '散户报建') {
82
82
  this.xmlname = '散户报建流程'
83
- } else if (this.selectdata.f_apply_type === '工业户报建') {
84
- this.xmlname = '工商户报建流程'
85
- } else if (this.selectdata.f_apply_type === '商业户报建') {
83
+ } else if (this.selectdata.f_apply_type === '工商户报建') {
86
84
  this.xmlname = '工商户报建流程'
87
85
  } else if (this.selectdata.f_apply_type === '散户集体报建') {
88
86
  this.xmlname = '散户集体报建流程'
89
87
  } else if (this.selectdata.f_apply_type === '煤改气报建') {
90
88
  this.xmlname = '散户集体报建流程'
89
+ } else if (this.selectdata.f_apply_type === '拆改装报建') {
90
+ this.xmlname = '拆改装流程'
91
91
  } else if (this.selectdata.f_apply_type === '综合报建') {
92
92
  this.xmlname = '报建流程'
93
- } else {
93
+ } else if (this.selectdata.f_apply_type === '居民报建') {
94
+ this.xmlname = '居民报建流程'
95
+ }
96
+ else {
94
97
  this.$showMessage('暂无此类报装')
95
98
  return
96
99
  }