apply-clients 4.1.64 → 4.1.68

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.
@@ -316,7 +316,6 @@
316
316
  <button type="button" class="btn btn-primary" :disabled="disable_button_but" @click='confirm_but_modal()'>确认</button>
317
317
  </footer>
318
318
  </modal>
319
-
320
319
  </div>
321
320
  </template>
322
321
  <script>
@@ -364,19 +363,15 @@
364
363
  showbutmodal: false,
365
364
  showcheck: false,
366
365
  back: '',
367
- selecteddd:[],
368
- all:[]
369
366
  }
370
-
371
367
  },
372
368
  ready() {
373
369
  console.log("7777777")
374
- console.log(this.data.onetomany)
370
+ console.log(this.data)
375
371
  },
376
372
  watch: {
377
373
  deep: true,
378
374
  },
379
- computed: {},
380
375
  created() {
381
376
  // 初始化数据
382
377
  this.initializtion()
@@ -399,6 +394,7 @@
399
394
  this.disable_button = true
400
395
  console.log("this.data")
401
396
  console.log(this.data)
397
+ console.log(button)
402
398
  // 组织model.fields数据
403
399
  for (const item of this.data.fields) {
404
400
  // checkbox特殊处理
@@ -441,30 +437,31 @@
441
437
  console.log(res)
442
438
  if (res.data.length === 0) {
443
439
  this.$showMessage("未上传图纸")
440
+ return
444
441
  }
445
442
  }
446
443
  }
447
- if (this.data.defname === '合同签订') {
448
- console.log("ddddd",this.data)
449
- }
450
- if (this.data.defname === '竣工验收') {
451
- if (this.data.processname !== '工商户报建流程') {
452
- let t=this.selecteddd
453
- let diff = this.all.filter(function (val) {
454
- return t.indexOf(val) === -1
455
- })
456
- console.log("diff", diff)
457
- for(let index = 0;index < diff.length; index++){
458
- let data = {
459
- code:diff[index].f_userinfo_code
460
- }
461
- console.log("code", data.code)
462
- let http = new HttpResetClass()
463
- http.load('POST', 'rs/logic/batchcheck', {data:data}, {resolveMsg: null, rejectMsg: null})
464
-
465
- }
466
- }
467
- }
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
+ // }
468
465
  if (button.button_name === '退回') {
469
466
  this.showbutmodal = true
470
467
  } else if (button.button_name === '下发') {
@@ -475,9 +472,6 @@
475
472
  this.$dispatch('button', this.model)
476
473
  }
477
474
  },
478
- //
479
-
480
-
481
475
  // 初始化数据
482
476
  initializtion() {
483
477
  // 是否禁用按钮
@@ -511,8 +505,6 @@
511
505
  this.model.f_operator = this.$login.f.name
512
506
  }
513
507
  },
514
-
515
-
516
508
  // 是否禁用按钮
517
509
  disableButton() {
518
510
  let fields = this.data.fields
@@ -723,13 +715,6 @@
723
715
  this.disableModalButton()
724
716
  this.$dispatch('oninput_modal', this.onetomany_index, index)
725
717
  }
726
- },
727
- events: {
728
- 'selectedData'(selecteddd, all) {
729
- this.selecteddd = selecteddd
730
- this.all = all
731
- }
732
-
733
718
  }
734
719
  }
735
720
  </script>
