apply-clients 3.4.3 → 3.4.4
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/package.json +1 -1
- package/src/AndroidApp.vue +18 -18
- package/src/android.js +1 -1
- package/src/apply.js +39 -20
- package/src/applyAndroid.js +23 -9
- package/src/components/android/AppOnetomany.vue +47 -5
- package/src/components/android/AppServiceView.vue +745 -566
- package/src/components/android/AppSign.vue +154 -142
- package/src/components/android/AppTakePic.vue +11 -11
- package/src/components/android/AreaSelect/AppQrcodeReader.vue +73 -0
- package/src/components/android/AreaSelect/AppResAreaMapGroup.vue +148 -0
- package/src/components/android/AreaSelect/AppResAreaSelect.vue +108 -0
- package/src/components/android/AreaSelect/AppResAreaSelectGroup.vue +142 -0
- package/src/components/android/Function/AppFunctionServiceControl.vue +344 -0
- package/src/components/android/Function/AppInstallFunction.vue +366 -0
- package/src/components/android/Process/AppExplorationUser.vue +217 -37
- package/src/components/android/Process/AppServiceControl.vue +1708 -757
- package/src/components/android/Process/Processes/AppAddMaterialScience.vue +477 -0
- package/src/components/android/Process/Processes/AppBuildSign.vue +46 -0
- package/src/components/android/Process/Processes/AppChargeManagement.vue +637 -0
- package/src/components/android/Process/Processes/AppDevicesManagement.vue +519 -0
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +482 -456
- package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +298 -0
- package/src/components/android/Process/Processes/selectApply.vue +250 -0
- package/src/components/android/Process/Processes/selectUserinfo.vue +182 -0
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +205 -71
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +156 -121
- package/src/components/common/TabButton.vue +149 -0
- package/src/components/common/Tabs.vue +67 -0
- package/src/components/image/dwg.jpg +0 -0
- package/src/components/image/txt.jpg +0 -0
- package/src/components/image//345/221/250/345/217/243/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
- package/src/components/image//350/245/277/345/215/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
- package/src/components/image//351/203/270/345/237/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
- package/src/components/image//351/241/271/345/237/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
- package/src/components/image//351/271/277/351/202/221/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +272 -53
- package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +3 -3
- package/src/components/product/AreaSelect/MyAreaSelect.vue +423 -0
- package/src/components/product/AreaSelect/ResAreaSelect.vue +106 -0
- package/src/components/product/AreaSelect/ResAreaSelectGroup.vue +150 -0
- package/src/components/product/AreaSelect/utils/EventListener.js +29 -0
- package/src/components/product/AreaSelect/utils/coerceBoolean.js +7 -0
- package/src/components/product/Function/InstallFunction.vue +3 -2
- package/src/components/product/Function/InstallInfoSelect.vue +41 -21
- package/src/components/product/Function/Service/FunctionServiceControl.vue +96 -71
- package/src/components/product/GaoDeMapComponents/GaoDeMap.vue +231 -0
- package/src/components/product/Install/InstallProject.vue +194 -0
- package/src/components/product/OldApply/Handle/HandleApply.vue +337 -0
- package/src/components/product/OldApply/Monitor/MonitorApply.vue +360 -0
- package/src/components/product/OldApply/OldApply.vue +209 -0
- package/src/components/product/OldApply/OldApplyMessage.vue +420 -0
- package/src/components/product/Onetomany.vue +40 -11
- package/src/components/product/Process/ExplorationSelect.vue +495 -417
- package/src/components/product/Process/ExplorationUser.vue +145 -94
- package/src/components/product/Process/Processes/InstallationDetails.vue +610 -592
- package/src/components/product/Process/Processes/Print/printCharge.vue +166 -142
- package/src/components/product/Process/Processes/Print/printChargepc.vue +142 -0
- package/src/components/product/Process/Processes/Print/printRefund.vue +196 -0
- package/src/components/product/Process/Processes/addMaterialScience.vue +454 -0
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +4 -0
- package/src/components/product/Process/Processes/chargeManagement.vue +656 -638
- package/src/components/product/Process/Processes/devicesManagement.vue +484 -478
- package/src/components/product/Process/Processes/selectApply.vue +2 -2
- package/src/components/product/Process/Service/ServiceControl.vue +628 -10
- package/src/components/product/Process/ShowBackReason.vue +33 -0
- package/src/components/product/ServiceView.vue +981 -631
- package/src/components/product/Stop/StopApply.vue +26 -30
- package/src/components/product/Stop/StopApplyList.vue +27 -25
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +732 -34
- package/src/components/product/Supervisory/SupervisoryControl.vue +38 -1
- package/src/components/product/Supervisory/SupervisoryList.vue +404 -233
- package/src/components/product/Supervisory/SupervisoryhCart.vue +51 -28
- package/src/components/product/VueUtils/ApplyUpload.vue +40 -38
- package/src/components/product/VueUtils/GaoPaiYi/HighMeter.vue +1090 -0
- package/src/components/product/VueUtils/ToolsPage.vue +51 -0
- package/src/components/product/VueUtils/Tree.vue +330 -0
- package/src/expandcssAndroid.less +362 -879
- package/src/main.js +3 -0
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
<div class="row" v-for="(i,row) in defnames">
|
|
4
4
|
<div :class="row.id === selectdata.actid ? 'item selectIndex' : 'item'" @click="getdefname(row)" >
|
|
5
5
|
{{ row.defname }}
|
|
6
|
+
<span v-if="row.state === '结束'">({{ row.person }})</span>
|
|
7
|
+
<span v-if="row.state !== '结束' && row.actorexpression !== null && row.actorexpression.indexOf('PI') === 0">
|
|
8
|
+
({{ row.peruser }})
|
|
9
|
+
</span>
|
|
6
10
|
<br>
|
|
7
11
|
{{i === (defnames.length) - 1 ? row.sendtime : row.finishtime}}
|
|
8
12
|
</div>
|
|
@@ -13,6 +17,7 @@
|
|
|
13
17
|
|
|
14
18
|
<script>
|
|
15
19
|
import {HttpResetClass} from 'vue-client'
|
|
20
|
+
import {isEmpty} from "../../Util";
|
|
16
21
|
export default {
|
|
17
22
|
title: "流程节点",
|
|
18
23
|
props:['selectdata'],
|
|
@@ -27,58 +32,76 @@
|
|
|
27
32
|
methods :{
|
|
28
33
|
async initial () {
|
|
29
34
|
// 获取流程节点信息
|
|
30
|
-
|
|
35
|
+
let http = new HttpResetClass()
|
|
31
36
|
let data = {
|
|
32
37
|
processid: this.selectdata.f_process_id
|
|
33
38
|
}
|
|
34
39
|
|
|
35
|
-
let res = await
|
|
40
|
+
let res = await http.load(
|
|
41
|
+
'POST',
|
|
36
42
|
'rs/sql/getAllNode',
|
|
37
43
|
{data: data},
|
|
38
|
-
{resolveMsg: null, rejectMsg: '流程节点信息获取失败!!!'}
|
|
39
|
-
)
|
|
44
|
+
{resolveMsg: null, rejectMsg: '流程节点信息获取失败!!!'})
|
|
40
45
|
|
|
41
46
|
this.defnames = res.data
|
|
42
47
|
},
|
|
43
48
|
//点击获取节点名
|
|
44
49
|
getdefname (row) {
|
|
45
50
|
// 发起节点都可查看
|
|
46
|
-
if(row.defname === this.$workflow_vue.start_activity){
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
51
|
-
if(this.check(row.actorexpression)){
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
this.$showMessage("对不起,您没有查看此节点的权限!")
|
|
51
|
+
// if(row.defname === this.$workflow_vue.start_activity){
|
|
52
|
+
// row = Object.assign({},this.selectdata,row)
|
|
53
|
+
// this.$dispatch('apply', row)
|
|
54
|
+
// return
|
|
55
|
+
// }
|
|
56
|
+
// if(this.check(row.actorexpression)){
|
|
57
|
+
// row = Object.assign({},this.selectdata,row)
|
|
58
|
+
// this.$dispatch('apply', row)
|
|
59
|
+
// return
|
|
60
|
+
// }
|
|
61
|
+
// this.$showMessage("对不起,您没有查看此节点的权限!")
|
|
62
|
+
delete row.id
|
|
63
|
+
row = Object.assign({},this.selectdata,row)
|
|
64
|
+
this.$dispatch('apply', row)
|
|
57
65
|
},
|
|
58
66
|
// 检测是否有权限
|
|
59
67
|
check (actorexpression){
|
|
60
|
-
let flag = false
|
|
61
68
|
|
|
62
|
-
|
|
63
|
-
|
|
69
|
+
let str = null
|
|
70
|
+
|
|
71
|
+
if (isEmpty(actorexpression)) {
|
|
72
|
+
return true
|
|
73
|
+
}
|
|
64
74
|
|
|
65
|
-
|
|
75
|
+
if (actorexpression.indexOf('D') === 0) {
|
|
76
|
+
str = actorexpression.substring(2, actorexpression.length-1)
|
|
77
|
+
return this.$login.f.f_department_name.includes(str)
|
|
78
|
+
}
|
|
66
79
|
|
|
67
|
-
if (
|
|
68
|
-
|
|
80
|
+
if (actorexpression.indexOf('RS') === 0) {
|
|
81
|
+
for (str of actorexpression.substring(3, actorexpression.length-1).split(',')) {
|
|
82
|
+
return this.$login.f.f_role_name.includes(str)
|
|
83
|
+
}
|
|
69
84
|
}
|
|
70
|
-
|
|
71
|
-
|
|
85
|
+
|
|
86
|
+
if (actorexpression.indexOf('R') === 0) {
|
|
87
|
+
str = actorexpression.substring(2, actorexpression.length-1)
|
|
88
|
+
return this.$login.f.f_role_name.includes(str)
|
|
72
89
|
}
|
|
73
|
-
|
|
74
|
-
|
|
90
|
+
|
|
91
|
+
if (actorexpression.indexOf('PI') === 0) {
|
|
92
|
+
str = actorexpression.substring(3, actorexpression.length-1)
|
|
93
|
+
return this.$login.f.id.includes(str)
|
|
75
94
|
}
|
|
76
|
-
if (
|
|
77
|
-
|
|
95
|
+
if (actorexpression.indexOf('P') === 0) {
|
|
96
|
+
str = actorexpression.substring(2, actorexpression.length-1)
|
|
97
|
+
return this.$login.f.name.includes(str)
|
|
78
98
|
}
|
|
79
|
-
|
|
99
|
+
|
|
100
|
+
return this.$login.f.f_role_name.includes('流程监控')
|
|
80
101
|
}
|
|
81
102
|
},
|
|
103
|
+
computed: {
|
|
104
|
+
},
|
|
82
105
|
watch:{
|
|
83
106
|
}
|
|
84
107
|
}
|
|
@@ -30,6 +30,8 @@
|
|
|
30
30
|
<img v-if="row.f_filetype === 'pdf'" src="../../image/pdf.jpg" alt="" />
|
|
31
31
|
<img v-if="row.f_filetype === 'xls'||row.f_filetype === 'xlsx'" src="../../image/excel.jpg" alt="" />
|
|
32
32
|
<img v-if="row.f_filetype === 'doc'||row.f_filetype === 'docx'" src="../../image/doc.jpg" alt="" />
|
|
33
|
+
<img v-if="row.f_filetype === 'dwg'" src="../../image/dwg.jpg" alt="" />
|
|
34
|
+
<img v-if="row.f_filetype === 'txt'" src="../../image/txt.jpg" alt="" />
|
|
33
35
|
</a>
|
|
34
36
|
</div>
|
|
35
37
|
<div class="right col-sm-7">
|
|
@@ -39,7 +41,7 @@
|
|
|
39
41
|
<p :title="row.f_uploaddate" class="clears"><strong>上传时间:</strong><span>{{row.f_uploaddate}}</span></p>
|
|
40
42
|
<p :title="row.fremarks" class="clears"><strong>文件说明:</strong>{{row.fremarks}}</p>
|
|
41
43
|
<p class="clears">
|
|
42
|
-
<a v-if="row.f_filetype === 'jpg' || row.f_filetype==='png' || row.f_filetype==='gif' || row.f_filetype==='bmp'" :href="row.f_downloadURL" style="background:#6aa6e2" class="btn btn-primary" target="_blank" role="button">预览</a>
|
|
44
|
+
<a v-if="row.f_filetype === 'jpg' || row.f_filetype === 'txt' || row.f_filetype === 'dwg' || row.f_filetype==='png' || row.f_filetype==='gif' || row.f_filetype==='bmp'" :href="row.f_downloadURL" style="background:#6aa6e2" class="btn btn-primary" target="_blank" role="button">预览</a>
|
|
43
45
|
<a v-else @click="downloadfile(row.f_downloadURL)" style="background:#6aa6e2" class="btn btn-primary" role="button">下载</a>
|
|
44
46
|
<a v-if="isdelete" @click="delet($index, row)" href="#" class="btn btn-default" role="button" role="button">删除</a>
|
|
45
47
|
</p>
|
|
@@ -141,7 +143,7 @@ export default {
|
|
|
141
143
|
// 查询
|
|
142
144
|
async load() {
|
|
143
145
|
let condition = ''
|
|
144
|
-
if(this.businessid){
|
|
146
|
+
if(!isEmpty(this.businessid)){
|
|
145
147
|
condition = `f_businessid= '${this.headers.businessid}' `
|
|
146
148
|
}else{
|
|
147
149
|
condition = `f_blobid= '${this.headers.blodid}' `
|
|
@@ -234,40 +236,40 @@ export default {
|
|
|
234
236
|
</script>
|
|
235
237
|
|
|
236
238
|
<style scoped>
|
|
237
|
-
.clears{
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
}
|
|
242
|
-
.showData {
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
}
|
|
248
|
-
.showData .item{
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
}
|
|
252
|
-
.left {
|
|
253
|
-
|
|
254
|
-
}
|
|
255
|
-
.left img{
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
}
|
|
259
|
-
.right{
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
}
|
|
266
|
-
.item_btn{
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
}
|
|
239
|
+
.clears{
|
|
240
|
+
overflow:hidden;
|
|
241
|
+
text-overflow:ellipsis;
|
|
242
|
+
white-space:nowrap;
|
|
243
|
+
}
|
|
244
|
+
.showData {
|
|
245
|
+
padding: 15px 10px 0px 10px;
|
|
246
|
+
box-sizing: border-box;
|
|
247
|
+
height: 230px;
|
|
248
|
+
font-family: "微软雅黑";
|
|
249
|
+
}
|
|
250
|
+
.showData .item{
|
|
251
|
+
padding-bottom: 10px;
|
|
252
|
+
border-bottom: solid 1px #c1c1c1;
|
|
253
|
+
}
|
|
254
|
+
.left {
|
|
255
|
+
padding-right: 10px;
|
|
256
|
+
}
|
|
257
|
+
.left img{
|
|
258
|
+
height: 100%;
|
|
259
|
+
width: 100%;
|
|
260
|
+
}
|
|
261
|
+
.right{
|
|
262
|
+
height: 100%;
|
|
263
|
+
/*display: -webkit-flex;*/
|
|
264
|
+
/*display: flex;*/
|
|
265
|
+
/*flex-direction: column;*/
|
|
266
|
+
/*justify-content: space-around;*/
|
|
267
|
+
}
|
|
268
|
+
.item_btn{
|
|
269
|
+
width: 80%;
|
|
270
|
+
background-color: #6aa6e2;
|
|
271
|
+
border-radius: 4px;
|
|
272
|
+
color: #FFFFFF;
|
|
273
|
+
font-family: PingFang;
|
|
274
|
+
}
|
|
273
275
|
</style>
|