apply-clients 3.3.2 → 3.3.6

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.
Files changed (28) hide show
  1. package/package.json +2 -1
  2. package/src/AndroidApp.vue +2 -2
  3. package/src/apply.js +1 -0
  4. package/src/applyAndroid.js +1 -0
  5. package/src/components/android/AppTakePic.vue +143 -139
  6. package/src/components/android/Process/AppExplorationUser.vue +2 -2
  7. package/src/components/android/Process/AppServiceControl.vue +153 -35
  8. package/src/components/android/Process/Processes/AppChargeManagement.vue +468 -0
  9. package/src/components/android/Process/Processes/AppInstallationDetails.vue +5 -2
  10. package/src/components/product/ApplyCharge/ApplyChargeList.vue +32 -14
  11. package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +30 -30
  12. package/src/components/product/Function/InstallFunction.vue +1 -1
  13. package/src/components/product/Function/Service/FunctionServiceControl.vue +15 -9
  14. package/src/components/product/Order/OrderApplyList.vue +48 -37
  15. package/src/components/product/Order/OrderMessage.vue +20 -5
  16. package/src/components/product/Process/ExplorationSelect.vue +4 -0
  17. package/src/components/product/Process/ExplorationUser.vue +126 -126
  18. package/src/components/product/Process/Processes/InstallationDetails.vue +100 -83
  19. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +24 -23
  20. package/src/components/product/Process/Processes/chargeManagement.vue +65 -7
  21. package/src/components/product/Process/Processes/printCharge.vue +130 -126
  22. package/src/components/product/Process/Processes/selectApply.vue +5 -1
  23. package/src/components/product/Process/Service/ServiceControl.vue +211 -47
  24. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +127 -23
  25. package/src/components/product/Supervisory/SupervisoryControl.vue +100 -100
  26. package/src/components/product/Supervisory/SupervisoryhCart.vue +121 -107
  27. package/src/components/product/VueUtils/ApplyUpload.vue +262 -261
  28. package/src/components/product/VueUtils/GaoPaiYi/HighMeter.vue +1090 -0
