apply-clients 3.4.2 → 3.4.3
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/android.html +23 -23
- package/build/dev-server.js +119 -119
- package/build/webpack.base.conf.js +2 -1
- package/build/webpack.dev.conf.js +12 -0
- package/dingding.html +23 -0
- package/index.html +33 -33
- package/package.json +2 -1
- package/src/AndroidApp.vue +35 -35
- package/src/DingDingApp.vue +51 -0
- package/src/android.js +21 -21
- package/src/apply.js +7 -1
- package/src/applyAndroid.js +32 -32
- package/src/applyDingDing.js +12 -0
- package/src/components/android/AppOnetomany.vue +301 -301
- package/src/components/android/AppServiceView.vue +566 -566
- package/src/components/android/AppSign.vue +142 -142
- package/src/components/android/AppTakePic.vue +143 -143
- package/src/components/android/Process/AppExplorationUser.vue +320 -320
- package/src/components/android/Process/AppServiceControl.vue +757 -757
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +456 -456
- package/src/components/android/ProgressReport/ProgressReportDetail.vue +64 -64
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +121 -121
- package/src/components/android/TaskGraph.vue +125 -125
- package/src/components/product/Business/BusinessApply.vue +269 -0
- package/src/components/product/Business/CivilApply.vue +269 -0
- package/src/components/product/Function/InstallFunction.vue +131 -125
- package/src/components/product/Function/InstallInfoSelect.vue +300 -292
- package/src/components/product/Function/Service/FunctionServiceControl.vue +420 -222
- package/src/components/product/GroupByApply/ApplyGroupByList.vue +253 -0
- package/src/components/product/GroupByApply/ApplyGroupByMain.vue +53 -0
- package/src/components/product/GroupByApply/ApplyGroupByPaper.vue +376 -0
- package/src/components/product/Material/MaterialDetailed.vue +262 -0
- package/src/components/product/Onetomany.vue +377 -377
- package/src/components/product/Print/BuildOrder/buildOrderList.vue +339 -0
- package/src/components/product/Print/BuildOrder/printBuildOrder.vue +157 -0
- package/src/components/product/Print/IgnitionBill/IgnitionBill.vue +259 -0
- package/src/components/product/Print/IgnitionBill/printIgnitionBill.vue +168 -0
- package/src/components/product/Process/ExplorationSelect.vue +7 -0
- package/src/components/product/Process/ExplorationUser.vue +138 -138
- package/src/components/product/Process/Processes/InstallationDetails.vue +592 -592
- package/src/components/product/Process/Processes/Print/printCharge.vue +142 -142
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +207 -207
- package/src/components/product/Process/Processes/chargeManagement.vue +638 -639
- package/src/components/product/Process/Service/ServiceControl.vue +10 -10
- package/src/components/product/Process/Service/ShowBackReason.vue +33 -33
- package/src/components/product/ServiceView.vue +631 -631
- package/src/components/product/Stop/StopApply.vue +105 -103
- package/src/components/product/Stop/StopApplyList.vue +269 -269
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +186 -186
- package/src/components/product/Supervisory/SupervisoryControl.vue +100 -100
- package/src/components/product/Supervisory/SupervisoryList.vue +233 -233
- package/src/components/product/Supervisory/SupervisoryhCart.vue +107 -107
- package/src/components/product/VueUtils/ApplyUpload.vue +273 -273
- package/src/components/product/VueUtils/HighMeter.vue +208 -208
- package/src/dingding.js +19 -0
- package/src/expandcssAndroid.less +1034 -1034
- package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +735 -731
- package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +824 -824
- package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetailsCivil.vue +650 -650
- package/src/filiale/yuchuan/android/Sign/AppSignTask.vue +182 -182
- package/src/filiale/yuchuan/android/Sign/BuildSign.vue +50 -50
- package/src/filiale/yuchuan/android/Sign/ConstructSign.vue +50 -50
- package/src/filiale/yuchuan/android/Sign/DesignSign.vue +50 -50
- package/src/filiale/yuchuan/android/Sign/SupervisorSign.vue +50 -50
- package/src/filiale/yuchuan/android/Task/Build/BuildTsak.vue +60 -60
- package/src/filiale/yuchuan/android/Task/Survey/SurveyTsak.vue +60 -60
- package/src/filiale/yuchuan/android.js +14 -14
- package/src/filiale/yuchuan/pc/Order/OrderApply.vue +528 -528
- package/src/filiale/yuchuan/pc/Order/OrderApplyList.vue +343 -343
- package/src/filiale/yuchuan/pc/Print/BuildOrder/buildOrderList.vue +264 -0
- package/src/filiale/yuchuan/pc/Print/BuildOrder/printBuildOrder.vue +152 -0
- package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +149 -149
- package/src/filiale/yuchuan/pc/Process/Processes/ApplyMapCom.vue +67 -67
- package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +809 -809
- package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetailsCivil.vue +595 -595
- package/src/filiale/yuchuan/pc/Process/Processes/Print/printCharge.vue +125 -0
- package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +621 -470
- package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +1108 -1074
- package/src/filiale/yuchuan/pc/Sign/SignRecord.vue +24 -0
- package/src/filiale/yuchuan/pc/Sign/SignRecordList.vue +174 -0
- package/src/filiale/yuchuan/pc.js +20 -12
- package/src/main.js +1 -1
- package/src/components/product/Function/StopApplyCrrdList.vue +0 -176
- package/src/components/product/Function/functions/ApplyRecordCancel.vue +0 -102
- package/src/components/product/Function/functions/StopInstall.vue +0 -106
|
@@ -1,186 +1,186 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="auto clearfix">
|
|
3
|
-
<show-back-reason :selectdata="show_data"></show-back-reason>
|
|
4
|
-
</div>
|
|
5
|
-
<service-view v-ref:service_show :data="show_data" v-if="showview"></service-view>
|
|
6
|
-
</template>
|
|
7
|
-
<script>
|
|
8
|
-
import Vue from 'vue'
|
|
9
|
-
import {HttpResetClass} from 'vue-client'
|
|
10
|
-
// Date格式化
|
|
11
|
-
Date.prototype.Format = function (fmt) {
|
|
12
|
-
var o = {
|
|
13
|
-
'M+': this.getMonth() + 1, // 月份
|
|
14
|
-
'd+': this.getDate(), // 日
|
|
15
|
-
'H+': this.getHours(), // 小时
|
|
16
|
-
'm+': this.getMinutes(), // 分
|
|
17
|
-
's+': this.getSeconds(), // 秒
|
|
18
|
-
'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
|
|
19
|
-
'S': this.getMilliseconds() // 毫秒
|
|
20
|
-
}
|
|
21
|
-
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
|
|
22
|
-
for (var k in o) {
|
|
23
|
-
if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
|
|
24
|
-
}
|
|
25
|
-
return fmt
|
|
26
|
-
}
|
|
27
|
-
export default {
|
|
28
|
-
title: '报建监控控制层',
|
|
29
|
-
props: {
|
|
30
|
-
selectdata: {
|
|
31
|
-
type: Object
|
|
32
|
-
},
|
|
33
|
-
nodeSnapshot: {
|
|
34
|
-
type: Boolean,
|
|
35
|
-
default: false
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
data() {
|
|
39
|
-
return {
|
|
40
|
-
data: null, // 展示的数据
|
|
41
|
-
json_datas: null, // json配置数据结构
|
|
42
|
-
showview: false, // 控制显示层显示
|
|
43
|
-
show_data: null
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
created () {
|
|
47
|
-
this.refurbish()
|
|
48
|
-
},
|
|
49
|
-
methods: {
|
|
50
|
-
// 初始化模块
|
|
51
|
-
async refurbish() {
|
|
52
|
-
this.json_datas = this.$workflow_vue
|
|
53
|
-
let sum = 0
|
|
54
|
-
let jsonData = {}
|
|
55
|
-
if (!this.json_datas || !this.json_datas.activitys || this.json_datas.activitys.length === 0) {
|
|
56
|
-
this.$showMessage("网络故障,请刷新页面")
|
|
57
|
-
return
|
|
58
|
-
}
|
|
59
|
-
this.json_datas.activitys.forEach(item => {
|
|
60
|
-
if (this.selectdata.defname === item.title) {
|
|
61
|
-
jsonData = item // 拿到当前节点的json配置信息
|
|
62
|
-
sum++ // 节点名一样的个数
|
|
63
|
-
}
|
|
64
|
-
return this.selectdata.defname === item.title // 拿到当前节点的json配置信息
|
|
65
|
-
})
|
|
66
|
-
if (sum === 0) {
|
|
67
|
-
this.$showMessage(`没有在JSON配置文件中找到活动名为:(${this.selectdata.defname})的节点配置`)
|
|
68
|
-
return
|
|
69
|
-
}
|
|
70
|
-
if (sum > 1) {
|
|
71
|
-
this.$showMessage(`在JSON配置文件中找到活动名为:(${this.selectdata.defname})的节点配置:${sum}个`)
|
|
72
|
-
return
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
this.data = null
|
|
76
|
-
this.data = jsonData
|
|
77
|
-
this.data = Object.assign({}, this.data, this.selectdata)
|
|
78
|
-
|
|
79
|
-
// fields 字段填充值
|
|
80
|
-
this.data.fields.forEach(item => {
|
|
81
|
-
if (this.selectdata[item.field]) {
|
|
82
|
-
item.value = this.selectdata[item.field]
|
|
83
|
-
}
|
|
84
|
-
if (this.selectdata[item.field] === 0) {
|
|
85
|
-
item.value = 0
|
|
86
|
-
}
|
|
87
|
-
item.readonly = true
|
|
88
|
-
item.disabled = true
|
|
89
|
-
})
|
|
90
|
-
|
|
91
|
-
// 控制组件
|
|
92
|
-
if (this.data.components) {
|
|
93
|
-
this.data.components.forEach(item => {
|
|
94
|
-
item.mark = 1
|
|
95
|
-
})
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// onetomany 数据获取
|
|
99
|
-
if (this.data.onetomany) {
|
|
100
|
-
for (const item of this.data.onetomany) {
|
|
101
|
-
let res = null
|
|
102
|
-
if (item.queryEvent) {
|
|
103
|
-
res = this[item.queryEvent]()
|
|
104
|
-
} else {
|
|
105
|
-
let data = {
|
|
106
|
-
tablename: item.tables[0],
|
|
107
|
-
condition: `f_process_id='${this.selectdata.f_process_id}'`
|
|
108
|
-
}
|
|
109
|
-
res = await this.$resetpost(
|
|
110
|
-
'rs/sql/singleTable',
|
|
111
|
-
{data: data},
|
|
112
|
-
{resolveMsg: null, rejectMsg: 'onetomany查询失败'}
|
|
113
|
-
)
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
item.rows = res.data
|
|
117
|
-
|
|
118
|
-
// 隐藏所有操作
|
|
119
|
-
item.hiddenOperate = true
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
// 去除button
|
|
124
|
-
this.data.buttons = null
|
|
125
|
-
|
|
126
|
-
// 完成时间和完成人,部门,分公司
|
|
127
|
-
if (this.selectdata.state === '结束') {
|
|
128
|
-
let http = new HttpResetClass()
|
|
129
|
-
let res = await http.load('POST', 'rs/search', {
|
|
130
|
-
source: 'this.getInfo()',
|
|
131
|
-
userid: this.selectdata.userid
|
|
132
|
-
}, {resolveMsg: null, rejectMsg: null})
|
|
133
|
-
let user = res.data
|
|
134
|
-
this.data.operate_date = new Date(this.selectdata.finishtime).Format('yyyy-MM-dd')
|
|
135
|
-
this.data.operator = this.selectdata.person
|
|
136
|
-
this.data.orgs = user.orgs
|
|
137
|
-
this.data.parentname = user.deps
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
// 消除双向绑定,避免子组件(显示层)数据更改,父组件(控制层)也更改
|
|
141
|
-
let temp = JSON.parse(JSON.stringify(this.data))
|
|
142
|
-
|
|
143
|
-
this.show_data = temp
|
|
144
|
-
this.$nextTick(() => {
|
|
145
|
-
this.showview = true
|
|
146
|
-
})
|
|
147
|
-
},
|
|
148
|
-
// json配置数据处理
|
|
149
|
-
async initializtion() {
|
|
150
|
-
// 查询是否有当前节点快照信息,如果有使用快照数据,没有则展示最新数据
|
|
151
|
-
if (this.nodeSnapshot && this.data.nodeSnapshot) {
|
|
152
|
-
let http = new HttpResetClass()
|
|
153
|
-
let data = {
|
|
154
|
-
tablename: 't_node_snapshot',
|
|
155
|
-
condition: `actid = '${this.selectdata.actid}' and f_process_id='${this.selectdata.f_process_id}'`
|
|
156
|
-
}
|
|
157
|
-
let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
|
|
158
|
-
resolveMsg: null,
|
|
159
|
-
rejectMsg: null
|
|
160
|
-
})
|
|
161
|
-
if (res.data.length > 0) {
|
|
162
|
-
data = JSON.parse(res.data[0].f_node_data)
|
|
163
|
-
|
|
164
|
-
this.data.fields = data.fields
|
|
165
|
-
this.data.onetomany = data.onetomany
|
|
166
|
-
this.data.title = data.title
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
events:{
|
|
172
|
-
},
|
|
173
|
-
watch: {
|
|
174
|
-
deep: true
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
</script>
|
|
178
|
-
<style scoped>
|
|
179
|
-
/*清除model中的浮动*/
|
|
180
|
-
.clearfix:after,.clearfix:before{
|
|
181
|
-
display: table;
|
|
182
|
-
}
|
|
183
|
-
.clearfix:after{
|
|
184
|
-
clear: both;
|
|
185
|
-
}
|
|
186
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto clearfix">
|
|
3
|
+
<show-back-reason :selectdata="show_data"></show-back-reason>
|
|
4
|
+
</div>
|
|
5
|
+
<service-view v-ref:service_show :data="show_data" v-if="showview"></service-view>
|
|
6
|
+
</template>
|
|
7
|
+
<script>
|
|
8
|
+
import Vue from 'vue'
|
|
9
|
+
import {HttpResetClass} from 'vue-client'
|
|
10
|
+
// Date格式化
|
|
11
|
+
Date.prototype.Format = function (fmt) {
|
|
12
|
+
var o = {
|
|
13
|
+
'M+': this.getMonth() + 1, // 月份
|
|
14
|
+
'd+': this.getDate(), // 日
|
|
15
|
+
'H+': this.getHours(), // 小时
|
|
16
|
+
'm+': this.getMinutes(), // 分
|
|
17
|
+
's+': this.getSeconds(), // 秒
|
|
18
|
+
'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
|
|
19
|
+
'S': this.getMilliseconds() // 毫秒
|
|
20
|
+
}
|
|
21
|
+
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
|
|
22
|
+
for (var k in o) {
|
|
23
|
+
if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
|
|
24
|
+
}
|
|
25
|
+
return fmt
|
|
26
|
+
}
|
|
27
|
+
export default {
|
|
28
|
+
title: '报建监控控制层',
|
|
29
|
+
props: {
|
|
30
|
+
selectdata: {
|
|
31
|
+
type: Object
|
|
32
|
+
},
|
|
33
|
+
nodeSnapshot: {
|
|
34
|
+
type: Boolean,
|
|
35
|
+
default: false
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
data() {
|
|
39
|
+
return {
|
|
40
|
+
data: null, // 展示的数据
|
|
41
|
+
json_datas: null, // json配置数据结构
|
|
42
|
+
showview: false, // 控制显示层显示
|
|
43
|
+
show_data: null
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
created () {
|
|
47
|
+
this.refurbish()
|
|
48
|
+
},
|
|
49
|
+
methods: {
|
|
50
|
+
// 初始化模块
|
|
51
|
+
async refurbish() {
|
|
52
|
+
this.json_datas = this.$workflow_vue
|
|
53
|
+
let sum = 0
|
|
54
|
+
let jsonData = {}
|
|
55
|
+
if (!this.json_datas || !this.json_datas.activitys || this.json_datas.activitys.length === 0) {
|
|
56
|
+
this.$showMessage("网络故障,请刷新页面")
|
|
57
|
+
return
|
|
58
|
+
}
|
|
59
|
+
this.json_datas.activitys.forEach(item => {
|
|
60
|
+
if (this.selectdata.defname === item.title) {
|
|
61
|
+
jsonData = item // 拿到当前节点的json配置信息
|
|
62
|
+
sum++ // 节点名一样的个数
|
|
63
|
+
}
|
|
64
|
+
return this.selectdata.defname === item.title // 拿到当前节点的json配置信息
|
|
65
|
+
})
|
|
66
|
+
if (sum === 0) {
|
|
67
|
+
this.$showMessage(`没有在JSON配置文件中找到活动名为:(${this.selectdata.defname})的节点配置`)
|
|
68
|
+
return
|
|
69
|
+
}
|
|
70
|
+
if (sum > 1) {
|
|
71
|
+
this.$showMessage(`在JSON配置文件中找到活动名为:(${this.selectdata.defname})的节点配置:${sum}个`)
|
|
72
|
+
return
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
this.data = null
|
|
76
|
+
this.data = jsonData
|
|
77
|
+
this.data = Object.assign({}, this.data, this.selectdata)
|
|
78
|
+
|
|
79
|
+
// fields 字段填充值
|
|
80
|
+
this.data.fields.forEach(item => {
|
|
81
|
+
if (this.selectdata[item.field]) {
|
|
82
|
+
item.value = this.selectdata[item.field]
|
|
83
|
+
}
|
|
84
|
+
if (this.selectdata[item.field] === 0) {
|
|
85
|
+
item.value = 0
|
|
86
|
+
}
|
|
87
|
+
item.readonly = true
|
|
88
|
+
item.disabled = true
|
|
89
|
+
})
|
|
90
|
+
|
|
91
|
+
// 控制组件
|
|
92
|
+
if (this.data.components) {
|
|
93
|
+
this.data.components.forEach(item => {
|
|
94
|
+
item.mark = 1
|
|
95
|
+
})
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
// onetomany 数据获取
|
|
99
|
+
if (this.data.onetomany) {
|
|
100
|
+
for (const item of this.data.onetomany) {
|
|
101
|
+
let res = null
|
|
102
|
+
if (item.queryEvent) {
|
|
103
|
+
res = this[item.queryEvent]()
|
|
104
|
+
} else {
|
|
105
|
+
let data = {
|
|
106
|
+
tablename: item.tables[0],
|
|
107
|
+
condition: `f_process_id='${this.selectdata.f_process_id}'`
|
|
108
|
+
}
|
|
109
|
+
res = await this.$resetpost(
|
|
110
|
+
'rs/sql/singleTable',
|
|
111
|
+
{data: data},
|
|
112
|
+
{resolveMsg: null, rejectMsg: 'onetomany查询失败'}
|
|
113
|
+
)
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
item.rows = res.data
|
|
117
|
+
|
|
118
|
+
// 隐藏所有操作
|
|
119
|
+
item.hiddenOperate = true
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
// 去除button
|
|
124
|
+
this.data.buttons = null
|
|
125
|
+
|
|
126
|
+
// 完成时间和完成人,部门,分公司
|
|
127
|
+
if (this.selectdata.state === '结束') {
|
|
128
|
+
let http = new HttpResetClass()
|
|
129
|
+
let res = await http.load('POST', 'rs/search', {
|
|
130
|
+
source: 'this.getInfo()',
|
|
131
|
+
userid: this.selectdata.userid
|
|
132
|
+
}, {resolveMsg: null, rejectMsg: null})
|
|
133
|
+
let user = res.data
|
|
134
|
+
this.data.operate_date = new Date(this.selectdata.finishtime).Format('yyyy-MM-dd')
|
|
135
|
+
this.data.operator = this.selectdata.person
|
|
136
|
+
this.data.orgs = user.orgs
|
|
137
|
+
this.data.parentname = user.deps
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
// 消除双向绑定,避免子组件(显示层)数据更改,父组件(控制层)也更改
|
|
141
|
+
let temp = JSON.parse(JSON.stringify(this.data))
|
|
142
|
+
|
|
143
|
+
this.show_data = temp
|
|
144
|
+
this.$nextTick(() => {
|
|
145
|
+
this.showview = true
|
|
146
|
+
})
|
|
147
|
+
},
|
|
148
|
+
// json配置数据处理
|
|
149
|
+
async initializtion() {
|
|
150
|
+
// 查询是否有当前节点快照信息,如果有使用快照数据,没有则展示最新数据
|
|
151
|
+
if (this.nodeSnapshot && this.data.nodeSnapshot) {
|
|
152
|
+
let http = new HttpResetClass()
|
|
153
|
+
let data = {
|
|
154
|
+
tablename: 't_node_snapshot',
|
|
155
|
+
condition: `actid = '${this.selectdata.actid}' and f_process_id='${this.selectdata.f_process_id}'`
|
|
156
|
+
}
|
|
157
|
+
let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
|
|
158
|
+
resolveMsg: null,
|
|
159
|
+
rejectMsg: null
|
|
160
|
+
})
|
|
161
|
+
if (res.data.length > 0) {
|
|
162
|
+
data = JSON.parse(res.data[0].f_node_data)
|
|
163
|
+
|
|
164
|
+
this.data.fields = data.fields
|
|
165
|
+
this.data.onetomany = data.onetomany
|
|
166
|
+
this.data.title = data.title
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
events:{
|
|
172
|
+
},
|
|
173
|
+
watch: {
|
|
174
|
+
deep: true
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
</script>
|
|
178
|
+
<style scoped>
|
|
179
|
+
/*清除model中的浮动*/
|
|
180
|
+
.clearfix:after,.clearfix:before{
|
|
181
|
+
display: table;
|
|
182
|
+
}
|
|
183
|
+
.clearfix:after{
|
|
184
|
+
clear: both;
|
|
185
|
+
}
|
|
186
|
+
</style>
|
|
@@ -1,100 +1,100 @@
|
|
|
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
|
-
: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 data = {
|
|
53
|
-
workname: this.selectdata.processname
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
let res = await this.$resetpost(
|
|
57
|
-
'rs/logic/ApplyGetConfigs',
|
|
58
|
-
{data: data},
|
|
59
|
-
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
|
|
60
|
-
)
|
|
61
|
-
|
|
62
|
-
Vue.prototype.$workflow_vue = res.data
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
events: {
|
|
66
|
-
'onMessage' (data) {
|
|
67
|
-
console.log('接收消息')
|
|
68
|
-
console.log(data)
|
|
69
|
-
if (data.type === 'apply-task') {
|
|
70
|
-
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
async 'apply' (val) {
|
|
74
|
-
this.selectdata = val
|
|
75
|
-
this.showtotal = false
|
|
76
|
-
|
|
77
|
-
// 获取配置文件
|
|
78
|
-
await this.loadName()
|
|
79
|
-
|
|
80
|
-
this.$refs.query.$refs.cp.pager = false
|
|
81
|
-
this.showData = false
|
|
82
|
-
|
|
83
|
-
this.showtotal = true
|
|
84
|
-
},
|
|
85
|
-
'search' () {
|
|
86
|
-
// 关闭详细
|
|
87
|
-
this.showtotal = false
|
|
88
|
-
// 显示列表数据
|
|
89
|
-
this.showData = true
|
|
90
|
-
// 显示分页
|
|
91
|
-
this.$refs.query.$refs.cp.pager = true
|
|
92
|
-
// 调用查询
|
|
93
|
-
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
|
|
97
|
-
watch: {
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
</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" 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
|
+
: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 data = {
|
|
53
|
+
workname: this.selectdata.processname
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
let res = await this.$resetpost(
|
|
57
|
+
'rs/logic/ApplyGetConfigs',
|
|
58
|
+
{data: data},
|
|
59
|
+
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
|
|
60
|
+
)
|
|
61
|
+
|
|
62
|
+
Vue.prototype.$workflow_vue = res.data
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
events: {
|
|
66
|
+
'onMessage' (data) {
|
|
67
|
+
console.log('接收消息')
|
|
68
|
+
console.log(data)
|
|
69
|
+
if (data.type === 'apply-task') {
|
|
70
|
+
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
async 'apply' (val) {
|
|
74
|
+
this.selectdata = val
|
|
75
|
+
this.showtotal = false
|
|
76
|
+
|
|
77
|
+
// 获取配置文件
|
|
78
|
+
await this.loadName()
|
|
79
|
+
|
|
80
|
+
this.$refs.query.$refs.cp.pager = false
|
|
81
|
+
this.showData = false
|
|
82
|
+
|
|
83
|
+
this.showtotal = true
|
|
84
|
+
},
|
|
85
|
+
'search' () {
|
|
86
|
+
// 关闭详细
|
|
87
|
+
this.showtotal = false
|
|
88
|
+
// 显示列表数据
|
|
89
|
+
this.showData = true
|
|
90
|
+
// 显示分页
|
|
91
|
+
this.$refs.query.$refs.cp.pager = true
|
|
92
|
+
// 调用查询
|
|
93
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
|
|
97
|
+
watch: {
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
</script>
|