apply-clients 3.5.5-71 → 3.5.5-73
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.
- package/build/dev-server.js +2 -2
- package/package.json +1 -1
- package/src/App.vue +25 -25
- package/src/components/product/Install/ContractCharge.vue +210 -210
- package/src/filiale/yangchunboneng/android/AppContractCharge.vue +210 -210
- package/src/filiale/yangchunboneng/android/AppServiceControl.vue +2 -0
- package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +392 -392
- package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2 -0
- package/src/filiale/yangchunboneng/pc/SupervisoryControl.vue +141 -0
- package/src/filiale/yangchunboneng/pc.js +29 -28
- package/src/main.js +23 -23
|
@@ -0,0 +1,141 @@
|
|
|
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" style="margin-top: 20px">
|
|
9
|
+
<supervisory-chart :selectdata="selectdata"></supervisory-chart>
|
|
10
|
+
</div>
|
|
11
|
+
<div class="col-sm-10" style="margin-top: 20px">
|
|
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
|
+
:pblobid="selectdata.f_parent_process_id"
|
|
19
|
+
:isupload = "true"
|
|
20
|
+
:isdelete="true"
|
|
21
|
+
:isusetype="true"
|
|
22
|
+
:isremark = "true"
|
|
23
|
+
:takeimg="false"
|
|
24
|
+
:issearch="true"
|
|
25
|
+
:defname="selectdata.defname">
|
|
26
|
+
</apply-upload>
|
|
27
|
+
</tab>
|
|
28
|
+
</tabset>
|
|
29
|
+
</div>
|
|
30
|
+
<div style="height: 1%">
|
|
31
|
+
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
|
|
37
|
+
</template>
|
|
38
|
+
<script>
|
|
39
|
+
import Vue from 'vue'
|
|
40
|
+
import {HttpResetClass} from 'vue-client'
|
|
41
|
+
export default {
|
|
42
|
+
title: '流程监控',
|
|
43
|
+
data () {
|
|
44
|
+
return {
|
|
45
|
+
showtotal: false, // 控制详细信息显示
|
|
46
|
+
showData: true,
|
|
47
|
+
selectdata: {},
|
|
48
|
+
xmlname: '' // 配置文件名称
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
created () {
|
|
52
|
+
},
|
|
53
|
+
methods: {
|
|
54
|
+
// 获取页面配置json文件
|
|
55
|
+
async loadName () {
|
|
56
|
+
let data = {
|
|
57
|
+
workname: this.selectdata.processname
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
let res = await this.$resetpost(
|
|
61
|
+
'rs/logic/ApplyGetConfigs',
|
|
62
|
+
{data: data},
|
|
63
|
+
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
|
|
64
|
+
)
|
|
65
|
+
|
|
66
|
+
Vue.prototype.$workflow_vue = res.data
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
events: {
|
|
70
|
+
// 刷新控制层
|
|
71
|
+
async 'breakControl' (servicedata) {
|
|
72
|
+
|
|
73
|
+
if (servicedata.id) {
|
|
74
|
+
let data = {
|
|
75
|
+
condition: `u.id = ${servicedata.id}`,
|
|
76
|
+
data: {
|
|
77
|
+
orgid: this.$login.f.orgid
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
let res = await this.$resetpost(
|
|
81
|
+
'rs/sql/supervisory',
|
|
82
|
+
{data: data},
|
|
83
|
+
{resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
|
|
84
|
+
)
|
|
85
|
+
this.selectdata = Object.assign({}, this.selectdata, res.data[0])
|
|
86
|
+
} else {
|
|
87
|
+
this.selectdata = servicedata
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
this.showtotal = false
|
|
91
|
+
this.$nextTick(() => {
|
|
92
|
+
this.showtotal = true
|
|
93
|
+
})
|
|
94
|
+
|
|
95
|
+
},
|
|
96
|
+
'onMessage' (data) {
|
|
97
|
+
console.log('接收消息')
|
|
98
|
+
console.log(data)
|
|
99
|
+
if (data.type === 'apply-task') {
|
|
100
|
+
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
async 'apply' (val) {
|
|
104
|
+
this.selectdata = null
|
|
105
|
+
this.selectdata = val
|
|
106
|
+
this.showtotal = false
|
|
107
|
+
|
|
108
|
+
// 获取配置文件
|
|
109
|
+
await this.loadName()
|
|
110
|
+
|
|
111
|
+
this.$refs.query.$refs.cp.pager = false
|
|
112
|
+
this.showData = false
|
|
113
|
+
|
|
114
|
+
this.showtotal = true
|
|
115
|
+
},
|
|
116
|
+
'search' () {
|
|
117
|
+
// 关闭详细
|
|
118
|
+
this.showtotal = false
|
|
119
|
+
// 显示列表数据
|
|
120
|
+
this.showData = true
|
|
121
|
+
// 显示分页
|
|
122
|
+
this.$refs.query.$refs.cp.pager = true
|
|
123
|
+
// 调用查询
|
|
124
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
125
|
+
},
|
|
126
|
+
'loadPage' () {
|
|
127
|
+
// 关闭详细
|
|
128
|
+
this.showtotal = false
|
|
129
|
+
// 显示列表数据
|
|
130
|
+
this.showData = true
|
|
131
|
+
// 显示分页
|
|
132
|
+
this.$refs.query.$refs.cp.pager = true
|
|
133
|
+
// 调用查询
|
|
134
|
+
this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
|
|
138
|
+
watch: {
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
</script>
|
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
|
|
3
|
-
let specialComp = {
|
|
4
|
-
'exploration-user': (resolve) => { require(['./pc/ExplorationUser.vue'], resolve) },
|
|
5
|
-
'exploration-select': (resolve) => { require(['./pc/ExplorationSelect.vue'], resolve) },
|
|
6
|
-
'service-control': (resolve) => { require(['./pc/ServiceControl.vue'], resolve) },
|
|
7
|
-
'apply-charge-management': (resolve) => { require(['./pc/chargeManagement.vue'], resolve) },
|
|
8
|
-
'file-upload': (resolve) => { require(['./pc/FileUpload.vue'], resolve) },
|
|
9
|
-
'apply-upload': (resolve) => { require(['./pc/ApplyUpload.vue'], resolve) },
|
|
10
|
-
'installinfoselect': (resolve) => { require(['./pc/InstallInfoSelect.vue'], resolve) },
|
|
11
|
-
'installation-details': (resolve) => { require(['./pc/InstallationDetails.vue'], resolve) },
|
|
12
|
-
'apply-charge-list': (resolve) => { require(['./pc/ApplyChargeList.vue'], resolve) },
|
|
13
|
-
'add-material-science': (resolve) => { require(['./pc/addMaterialScience.vue'], resolve) },
|
|
14
|
-
'apply-devices-management': (resolve) => { require(['./pc/devicesManagement.vue'], resolve) },
|
|
15
|
-
'service-view': (resolve) => { require(['./pc/ServiceView.vue'], resolve) },
|
|
16
|
-
'supervisory-service-view': (resolve) => { require(['./pc/SupervisoryServiceView'], resolve) },
|
|
17
|
-
'other-charge-management': (resolve) => { require(['./pc/otherchargeManagement.vue'], resolve) },
|
|
18
|
-
'supervisory-service-control': (resolve) => { require(['./pc/SupervisoryServiceControl'], resolve) },
|
|
19
|
-
'supervisory-service-control-new': (resolve) => { require(['./pc/SupervisoryServiceControlNew'], resolve) },
|
|
20
|
-
'supervisory-list': (resolve) => { require(['./pc/SupervisoryList.vue'], resolve) },
|
|
21
|
-
'supervisory-list-new': (resolve) => { require(['./pc/SupervisoryListNew.vue'], resolve) },
|
|
22
|
-
'stop-apply-list': (resolve) => { require(['./pc/StopApplyList.vue'], resolve) },
|
|
23
|
-
'supervisory-control-new': (resolve) => { require(['./pc/SupervisoryControlNew'], resolve) },
|
|
24
|
-
'
|
|
25
|
-
'
|
|
26
|
-
'
|
|
27
|
-
}
|
|
28
|
-
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
|
|
3
|
+
let specialComp = {
|
|
4
|
+
'exploration-user': (resolve) => { require(['./pc/ExplorationUser.vue'], resolve) },
|
|
5
|
+
'exploration-select': (resolve) => { require(['./pc/ExplorationSelect.vue'], resolve) },
|
|
6
|
+
'service-control': (resolve) => { require(['./pc/ServiceControl.vue'], resolve) },
|
|
7
|
+
'apply-charge-management': (resolve) => { require(['./pc/chargeManagement.vue'], resolve) },
|
|
8
|
+
'file-upload': (resolve) => { require(['./pc/FileUpload.vue'], resolve) },
|
|
9
|
+
'apply-upload': (resolve) => { require(['./pc/ApplyUpload.vue'], resolve) },
|
|
10
|
+
'installinfoselect': (resolve) => { require(['./pc/InstallInfoSelect.vue'], resolve) },
|
|
11
|
+
'installation-details': (resolve) => { require(['./pc/InstallationDetails.vue'], resolve) },
|
|
12
|
+
'apply-charge-list': (resolve) => { require(['./pc/ApplyChargeList.vue'], resolve) },
|
|
13
|
+
'add-material-science': (resolve) => { require(['./pc/addMaterialScience.vue'], resolve) },
|
|
14
|
+
'apply-devices-management': (resolve) => { require(['./pc/devicesManagement.vue'], resolve) },
|
|
15
|
+
'service-view': (resolve) => { require(['./pc/ServiceView.vue'], resolve) },
|
|
16
|
+
'supervisory-service-view': (resolve) => { require(['./pc/SupervisoryServiceView'], resolve) },
|
|
17
|
+
'other-charge-management': (resolve) => { require(['./pc/otherchargeManagement.vue'], resolve) },
|
|
18
|
+
'supervisory-service-control': (resolve) => { require(['./pc/SupervisoryServiceControl'], resolve) },
|
|
19
|
+
'supervisory-service-control-new': (resolve) => { require(['./pc/SupervisoryServiceControlNew'], resolve) },
|
|
20
|
+
'supervisory-list': (resolve) => { require(['./pc/SupervisoryList.vue'], resolve) },
|
|
21
|
+
'supervisory-list-new': (resolve) => { require(['./pc/SupervisoryListNew.vue'], resolve) },
|
|
22
|
+
'stop-apply-list': (resolve) => { require(['./pc/StopApplyList.vue'], resolve) },
|
|
23
|
+
'supervisory-control-new': (resolve) => { require(['./pc/SupervisoryControlNew'], resolve) },
|
|
24
|
+
'supervisory-control': (resolve) => { require(['./pc/SupervisoryControl'], resolve) },
|
|
25
|
+
'build-order-list': (resolve) => { require(['./pc/buildOrderList'], resolve) },
|
|
26
|
+
'apply-construction-Info': (resolve) => { require(['./pc/constructionInfo'], resolve) },
|
|
27
|
+
'print-build-order': (resolve) => { require(['./pc/printBuildOrder'], resolve) }
|
|
28
|
+
}
|
|
29
|
+
exports.specialComp = specialComp
|
package/src/main.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import App from './App'
|
|
3
|
-
import { all } from 'vue-client'
|
|
4
|
-
import {ldap} from 'ldap-clients'
|
|
5
|
-
import {system} from 'system-clients'
|
|
6
|
-
import {sale} from 'sale-client'
|
|
7
|
-
import {material} from 'material-client'
|
|
8
|
-
|
|
9
|
-
import apply from './apply'
|
|
10
|
-
|
|
11
|
-
all()
|
|
12
|
-
apply('
|
|
13
|
-
ldap()
|
|
14
|
-
sale('qianneng')
|
|
15
|
-
material()
|
|
16
|
-
system(false, 'qianneng')
|
|
17
|
-
|
|
18
|
-
require('system-clients/src/styles/less/bootstrap.less')
|
|
19
|
-
require('./expandcss.less')
|
|
20
|
-
new Vue({
|
|
21
|
-
el: 'body',
|
|
22
|
-
components: { App }
|
|
23
|
-
})
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import App from './App'
|
|
3
|
+
import { all } from 'vue-client'
|
|
4
|
+
import {ldap} from 'ldap-clients'
|
|
5
|
+
import {system} from 'system-clients'
|
|
6
|
+
import {sale} from 'sale-client'
|
|
7
|
+
import {material} from 'material-client'
|
|
8
|
+
|
|
9
|
+
import apply from './apply'
|
|
10
|
+
|
|
11
|
+
all()
|
|
12
|
+
apply('yangchunboneng')
|
|
13
|
+
ldap()
|
|
14
|
+
sale('qianneng')
|
|
15
|
+
material()
|
|
16
|
+
system(false, 'qianneng')
|
|
17
|
+
|
|
18
|
+
require('system-clients/src/styles/less/bootstrap.less')
|
|
19
|
+
require('./expandcss.less')
|
|
20
|
+
new Vue({
|
|
21
|
+
el: 'body',
|
|
22
|
+
components: { App }
|
|
23
|
+
})
|