@@ -1,119 +1,119 @@
1
- <template>
2
- <div class="flex-row">
3
- <div class="basic-main">
4
- <div :class="showData ? 'top' : 'auto'">
5
- <supervisory-list v-ref:query :show-data="showData"></supervisory-list>
6
- </div>
7
- <div v-if="showtotal" style="height: 89%">
8
- <div class="col-sm-2">
9
- <supervisory-chart :selectdata="selectdata"></supervisory-chart>
10
- </div>
11
- <div class="col-sm-10">
12
- <tabset v-ref:tabs :close="false">
13
- <tab :header='selectdata.defname'>
14
- <supervisory-service-control :selectdata="selectdata" :node-snapshot="true"></supervisory-service-control>
15
- </tab>
16
- <tab header='附件'>
17
- <apply-upload :blodid="selectdata.f_process_id"
18
- :isupload = "false"
19
- :isdelete="false"
20
- :isusetype="true"
21
- :isremark = "true"
22
- :takeimg="false"
23
- :issearch="true"
24
- :defname="selectdata.defname">
25
- </apply-upload>
26
- </tab>
27
- </tabset>
28
- </div>
29
- </div>
30
- </div>
31
- </div>
32
-
33
- </template>
34
- <script>
35
- import Vue from 'vue'
36
- import {HttpResetClass} from 'vue-client'
37
- export default {
38
- title: '流程监控',
39
- data () {
40
- return {
41
- showtotal: false, // 控制详细信息显示
42
- showData: true,
43
- selectdata: {},
44
- xmlname: '' // 配置文件名称
45
- }
46
- },
47
- created () {
48
- },
49
- methods: {
50
- // 获取页面配置json文件
51
- async loadName () {
52
- let http = new HttpResetClass()
53
- let xmldata = {
54
- data: this.$login.f,
55
- workname: this.xmlname
56
- }
57
- let res = await http.load('POST', 'rs/logic/ApplyGetConfigs', {data: xmldata}, {resolveMsg: null, rejectMsg: null})
58
-
59
- if (res.data.code && res.data.code === 200) {
60
- Vue.prototype.$workflow_vue = res.data.workflow_vue
61
- } else {
62
- this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
63
- return
64
- }
65
- }
66
- },
67
- events: {
68
- 'onMessage' (data) {
69
- console.log('接收消息')
70
- console.log(data)
71
- if (data.type === 'apply-task') {
72
- this.$refs.queryuser.$refs.cp.$refs.cri.search()
73
- }
74
- },
75
- async 'apply' (val) {
76
- this.selectdata = val
77
- this.showtotal = false
78
-
79
- if (this.selectdata.f_apply_type === '开发商集体报建') {
80
- this.xmlname = '开发商集体报建流程'
81
- } else if (this.selectdata.f_apply_type === '散户报建') {
82
- this.xmlname = '散户报建流程'
83
- } else if (this.selectdata.f_apply_type === '工商户报建') {
84
- this.xmlname = '工商户报建流程'
85
- } else if (this.selectdata.f_apply_type === '散户集体报建') {
86
- this.xmlname = '散户集体报建流程'
87
- } else if (this.selectdata.f_apply_type === '煤改气报建') {
88
- this.xmlname = '散户集体报建流程'
89
- } else if (this.selectdata.f_apply_type === '综合报建') {
90
- this.xmlname = '报建流程'
91
- } else {
92
- this.$showMessage('暂无此类报装')
93
- return
94
- }
95
-
96
- // 获取配置文件
97
- await this.loadName()
98
-
99
- this.$refs.query.$refs.cp.pager = false
100
- this.showData = false
101
-
102
- this.showtotal = true
103
- },
104
- 'search' () {
105
- // 关闭详细
106
- this.showtotal = false
107
- // 显示列表数据
108
- this.showData = true
109
- // 显示分页
110
- this.$refs.query.$refs.cp.pager = true
111
- // 调用查询
112
- this.$refs.query.$refs.cp.$refs.cri.search()
113
- }
114
- },
115
-
116
- watch: {
117
- }
118
- }
119
- </script>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <div :class="showData ? 'top' : 'auto'">
5
+ <supervisory-list v-ref:query :show-data="showData"></supervisory-list>
6
+ </div>
7
+ <div v-if="showtotal" style="height: 89%">
8
+ <div class="col-sm-2">
9
+ <supervisory-chart :selectdata="selectdata"></supervisory-chart>
10
+ </div>
11
+ <div class="col-sm-10">
12
+ <tabset v-ref:tabs :close="false">
13
+ <tab :header='selectdata.defname'>
14
+ <supervisory-service-control :selectdata="selectdata" :node-snapshot="true"></supervisory-service-control>
15
+ </tab>
16
+ <tab header='附件'>
17
+ <apply-upload :blodid="selectdata.f_process_id"
18
+ :isupload = "false"
19
+ :isdelete="false"
20
+ :isusetype="true"
21
+ :isremark = "true"
22
+ :takeimg="false"
23
+ :issearch="true"
24
+ :defname="selectdata.defname">
25
+ </apply-upload>
26
+ </tab>
27
+ </tabset>
28
+ </div>
29
+ </div>
30
+ </div>
31
+ </div>
32
+
33
+ </template>
34
+ <script>
35
+ import Vue from 'vue'
36
+ import {HttpResetClass} from 'vue-client'
37
+ export default {
38
+ title: '流程监控',
39
+ data () {
40
+ return {
41
+ showtotal: false, // 控制详细信息显示
42
+ showData: true,
43
+ selectdata: {},
44
+ xmlname: '' // 配置文件名称
45
+ }
46
+ },
47
+ created () {
48
+ },
49
+ methods: {
50
+ // 获取页面配置json文件
51
+ async loadName () {
52
+ let http = new HttpResetClass()
53
+ let xmldata = {
54
+ data: this.$login.f,
55
+ workname: this.xmlname
56
+ }
57
+ let res = await http.load('POST', 'rs/logic/ApplyGetConfigs', {data: xmldata}, {resolveMsg: null, rejectMsg: null})
58
+
59
+ if (res.data.code && res.data.code === 200) {
60
+ Vue.prototype.$workflow_vue = res.data.workflow_vue
61
+ } else {
62
+ this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
63
+ return
64
+ }
65
+ }
66
+ },
67
+ events: {
68
+ 'onMessage' (data) {
69
+ console.log('接收消息')
70
+ console.log(data)
71
+ if (data.type === 'apply-task') {
72
+ this.$refs.queryuser.$refs.cp.$refs.cri.search()
73
+ }
74
+ },
75
+ async 'apply' (val) {
76
+ this.selectdata = val
77
+ this.showtotal = false
78
+
79
+ if (this.selectdata.f_apply_type === '开发商集体报建') {
80
+ this.xmlname = '开发商集体报建流程'
81
+ } else if (this.selectdata.f_apply_type === '散户报建') {
82
+ this.xmlname = '散户报建流程'
83
+ } else if (this.selectdata.f_apply_type === '工商户报建') {
84
+ this.xmlname = '工商户报建流程'
85
+ } else if (this.selectdata.f_apply_type === '散户集体报建') {
86
+ this.xmlname = '散户集体报建流程'
87
+ } else if (this.selectdata.f_apply_type === '煤改气报建') {
88
+ this.xmlname = '散户集体报建流程'
89
+ } else if (this.selectdata.f_apply_type === '综合报建') {
90
+ this.xmlname = '报建流程'
91
+ } else {
92
+ this.$showMessage('暂无此类报装')
93
+ return
94
+ }
95
+
96
+ // 获取配置文件
97
+ await this.loadName()
98
+
99
+ this.$refs.query.$refs.cp.pager = false
100
+ this.showData = false
101
+
102
+ this.showtotal = true
103
+ },
104
+ 'search' () {
105
+ // 关闭详细
106
+ this.showtotal = false
107
+ // 显示列表数据
108
+ this.showData = true
109
+ // 显示分页
110
+ this.$refs.query.$refs.cp.pager = true
111
+ // 调用查询
112
+ this.$refs.query.$refs.cp.$refs.cri.search()
113
+ }
114
+ },
115
+
116
+ watch: {
117
+ }
118
+ }
119
+ </script>