apply-clients 3.5.4-74 → 3.5.4-75
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 +10 -7
- package/package.json +1 -1
- package/src/apply.js +137 -137
- package/src/components/android/AppCheckTakePic.vue +168 -168
- package/src/components/android/Process/AppServiceControl.vue +1755 -1755
- package/src/components/product/PcZhihuanManagement.vue +160 -160
- package/src/components/product/Supervisory/SupervisoryControl.vue +141 -141
- package/src/components/product/Supervisory/SupervisoryList.vue +452 -452
- package/src/filiale/fugou/android/AppAddMaterialScience.vue +448 -442
- package/src/filiale/fugou/android/AppServiceControl.vue +1843 -1827
- package/src/filiale/fugou/android/AppZhihuanManagement.vue +191 -191
- package/src/filiale/fugou/pc/InstallationDetails.vue +646 -647
- package/src/filiale/fugou/pc/ServiceControl.vue +1704 -1702
- package/src/filiale/fugou/pc/addMaterialScience.vue +481 -482
- package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +216 -0
- package/src/filiale/fugou/pc.js +11 -10
- package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +518 -518
- package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +1087 -1087
- package/src/filiale/yangchunboneng/android/AppSuperServiceControl.vue +1524 -1524
- package/src/filiale/yangchunboneng/android/AppUpload.vue +205 -205
- package/src/filiale/yangchunboneng/android/MaterIialOne.vue +156 -156
- package/src/filiale/yangchunboneng/android.js +20 -20
- package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +392 -392
- package/src/filiale/yangchunboneng/pc/ExplorationUser.vue +191 -191
- package/src/filiale/yangchunboneng/pc/InstallInfoSelect.vue +365 -365
- package/src/filiale/yangchunboneng/pc/SupervisoryControlNew.vue +142 -142
- package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +590 -590
- package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +628 -628
- package/src/filiale/yangchunboneng/pc/SupervisoryServiceControl.vue +902 -902
- package/src/filiale/yangchunboneng/pc/SupervisoryServiceControlNew.vue +901 -901
- package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1117 -1117
- package/src/filiale/yangchunboneng/pc.js +24 -24
- package/src/main.js +1 -2
|
@@ -1,160 +1,160 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="col-sm-12" style="margin: 20px 0px;">
|
|
3
|
-
<data-grid :model="model" v-ref:grid class="list_area table_sy" style="padding: 0px">
|
|
4
|
-
<template partial='head'>
|
|
5
|
-
<tr>
|
|
6
|
-
<th class="textNoLineBreak">序号</th>
|
|
7
|
-
<th class="textNoLineBreak">检查项目</th>
|
|
8
|
-
<th class="textNoLineBreak">检查结果</th>
|
|
9
|
-
<th class="textNoLineBreak">操作</th>
|
|
10
|
-
</tr>
|
|
11
|
-
</template>
|
|
12
|
-
<template partial='body'>
|
|
13
|
-
<tr>
|
|
14
|
-
<td style="text-align: center;">
|
|
15
|
-
<nobr>{{$index+1}}</nobr>
|
|
16
|
-
</td>
|
|
17
|
-
<td style="text-align: center;" >
|
|
18
|
-
<nobr>{{row.f_check_list}}</nobr>
|
|
19
|
-
</td>
|
|
20
|
-
<td style="text-align: center;">
|
|
21
|
-
<nobr>{{row.f_check_value}}</nobr>
|
|
22
|
-
</td>
|
|
23
|
-
<td style="text-align: center;">
|
|
24
|
-
<nobr>
|
|
25
|
-
<button
|
|
26
|
-
type="button"
|
|
27
|
-
name="button"
|
|
28
|
-
class="btn btn-link"
|
|
29
|
-
@click="$parent.$parent.showModal(row)"
|
|
30
|
-
>查看照片</button>
|
|
31
|
-
</nobr>
|
|
32
|
-
</td>
|
|
33
|
-
</tr>
|
|
34
|
-
</template>
|
|
35
|
-
</data-grid>
|
|
36
|
-
<validator name="v">
|
|
37
|
-
<modal v-if="showCheckModel" :show.sync="showCheckModel" v-ref:modal :large="true" :backdrop="false" title="收费明细">
|
|
38
|
-
<header slot="modal-header" class="modal-header">
|
|
39
|
-
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
40
|
-
<h4 class="modal-title">检查明细照片</h4>
|
|
41
|
-
</header>
|
|
42
|
-
<article slot="modal-body" class="modal-body clearfix">
|
|
43
|
-
<div :class="bootstraped ? bootstraped + ' showData' : 'col-sm-6 showData'" v-for="row in fileInfoData">
|
|
44
|
-
<div class="col-sm-12 item">
|
|
45
|
-
<div class="left col-sm-5">
|
|
46
|
-
<a href="#" class="thumbnail" style="width: 100%;height: 100%">
|
|
47
|
-
<img :src="row" alt="..."/>
|
|
48
|
-
</a>
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|
|
51
|
-
</div>
|
|
52
|
-
</article>
|
|
53
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
54
|
-
</footer>
|
|
55
|
-
</modal>
|
|
56
|
-
</validator>
|
|
57
|
-
</div>
|
|
58
|
-
</template>
|
|
59
|
-
<script>
|
|
60
|
-
import {HttpResetClass} from 'vue-client'
|
|
61
|
-
import Vue from 'vue'
|
|
62
|
-
import {isEmpty} from "../Util";
|
|
63
|
-
|
|
64
|
-
export default {
|
|
65
|
-
title: '检查项管理',
|
|
66
|
-
props: {
|
|
67
|
-
selectdata: {
|
|
68
|
-
type: Object
|
|
69
|
-
},
|
|
70
|
-
},
|
|
71
|
-
data () {
|
|
72
|
-
return {
|
|
73
|
-
model: {
|
|
74
|
-
data: null
|
|
75
|
-
},
|
|
76
|
-
flag:0,
|
|
77
|
-
showCheckModel: false,
|
|
78
|
-
checkList:{},
|
|
79
|
-
item: [{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
80
|
-
hasList:false,
|
|
81
|
-
savelist:[],
|
|
82
|
-
fileInfoData:[]
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
ready () {
|
|
86
|
-
this.search()
|
|
87
|
-
},
|
|
88
|
-
methods: {
|
|
89
|
-
showModal(row){
|
|
90
|
-
this.load(row)
|
|
91
|
-
this.showCheckModel=true
|
|
92
|
-
},
|
|
93
|
-
closeModal() {
|
|
94
|
-
this.showCheckModel=false
|
|
95
|
-
},
|
|
96
|
-
//查询
|
|
97
|
-
async search() {
|
|
98
|
-
let http = new HttpResetClass()
|
|
99
|
-
let data = {
|
|
100
|
-
tablename: 't_apply_check',
|
|
101
|
-
condition: `f_process_id= '${this.selectdata.f_process_id}'`
|
|
102
|
-
}
|
|
103
|
-
let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`, {data:data}, {
|
|
104
|
-
resolveMsg: null,
|
|
105
|
-
rejectMsg: '开发商档案查询失败!!!'
|
|
106
|
-
})
|
|
107
|
-
if(res.data.length>0){
|
|
108
|
-
this.model.data=res.data
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
async load(row) {
|
|
112
|
-
this.fileInfoData=[]
|
|
113
|
-
let condition = ''
|
|
114
|
-
condition = `f_blobid= '${this.selectdata.f_process_id}' and fremarks='${this.selectdata.f_apply_num+row.id}' `
|
|
115
|
-
let http = new HttpResetClass()
|
|
116
|
-
let data = {
|
|
117
|
-
tablename: 't_files',
|
|
118
|
-
condition: condition + ` order by f_uploaddate desc `
|
|
119
|
-
}
|
|
120
|
-
let getFile = await http.load('POST', 'rs/sql/apply_singleTable', {data: data}, {
|
|
121
|
-
warnMsg: null,
|
|
122
|
-
resolveMsg: null
|
|
123
|
-
})
|
|
124
|
-
for (var i = 0; i < getFile.data.length; i++) {
|
|
125
|
-
// 如果使用类型包含导入字样,则是execl文件导入的,不做显示
|
|
126
|
-
if(getFile.data[i].fusetype&&(getFile.data[i].fusetype.includes('execl导入'))){
|
|
127
|
-
getFile.data.splice(i,1)
|
|
128
|
-
i--
|
|
129
|
-
continue
|
|
130
|
-
}
|
|
131
|
-
let temp = getFile.data[i].f_filename
|
|
132
|
-
let src = "http://" + location.host + "/rs/image/file/" + temp
|
|
133
|
-
this.fileInfoData.push(src)
|
|
134
|
-
}
|
|
135
|
-
},
|
|
136
|
-
},
|
|
137
|
-
events: {
|
|
138
|
-
},
|
|
139
|
-
computed: {
|
|
140
|
-
CheckItems() {
|
|
141
|
-
return this.$appdata.getParam("报建检查项目")
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
watch: {
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
</script>
|
|
148
|
-
<style scoped>
|
|
149
|
-
.textNoLineBreak {
|
|
150
|
-
white-space: nowrap;
|
|
151
|
-
}
|
|
152
|
-
.head-but{
|
|
153
|
-
margin-left: 5px;
|
|
154
|
-
height: 34px;
|
|
155
|
-
/*background-color: #6aa6e2;*/
|
|
156
|
-
border-radius: 4px;
|
|
157
|
-
font-family: PingFang;
|
|
158
|
-
color: #ffffff;
|
|
159
|
-
}
|
|
160
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="col-sm-12" style="margin: 20px 0px;">
|
|
3
|
+
<data-grid :model="model" v-ref:grid class="list_area table_sy" style="padding: 0px">
|
|
4
|
+
<template partial='head'>
|
|
5
|
+
<tr>
|
|
6
|
+
<th class="textNoLineBreak">序号</th>
|
|
7
|
+
<th class="textNoLineBreak">检查项目</th>
|
|
8
|
+
<th class="textNoLineBreak">检查结果</th>
|
|
9
|
+
<th class="textNoLineBreak">操作</th>
|
|
10
|
+
</tr>
|
|
11
|
+
</template>
|
|
12
|
+
<template partial='body'>
|
|
13
|
+
<tr>
|
|
14
|
+
<td style="text-align: center;">
|
|
15
|
+
<nobr>{{$index+1}}</nobr>
|
|
16
|
+
</td>
|
|
17
|
+
<td style="text-align: center;" >
|
|
18
|
+
<nobr>{{row.f_check_list}}</nobr>
|
|
19
|
+
</td>
|
|
20
|
+
<td style="text-align: center;">
|
|
21
|
+
<nobr>{{row.f_check_value}}</nobr>
|
|
22
|
+
</td>
|
|
23
|
+
<td style="text-align: center;">
|
|
24
|
+
<nobr>
|
|
25
|
+
<button
|
|
26
|
+
type="button"
|
|
27
|
+
name="button"
|
|
28
|
+
class="btn btn-link"
|
|
29
|
+
@click="$parent.$parent.showModal(row)"
|
|
30
|
+
>查看照片</button>
|
|
31
|
+
</nobr>
|
|
32
|
+
</td>
|
|
33
|
+
</tr>
|
|
34
|
+
</template>
|
|
35
|
+
</data-grid>
|
|
36
|
+
<validator name="v">
|
|
37
|
+
<modal v-if="showCheckModel" :show.sync="showCheckModel" v-ref:modal :large="true" :backdrop="false" title="收费明细">
|
|
38
|
+
<header slot="modal-header" class="modal-header">
|
|
39
|
+
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
40
|
+
<h4 class="modal-title">检查明细照片</h4>
|
|
41
|
+
</header>
|
|
42
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
43
|
+
<div :class="bootstraped ? bootstraped + ' showData' : 'col-sm-6 showData'" v-for="row in fileInfoData">
|
|
44
|
+
<div class="col-sm-12 item">
|
|
45
|
+
<div class="left col-sm-5">
|
|
46
|
+
<a href="#" class="thumbnail" style="width: 100%;height: 100%">
|
|
47
|
+
<img :src="row" alt="..."/>
|
|
48
|
+
</a>
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
</article>
|
|
53
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
54
|
+
</footer>
|
|
55
|
+
</modal>
|
|
56
|
+
</validator>
|
|
57
|
+
</div>
|
|
58
|
+
</template>
|
|
59
|
+
<script>
|
|
60
|
+
import {HttpResetClass} from 'vue-client'
|
|
61
|
+
import Vue from 'vue'
|
|
62
|
+
import {isEmpty} from "../Util";
|
|
63
|
+
|
|
64
|
+
export default {
|
|
65
|
+
title: '检查项管理',
|
|
66
|
+
props: {
|
|
67
|
+
selectdata: {
|
|
68
|
+
type: Object
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
data () {
|
|
72
|
+
return {
|
|
73
|
+
model: {
|
|
74
|
+
data: null
|
|
75
|
+
},
|
|
76
|
+
flag:0,
|
|
77
|
+
showCheckModel: false,
|
|
78
|
+
checkList:{},
|
|
79
|
+
item: [{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
80
|
+
hasList:false,
|
|
81
|
+
savelist:[],
|
|
82
|
+
fileInfoData:[]
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
ready () {
|
|
86
|
+
this.search()
|
|
87
|
+
},
|
|
88
|
+
methods: {
|
|
89
|
+
showModal(row){
|
|
90
|
+
this.load(row)
|
|
91
|
+
this.showCheckModel=true
|
|
92
|
+
},
|
|
93
|
+
closeModal() {
|
|
94
|
+
this.showCheckModel=false
|
|
95
|
+
},
|
|
96
|
+
//查询
|
|
97
|
+
async search() {
|
|
98
|
+
let http = new HttpResetClass()
|
|
99
|
+
let data = {
|
|
100
|
+
tablename: 't_apply_check',
|
|
101
|
+
condition: `f_process_id= '${this.selectdata.f_process_id}'`
|
|
102
|
+
}
|
|
103
|
+
let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`, {data:data}, {
|
|
104
|
+
resolveMsg: null,
|
|
105
|
+
rejectMsg: '开发商档案查询失败!!!'
|
|
106
|
+
})
|
|
107
|
+
if(res.data.length>0){
|
|
108
|
+
this.model.data=res.data
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
async load(row) {
|
|
112
|
+
this.fileInfoData=[]
|
|
113
|
+
let condition = ''
|
|
114
|
+
condition = `f_blobid= '${this.selectdata.f_process_id}' and fremarks='${this.selectdata.f_apply_num+row.id}' `
|
|
115
|
+
let http = new HttpResetClass()
|
|
116
|
+
let data = {
|
|
117
|
+
tablename: 't_files',
|
|
118
|
+
condition: condition + ` order by f_uploaddate desc `
|
|
119
|
+
}
|
|
120
|
+
let getFile = await http.load('POST', 'rs/sql/apply_singleTable', {data: data}, {
|
|
121
|
+
warnMsg: null,
|
|
122
|
+
resolveMsg: null
|
|
123
|
+
})
|
|
124
|
+
for (var i = 0; i < getFile.data.length; i++) {
|
|
125
|
+
// 如果使用类型包含导入字样,则是execl文件导入的,不做显示
|
|
126
|
+
if(getFile.data[i].fusetype&&(getFile.data[i].fusetype.includes('execl导入'))){
|
|
127
|
+
getFile.data.splice(i,1)
|
|
128
|
+
i--
|
|
129
|
+
continue
|
|
130
|
+
}
|
|
131
|
+
let temp = getFile.data[i].f_filename
|
|
132
|
+
let src = "http://" + location.host + "/rs/image/file/" + temp
|
|
133
|
+
this.fileInfoData.push(src)
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
},
|
|
137
|
+
events: {
|
|
138
|
+
},
|
|
139
|
+
computed: {
|
|
140
|
+
CheckItems() {
|
|
141
|
+
return this.$appdata.getParam("报建检查项目")
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
watch: {
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
</script>
|
|
148
|
+
<style scoped>
|
|
149
|
+
.textNoLineBreak {
|
|
150
|
+
white-space: nowrap;
|
|
151
|
+
}
|
|
152
|
+
.head-but{
|
|
153
|
+
margin-left: 5px;
|
|
154
|
+
height: 34px;
|
|
155
|
+
/*background-color: #6aa6e2;*/
|
|
156
|
+
border-radius: 4px;
|
|
157
|
+
font-family: PingFang;
|
|
158
|
+
color: #ffffff;
|
|
159
|
+
}
|
|
160
|
+
</style>
|
|
@@ -1,141 +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 = "false"
|
|
20
|
-
:isdelete="false"
|
|
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
|
+
<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 = "false"
|
|
20
|
+
:isdelete="false"
|
|
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>
|