apply-clients 3.3.33 → 3.3.37
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/css-loaders.js +34 -0
- package/build/dev-android.js +101 -0
- package/build/dev-client.js +8 -0
- package/build/dev-server-app.js +76 -0
- package/build/dev-server.js +130 -0
- package/build/example-server.js +80 -0
- package/build/release.sh +28 -0
- package/build/utils.js +80 -0
- package/build/webpack.base.conf.js +84 -0
- package/build/webpack.baseandroid.conf.js +84 -0
- package/build/webpack.dev.conf.js +39 -0
- package/build/webpack.devandroid.conf.js +34 -0
- package/build/webpack.example.conf.js +49 -0
- package/build/webpack.prod.conf.js +60 -0
- package/build/webpack.prodandroid.conf.js +60 -0
- package/build/webpack.test.conf.js +31 -0
- package/index.html +33 -33
- package/package.json +1 -1
- package/src/AndroidApp.vue +30 -30
- package/src/android.js +21 -21
- package/src/apply.js +2 -8
- package/src/applyAndroid.js +1 -8
- package/src/components/android/AppOnetomany.vue +305 -305
- package/src/components/android/AppServiceView.vue +570 -570
- package/src/components/android/AppTakePic.vue +143 -143
- package/src/components/android/Function/AppFunctionServiceControl.vue +344 -344
- package/src/components/android/Function/AppInstallFunction.vue +1 -1
- package/src/components/android/Process/AppExplorationUser.vue +1 -1
- package/src/components/android/Process/AppServiceControl.vue +756 -756
- package/src/components/android/Process/Processes/AppChargeManagement.vue +468 -468
- package/src/components/android/Process/Processes/AppDevicesManagement.vue +508 -508
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +471 -471
- package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +297 -297
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +1 -1
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +115 -115
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +88 -21
- package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +30 -30
- package/src/components/product/Function/InstallFunction.vue +10 -0
- package/src/components/product/Function/InstallInfoSelect.vue +4 -0
- package/src/components/product/Function/Service/FunctionServiceControl.vue +4 -4
- package/src/components/product/Install/InstallProject.vue +194 -0
- package/src/components/product/Material/MaterialDetailed.vue +224 -213
- package/src/components/product/OldApply/Handle/HandleApply.vue +11 -0
- package/src/components/product/OldApply/Monitor/MonitorApply.vue +62 -2
- package/src/components/product/OldApply/OldApply.vue +2 -2
- package/src/components/product/OldApply/OldApplyMessage.vue +411 -411
- package/src/components/product/Onetomany.vue +381 -381
- package/src/components/product/Order/OrderApply.vue +47 -47
- package/src/components/product/Order/OrderApplyList.vue +263 -263
- package/src/components/product/Order/OrderMessage.vue +237 -237
- package/src/components/product/Process/ExplorationSelect.vue +4 -0
- package/src/components/product/Process/ExplorationUser.vue +10 -0
- package/src/components/product/Process/Processes/InstallationDetails.vue +578 -578
- package/src/components/product/Process/Processes/Print/printBuildOrder.vue +10 -32
- package/src/components/product/Process/Processes/Print/printCharge.vue +142 -139
- package/src/components/product/Process/Processes/Print/printRefund.vue +16 -13
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +186 -186
- package/src/components/product/Process/Processes/chargeManagement.vue +1 -1
- package/src/components/product/Process/Processes/devicesManagement.vue +478 -478
- package/src/components/product/Process/Processes/selectApply.vue +250 -250
- package/src/components/product/Process/Processes/selectUserinfo.vue +182 -182
- package/src/components/product/Process/Processes/supplementalAgreement.vue +298 -298
- package/src/components/product/Process/Service/ServiceControl.vue +1 -1
- package/src/components/product/Process/ShowBackReason.vue +33 -33
- package/src/components/product/ServiceView.vue +637 -637
- package/src/components/product/Stop/StopApply.vue +101 -101
- package/src/components/product/Stop/StopApplyList.vue +271 -271
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +804 -798
- package/src/components/product/Supervisory/SupervisoryControl.vue +10 -0
- package/src/components/product/Supervisory/SupervisoryList.vue +4 -0
- package/src/components/product/Supervisory/SupervisoryhCart.vue +124 -124
- package/src/components/product/VueUtils/ApplyUpload.vue +262 -262
- package/src/components/product/VueUtils/GaoPaiYi/HighMeter.vue +1090 -1090
- package/src/main.js +23 -23
- package/dist-android/index.html +0 -3
- package/dist-android/static/.gitkeep +0 -0
- package/dist-android/static/0.js +0 -2
- package/dist-android/static/0.js.map +0 -1
- package/dist-android/static/1.js +0 -2
- package/dist-android/static/1.js.map +0 -1
- package/dist-android/static/10.js +0 -2
- package/dist-android/static/10.js.map +0 -1
- package/dist-android/static/100.js +0 -2
- package/dist-android/static/100.js.map +0 -1
- package/dist-android/static/11.js +0 -2
- package/dist-android/static/11.js.map +0 -1
- package/dist-android/static/12.js +0 -2
- package/dist-android/static/12.js.map +0 -1
- package/dist-android/static/13.js +0 -2
- package/dist-android/static/13.js.map +0 -1
- package/dist-android/static/14.js +0 -2
- package/dist-android/static/14.js.map +0 -1
- package/dist-android/static/15.js +0 -2
- package/dist-android/static/15.js.map +0 -1
- package/dist-android/static/16.js +0 -2
- package/dist-android/static/16.js.map +0 -1
- package/dist-android/static/17.js +0 -2
- package/dist-android/static/17.js.map +0 -1
- package/dist-android/static/18.js +0 -2
- package/dist-android/static/18.js.map +0 -1
- package/dist-android/static/19.js +0 -2
- package/dist-android/static/19.js.map +0 -1
- package/dist-android/static/2.js +0 -2
- package/dist-android/static/2.js.map +0 -1
- package/dist-android/static/20.js +0 -2
- package/dist-android/static/20.js.map +0 -1
- package/dist-android/static/21.js +0 -2
- package/dist-android/static/21.js.map +0 -1
- package/dist-android/static/22.js +0 -2
- package/dist-android/static/22.js.map +0 -1
- package/dist-android/static/23.js +0 -2
- package/dist-android/static/23.js.map +0 -1
- package/dist-android/static/24.js +0 -2
- package/dist-android/static/24.js.map +0 -1
- package/dist-android/static/25.js +0 -2
- package/dist-android/static/25.js.map +0 -1
- package/dist-android/static/26.js +0 -2
- package/dist-android/static/26.js.map +0 -1
- package/dist-android/static/27.js +0 -2
- package/dist-android/static/27.js.map +0 -1
- package/dist-android/static/28.js +0 -2
- package/dist-android/static/28.js.map +0 -1
- package/dist-android/static/29.js +0 -2
- package/dist-android/static/29.js.map +0 -1
- package/dist-android/static/3.js +0 -2
- package/dist-android/static/3.js.map +0 -1
- package/dist-android/static/30.js +0 -2
- package/dist-android/static/30.js.map +0 -1
- package/dist-android/static/31.js +0 -2
- package/dist-android/static/31.js.map +0 -1
- package/dist-android/static/32.js +0 -2
- package/dist-android/static/32.js.map +0 -1
- package/dist-android/static/33.js +0 -2
- package/dist-android/static/33.js.map +0 -1
- package/dist-android/static/34.js +0 -2
- package/dist-android/static/34.js.map +0 -1
- package/dist-android/static/35.js +0 -2
- package/dist-android/static/35.js.map +0 -1
- package/dist-android/static/36.js +0 -2
- package/dist-android/static/36.js.map +0 -1
- package/dist-android/static/37.js +0 -2
- package/dist-android/static/37.js.map +0 -1
- package/dist-android/static/38.js +0 -2
- package/dist-android/static/38.js.map +0 -1
- package/dist-android/static/39.js +0 -2
- package/dist-android/static/39.js.map +0 -1
- package/dist-android/static/4.js +0 -2
- package/dist-android/static/4.js.map +0 -1
- package/dist-android/static/40.js +0 -2
- package/dist-android/static/40.js.map +0 -1
- package/dist-android/static/41.js +0 -2
- package/dist-android/static/41.js.map +0 -1
- package/dist-android/static/42.js +0 -2
- package/dist-android/static/42.js.map +0 -1
- package/dist-android/static/43.js +0 -2
- package/dist-android/static/43.js.map +0 -1
- package/dist-android/static/44.js +0 -2
- package/dist-android/static/44.js.map +0 -1
- package/dist-android/static/45.js +0 -2
- package/dist-android/static/45.js.map +0 -1
- package/dist-android/static/46.js +0 -2
- package/dist-android/static/46.js.map +0 -1
- package/dist-android/static/47.js +0 -2
- package/dist-android/static/47.js.map +0 -1
- package/dist-android/static/48.js +0 -2
- package/dist-android/static/48.js.map +0 -1
- package/dist-android/static/49.js +0 -2
- package/dist-android/static/49.js.map +0 -1
- package/dist-android/static/5.js +0 -2
- package/dist-android/static/5.js.map +0 -1
- package/dist-android/static/50.js +0 -2
- package/dist-android/static/50.js.map +0 -1
- package/dist-android/static/51.js +0 -2
- package/dist-android/static/51.js.map +0 -1
- package/dist-android/static/52.js +0 -2
- package/dist-android/static/52.js.map +0 -1
- package/dist-android/static/53.js +0 -2
- package/dist-android/static/53.js.map +0 -1
- package/dist-android/static/54.js +0 -2
- package/dist-android/static/54.js.map +0 -1
- package/dist-android/static/55.js +0 -2
- package/dist-android/static/55.js.map +0 -1
- package/dist-android/static/56.js +0 -2
- package/dist-android/static/56.js.map +0 -1
- package/dist-android/static/57.js +0 -2
- package/dist-android/static/57.js.map +0 -1
- package/dist-android/static/58.js +0 -2
- package/dist-android/static/58.js.map +0 -1
- package/dist-android/static/59.js +0 -2
- package/dist-android/static/59.js.map +0 -1
- package/dist-android/static/6.js +0 -2
- package/dist-android/static/6.js.map +0 -1
- package/dist-android/static/60.js +0 -2
- package/dist-android/static/60.js.map +0 -1
- package/dist-android/static/61.js +0 -2
- package/dist-android/static/61.js.map +0 -1
- package/dist-android/static/62.js +0 -2
- package/dist-android/static/62.js.map +0 -1
- package/dist-android/static/63.js +0 -2
- package/dist-android/static/63.js.map +0 -1
- package/dist-android/static/64.js +0 -2
- package/dist-android/static/64.js.map +0 -1
- package/dist-android/static/65.js +0 -2
- package/dist-android/static/65.js.map +0 -1
- package/dist-android/static/66.js +0 -2
- package/dist-android/static/66.js.map +0 -1
- package/dist-android/static/67.js +0 -2
- package/dist-android/static/67.js.map +0 -1
- package/dist-android/static/68.js +0 -2
- package/dist-android/static/68.js.map +0 -1
- package/dist-android/static/69.js +0 -2
- package/dist-android/static/69.js.map +0 -1
- package/dist-android/static/7.js +0 -6
- package/dist-android/static/7.js.map +0 -1
- package/dist-android/static/70.js +0 -2
- package/dist-android/static/70.js.map +0 -1
- package/dist-android/static/71.js +0 -2
- package/dist-android/static/71.js.map +0 -1
- package/dist-android/static/72.js +0 -2
- package/dist-android/static/72.js.map +0 -1
- package/dist-android/static/73.js +0 -2
- package/dist-android/static/73.js.map +0 -1
- package/dist-android/static/74.js +0 -2
- package/dist-android/static/74.js.map +0 -1
- package/dist-android/static/75.js +0 -2
- package/dist-android/static/75.js.map +0 -1
- package/dist-android/static/76.js +0 -2
- package/dist-android/static/76.js.map +0 -1
- package/dist-android/static/77.js +0 -2
- package/dist-android/static/77.js.map +0 -1
- package/dist-android/static/78.js +0 -2
- package/dist-android/static/78.js.map +0 -1
- package/dist-android/static/79.js +0 -2
- package/dist-android/static/79.js.map +0 -1
- package/dist-android/static/8.js +0 -2
- package/dist-android/static/8.js.map +0 -1
- package/dist-android/static/80.js +0 -2
- package/dist-android/static/80.js.map +0 -1
- package/dist-android/static/81.js +0 -2
- package/dist-android/static/81.js.map +0 -1
- package/dist-android/static/82.js +0 -2
- package/dist-android/static/82.js.map +0 -1
- package/dist-android/static/83.js +0 -2
- package/dist-android/static/83.js.map +0 -1
- package/dist-android/static/84.js +0 -2
- package/dist-android/static/84.js.map +0 -1
- package/dist-android/static/85.js +0 -2
- package/dist-android/static/85.js.map +0 -1
- package/dist-android/static/86.js +0 -2
- package/dist-android/static/86.js.map +0 -1
- package/dist-android/static/87.js +0 -2
- package/dist-android/static/87.js.map +0 -1
- package/dist-android/static/88.js +0 -2
- package/dist-android/static/88.js.map +0 -1
- package/dist-android/static/89.js +0 -2
- package/dist-android/static/89.js.map +0 -1
- package/dist-android/static/9.js +0 -3
- package/dist-android/static/9.js.map +0 -1
- package/dist-android/static/90.js +0 -2
- package/dist-android/static/90.js.map +0 -1
- package/dist-android/static/91.js +0 -2
- package/dist-android/static/91.js.map +0 -1
- package/dist-android/static/92.js +0 -2
- package/dist-android/static/92.js.map +0 -1
- package/dist-android/static/93.js +0 -2
- package/dist-android/static/93.js.map +0 -1
- package/dist-android/static/94.js +0 -2
- package/dist-android/static/94.js.map +0 -1
- package/dist-android/static/95.js +0 -2
- package/dist-android/static/95.js.map +0 -1
- package/dist-android/static/96.js +0 -2
- package/dist-android/static/96.js.map +0 -1
- package/dist-android/static/97.js +0 -2
- package/dist-android/static/97.js.map +0 -1
- package/dist-android/static/98.js +0 -2
- package/dist-android/static/98.js.map +0 -1
- package/dist-android/static/99.js +0 -2
- package/dist-android/static/99.js.map +0 -1
- package/dist-android/static/app.css +0 -2
- package/dist-android/static/app.css.map +0 -1
- package/dist-android/static/app.js +0 -80
- package/dist-android/static/app.js.map +0 -1
- package/dist-android/static/batchleft.png +0 -0
- package/dist-android/static/batchright.png +0 -0
- package/dist-android/static/bluemainbg.jpg +0 -0
- package/dist-android/static/config.json +0 -7
- package/dist-android/static/denglu.png +0 -0
- package/dist-android/static/glyphicons-halflings-regular.eot +0 -0
- package/dist-android/static/glyphicons-halflings-regular.svg +0 -288
- package/dist-android/static/glyphicons-halflings-regular.ttf +0 -0
- package/dist-android/static/glyphicons-halflings-regular.woff +0 -0
- package/dist-android/static/glyphicons-halflings-regular.woff2 +0 -0
- package/dist-android/static/huangtengbiaozhi.png +0 -0
- package/dist-android/static/jingyin.jpg +0 -0
- package/dist-android/static/login_bg.jpg +0 -0
- package/dist-android/static/login_title.png +0 -0
- package/dist-android/static/login_title1.png +0 -0
- package/dist-android/static/loginbg.jpg +0 -0
- package/dist-android/static/loginlogo.png +0 -0
- package/dist-android/static/main_logo.png +0 -0
- package/dist-android/static/mainbg.jpg +0 -0
- package/dist-android/static/menulogo.png +0 -0
- package/dist-android/static/newmainbg.jpg +0 -0
- package/dist-android/static/psicon.png +0 -0
- package/dist-android/static/singleleft.png +0 -0
- package/dist-android/static/singleright.png +0 -0
- package/dist-android/static/treeopen.png +0 -0
- package/dist-android/static/treeout.png +0 -0
- package/dist-android/static/treeset.png +0 -0
- package/dist-android/static/usericon.png +0 -0
- package/dist-android/static/workflow_apply.json +0 -766
- package/dist-android/static/xinxi.png +0 -0
- package/dist-android/static//344/277/256/346/224/271/345/257/206/347/240/201.png +0 -0
- package/dist-android/static//345/256/211/346/243/200/345/257/274/350/210/252/347/253/226/345/261/2173.png +0 -0
- package/dist-android/static//345/257/274/345/207/272/346/225/260/346/215/256.png +0 -0
- package/dist-android/static//346/270/205/347/251/272/346/225/260/346/215/256.png +0 -0
- package/src/filiale/wuan/android.js +0 -0
- package/src/filiale/wuan/pc.js +0 -4
- package/src/filiale/yuchuan/android/AppServiceView.vue +0 -599
- package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +0 -414
- package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +0 -456
- package/src/filiale/yuchuan/android/Reserve/ApplyReserve.vue +0 -200
- package/src/filiale/yuchuan/android/SiteSurvey/TaskGraph.vue +0 -137
- package/src/filiale/yuchuan/android.js +0 -8
- package/src/filiale/yuchuan/pc/Order/OrderApply.vue +0 -517
- package/src/filiale/yuchuan/pc/Order/OrderApplyList.vue +0 -343
- package/src/filiale/yuchuan/pc/Process/ExplorationSelect.vue +0 -356
- package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +0 -131
- package/src/filiale/yuchuan/pc/Process/Processes/MapCom.vue +0 -51
- package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +0 -517
- package/src/filiale/yuchuan/pc.js +0 -13
|
@@ -118,6 +118,16 @@
|
|
|
118
118
|
this.$refs.query.$refs.cp.pager = true
|
|
119
119
|
// 调用查询
|
|
120
120
|
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
121
|
+
},
|
|
122
|
+
'loadPage' () {
|
|
123
|
+
// 关闭详细
|
|
124
|
+
this.showtotal = false
|
|
125
|
+
// 显示列表数据
|
|
126
|
+
this.showData = true
|
|
127
|
+
// 显示分页
|
|
128
|
+
this.$refs.query.$refs.cp.pager = true
|
|
129
|
+
// 调用查询
|
|
130
|
+
this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
|
|
121
131
|
}
|
|
122
132
|
},
|
|
123
133
|
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
</div>
|
|
27
27
|
<div class="form-group col-sm-2 button-range">
|
|
28
28
|
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
29
|
+
<button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
|
|
29
30
|
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
30
31
|
<div
|
|
31
32
|
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
@@ -200,6 +201,9 @@
|
|
|
200
201
|
events: {
|
|
201
202
|
},
|
|
202
203
|
methods: {
|
|
204
|
+
loadPage () {
|
|
205
|
+
this.$dispatch('loadPage')
|
|
206
|
+
},
|
|
203
207
|
// 查询
|
|
204
208
|
search () {
|
|
205
209
|
this.$dispatch('search')
|
|
@@ -1,124 +1,124 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div style="overflow: auto;background-color: #FFFFFF;">
|
|
3
|
-
<div class="row" v-for="(i,row) in defnames">
|
|
4
|
-
<div :class="row.id === selectdata.actid ? 'item selectIndex' : 'item'" @click="getdefname(row)" >
|
|
5
|
-
{{ row.defname }}
|
|
6
|
-
<br>
|
|
7
|
-
{{i === (defnames.length) - 1 ? row.sendtime : row.finishtime}}
|
|
8
|
-
</div>
|
|
9
|
-
<div class="arrow glyphicon glyphicon-menu-down" v-if="i !== defnames.length-1" aria-hidden="true"></div>
|
|
10
|
-
</div>
|
|
11
|
-
</div>
|
|
12
|
-
</template>
|
|
13
|
-
|
|
14
|
-
<script>
|
|
15
|
-
import {HttpResetClass} from 'vue-client'
|
|
16
|
-
import {isEmpty} from "../../Util";
|
|
17
|
-
export default {
|
|
18
|
-
title: "流程节点",
|
|
19
|
-
props:['selectdata'],
|
|
20
|
-
data(){
|
|
21
|
-
return{
|
|
22
|
-
defnames: [] // 所有节点
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
created () {
|
|
26
|
-
this.initial()
|
|
27
|
-
},
|
|
28
|
-
methods :{
|
|
29
|
-
async initial () {
|
|
30
|
-
// 获取流程节点信息
|
|
31
|
-
let http = new HttpResetClass()
|
|
32
|
-
let data = {
|
|
33
|
-
processid: this.selectdata.f_process_id
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
let res = await http.load(
|
|
37
|
-
'POST',
|
|
38
|
-
'rs/sql/getAllNode',
|
|
39
|
-
{data: data},
|
|
40
|
-
{resolveMsg: null, rejectMsg: '流程节点信息获取失败!!!'})
|
|
41
|
-
|
|
42
|
-
this.defnames = res.data
|
|
43
|
-
},
|
|
44
|
-
//点击获取节点名
|
|
45
|
-
getdefname (row) {
|
|
46
|
-
// 发起节点都可查看
|
|
47
|
-
// if(row.defname === this.$workflow_vue.start_activity){
|
|
48
|
-
// row = Object.assign({},this.selectdata,row)
|
|
49
|
-
// this.$dispatch('apply', row)
|
|
50
|
-
// return
|
|
51
|
-
// }
|
|
52
|
-
// if(this.check(row.actorexpression)){
|
|
53
|
-
// row = Object.assign({},this.selectdata,row)
|
|
54
|
-
// this.$dispatch('apply', row)
|
|
55
|
-
// return
|
|
56
|
-
// }
|
|
57
|
-
// this.$showMessage("对不起,您没有查看此节点的权限!")
|
|
58
|
-
delete row.id
|
|
59
|
-
row = Object.assign({},this.selectdata,row)
|
|
60
|
-
this.$dispatch('apply', row)
|
|
61
|
-
},
|
|
62
|
-
// 检测是否有权限
|
|
63
|
-
check (actorexpression){
|
|
64
|
-
|
|
65
|
-
let str = null
|
|
66
|
-
|
|
67
|
-
if (isEmpty(actorexpression)) {
|
|
68
|
-
return true
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
if (actorexpression.indexOf('D') === 0) {
|
|
72
|
-
str = actorexpression.substring(2, actorexpression.length-1)
|
|
73
|
-
return this.$login.f.f_department_name.includes(str)
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
if (actorexpression.indexOf('RS') === 0) {
|
|
77
|
-
for (str of actorexpression.substring(3, actorexpression.length-1).split(',')) {
|
|
78
|
-
return this.$login.f.f_role_name.includes(str)
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
if (actorexpression.indexOf('R') === 0) {
|
|
83
|
-
str = actorexpression.substring(2, actorexpression.length-1)
|
|
84
|
-
return this.$login.f.f_role_name.includes(str)
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
if (actorexpression.indexOf('PI') === 0) {
|
|
88
|
-
str = actorexpression.substring(3, actorexpression.length-1)
|
|
89
|
-
return this.$login.f.id.includes(str)
|
|
90
|
-
}
|
|
91
|
-
if (actorexpression.indexOf('P') === 0) {
|
|
92
|
-
str = actorexpression.substring(2, actorexpression.length-1)
|
|
93
|
-
return this.$login.f.name.includes(str)
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
return this.$login.f.f_role_name.includes('流程监控')
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
watch:{
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
</script>
|
|
103
|
-
|
|
104
|
-
<style scoped>
|
|
105
|
-
.row{
|
|
106
|
-
text-align: center;
|
|
107
|
-
height: auto;
|
|
108
|
-
margin-right: 20px;
|
|
109
|
-
}
|
|
110
|
-
.item{
|
|
111
|
-
border-radius: 2em;
|
|
112
|
-
border: 1px solid silver;
|
|
113
|
-
line-height: 25px;
|
|
114
|
-
}
|
|
115
|
-
.arrow{
|
|
116
|
-
width: 100%;
|
|
117
|
-
color: #5ac0d9;
|
|
118
|
-
font-weight: bold;
|
|
119
|
-
}
|
|
120
|
-
.selectIndex{
|
|
121
|
-
background-color: #5ac0d9;
|
|
122
|
-
color: #ffffff;
|
|
123
|
-
}
|
|
124
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div style="overflow: auto;background-color: #FFFFFF;">
|
|
3
|
+
<div class="row" v-for="(i,row) in defnames">
|
|
4
|
+
<div :class="row.id === selectdata.actid ? 'item selectIndex' : 'item'" @click="getdefname(row)" >
|
|
5
|
+
{{ row.defname }}
|
|
6
|
+
<br>
|
|
7
|
+
{{i === (defnames.length) - 1 ? row.sendtime : row.finishtime}}
|
|
8
|
+
</div>
|
|
9
|
+
<div class="arrow glyphicon glyphicon-menu-down" v-if="i !== defnames.length-1" aria-hidden="true"></div>
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
</template>
|
|
13
|
+
|
|
14
|
+
<script>
|
|
15
|
+
import {HttpResetClass} from 'vue-client'
|
|
16
|
+
import {isEmpty} from "../../Util";
|
|
17
|
+
export default {
|
|
18
|
+
title: "流程节点",
|
|
19
|
+
props:['selectdata'],
|
|
20
|
+
data(){
|
|
21
|
+
return{
|
|
22
|
+
defnames: [] // 所有节点
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
created () {
|
|
26
|
+
this.initial()
|
|
27
|
+
},
|
|
28
|
+
methods :{
|
|
29
|
+
async initial () {
|
|
30
|
+
// 获取流程节点信息
|
|
31
|
+
let http = new HttpResetClass()
|
|
32
|
+
let data = {
|
|
33
|
+
processid: this.selectdata.f_process_id
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
let res = await http.load(
|
|
37
|
+
'POST',
|
|
38
|
+
'rs/sql/getAllNode',
|
|
39
|
+
{data: data},
|
|
40
|
+
{resolveMsg: null, rejectMsg: '流程节点信息获取失败!!!'})
|
|
41
|
+
|
|
42
|
+
this.defnames = res.data
|
|
43
|
+
},
|
|
44
|
+
//点击获取节点名
|
|
45
|
+
getdefname (row) {
|
|
46
|
+
// 发起节点都可查看
|
|
47
|
+
// if(row.defname === this.$workflow_vue.start_activity){
|
|
48
|
+
// row = Object.assign({},this.selectdata,row)
|
|
49
|
+
// this.$dispatch('apply', row)
|
|
50
|
+
// return
|
|
51
|
+
// }
|
|
52
|
+
// if(this.check(row.actorexpression)){
|
|
53
|
+
// row = Object.assign({},this.selectdata,row)
|
|
54
|
+
// this.$dispatch('apply', row)
|
|
55
|
+
// return
|
|
56
|
+
// }
|
|
57
|
+
// this.$showMessage("对不起,您没有查看此节点的权限!")
|
|
58
|
+
delete row.id
|
|
59
|
+
row = Object.assign({},this.selectdata,row)
|
|
60
|
+
this.$dispatch('apply', row)
|
|
61
|
+
},
|
|
62
|
+
// 检测是否有权限
|
|
63
|
+
check (actorexpression){
|
|
64
|
+
|
|
65
|
+
let str = null
|
|
66
|
+
|
|
67
|
+
if (isEmpty(actorexpression)) {
|
|
68
|
+
return true
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
if (actorexpression.indexOf('D') === 0) {
|
|
72
|
+
str = actorexpression.substring(2, actorexpression.length-1)
|
|
73
|
+
return this.$login.f.f_department_name.includes(str)
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
if (actorexpression.indexOf('RS') === 0) {
|
|
77
|
+
for (str of actorexpression.substring(3, actorexpression.length-1).split(',')) {
|
|
78
|
+
return this.$login.f.f_role_name.includes(str)
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
if (actorexpression.indexOf('R') === 0) {
|
|
83
|
+
str = actorexpression.substring(2, actorexpression.length-1)
|
|
84
|
+
return this.$login.f.f_role_name.includes(str)
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
if (actorexpression.indexOf('PI') === 0) {
|
|
88
|
+
str = actorexpression.substring(3, actorexpression.length-1)
|
|
89
|
+
return this.$login.f.id.includes(str)
|
|
90
|
+
}
|
|
91
|
+
if (actorexpression.indexOf('P') === 0) {
|
|
92
|
+
str = actorexpression.substring(2, actorexpression.length-1)
|
|
93
|
+
return this.$login.f.name.includes(str)
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
return this.$login.f.f_role_name.includes('流程监控')
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
watch:{
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
</script>
|
|
103
|
+
|
|
104
|
+
<style scoped>
|
|
105
|
+
.row{
|
|
106
|
+
text-align: center;
|
|
107
|
+
height: auto;
|
|
108
|
+
margin-right: 20px;
|
|
109
|
+
}
|
|
110
|
+
.item{
|
|
111
|
+
border-radius: 2em;
|
|
112
|
+
border: 1px solid silver;
|
|
113
|
+
line-height: 25px;
|
|
114
|
+
}
|
|
115
|
+
.arrow{
|
|
116
|
+
width: 100%;
|
|
117
|
+
color: #5ac0d9;
|
|
118
|
+
font-weight: bold;
|
|
119
|
+
}
|
|
120
|
+
.selectIndex{
|
|
121
|
+
background-color: #5ac0d9;
|
|
122
|
+
color: #ffffff;
|
|
123
|
+
}
|
|
124
|
+
</style>
|