apply-clients 3.3.48 → 3.3.52

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 (38) hide show
  1. package/.project +17 -0
  2. package/build/dev-server.js +130 -130
  3. package/package.json +1 -1
  4. package/src/AndroidApp.vue +35 -35
  5. package/src/apply.js +93 -93
  6. package/src/applyAndroid.js +31 -31
  7. package/src/components/android/AppOnetomany.vue +301 -301
  8. package/src/components/android/AppServiceView.vue +566 -566
  9. package/src/components/android/AppSign.vue +142 -142
  10. package/src/components/android/Function/AppInstallFunction.vue +366 -366
  11. package/src/components/android/Process/AppExplorationUser.vue +340 -340
  12. package/src/components/android/Process/AppServiceControl.vue +4 -0
  13. package/src/components/android/Process/Processes/AppBuildSign.vue +46 -46
  14. package/src/components/android/Supervisory/AppProcessSupervisory.vue +300 -300
  15. package/src/components/android/Supervisory/AppSupervisoryCart.vue +4 -0
  16. package/src/components/product/ApplyCharge/ApplyChargeList.vue +382 -372
  17. package/src/components/product/Function/InstallFunction.vue +132 -132
  18. package/src/components/product/Function/InstallInfoSelect.vue +10 -0
  19. package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -445
  20. package/src/components/product/Material/MaterialDetailed.vue +235 -235
  21. package/src/components/product/OldApply/Monitor/MonitorApply.vue +329 -329
  22. package/src/components/product/OldApply/OldApply.vue +150 -150
  23. package/src/components/product/Onetomany.vue +377 -377
  24. package/src/components/product/Print/BuildOrder/buildOrderList.vue +264 -264
  25. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +153 -153
  26. package/src/components/product/Process/ExplorationSelect.vue +457 -457
  27. package/src/components/product/Process/ExplorationUser.vue +147 -147
  28. package/src/components/product/Process/Processes/InstallationDetails.vue +592 -592
  29. package/src/components/product/Process/Processes/Print/printCharge.vue +142 -142
  30. package/src/components/product/Process/Processes/Print/printRefund.vue +196 -196
  31. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +207 -207
  32. package/src/components/product/Process/Service/ServiceControl.vue +1265 -1254
  33. package/src/components/product/ServiceView.vue +631 -631
  34. package/src/components/product/Supervisory/SupervisoryControl.vue +137 -137
  35. package/src/components/product/Supervisory/SupervisoryList.vue +296 -296
  36. package/src/components/product/Supervisory/SupervisoryhCart.vue +130 -130
  37. package/src/components/product/VueUtils/ApplyUpload.vue +273 -273
  38. package/src/components/product/VueUtils/HighMeter.vue +208 -208