@@ -1,100 +1,100 @@
1
- <template>
2
- <div class="flex-row">
3
- <div class="basic-main">
4
- <div :class="showData ? 'top' : 'auto'">
5
- <supervisory-list v-ref:query :show-data="showData"></supervisory-list>
6
- </div>
7
- <div v-if="showtotal" style="height: 89%">
8
- <div class="col-sm-2" style="margin-top: 20px">
9
- <supervisory-chart :selectdata="selectdata"></supervisory-chart>
10
- </div>
11
- <div class="col-sm-10" style="margin-top: 20px">
12
- <tabset v-ref:tabs :close="false">
13
- <tab :header='selectdata.defname'>
14
- <supervisory-service-control :selectdata="selectdata" :node-snapshot="true"></supervisory-service-control>
15
- </tab>
16
- <tab header='附件'>
17
- <apply-upload :blodid="selectdata.f_process_id"
18
- :isupload = "false"
19
- :isdelete="false"
20
- :isusetype="true"
21
- :isremark = "true"
22
- :takeimg="false"
23
- :issearch="true"
24
- :defname="selectdata.defname">
25
- </apply-upload>
26
- </tab>
27
- </tabset>
28
- </div>
29
- </div>
30
- </div>
31
- </div>
32
-
33
- </template>
34
- <script>
35
- import Vue from 'vue'
36
- import {HttpResetClass} from 'vue-client'
37
- export default {
38
- title: '流程监控',
39
- data () {
40
- return {
41
- showtotal: false, // 控制详细信息显示
42
- showData: true,
43
- selectdata: {},
44
- xmlname: '' // 配置文件名称
45
- }
46
- },
47
- created () {
48
- },
49
- methods: {
50
- // 获取页面配置json文件
51
- async loadName () {
52
- let data = {
53
- workname: this.selectdata.processname
54
- }
55
-
56
- let res = await this.$resetpost(
57
- 'rs/logic/ApplyGetConfigs',
58
- {data: data},
59
- {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
60
- )
61
-
62
- Vue.prototype.$workflow_vue = res.data
63
- }
64
- },
65
- events: {
66
- 'onMessage' (data) {
67
- console.log('接收消息')
68
- console.log(data)
69
- if (data.type === 'apply-task') {
70
- this.$refs.queryuser.$refs.cp.$refs.cri.search()
71
- }
72
- },
73
- async 'apply' (val) {
74
- this.selectdata = val
75
- this.showtotal = false
76
-
77
- // 获取配置文件
78
- await this.loadName()
79
-
80
- this.$refs.query.$refs.cp.pager = false
81
- this.showData = false
82
-
83
- this.showtotal = true
84
- },
85
- 'search' () {
86
- // 关闭详细
87
- this.showtotal = false
88
- // 显示列表数据
89
- this.showData = true
90
- // 显示分页
91
- this.$refs.query.$refs.cp.pager = true
92
- // 调用查询
93
- this.$refs.query.$refs.cp.$refs.cri.search()
94
- }
95
- },
96
-
97
- watch: {
98
- }
99
- }
100
- </script>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <div :class="showData ? 'top' : 'auto'">
5
+ <supervisory-list v-ref:query :show-data="showData"></supervisory-list>
6
+ </div>
7
+ <div v-if="showtotal" style="height: 89%">
8
+ <div class="col-sm-2" style="margin-top: 20px">
9
+ <supervisory-chart :selectdata="selectdata"></supervisory-chart>
10
+ </div>
11
+ <div class="col-sm-10" style="margin-top: 20px">
12
+ <tabset v-ref:tabs :close="false">
13
+ <tab :header='selectdata.defname'>
14
+ <supervisory-service-control :selectdata="selectdata" :node-snapshot="true"></supervisory-service-control>
15
+ </tab>
16
+ <tab header='附件'>
17
+ <apply-upload :blodid="selectdata.f_process_id"
18
+ :isupload = "false"
19
+ :isdelete="false"
20
+ :isusetype="true"
21
+ :isremark = "true"
22
+ :takeimg="true"
23
+ :issearch="true"
24
+ :defname="selectdata.defname">
25
+ </apply-upload>
26
+ </tab>
27
+ </tabset>
28
+ </div>
29
+ </div>
30
+ </div>
31
+ </div>
32
+
33
+ </template>
34
+ <script>
35
+ import Vue from 'vue'
36
+ import {HttpResetClass} from 'vue-client'
37
+ export default {
38
+ title: '流程监控',
39
+ data () {
40
+ return {
41
+ showtotal: false, // 控制详细信息显示
42
+ showData: true,
43
+ selectdata: {},
44
+ xmlname: '' // 配置文件名称
45
+ }
46
+ },
47
+ created () {
48
+ },
49
+ methods: {
50
+ // 获取页面配置json文件
51
+ async loadName () {
52
+ let data = {
53
+ workname: this.selectdata.processname
54
+ }
55
+
56
+ let res = await this.$resetpost(
57
+ 'rs/logic/ApplyGetConfigs',
58
+ {data: data},
59
+ {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
60
+ )
61
+
62
+ Vue.prototype.$workflow_vue = res.data
63
+ }
64
+ },
65
+ events: {
66
+ 'onMessage' (data) {
67
+ console.log('接收消息')
68
+ console.log(data)
69
+ if (data.type === 'apply-task') {
70
+ this.$refs.queryuser.$refs.cp.$refs.cri.search()
71
+ }
72
+ },
73
+ async 'apply' (val) {
74
+ this.selectdata = val
75
+ this.showtotal = false
76
+
77
+ // 获取配置文件
78
+ await this.loadName()
79
+
80
+ this.$refs.query.$refs.cp.pager = false
81
+ this.showData = false
82
+
83
+ this.showtotal = true
84
+ },
85
+ 'search' () {
86
+ // 关闭详细
87
+ this.showtotal = false
88
+ // 显示列表数据
89
+ this.showData = true
90
+ // 显示分页
91
+ this.$refs.query.$refs.cp.pager = true
92
+ // 调用查询
93
+ this.$refs.query.$refs.cp.$refs.cri.search()
94
+ }
95
+ },
96
+
97
+ watch: {
98
+ }
99
+ }
100
+ </script>
@@ -1,107 +1,121 @@
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
- export default {
17
- title: "流程节点",
18
- props:['selectdata'],
19
- data(){
20
- return{
21
- defnames: [] // 所有节点
22
- }
23
- },
24
- created () {
25
- this.initial()
26
- },
27
- methods :{
28
- async initial () {
29
- // 获取流程节点信息
30
-
31
- let data = {
32
- processid: this.selectdata.f_process_id
33
- }
34
-
35
- let res = await this.$resetpost(
36
- 'rs/sql/getAllNode',
37
- {data: data},
38
- {resolveMsg: null, rejectMsg: '流程节点信息获取失败!!!'}
39
- )
40
-
41
- this.defnames = res.data
42
- },
43
- //点击获取节点名
44
- getdefname (row) {
45
- // 发起节点都可查看
46
- if(row.defname === this.$workflow_vue.start_activity){
47
- row = Object.assign({},this.selectdata,row)
48
- this.$dispatch('apply', row)
49
- return
50
- }
51
- if(this.check(row.actorexpression)){
52
- row = Object.assign({},this.selectdata,row)
53
- this.$dispatch('apply', row)
54
- return
55
- }
56
- this.$showMessage("对不起,您没有查看此节点的权限!")
57
- },
58
- // 检测是否有权限
59
- check (actorexpression){
60
- let flag = false
61
-
62
- // 获取标识
63
- let mark = actorexpression.charAt(0)
64
-
65
- let str = actorexpression.substring(2, actorexpression.length-1)
66
-
67
- if (mark === 'D' && this.$login.f.f_department_name.includes(str)) {
68
- flag = true
69
- }
70
- if (mark === 'R' && this.$login.f.f_role_name.includes(str)) {
71
- flag = true
72
- }
73
- if (mark === 'P' && this.$login.f.id.includes(str)) {
74
- flag = true
75
- }
76
- if (this.$login.f.f_role_name.includes('流程监控')) {
77
- flag = true
78
- }
79
- return flag
80
- }
81
- },
82
- watch:{
83
- }
84
- }
85
- </script>
86
-
87
- <style scoped>
88
- .row{
89
- text-align: center;
90
- height: auto;
91
- margin-right: 20px;
92
- }
93
- .item{
94
- border-radius: 2em;
95
- border: 1px solid silver;
96
- line-height: 25px;
97
- }
98
- .arrow{
99
- width: 100%;
100
- color: #5ac0d9;
101
- font-weight: bold;
102
- }
103
- .selectIndex{
104
- background-color: #5ac0d9;
105
- color: #ffffff;
106
- }
107
- </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
+ },
59
+ // 检测是否有权限
60
+ check (actorexpression){
61
+
62
+ let str = null
63
+
64
+ if (isEmpty(actorexpression)) {
65
+ return true
66
+ }
67
+
68
+ if (actorexpression.indexOf('D') === 0) {
69
+ str = actorexpression.substring(2, actorexpression.length-1)
70
+ return this.$login.f.f_department_name.includes(str)
71
+ }
72
+
73
+ if (actorexpression.indexOf('RS') === 0) {
74
+ for (str of actorexpression.substring(3, actorexpression.length-1).split(',')) {
75
+ return this.$login.f.f_role_name.includes(str)
76
+ }
77
+ }
78
+
79
+ if (actorexpression.indexOf('R') === 0) {
80
+ str = actorexpression.substring(2, actorexpression.length-1)
81
+ return this.$login.f.f_role_name.includes(str)
82
+ }
83
+
84
+ if (actorexpression.indexOf('PI') === 0) {
85
+ str = actorexpression.substring(3, actorexpression.length-1)
86
+ return this.$login.f.id.includes(str)
87
+ }
88
+ if (actorexpression.indexOf('P') === 0) {
89
+ str = actorexpression.substring(2, actorexpression.length-1)
90
+ return this.$login.f.name.includes(str)
91
+ }
92
+
93
+ return this.$login.f.f_role_name.includes('流程监控')
94
+ }
95
+ },
96
+ watch:{
97
+ }
98
+ }
99
+ </script>
100
+
101
+ <style scoped>
102
+ .row{
103
+ text-align: center;
104
+ height: auto;
105
+ margin-right: 20px;
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>