apply-clients 7.1.36-yuchuan-5 → 7.1.36-yuchuan-7

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 (44) hide show
  1. package/build/dev-server.js +187 -172
  2. package/index.html +39 -39
  3. package/package.json +2 -1
  4. package/src/apply.js +7 -0
  5. package/src/components/android/AppSign.vue +234 -234
  6. package/src/components/android/AppUpload.vue +275 -275
  7. package/src/components/android/Ignition/VentilationIgnitionHandle.vue +462 -462
  8. package/src/components/android/Process/AppServiceControl.vue +1437 -1437
  9. package/src/components/android/Supervisory/AppProcessSupervisory.vue +344 -344
  10. package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +431 -431
  11. package/src/components/android/Task/yiban/ShowDone.vue +95 -95
  12. package/src/components/android/Task/yiban/satisfactionShow.vue +166 -166
  13. package/src/components/product/ApplyCharge/ApplyChargeList.vue +2 -2
  14. package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianViewList.vue +272 -272
  15. package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +236 -236
  16. package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +324 -324
  17. package/src/components/product/ApplyGuanXian/GuanXianSupervisoryhCart.vue +119 -119
  18. package/src/components/product/ApplyMap/ApplyDragaboutList.vue +223 -223
  19. package/src/components/product/ApplyMap/ApplyMapLocation.vue +862 -862
  20. package/src/components/product/ChongZheng/ApplyChongZhengList.vue +2 -2
  21. package/src/components/product/Function/InstallInfoSelect.vue +2 -2
  22. package/src/components/product/Function/Service/FunctionServiceControl.vue +586 -586
  23. package/src/components/product/GongJianPush/ApplyPushDispose.vue +206 -0
  24. package/src/components/product/GongJianPush/ApplyPushList.vue +196 -0
  25. package/src/components/product/GongJianPush/ApplyPushManage.vue +90 -0
  26. package/src/components/product/Ignition/IgnitionListManage.vue +602 -602
  27. package/src/components/product/Ignition/IgnitionRecord.vue +380 -380
  28. package/src/components/product/List/OldShowDevices.vue +2 -2
  29. package/src/components/product/List/ShowAllActivity.vue +2 -2
  30. package/src/components/product/List/ShowDevices.vue +2 -2
  31. package/src/components/product/Print/BuildOrder/buildOrderList.vue +1 -1
  32. package/src/components/product/Process/ExplorationSelect.vue +4 -4
  33. package/src/components/product/Process/NewExplorationSelect.vue +586 -586
  34. package/src/components/product/Process/Processes/Print/printCharge.vue +250 -250
  35. package/src/components/product/Process/Processes/Print/printGaiXianCharge.vue +244 -244
  36. package/src/components/product/Process/Processes/devicesManagement.vue +393 -393
  37. package/src/components/product/Process/Processes/newDevicesManagement.vue +413 -413
  38. package/src/components/product/Stop/StopApplyList.vue +1 -1
  39. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +592 -592
  40. package/src/components/product/Supervisory/SupervisoryControl.vue +116 -116
  41. package/src/components/product/Supervisory/SupervisoryList.vue +3 -3
  42. package/src/components/product/Supervisory/YiBanSupervisoryList.vue +3 -3
  43. package/src/components/product/VueUtils/ApplyUpload.vue +285 -285
  44. package/src/components/product/records/AdjustmentRecordList.vue +162 -162
@@ -1,119 +1,119 @@
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
-
32
- let data = {
33
- processid: this.selectdata.f_process_id
34
- }
35
- let http = new HttpResetClass()
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
- let str = null
62
-
63
- if (isEmpty(actorexpression)) {
64
- return true
65
- }
66
- return true
67
- if (actorexpression.indexOf('D') === 0) {
68
- str = actorexpression.substring(2, actorexpression.length-1)
69
- return this.$login.f.f_parentname.includes(str)
70
- }
71
- if (actorexpression.indexOf('RS') === 0) {
72
- for (str of actorexpression.substring(3, actorexpression.length-1).split(',')) {
73
- return this.$login.f.rolesnames.includes(str)
74
- }
75
- }
76
-
77
- if (actorexpression.indexOf('R') === 0) {
78
- str = actorexpression.substring(2, actorexpression.length-1)
79
- return this.$login.f.rolesnames.includes(str)
80
- }
81
-
82
- if (actorexpression.indexOf('PI') === 0) {
83
- str = actorexpression.substring(3, actorexpression.length-1)
84
- return this.$login.f.id.includes(str)
85
- }
86
- if (actorexpression.indexOf('P') === 0) {
87
- str = actorexpression.substring(2, actorexpression.length-1)
88
- return this.$login.f.name.includes(str)
89
- }
90
-
91
- return this.$login.f.rolesnames.includes('流程监控')
92
- }
93
- },
94
- watch:{
95
- }
96
- }
97
- </script>
98
-
99
- <style scoped>
100
- .row{
101
- text-align: center;
102
- height: auto;
103
- margin-right: 20px;
104
- }
105
- .item{
106
- border-radius: 2em;
107
- border: 1px solid silver;
108
- line-height: 25px;
109
- }
110
- .arrow{
111
- width: 100%;
112
- color: #5ac0d9;
113
- font-weight: bold;
114
- }
115
- .selectIndex{
116
- background-color: #5ac0d9;
117
- color: #ffffff;
118
- }
119
- </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
+
32
+ let data = {
33
+ processid: this.selectdata.f_process_id
34
+ }
35
+ let http = new HttpResetClass()
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
+ let str = null
62
+
63
+ if (isEmpty(actorexpression)) {
64
+ return true
65
+ }
66
+ return true
67
+ if (actorexpression.indexOf('D') === 0) {
68
+ str = actorexpression.substring(2, actorexpression.length-1)
69
+ return this.$login.f.f_parentname.includes(str)
70
+ }
71
+ if (actorexpression.indexOf('RS') === 0) {
72
+ for (str of actorexpression.substring(3, actorexpression.length-1).split(',')) {
73
+ return this.$login.f.rolesnames.includes(str)
74
+ }
75
+ }
76
+
77
+ if (actorexpression.indexOf('R') === 0) {
78
+ str = actorexpression.substring(2, actorexpression.length-1)
79
+ return this.$login.f.rolesnames.includes(str)
80
+ }
81
+
82
+ if (actorexpression.indexOf('PI') === 0) {
83
+ str = actorexpression.substring(3, actorexpression.length-1)
84
+ return this.$login.f.id.includes(str)
85
+ }
86
+ if (actorexpression.indexOf('P') === 0) {
87
+ str = actorexpression.substring(2, actorexpression.length-1)
88
+ return this.$login.f.name.includes(str)
89
+ }
90
+
91
+ return this.$login.f.rolesnames.includes('流程监控')
92
+ }
93
+ },
94
+ watch:{
95
+ }
96
+ }
97
+ </script>
98
+
99
+ <style scoped>
100
+ .row{
101
+ text-align: center;
102
+ height: auto;
103
+ margin-right: 20px;
104
+ }
105
+ .item{
106
+ border-radius: 2em;
107
+ border: 1px solid silver;
108
+ line-height: 25px;
109
+ }
110
+ .arrow{
111
+ width: 100%;
112
+ color: #5ac0d9;
113
+ font-weight: bold;
114
+ }
115
+ .selectIndex{
116
+ background-color: #5ac0d9;
117
+ color: #ffffff;
118
+ }
119
+ </style>