apply-clients 5.0.35-74 → 5.0.35-77

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>