@@ -1,130 +1,130 @@
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
- <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>
10
- <br>
11
- {{i === (defnames.length) - 1 ? row.sendtime : row.finishtime}}
12
- </div>
13
- <div class="arrow glyphicon glyphicon-menu-down" v-if="i !== defnames.length-1" aria-hidden="true"></div>
14
- </div>
15
- </div>
16
- </template>
17
-
18
- <script>
19
- import {HttpResetClass} from 'vue-client'
20
- import {isEmpty} from "../../Util";
21
- export default {
22
- title: "流程节点",
23
- props:['selectdata'],
24
- data(){
25
- return{
26
- defnames: [] // 所有节点
27
- }
28
- },
29
- created () {
30
- this.initial()
31
- },
32
- methods :{
33
- async initial () {
34
- // 获取流程节点信息
35
- let http = new HttpResetClass()
36
- let data = {
37
- processid: this.selectdata.f_process_id
38
- }
39
-
40
- let res = await http.load(
41
- 'POST',
42
- 'rs/sql/getAllNode',
43
- {data: data},
44
- {resolveMsg: null, rejectMsg: '流程节点信息获取失败!!!'})
45
-
46
- this.defnames = res.data
47
- },
48
- //点击获取节点名
49
- getdefname (row) {
50
- // 发起节点都可查看
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)
65
- },
66
- // 检测是否有权限
67
- check (actorexpression){
68
-
69
- let str = null
70
-
71
- if (isEmpty(actorexpression)) {
72
- return true
73
- }
74
-
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
- }
79
-
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
- }
84
- }
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)
89
- }
90
-
91
- if (actorexpression.indexOf('PI') === 0) {
92
- str = actorexpression.substring(3, actorexpression.length-1)
93
- return this.$login.f.id.includes(str)
94
- }
95
- if (actorexpression.indexOf('P') === 0) {
96
- str = actorexpression.substring(2, actorexpression.length-1)
97
- return this.$login.f.name.includes(str)
98
- }
99
-
100
- return this.$login.f.f_role_name.includes('流程监控')
101
- }
102
- },
103
- computed: {
104
- },
105
- watch:{
106
- }
107
- }
108
- </script>
109
-
110
- <style scoped>
111
- .row{
112
- text-align: center;
113
- height: auto;
114
- margin-right: 20px;
115
- }
116
- .item{
117
- border-radius: 2em;
118
- border: 1px solid silver;
119
- line-height: 25px;
120
- }
121
- .arrow{
122
- width: 100%;
123
- color: #5ac0d9;
124
- font-weight: bold;
125
- }
126
- .selectIndex{
127
- background-color: #5ac0d9;
128
- color: #ffffff;
129
- }
130
- </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
+ <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>
10
+ <br>
11
+ {{i === (defnames.length) - 1 ? row.sendtime : row.finishtime}}
12
+ </div>
13
+ <div class="arrow glyphicon glyphicon-menu-down" v-if="i !== defnames.length-1" aria-hidden="true"></div>
14
+ </div>
15
+ </div>
16
+ </template>
17
+
18
+ <script>
19
+ import {HttpResetClass} from 'vue-client'
20
+ import {isEmpty} from "../../Util";
21
+ export default {
22
+ title: "流程节点",
23
+ props:['selectdata'],
24
+ data(){
25
+ return{
26
+ defnames: [] // 所有节点
27
+ }
28
+ },
29
+ created () {
30
+ this.initial()
31
+ },
32
+ methods :{
33
+ async initial () {
34
+ // 获取流程节点信息
35
+ let http = new HttpResetClass()
36
+ let data = {
37
+ processid: this.selectdata.f_process_id
38
+ }
39
+
40
+ let res = await http.load(
41
+ 'POST',
42
+ 'rs/sql/getAllNode',
43
+ {data: data},
44
+ {resolveMsg: null, rejectMsg: '流程节点信息获取失败!!!'})
45
+
46
+ this.defnames = res.data
47
+ },
48
+ //点击获取节点名
49
+ getdefname (row) {
50
+ // 发起节点都可查看
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)
65
+ },
66
+ // 检测是否有权限
67
+ check (actorexpression){
68
+
69
+ let str = null
70
+
71
+ if (isEmpty(actorexpression)) {
72
+ return true
73
+ }
74
+
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
+ }
79
+
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
+ }
84
+ }
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)
89
+ }
90
+
91
+ if (actorexpression.indexOf('PI') === 0) {
92
+ str = actorexpression.substring(3, actorexpression.length-1)
93
+ return this.$login.f.id.includes(str)
94
+ }
95
+ if (actorexpression.indexOf('P') === 0) {
96
+ str = actorexpression.substring(2, actorexpression.length-1)
97
+ return this.$login.f.name.includes(str)
98
+ }
99
+
100
+ return this.$login.f.f_role_name.includes('流程监控')
101
+ }
102
+ },
103
+ computed: {
104
+ },
105
+ watch:{
106
+ }
107
+ }
108
+ </script>
109
+
110
+ <style scoped>
111
+ .row{
112
+ text-align: center;
113
+ height: auto;
114
+ margin-right: 20px;
115
+ }
116
+ .item{
117
+ border-radius: 2em;
118
+ border: 1px solid silver;
119
+ line-height: 25px;
120
+ }
121
+ .arrow{
122
+ width: 100%;
123
+ color: #5ac0d9;
124
+ font-weight: bold;
125
+ }
126
+ .selectIndex{
127
+ background-color: #5ac0d9;
128
+ color: #ffffff;
129
+ }
130
+ </style>