apply-clients 5.0.35-85 → 5.0.35-88

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.
@@ -1,137 +1,137 @@
1
- <template>
2
- <div class="col-sm-12" style="overflow:auto;background-color: #ffffff;">
3
- <div class="tops" v-bind:style="{ height: topheight }">
4
- <engineer-select v-ref:queryuser v-show="show"></engineer-select>
5
- </div>
6
- <div v-show="showtotal" v-bind:style="{ height: botheight ,'margin-top':'20px','background-color' : '#f6f6f6' ,padding:'12px'}">
7
- <div class="col-sm-10">
8
- <tabset v-ref:tabs :close="false">
9
- <tab :header='header' style="background-color :#f6f6f6">
10
- <service-control v-ref:service :selectdata="selectdata" ></service-control>
11
- </tab>
12
- <!-- <tab header='表档案管理'>-->
13
- <!-- <record-message v-ref:record :selectdata="selectdata" :key="tittle2"-->
14
- <!-- :edit = "true">-->
15
- <!-- </record-message>-->
16
- <!-- </tab>-->
17
- <!--<tab header='材料信息' style="background-color :#f6f6f6">-->
18
- <!--<material-message v-ref:material :selectdata="selectdata"-->
19
- <!--:edit = "true">-->
20
- <!--</material-message>-->
21
- <!--</tab>-->
22
- <tab header='附件' style="background-color :#f6f6f6">
23
- <engineer-upload v-ref:file
24
- :blodid = "f_process_id"
25
- :isusetype = "true"
26
- :isremark = "true"
27
- :issearch = "true"
28
- :isupload = "true"
29
- :takeimg = "true"
30
- :defname="selectdata.defname"
31
-
32
- ></engineer-upload>
33
- <!--<customer-file v-ref:file :selectdata="selectdata"></customer-file>-->
34
- </tab>
35
- <!--<tab header='设备新增' v-if="flagg">-->
36
- <!--<equipment-message v-ref:equipment :selectdata="selectdata"-->
37
- <!--:edit = "true">-->
38
- <!--</equipment-message>-->
39
- <!--</tab>-->
40
- <!-- <tab header='设备管理' v-if="flagg">
41
- <customer-record-message v-ref:record :selectdata="selectdata" :key="tittle3"></customer-record-message>
42
- </tab>-->
43
- </tabset>
44
- </div>
45
- <div class="col-sm-2" v-show="showbasic" >
46
- <history_control v-ref:binfo :selectdata="selectdata"></history_control>
47
- </div>
48
- </div>
49
- </div>
50
- </template>
51
- <script>
52
- import Vue from 'vue'
53
- import {HttpResetClass} from 'vue-client'
54
- export default {
55
- title: '工程管理',
56
- data() {
57
- return {
58
- flagg: false,
59
- show: true,
60
- showbasic: false,
61
- showtotal: false,
62
- header: null,
63
- selectdata: {},
64
- botheight: '0%',
65
- topheight: '100%',
66
- tittle1:'户档案管理',
67
- tittle2:'表档案管理',
68
- tittle3:'设备管理',
69
- f_process_id: ''
70
- }
71
- },
72
-
73
- events: {
74
- 'addactive'() {
75
- this.$refs.queryuser.$refs.cp.$refs.cri.search()
76
- this.hidden()
77
- this.showbasic = true
78
- this.topheight = '8%'
79
- this.botheight = '82%'
80
- },
81
- 'changeheight'() {
82
- this.show = true
83
- this.botheight = '0%'
84
- },
85
- 'check'(val) {
86
- this.selectdata = null
87
- this.selectdata = val
88
- this.f_process_id = this.selectdata.f_process_id
89
-
90
- console.log(val)
91
- //如果点击后未结余金额不为0,不允许下发f_unaccounts_money
92
- console.log("当前的流程标识",this.selectdata.f_process_id)
93
- console.log("节点编号:"+this.selectdata.actdefid,"节点名称:"+this.selectdata.defname)
94
- this.topheight = '8%'
95
- this.botheight = '82%'
96
- this.$refs.queryuser.$refs.cp.$refs.grid.model.rows = [val]
97
- this.$refs.queryuser.$refs.cp.pager = false
98
- this.showbasic = true
99
- this.header = val.defname
100
- this.hidden()
101
- this.$refs.service.refurbish(val)
102
- },
103
- 'selfsearch'() {
104
- this.$refs.queryuser.$refs.cp.$refs.cri.search()
105
- },
106
- 'close'() {
107
- this.showtotal = false
108
- this.topheight = '100%'
109
- this.botheight = '0%'
110
- this.$refs.queryuser.$refs.cp.pager = true
111
- this.$refs.queryuser.$refs.cp.$refs.cri.search()
112
- }
113
- },
114
- methods: {
115
- hidden() {
116
- this.showtotal = true
117
- },
118
- close() {
119
- this.hidden()
120
- this.topheight = '100%'
121
- this.botheight = '0%'
122
- }
123
- },
124
- async ready(){
125
- },
126
- watch: {
127
- 'selectdata'(val) {
128
- console.log('selectdata:', val)
129
- },
130
- 'selectdata.f_customer_type'() {
131
- if (this.selectdata.f_customer_type == '企业') {
132
- this.flagg = true
133
- }
134
- }
135
- }
136
- }
137
- </script>
1
+ <template>
2
+ <div class="col-sm-12" style="overflow:auto;background-color: #ffffff;">
3
+ <div class="tops" v-bind:style="{ height: topheight }">
4
+ <engineer-select v-ref:queryuser v-show="show"></engineer-select>
5
+ </div>
6
+ <div v-show="showtotal" v-bind:style="{ height: botheight ,'margin-top':'20px','background-color' : '#f6f6f6' ,padding:'12px'}">
7
+ <div class="col-sm-10">
8
+ <tabset v-ref:tabs :close="false">
9
+ <tab :header='header' style="background-color :#f6f6f6">
10
+ <service-control v-ref:service :selectdata="selectdata" ></service-control>
11
+ </tab>
12
+ <!-- <tab header='表档案管理'>-->
13
+ <!-- <record-message v-ref:record :selectdata="selectdata" :key="tittle2"-->
14
+ <!-- :edit = "true">-->
15
+ <!-- </record-message>-->
16
+ <!-- </tab>-->
17
+ <!--<tab header='材料信息' style="background-color :#f6f6f6">-->
18
+ <!--<material-message v-ref:material :selectdata="selectdata"-->
19
+ <!--:edit = "true">-->
20
+ <!--</material-message>-->
21
+ <!--</tab>-->
22
+ <tab header='附件' style="background-color :#f6f6f6">
23
+ <engineer-upload v-ref:file
24
+ :blodid = "f_process_id"
25
+ :isusetype = "true"
26
+ :isremark = "true"
27
+ :issearch = "true"
28
+ :isupload = "true"
29
+ :takeimg = "true"
30
+ :defname="selectdata.defname"
31
+
32
+ ></engineer-upload>
33
+ <!--<customer-file v-ref:file :selectdata="selectdata"></customer-file>-->
34
+ </tab>
35
+ <!--<tab header='设备新增' v-if="flagg">-->
36
+ <!--<equipment-message v-ref:equipment :selectdata="selectdata"-->
37
+ <!--:edit = "true">-->
38
+ <!--</equipment-message>-->
39
+ <!--</tab>-->
40
+ <!-- <tab header='设备管理' v-if="flagg">
41
+ <customer-record-message v-ref:record :selectdata="selectdata" :key="tittle3"></customer-record-message>
42
+ </tab>-->
43
+ </tabset>
44
+ </div>
45
+ <div class="col-sm-2" v-show="showbasic" >
46
+ <history_control v-ref:binfo :selectdata="selectdata"></history_control>
47
+ </div>
48
+ </div>
49
+ </div>
50
+ </template>
51
+ <script>
52
+ import Vue from 'vue'
53
+ import {HttpResetClass} from 'vue-client'
54
+ export default {
55
+ title: '工程管理',
56
+ data() {
57
+ return {
58
+ flagg: false,
59
+ show: true,
60
+ showbasic: false,
61
+ showtotal: false,
62
+ header: null,
63
+ selectdata: {},
64
+ botheight: '0%',
65
+ topheight: '100%',
66
+ tittle1:'户档案管理',
67
+ tittle2:'表档案管理',
68
+ tittle3:'设备管理',
69
+ f_process_id: ''
70
+ }
71
+ },
72
+
73
+ events: {
74
+ 'addactive'() {
75
+ this.$refs.queryuser.$refs.cp.$refs.cri.search()
76
+ this.hidden()
77
+ this.showbasic = true
78
+ this.topheight = '8%'
79
+ this.botheight = '82%'
80
+ },
81
+ 'changeheight'() {
82
+ this.show = true
83
+ this.botheight = '0%'
84
+ },
85
+ 'check'(val) {
86
+ this.selectdata = null
87
+ this.selectdata = val
88
+ this.f_process_id = this.selectdata.f_process_id
89
+
90
+ console.log(val)
91
+ //如果点击后未结余金额不为0,不允许下发f_unaccounts_money
92
+ console.log("当前的流程标识",this.selectdata.f_process_id)
93
+ console.log("节点编号:"+this.selectdata.actdefid,"节点名称:"+this.selectdata.defname)
94
+ this.topheight = '8%'
95
+ this.botheight = '82%'
96
+ this.$refs.queryuser.$refs.cp.$refs.grid.model.rows = [val]
97
+ this.$refs.queryuser.$refs.cp.pager = false
98
+ this.showbasic = true
99
+ this.header = val.defname
100
+ this.hidden()
101
+ this.$refs.service.refurbish(val)
102
+ },
103
+ 'selfsearch'() {
104
+ this.$refs.queryuser.$refs.cp.$refs.cri.search()
105
+ },
106
+ 'close'() {
107
+ this.showtotal = false
108
+ this.topheight = '100%'
109
+ this.botheight = '0%'
110
+ this.$refs.queryuser.$refs.cp.pager = true
111
+ this.$refs.queryuser.$refs.cp.$refs.cri.search()
112
+ }
113
+ },
114
+ methods: {
115
+ hidden() {
116
+ this.showtotal = true
117
+ },
118
+ close() {
119
+ this.hidden()
120
+ this.topheight = '100%'
121
+ this.botheight = '0%'
122
+ }
123
+ },
124
+ async ready(){
125
+ },
126
+ watch: {
127
+ 'selectdata'(val) {
128
+ console.log('selectdata:', val)
129
+ },
130
+ 'selectdata.f_customer_type'() {
131
+ if (this.selectdata.f_customer_type == '企业') {
132
+ this.flagg = true
133
+ }
134
+ }
135
+ }
136
+ }
137
+ </script>
@@ -1,130 +1,132 @@
1
- <template>
2
- <div class="col-sm-12" style="overflow:auto;">
3
- <div class="tops" v-bind:style="{ height: topheight }">
4
- <engineer-list v-ref:queryuser></engineer-list>
5
- </div>
6
- <div v-show="showtotal" v-bind:style="{ height: botheight }">
7
- <div class="col-sm-2" v-show="showbasic">
8
- <supervisory-chart :selectdata="selectdata"></supervisory-chart>
9
- </div>
10
- <div class="col-sm-9">
11
- <tabset v-ref:tabs :close="false">
12
- <tab :header='header'>
13
- <engineer-service-control :selectdata="selectdata" ></engineer-service-control>
14
- </tab>
15
- <!-- <tab header='档案信息'>
16
- <record-message v-ref:record :selectdata="selectdata" :key="tittle1" :edit = "false"></record-message>
17
- </tab>-->
18
- <tab header='附件'>
19
- <engineer-upload v-ref:file :blodid = "selectdata.f_process_id" :isusetype = "true" :isremark = "true" :defname="selectdata.defname"></engineer-upload>
20
- <!--
21
- <upload v-ref:file :blodid = "selectdata.f_process_id" :isusetype = "false" :isremark ="true"
22
- :isupload = "true"
23
- :takeimg = "true"
24
- :edit = "false">
25
- </upload>-->
26
- </tab>
27
- </tabset>
28
- </div>
29
- </div>
30
- </div>
31
- </template>
32
- <script>
33
- import Vue from 'vue'
34
- import {HttpResetClass} from 'vue-client'
35
- export default {
36
- title: '工程流程监控',
37
- props: [ 'defname'],
38
- data() {
39
- return {
40
- flagl:false,
41
- flagg: false,
42
- showbasic: false,
43
- showtotal: false,
44
- header: null,
45
- selectdata: {},
46
- botheight: '0%',
47
- topheight: '100%',
48
- tittle1:'户档案管理',
49
- tittle2:'表档案管理',
50
- tittle3:'设备管理',
51
- info: '流程监控'
52
- }
53
- },
54
- created(){
55
- let http = new HttpResetClass()
56
- http.load('POST','rs/logic/ApplyGetConfigs', {data:this.$login.f}, {resolveMsg: null, rejectMsg: null}
57
- ).then((res)=>{
58
- if(res.data.code && res.data.code == 200){
59
- Vue.supervisory_vue = Vue.prototype.$supervisory_vue = res.data.workflow_vue
60
- }else{
61
- this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
62
- return
63
- }
64
- })
65
- console.log("$supervisory_vue:"+JSON.stringify(this.$supervisory_vue))
66
- },
67
- events: {
68
- 'addactive'() {
69
- this.$refs.queryuser.$refs.cp.$refs.cri.search()
70
- this.hidden()
71
- this.showbasic = true
72
- this.topheight = '20%'
73
- this.botheight = '80%'
74
- },
75
- 'changeheight'() {
76
- this.show = false
77
- this.botheight = '0%'
78
- },
79
- 'check'(val) {
80
- this.selectdata = ''
81
- this.selectdata = val
82
- console.log("节点编号:"+this.selectdata.actdefid,"节点名称:"+this.selectdata.defname)
83
- this.topheight = '20%'
84
- this.botheight = '80%'
85
- this.$refs.queryuser.$refs.cp.$refs.grid.model.rows = [val]
86
- this.$refs.queryuser.$refs.cp.pager = false
87
- this.showbasic = true
88
- let msg = val.defname
89
- this.header = msg
90
- this.hidden()
91
- },
92
- 'selfsearch'() {
93
- this.$refs.queryuser.$refs.cp.$refs.cri.search()
94
- },
95
- 'close'() {
96
- this.hidden()
97
- this.showtotal = false
98
- this.topheight = '100%'
99
- this.botheight = '0%'
100
- this.$refs.queryuser.$refs.cp.pager = true
101
- }
102
- },
103
- methods: {
104
- hidden() {
105
- this.showtotal = true
106
- },
107
- close() {
108
- this.hidden()
109
- this.topheight = '100%'
110
- this.botheight = '0%'
111
- }
112
- },
113
- watch: {
114
- 'selectdata'(val) {
115
- console.log('selectdata:', val)
116
- },
117
- 'selectdata.f_customer_type'() {
118
- if (this.selectdata.f_customer_type == '企业') {
119
- this.flagg = true
120
- }
121
- },
122
- 'selectdata.f_apply_type'() {
123
- if (this.selectdata.f_apply_type=="集体报建" || this.selectdata.f_apply_type=="集体报建流程") {
124
- this.flagl = true
125
- }
126
- }
127
- },
128
-
129
- }
130
- </script>
1
+ <template>
2
+ <div class="col-sm-12" style="overflow:auto;">
3
+ <div class="tops" v-bind:style="{ height: topheight }">
4
+ <engineer-list v-ref:queryuser></engineer-list>
5
+ </div>
6
+ <div v-show="showtotal" v-bind:style="{ height: botheight }">
7
+ <div class="col-sm-2" v-show="showbasic">
8
+ <supervisory-chart :selectdata="selectdata"></supervisory-chart>
9
+ </div>
10
+ <div class="col-sm-9">
11
+ <tabset v-ref:tabs :close="false">
12
+ <tab :header='header'>
13
+ <engineer-service-control :selectdata="selectdata" ></engineer-service-control>
14
+ </tab>
15
+ <!-- <tab header='档案信息'>
16
+ <record-message v-ref:record :selectdata="selectdata" :key="tittle1" :edit = "false"></record-message>
17
+ </tab>-->
18
+ <tab header='附件'>
19
+ <engineer-upload v-ref:file :blodid = "selectdata.f_process_id" :isusetype = "true" :isremark = "true" :defname="selectdata.defname"></engineer-upload>
20
+ <!--
21
+ <upload v-ref:file :blodid = "selectdata.f_process_id" :isusetype = "false" :isremark ="true"
22
+ :isupload = "true"
23
+ :takeimg = "true"
24
+ :edit = "false">
25
+ </upload>-->
26
+ </tab>
27
+ <tab header='APP附件'>
28
+ <apply-upload :appupload="selectdata" :blodid="selectdata.f_process_id"></apply-upload> </tab>
29
+ </tabset>
30
+ </div>
31
+ </div>
32
+ </div>
33
+ </template>
34
+ <script>
35
+ import Vue from 'vue'
36
+ import {HttpResetClass} from 'vue-client'
37
+ export default {
38
+ title: '工程流程监控',
39
+ props: [ 'defname'],
40
+ data() {
41
+ return {
42
+ flagl:false,
43
+ flagg: false,
44
+ showbasic: false,
45
+ showtotal: false,
46
+ header: null,
47
+ selectdata: {},
48
+ botheight: '0%',
49
+ topheight: '100%',
50
+ tittle1:'户档案管理',
51
+ tittle2:'表档案管理',
52
+ tittle3:'设备管理',
53
+ info: '流程监控'
54
+ }
55
+ },
56
+ created(){
57
+ let http = new HttpResetClass()
58
+ http.load('POST','rs/logic/ApplyGetConfigs', {data:this.$login.f}, {resolveMsg: null, rejectMsg: null}
59
+ ).then((res)=>{
60
+ if(res.data.code && res.data.code == 200){
61
+ Vue.supervisory_vue = Vue.prototype.$supervisory_vue = res.data.workflow_vue
62
+ }else{
63
+ this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
64
+ return
65
+ }
66
+ })
67
+ console.log("$supervisory_vue:"+JSON.stringify(this.$supervisory_vue))
68
+ },
69
+ events: {
70
+ 'addactive'() {
71
+ this.$refs.queryuser.$refs.cp.$refs.cri.search()
72
+ this.hidden()
73
+ this.showbasic = true
74
+ this.topheight = '20%'
75
+ this.botheight = '80%'
76
+ },
77
+ 'changeheight'() {
78
+ this.show = false
79
+ this.botheight = '0%'
80
+ },
81
+ 'check'(val) {
82
+ this.selectdata = ''
83
+ this.selectdata = val
84
+ console.log("节点编号:"+this.selectdata.actdefid,"节点名称:"+this.selectdata.defname)
85
+ this.topheight = '20%'
86
+ this.botheight = '80%'
87
+ this.$refs.queryuser.$refs.cp.$refs.grid.model.rows = [val]
88
+ this.$refs.queryuser.$refs.cp.pager = false
89
+ this.showbasic = true
90
+ let msg = val.defname
91
+ this.header = msg
92
+ this.hidden()
93
+ },
94
+ 'selfsearch'() {
95
+ this.$refs.queryuser.$refs.cp.$refs.cri.search()
96
+ },
97
+ 'close'() {
98
+ this.hidden()
99
+ this.showtotal = false
100
+ this.topheight = '100%'
101
+ this.botheight = '0%'
102
+ this.$refs.queryuser.$refs.cp.pager = true
103
+ }
104
+ },
105
+ methods: {
106
+ hidden() {
107
+ this.showtotal = true
108
+ },
109
+ close() {
110
+ this.hidden()
111
+ this.topheight = '100%'
112
+ this.botheight = '0%'
113
+ }
114
+ },
115
+ watch: {
116
+ 'selectdata'(val) {
117
+ console.log('selectdata:', val)
118
+ },
119
+ 'selectdata.f_customer_type'() {
120
+ if (this.selectdata.f_customer_type == '企业') {
121
+ this.flagg = true
122
+ }
123
+ },
124
+ 'selectdata.f_apply_type'() {
125
+ if (this.selectdata.f_apply_type=="集体报建" || this.selectdata.f_apply_type=="集体报建流程") {
126
+ this.flagl = true
127
+ }
128
+ }
129
+ },
130
+
131
+ }
132
+ </script>