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,64 +1,64 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="panel-body">
|
|
3
|
-
<div class="form-group col-xs-12 auto">
|
|
4
|
-
<p class="col-xs-3 text-left font"><b>工程编号:</b></p>
|
|
5
|
-
<p class="col-xs-9 text-left input-font">{{ selectdata.f_project_number }}</p>
|
|
6
|
-
</div>
|
|
7
|
-
<div class="form-group col-xs-12 auto">
|
|
8
|
-
<p class="col-xs-3 text-left font"><b>CEA 号:</b></p>
|
|
9
|
-
<p class="col-xs-9 text-left input-font">{{ selectdata.f_cea_number }}</p>
|
|
10
|
-
</div>
|
|
11
|
-
<div class="form-group col-xs-12 auto">
|
|
12
|
-
<p class="col-xs-3 text-left font"><b>项目名称:</b></p>
|
|
13
|
-
<p class="col-xs-9 text-left input-font">{{ selectdata.f_entry_name }}</p>
|
|
14
|
-
</div>
|
|
15
|
-
<div class="form-group col-xs-12 auto">
|
|
16
|
-
<p class="col-xs-3 text-left font"><b>类  型:</b></p>
|
|
17
|
-
<p class="col-xs-9 text-left input-font">{{ selectdata.f_type }}</p>
|
|
18
|
-
</div>
|
|
19
|
-
<div class="form-group col-xs-12 auto">
|
|
20
|
-
<p class="col-xs-3 text-left font"><b>操 作 人:</b></p>
|
|
21
|
-
<p class="col-xs-9 text-left input-font">{{ selectdata.f_pr_operator }}</p>
|
|
22
|
-
</div>
|
|
23
|
-
<div class="form-group col-xs-12 auto">
|
|
24
|
-
<p class="col-xs-3 text-left font"><b>操作时间:</b></p>
|
|
25
|
-
<p class="col-xs-9 text-left input-font">{{ selectdata.f_pr_operation_date }}</p>
|
|
26
|
-
</div>
|
|
27
|
-
<div class="form-group col-xs-12 auto">
|
|
28
|
-
<p class="col-xs-3 text-left font"><b>详细说明:</b></p>
|
|
29
|
-
<p class="col-xs-9 text-left input-font" style="word-wrap: break-word">{{ selectdata.f_explanation }}</p>
|
|
30
|
-
</div>
|
|
31
|
-
<div class="form-group col-xs-12 auto" v-if="selectdata.f_blobid && selectdata.f_type">
|
|
32
|
-
<app-take-pic :blobid="selectdata.f_blobid" :type="selectdata.f_type" :defname="selectdata.defname" :isdelete="false" :istakepic="false"></app-take-pic>
|
|
33
|
-
</div>
|
|
34
|
-
</div>
|
|
35
|
-
</template>
|
|
36
|
-
<script>
|
|
37
|
-
import Vue from 'vue'
|
|
38
|
-
import {HttpResetClass} from 'vue-client'
|
|
39
|
-
|
|
40
|
-
export default {
|
|
41
|
-
title: '进度详情',
|
|
42
|
-
props: ['selectdata'],
|
|
43
|
-
data () {
|
|
44
|
-
return {
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
ready () {
|
|
48
|
-
},
|
|
49
|
-
methods: {
|
|
50
|
-
},
|
|
51
|
-
events: {
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
</script>
|
|
55
|
-
<style scoped>
|
|
56
|
-
.font{
|
|
57
|
-
font: 15px PingFang-SC-Medium;
|
|
58
|
-
color: #666666;
|
|
59
|
-
}
|
|
60
|
-
.input-font{
|
|
61
|
-
font: 15px PingFang-SC-Medium;
|
|
62
|
-
color: #333333;
|
|
63
|
-
}
|
|
64
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="panel-body">
|
|
3
|
+
<div class="form-group col-xs-12 auto">
|
|
4
|
+
<p class="col-xs-3 text-left font"><b>工程编号:</b></p>
|
|
5
|
+
<p class="col-xs-9 text-left input-font">{{ selectdata.f_project_number }}</p>
|
|
6
|
+
</div>
|
|
7
|
+
<div class="form-group col-xs-12 auto">
|
|
8
|
+
<p class="col-xs-3 text-left font"><b>CEA 号:</b></p>
|
|
9
|
+
<p class="col-xs-9 text-left input-font">{{ selectdata.f_cea_number }}</p>
|
|
10
|
+
</div>
|
|
11
|
+
<div class="form-group col-xs-12 auto">
|
|
12
|
+
<p class="col-xs-3 text-left font"><b>项目名称:</b></p>
|
|
13
|
+
<p class="col-xs-9 text-left input-font">{{ selectdata.f_entry_name }}</p>
|
|
14
|
+
</div>
|
|
15
|
+
<div class="form-group col-xs-12 auto">
|
|
16
|
+
<p class="col-xs-3 text-left font"><b>类  型:</b></p>
|
|
17
|
+
<p class="col-xs-9 text-left input-font">{{ selectdata.f_type }}</p>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="form-group col-xs-12 auto">
|
|
20
|
+
<p class="col-xs-3 text-left font"><b>操 作 人:</b></p>
|
|
21
|
+
<p class="col-xs-9 text-left input-font">{{ selectdata.f_pr_operator }}</p>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="form-group col-xs-12 auto">
|
|
24
|
+
<p class="col-xs-3 text-left font"><b>操作时间:</b></p>
|
|
25
|
+
<p class="col-xs-9 text-left input-font">{{ selectdata.f_pr_operation_date }}</p>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="form-group col-xs-12 auto">
|
|
28
|
+
<p class="col-xs-3 text-left font"><b>详细说明:</b></p>
|
|
29
|
+
<p class="col-xs-9 text-left input-font" style="word-wrap: break-word">{{ selectdata.f_explanation }}</p>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="form-group col-xs-12 auto" v-if="selectdata.f_blobid && selectdata.f_type">
|
|
32
|
+
<app-take-pic :blobid="selectdata.f_blobid" :type="selectdata.f_type" :defname="selectdata.defname" :isdelete="false" :istakepic="false"></app-take-pic>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
</template>
|
|
36
|
+
<script>
|
|
37
|
+
import Vue from 'vue'
|
|
38
|
+
import {HttpResetClass} from 'vue-client'
|
|
39
|
+
|
|
40
|
+
export default {
|
|
41
|
+
title: '进度详情',
|
|
42
|
+
props: ['selectdata'],
|
|
43
|
+
data () {
|
|
44
|
+
return {
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
ready () {
|
|
48
|
+
},
|
|
49
|
+
methods: {
|
|
50
|
+
},
|
|
51
|
+
events: {
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
</script>
|
|
55
|
+
<style scoped>
|
|
56
|
+
.font{
|
|
57
|
+
font: 15px PingFang-SC-Medium;
|
|
58
|
+
color: #666666;
|
|
59
|
+
}
|
|
60
|
+
.input-font{
|
|
61
|
+
font: 15px PingFang-SC-Medium;
|
|
62
|
+
color: #333333;
|
|
63
|
+
}
|
|
64
|
+
</style>
|
|
@@ -1,121 +1,121 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div style="padding: 10px">
|
|
3
|
-
<div partial class="auto app-text panel" style="margin-bottom: 20px">
|
|
4
|
-
<div class="panel-body panel-self">
|
|
5
|
-
<div class="col-xs-6">
|
|
6
|
-
<p class="col-xs-6 text-left font"><b>工程编号:</b></p>
|
|
7
|
-
<p class="col-xs-6 text-left input-font">{{ selectdata.f_project_number }}</p>
|
|
8
|
-
</div>
|
|
9
|
-
<div class="col-xs-6">
|
|
10
|
-
<p class="col-xs-6 text-left font"><b>CEA号:</b></p>
|
|
11
|
-
<p class="col-xs-6 text-left input-font">{{ selectdata.f_cea_number }}</p>
|
|
12
|
-
</div>
|
|
13
|
-
<div class="col-xs-12">
|
|
14
|
-
<p class="col-xs-3 text-left font"><b>项目名称:</b></p>
|
|
15
|
-
<p class="col-xs-9 text-left input-font">{{ selectdata.f_entry_name }}</p>
|
|
16
|
-
</div>
|
|
17
|
-
<div class="col-xs-6">
|
|
18
|
-
<p class="col-xs-6 text-left font"><b>项目类型:</b></p>
|
|
19
|
-
<p class="col-xs-6 text-left input-font">{{ selectdata.f_apply_type }}</p>
|
|
20
|
-
</div>
|
|
21
|
-
<div class="col-xs-6">
|
|
22
|
-
<p class="col-xs-6 text-left font"><b>工程类型:</b></p>
|
|
23
|
-
<p class="col-xs-6 text-left input-font">{{ selectdata.f_project_type }}</p>
|
|
24
|
-
</div>
|
|
25
|
-
<div class="col-xs-6">
|
|
26
|
-
<p class="col-xs-6 text-left font"><b>项目区域:</b></p>
|
|
27
|
-
<p class="col-xs-6 text-left input-font">{{ selectdata.f_project_area }}</p>
|
|
28
|
-
</div>
|
|
29
|
-
<div class="col-xs-6">
|
|
30
|
-
<p class="col-xs-6 text-left font"><b>联系人:</b></p>
|
|
31
|
-
<p class="col-xs-6 text-left input-font">{{ selectdata.f_contact }}</p>
|
|
32
|
-
</div>
|
|
33
|
-
<div class="col-xs-6">
|
|
34
|
-
<p class="col-xs-6 text-left font"><b>联系电话:</b></p>
|
|
35
|
-
<p class="col-xs-6 text-left input-font">{{ selectdata.f_phone }}</p>
|
|
36
|
-
</div>
|
|
37
|
-
<div class="col-xs-6">
|
|
38
|
-
<p class="col-xs-6 text-left font"><b>办理环节:</b></p>
|
|
39
|
-
<p class="col-xs-6 text-left input-font">{{ selectdata.defname }}</p>
|
|
40
|
-
</div>
|
|
41
|
-
<div class="col-xs-12">
|
|
42
|
-
<p class="col-xs-3 text-left font"><b>项目地址:</b></p>
|
|
43
|
-
<p class="col-xs-9 text-left input-font">{{ selectdata.f_address }}</p>
|
|
44
|
-
</div>
|
|
45
|
-
</div>
|
|
46
|
-
</div>
|
|
47
|
-
<div class="row" v-for="(i,row) in defnames">
|
|
48
|
-
<div :class="row.id === selectdata.actid ? 'item selectIndex' : 'item'">
|
|
49
|
-
{{row.defname}}
|
|
50
|
-
<br>
|
|
51
|
-
{{ row.finishtime ? row.finishtime : row.sendtime }}
|
|
52
|
-
</div>
|
|
53
|
-
<div class="arrow glyphicon glyphicon-menu-down" v-if="i != defnames.length-1" aria-hidden="true"></div>
|
|
54
|
-
</div>
|
|
55
|
-
</div>
|
|
56
|
-
</template>
|
|
57
|
-
|
|
58
|
-
<script>
|
|
59
|
-
import {HttpResetClass} from 'vue-client'
|
|
60
|
-
export default {
|
|
61
|
-
title: '流程节点',
|
|
62
|
-
props: ['selectdata'],
|
|
63
|
-
data () {
|
|
64
|
-
return {
|
|
65
|
-
defnames: []
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
ready () {
|
|
69
|
-
this.initial()
|
|
70
|
-
},
|
|
71
|
-
methods: {
|
|
72
|
-
async initial() {
|
|
73
|
-
// 获取流程节点信息
|
|
74
|
-
let http = new HttpResetClass()
|
|
75
|
-
let data = {
|
|
76
|
-
processid: this.selectdata.f_process_id
|
|
77
|
-
}
|
|
78
|
-
let res = await http.load(
|
|
79
|
-
'POST',`${this.$androidUtil.getProxyUrl()}/rs/sql/getAllNode`,
|
|
80
|
-
{data: data},
|
|
81
|
-
{
|
|
82
|
-
resolveMsg:null,
|
|
83
|
-
rejectMsg:null
|
|
84
|
-
})
|
|
85
|
-
this.defnames = res.data
|
|
86
|
-
},
|
|
87
|
-
},
|
|
88
|
-
watch: {
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
</script>
|
|
92
|
-
|
|
93
|
-
<style scoped>
|
|
94
|
-
.app-text {
|
|
95
|
-
font-size: 12px;
|
|
96
|
-
}
|
|
97
|
-
.panel-self{
|
|
98
|
-
border-radius: 10px;
|
|
99
|
-
border:1px solid #499EDF;
|
|
100
|
-
background-color: #F8F8F8;
|
|
101
|
-
}
|
|
102
|
-
.row{
|
|
103
|
-
padding: 0 40px;
|
|
104
|
-
text-align: center;
|
|
105
|
-
height: auto;
|
|
106
|
-
}
|
|
107
|
-
.item{
|
|
108
|
-
border-radius: 2em;
|
|
109
|
-
border: 1px solid silver;
|
|
110
|
-
line-height: 25px;
|
|
111
|
-
}
|
|
112
|
-
.arrow{
|
|
113
|
-
width: 100%;
|
|
114
|
-
color: #5ac0d9;
|
|
115
|
-
font-weight: bold;
|
|
116
|
-
}
|
|
117
|
-
.selectIndex{
|
|
118
|
-
background-color: #5ac0d9;
|
|
119
|
-
color: #ffffff;
|
|
120
|
-
}
|
|
121
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div style="padding: 10px">
|
|
3
|
+
<div partial class="auto app-text panel" style="margin-bottom: 20px">
|
|
4
|
+
<div class="panel-body panel-self">
|
|
5
|
+
<div class="col-xs-6">
|
|
6
|
+
<p class="col-xs-6 text-left font"><b>工程编号:</b></p>
|
|
7
|
+
<p class="col-xs-6 text-left input-font">{{ selectdata.f_project_number }}</p>
|
|
8
|
+
</div>
|
|
9
|
+
<div class="col-xs-6">
|
|
10
|
+
<p class="col-xs-6 text-left font"><b>CEA号:</b></p>
|
|
11
|
+
<p class="col-xs-6 text-left input-font">{{ selectdata.f_cea_number }}</p>
|
|
12
|
+
</div>
|
|
13
|
+
<div class="col-xs-12">
|
|
14
|
+
<p class="col-xs-3 text-left font"><b>项目名称:</b></p>
|
|
15
|
+
<p class="col-xs-9 text-left input-font">{{ selectdata.f_entry_name }}</p>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="col-xs-6">
|
|
18
|
+
<p class="col-xs-6 text-left font"><b>项目类型:</b></p>
|
|
19
|
+
<p class="col-xs-6 text-left input-font">{{ selectdata.f_apply_type }}</p>
|
|
20
|
+
</div>
|
|
21
|
+
<div class="col-xs-6">
|
|
22
|
+
<p class="col-xs-6 text-left font"><b>工程类型:</b></p>
|
|
23
|
+
<p class="col-xs-6 text-left input-font">{{ selectdata.f_project_type }}</p>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="col-xs-6">
|
|
26
|
+
<p class="col-xs-6 text-left font"><b>项目区域:</b></p>
|
|
27
|
+
<p class="col-xs-6 text-left input-font">{{ selectdata.f_project_area }}</p>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="col-xs-6">
|
|
30
|
+
<p class="col-xs-6 text-left font"><b>联系人:</b></p>
|
|
31
|
+
<p class="col-xs-6 text-left input-font">{{ selectdata.f_contact }}</p>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="col-xs-6">
|
|
34
|
+
<p class="col-xs-6 text-left font"><b>联系电话:</b></p>
|
|
35
|
+
<p class="col-xs-6 text-left input-font">{{ selectdata.f_phone }}</p>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="col-xs-6">
|
|
38
|
+
<p class="col-xs-6 text-left font"><b>办理环节:</b></p>
|
|
39
|
+
<p class="col-xs-6 text-left input-font">{{ selectdata.defname }}</p>
|
|
40
|
+
</div>
|
|
41
|
+
<div class="col-xs-12">
|
|
42
|
+
<p class="col-xs-3 text-left font"><b>项目地址:</b></p>
|
|
43
|
+
<p class="col-xs-9 text-left input-font">{{ selectdata.f_address }}</p>
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
<div class="row" v-for="(i,row) in defnames">
|
|
48
|
+
<div :class="row.id === selectdata.actid ? 'item selectIndex' : 'item'">
|
|
49
|
+
{{row.defname}}
|
|
50
|
+
<br>
|
|
51
|
+
{{ row.finishtime ? row.finishtime : row.sendtime }}
|
|
52
|
+
</div>
|
|
53
|
+
<div class="arrow glyphicon glyphicon-menu-down" v-if="i != defnames.length-1" aria-hidden="true"></div>
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
</template>
|
|
57
|
+
|
|
58
|
+
<script>
|
|
59
|
+
import {HttpResetClass} from 'vue-client'
|
|
60
|
+
export default {
|
|
61
|
+
title: '流程节点',
|
|
62
|
+
props: ['selectdata'],
|
|
63
|
+
data () {
|
|
64
|
+
return {
|
|
65
|
+
defnames: []
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
ready () {
|
|
69
|
+
this.initial()
|
|
70
|
+
},
|
|
71
|
+
methods: {
|
|
72
|
+
async initial() {
|
|
73
|
+
// 获取流程节点信息
|
|
74
|
+
let http = new HttpResetClass()
|
|
75
|
+
let data = {
|
|
76
|
+
processid: this.selectdata.f_process_id
|
|
77
|
+
}
|
|
78
|
+
let res = await http.load(
|
|
79
|
+
'POST',`${this.$androidUtil.getProxyUrl()}/rs/sql/getAllNode`,
|
|
80
|
+
{data: data},
|
|
81
|
+
{
|
|
82
|
+
resolveMsg:null,
|
|
83
|
+
rejectMsg:null
|
|
84
|
+
})
|
|
85
|
+
this.defnames = res.data
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
watch: {
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
</script>
|
|
92
|
+
|
|
93
|
+
<style scoped>
|
|
94
|
+
.app-text {
|
|
95
|
+
font-size: 12px;
|
|
96
|
+
}
|
|
97
|
+
.panel-self{
|
|
98
|
+
border-radius: 10px;
|
|
99
|
+
border:1px solid #499EDF;
|
|
100
|
+
background-color: #F8F8F8;
|
|
101
|
+
}
|
|
102
|
+
.row{
|
|
103
|
+
padding: 0 40px;
|
|
104
|
+
text-align: center;
|
|
105
|
+
height: auto;
|
|
106
|
+
}
|
|
107
|
+
.item{
|
|
108
|
+
border-radius: 2em;
|
|
109
|
+
border: 1px solid silver;
|
|
110
|
+
line-height: 25px;
|
|
111
|
+
}
|
|
112
|
+
.arrow{
|
|
113
|
+
width: 100%;
|
|
114
|
+
color: #5ac0d9;
|
|
115
|
+
font-weight: bold;
|
|
116
|
+
}
|
|
117
|
+
.selectIndex{
|
|
118
|
+
background-color: #5ac0d9;
|
|
119
|
+
color: #ffffff;
|
|
120
|
+
}
|
|
121
|
+
</style>
|
|
@@ -1,125 +1,125 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<div :style="'height:' + AmapHeight">
|
|
4
|
-
<AMap-location
|
|
5
|
-
:islocation="true"
|
|
6
|
-
:locationzoomcenter="false"
|
|
7
|
-
:usenative="true"
|
|
8
|
-
:isshowsearch="false"
|
|
9
|
-
:mylocationinfo="false"
|
|
10
|
-
:islocationclearmark="false"
|
|
11
|
-
:isshowmapmodel="false"
|
|
12
|
-
:locationwindow="false"
|
|
13
|
-
mapmodel="dragMarker"
|
|
14
|
-
:labelmarksarray="labelmarksarray"
|
|
15
|
-
@diyspotmouseclick="diyspotmouseclick"
|
|
16
|
-
></AMap-location>
|
|
17
|
-
</div>
|
|
18
|
-
<div class="auto row" v-if="selectdata">
|
|
19
|
-
<div class="col-sm-12 col-xs-12 form-group app-input" style="margin-top: 10px"></div>
|
|
20
|
-
<template v-for="item in fileds">
|
|
21
|
-
<div class="col-sm-12 col-xs-12 form-group app-input">
|
|
22
|
-
<label class="">{{ item.label }}</label>
|
|
23
|
-
<div :class="item.type === 'tel' || item.type === 'map' ? 'col-sm-8 col-xs-8' : 'col-sm-8 col-xs-9'">
|
|
24
|
-
<input style="width: 100%" type="text" placeholder="" v-model="selectdata[item.field]" :value="selectdata[item.field]" readonly>
|
|
25
|
-
<svg v-if="item.type === 'tel'" @click.prevent="dialNumber(selectdata[item.field])" style="width: 25px;height: 25px;position: absolute;bottom: 8px;" t="1628575136009" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2374" width="200" height="200"><path d="M682.25 465.262c0 16.695 11.115 27.811 27.81 27.811s27.812-11.116 27.812-27.811A167.395 167.395 0 0 0 570.96 298.35c-16.695 0-27.811 11.116-27.811 27.811s11.16 27.812 27.811 27.812a111.597 111.597 0 0 1 111.29 111.289z m111.289 0c0 16.695 11.115 27.811 27.81 27.811s27.812-11.116 27.812-27.811c0-152.984-125.217-278.201-278.2-278.201-16.696 0-27.812 11.16-27.812 27.855s11.16 27.811 27.811 27.811c122.405 0 222.579 100.174 222.579 222.535zM417.976 367.9c30.623-30.579 33.391-77.898 5.58-111.289L337.31 148.134c-27.811-36.16-80.666-41.74-116.869-13.928-2.768 2.812-5.536 2.812-5.536 5.58l-75.13 75.13c-72.318 72.318 30.623 267.041 217.042 453.417C543.15 854.708 735.06 954.88 807.378 885.33l75.13-75.13c33.392-33.391 33.392-86.246 0-116.825l-5.536-5.58-108.52-86.246c-33.348-27.81-80.623-25.043-111.246 5.58l-47.275 47.319c-50.087-30.623-94.593-64.014-133.564-102.941-38.927-38.971-72.275-83.478-102.898-133.565l44.507-50.043z m-38.927-75.13c8.348 11.16 8.348 27.855-2.812 36.203l-61.202 63.97a29.569 29.569 0 0 0-5.536 33.392 721.425 721.425 0 0 0 122.405 164.1 721.512 721.512 0 0 0 164.1 122.405 29.569 29.569 0 0 0 33.39-5.58l63.971-63.97c11.16-11.116 25.043-11.116 36.203-2.769l108.477 89.014s2.768 0 2.768 2.768a26.889 26.889 0 0 1 0 38.971l-75.13 75.13c-36.115 36.115-208.606-55.666-372.75-217.042-164.1-161.332-253.114-336.548-216.955-372.75l77.854-77.899c11.16-8.348 30.623-8.348 38.971 5.58l86.246 108.521z" fill="#8A8A8A" p-id="2375"></path></svg>
|
|
26
|
-
<svg v-if="item.type === 'map'" @click="openAmap(selectdata[item.field])" style="width: 25px;height: 25px;position: absolute;bottom: 8px;" t="1628575336648" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3201" width="200" height="200"><path d="M512 956h-1.1c-10.9 0-20.5-6.9-24.7-17L369.9 654.1 85 537.8c-10.1-4.1-16.8-13.7-17.2-24.6-0.4-10.9 5.6-21 15.3-25.9l833-416.5c10.7-5.3 23.6-3.2 32.1 5.2s10.5 21.4 5.2 32.1L536.8 940.9c-4.7 9.4-14.3 15.1-24.8 15.1zM162.7 509.6l239 97.6c6.9 2.8 12.4 8.3 15.2 15.2l97.6 239 351.9-703.8-703.7 352z" fill="#666666" p-id="3202"></path></svg>
|
|
27
|
-
</div>
|
|
28
|
-
</div>
|
|
29
|
-
</template>
|
|
30
|
-
<div class="col-sm-12 col-xs-12 form-group app-btn">
|
|
31
|
-
<button class="btn btn-info" @click.prevent="click()">查看详情</button>
|
|
32
|
-
</div>
|
|
33
|
-
</div>
|
|
34
|
-
</div>
|
|
35
|
-
</template>
|
|
36
|
-
<script>
|
|
37
|
-
import Vue from 'vue'
|
|
38
|
-
export default {
|
|
39
|
-
title: '地图任务点',
|
|
40
|
-
props: {
|
|
41
|
-
data: {
|
|
42
|
-
type: Array,
|
|
43
|
-
default: []
|
|
44
|
-
},
|
|
45
|
-
fileds: {
|
|
46
|
-
type: Array,
|
|
47
|
-
default: []
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
data () {
|
|
51
|
-
return {
|
|
52
|
-
labelmarksarray: [],
|
|
53
|
-
selectdata: null,
|
|
54
|
-
AmapHeight: '100%'
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
ready () {
|
|
58
|
-
this.getLocatingPoint()
|
|
59
|
-
},
|
|
60
|
-
methods: {
|
|
61
|
-
// 查看详情
|
|
62
|
-
click () {
|
|
63
|
-
let _this = this
|
|
64
|
-
this.$dispatch('gotoson', {
|
|
65
|
-
_this: _this,
|
|
66
|
-
title: _this.selectdata.defname,
|
|
67
|
-
safe: true
|
|
68
|
-
})
|
|
69
|
-
this.$goto('app-service-control', {selectdata: _this.selectdata}, 'self', null)
|
|
70
|
-
},
|
|
71
|
-
// 导航
|
|
72
|
-
openAmap (address) {
|
|
73
|
-
let _this = this
|
|
74
|
-
HostApp.openThirdPartyMap({
|
|
75
|
-
lon: _this.selectdata.f_longitude,
|
|
76
|
-
lat: _this.selectdata.f_dimension,
|
|
77
|
-
address: address
|
|
78
|
-
})
|
|
79
|
-
},
|
|
80
|
-
// 拨打电话
|
|
81
|
-
dialNumber (tel) {
|
|
82
|
-
this.$showMessage(`是否拨打电话:${tel}`, ['confirm']).then((res) => {
|
|
83
|
-
if (res === 'confirm') {
|
|
84
|
-
this.$androidUtil.makeAPhoneCall(tel)
|
|
85
|
-
}
|
|
86
|
-
})
|
|
87
|
-
},
|
|
88
|
-
// 点击定位点回调
|
|
89
|
-
diyspotmouseclick (data) {
|
|
90
|
-
this.AmapHeight = '60%'
|
|
91
|
-
|
|
92
|
-
this.selectdata = data
|
|
93
|
-
},
|
|
94
|
-
// 获取定位点
|
|
95
|
-
getLocatingPoint () {
|
|
96
|
-
this.data.forEach(item => {
|
|
97
|
-
this.labelmarksarray.push({
|
|
98
|
-
data: {
|
|
99
|
-
data: item,
|
|
100
|
-
content: item.f_user_name
|
|
101
|
-
},
|
|
102
|
-
position: [item.f_longitude, item.f_dimension],
|
|
103
|
-
isclearmarker: false,
|
|
104
|
-
islabel: false
|
|
105
|
-
})
|
|
106
|
-
})
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
events: {
|
|
110
|
-
},
|
|
111
|
-
watch: {
|
|
112
|
-
'data' () {
|
|
113
|
-
this.getLocatingPoint()
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
</script>
|
|
118
|
-
|
|
119
|
-
<style lang="less">
|
|
120
|
-
.app-input {
|
|
121
|
-
label {
|
|
122
|
-
float: left;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<div :style="'height:' + AmapHeight">
|
|
4
|
+
<AMap-location
|
|
5
|
+
:islocation="true"
|
|
6
|
+
:locationzoomcenter="false"
|
|
7
|
+
:usenative="true"
|
|
8
|
+
:isshowsearch="false"
|
|
9
|
+
:mylocationinfo="false"
|
|
10
|
+
:islocationclearmark="false"
|
|
11
|
+
:isshowmapmodel="false"
|
|
12
|
+
:locationwindow="false"
|
|
13
|
+
mapmodel="dragMarker"
|
|
14
|
+
:labelmarksarray="labelmarksarray"
|
|
15
|
+
@diyspotmouseclick="diyspotmouseclick"
|
|
16
|
+
></AMap-location>
|
|
17
|
+
</div>
|
|
18
|
+
<div class="auto row" v-if="selectdata">
|
|
19
|
+
<div class="col-sm-12 col-xs-12 form-group app-input" style="margin-top: 10px"></div>
|
|
20
|
+
<template v-for="item in fileds">
|
|
21
|
+
<div class="col-sm-12 col-xs-12 form-group app-input">
|
|
22
|
+
<label class="">{{ item.label }}</label>
|
|
23
|
+
<div :class="item.type === 'tel' || item.type === 'map' ? 'col-sm-8 col-xs-8' : 'col-sm-8 col-xs-9'">
|
|
24
|
+
<input style="width: 100%" type="text" placeholder="" v-model="selectdata[item.field]" :value="selectdata[item.field]" readonly>
|
|
25
|
+
<svg v-if="item.type === 'tel'" @click.prevent="dialNumber(selectdata[item.field])" style="width: 25px;height: 25px;position: absolute;bottom: 8px;" t="1628575136009" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2374" width="200" height="200"><path d="M682.25 465.262c0 16.695 11.115 27.811 27.81 27.811s27.812-11.116 27.812-27.811A167.395 167.395 0 0 0 570.96 298.35c-16.695 0-27.811 11.116-27.811 27.811s11.16 27.812 27.811 27.812a111.597 111.597 0 0 1 111.29 111.289z m111.289 0c0 16.695 11.115 27.811 27.81 27.811s27.812-11.116 27.812-27.811c0-152.984-125.217-278.201-278.2-278.201-16.696 0-27.812 11.16-27.812 27.855s11.16 27.811 27.811 27.811c122.405 0 222.579 100.174 222.579 222.535zM417.976 367.9c30.623-30.579 33.391-77.898 5.58-111.289L337.31 148.134c-27.811-36.16-80.666-41.74-116.869-13.928-2.768 2.812-5.536 2.812-5.536 5.58l-75.13 75.13c-72.318 72.318 30.623 267.041 217.042 453.417C543.15 854.708 735.06 954.88 807.378 885.33l75.13-75.13c33.392-33.391 33.392-86.246 0-116.825l-5.536-5.58-108.52-86.246c-33.348-27.81-80.623-25.043-111.246 5.58l-47.275 47.319c-50.087-30.623-94.593-64.014-133.564-102.941-38.927-38.971-72.275-83.478-102.898-133.565l44.507-50.043z m-38.927-75.13c8.348 11.16 8.348 27.855-2.812 36.203l-61.202 63.97a29.569 29.569 0 0 0-5.536 33.392 721.425 721.425 0 0 0 122.405 164.1 721.512 721.512 0 0 0 164.1 122.405 29.569 29.569 0 0 0 33.39-5.58l63.971-63.97c11.16-11.116 25.043-11.116 36.203-2.769l108.477 89.014s2.768 0 2.768 2.768a26.889 26.889 0 0 1 0 38.971l-75.13 75.13c-36.115 36.115-208.606-55.666-372.75-217.042-164.1-161.332-253.114-336.548-216.955-372.75l77.854-77.899c11.16-8.348 30.623-8.348 38.971 5.58l86.246 108.521z" fill="#8A8A8A" p-id="2375"></path></svg>
|
|
26
|
+
<svg v-if="item.type === 'map'" @click="openAmap(selectdata[item.field])" style="width: 25px;height: 25px;position: absolute;bottom: 8px;" t="1628575336648" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3201" width="200" height="200"><path d="M512 956h-1.1c-10.9 0-20.5-6.9-24.7-17L369.9 654.1 85 537.8c-10.1-4.1-16.8-13.7-17.2-24.6-0.4-10.9 5.6-21 15.3-25.9l833-416.5c10.7-5.3 23.6-3.2 32.1 5.2s10.5 21.4 5.2 32.1L536.8 940.9c-4.7 9.4-14.3 15.1-24.8 15.1zM162.7 509.6l239 97.6c6.9 2.8 12.4 8.3 15.2 15.2l97.6 239 351.9-703.8-703.7 352z" fill="#666666" p-id="3202"></path></svg>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
</template>
|
|
30
|
+
<div class="col-sm-12 col-xs-12 form-group app-btn">
|
|
31
|
+
<button class="btn btn-info" @click.prevent="click()">查看详情</button>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
</template>
|
|
36
|
+
<script>
|
|
37
|
+
import Vue from 'vue'
|
|
38
|
+
export default {
|
|
39
|
+
title: '地图任务点',
|
|
40
|
+
props: {
|
|
41
|
+
data: {
|
|
42
|
+
type: Array,
|
|
43
|
+
default: []
|
|
44
|
+
},
|
|
45
|
+
fileds: {
|
|
46
|
+
type: Array,
|
|
47
|
+
default: []
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
data () {
|
|
51
|
+
return {
|
|
52
|
+
labelmarksarray: [],
|
|
53
|
+
selectdata: null,
|
|
54
|
+
AmapHeight: '100%'
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
ready () {
|
|
58
|
+
this.getLocatingPoint()
|
|
59
|
+
},
|
|
60
|
+
methods: {
|
|
61
|
+
// 查看详情
|
|
62
|
+
click () {
|
|
63
|
+
let _this = this
|
|
64
|
+
this.$dispatch('gotoson', {
|
|
65
|
+
_this: _this,
|
|
66
|
+
title: _this.selectdata.defname,
|
|
67
|
+
safe: true
|
|
68
|
+
})
|
|
69
|
+
this.$goto('app-service-control', {selectdata: _this.selectdata}, 'self', null)
|
|
70
|
+
},
|
|
71
|
+
// 导航
|
|
72
|
+
openAmap (address) {
|
|
73
|
+
let _this = this
|
|
74
|
+
HostApp.openThirdPartyMap({
|
|
75
|
+
lon: _this.selectdata.f_longitude,
|
|
76
|
+
lat: _this.selectdata.f_dimension,
|
|
77
|
+
address: address
|
|
78
|
+
})
|
|
79
|
+
},
|
|
80
|
+
// 拨打电话
|
|
81
|
+
dialNumber (tel) {
|
|
82
|
+
this.$showMessage(`是否拨打电话:${tel}`, ['confirm']).then((res) => {
|
|
83
|
+
if (res === 'confirm') {
|
|
84
|
+
this.$androidUtil.makeAPhoneCall(tel)
|
|
85
|
+
}
|
|
86
|
+
})
|
|
87
|
+
},
|
|
88
|
+
// 点击定位点回调
|
|
89
|
+
diyspotmouseclick (data) {
|
|
90
|
+
this.AmapHeight = '60%'
|
|
91
|
+
|
|
92
|
+
this.selectdata = data
|
|
93
|
+
},
|
|
94
|
+
// 获取定位点
|
|
95
|
+
getLocatingPoint () {
|
|
96
|
+
this.data.forEach(item => {
|
|
97
|
+
this.labelmarksarray.push({
|
|
98
|
+
data: {
|
|
99
|
+
data: item,
|
|
100
|
+
content: item.f_user_name
|
|
101
|
+
},
|
|
102
|
+
position: [item.f_longitude, item.f_dimension],
|
|
103
|
+
isclearmarker: false,
|
|
104
|
+
islabel: false
|
|
105
|
+
})
|
|
106
|
+
})
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
events: {
|
|
110
|
+
},
|
|
111
|
+
watch: {
|
|
112
|
+
'data' () {
|
|
113
|
+
this.getLocatingPoint()
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
</script>
|
|
118
|
+
|
|
119
|
+
<style lang="less">
|
|
120
|
+
.app-input {
|
|
121
|
+
label {
|
|
122
|
+
float: left;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
</style>
|