apply-clients 3.4.89-38 → 3.4.89-39

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 (61) hide show
  1. package/build/dev-server.js +33 -25
  2. package/package.json +1 -1
  3. package/src/App.vue +6 -6
  4. package/src/components/android/Ignition/VentilationIgnition.vue +312 -312
  5. package/src/components/android/Ignition/VentilationIgnitionHandle.vue +353 -353
  6. package/src/components/android/Process/AppServiceControl.vue +1734 -1734
  7. package/src/components/product/ApplyCharge/ApplyChargeList.vue +476 -476
  8. package/src/components/product/Function/InstallInfoSelect.vue +326 -326
  9. package/src/components/product/Ignition/IgnitionListManage.vue +420 -420
  10. package/src/components/product/Install/ContractCharge.vue +12 -8
  11. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  12. package/src/components/product/Material/Materiallist.vue +74 -74
  13. package/src/components/product/Material/Materialmanger.vue +58 -58
  14. package/src/components/product/Process/ExplorationSelect.vue +491 -491
  15. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +203 -203
  16. package/src/components/product/Process/ShowBackReason.vue +40 -40
  17. package/src/components/product/ServiceView.vue +1004 -1004
  18. package/src/components/product/Stop/StopApplyList.vue +278 -278
  19. package/src/components/product/Supervisory/SupervisoryControl.vue +140 -140
  20. package/src/filiale/hongda/pc/ApplyDetailsList.vue +276 -276
  21. package/src/filiale/hongda/pc/Materiallist.vue +122 -122
  22. package/src/filiale/hongda/pc/Materialuser.vue +246 -246
  23. package/src/filiale/hongda/pc/ServiceControl.vue +2050 -2050
  24. package/src/filiale/hongda/pc/ServiceView.vue +1102 -1102
  25. package/src/filiale/hongda/pc/SupervisoryList.vue +409 -409
  26. package/src/filiale/hongda/pc/addMaterialScience.vue +723 -723
  27. package/src/filiale/hongda/pc/printChargepc.vue +114 -114
  28. package/src/filiale/hongda/pc/printactivatecard.vue +151 -151
  29. package/src/filiale/hongda/pc/printinstall.vue +97 -97
  30. package/src/filiale/hongda/pc/printrefit.vue +97 -97
  31. package/src/filiale/hongda/pc.js +35 -35
  32. package/src/filiale/linzhou/pc/ApplyChargeList.vue +486 -486
  33. package/src/filiale/linzhou/pc/ServiceControl.vue +1968 -1968
  34. package/src/filiale/linzhou/pc/devicesManagement.vue +494 -494
  35. package/src/filiale/linzhou/pc.js +10 -10
  36. package/src/filiale/qianneng/android/AppAddMaterialScience.vue +477 -477
  37. package/src/filiale/qianneng/android/AppExplorationUser.vue +447 -447
  38. package/src/filiale/qianneng/android/AppServiceControl.vue +1608 -1608
  39. package/src/filiale/qianneng/android/AppServiceView.vue +761 -761
  40. package/src/filiale/qianneng/android/AppSign.vue +152 -152
  41. package/src/filiale/qianneng/android/AppTakePic.vue +140 -140
  42. package/src/filiale/qianneng/android.js +12 -12
  43. package/src/filiale/qianneng/pc/ApplyUpload.vue +290 -290
  44. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +685 -685
  45. package/src/filiale/qianneng/pc/ExplorationUser.vue +189 -189
  46. package/src/filiale/qianneng/pc/InstallationDetails.vue +561 -561
  47. package/src/filiale/qianneng/pc/ServiceView.vue +1121 -1121
  48. package/src/filiale/qianneng/pc/SupervisoryList.vue +344 -344
  49. package/src/filiale/qianneng/pc/SupervisoryhCart.vue +127 -127
  50. package/src/filiale/qianneng/pc/addMaterialScience.vue +464 -464
  51. package/src/filiale/qianneng/pc/addressAndUserinfoManagement.vue +389 -389
  52. package/src/filiale/qianneng/pc/devicesManagement.vue +484 -484
  53. package/src/filiale/qianneng/pc/printactivatecard.vue +295 -295
  54. package/src/filiale/qianneng/pc.js +26 -26
  55. package/src/filiale/yangchunboneng/android.js +3 -3
  56. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +466 -466
  57. package/src/filiale/yangchunboneng/pc/InstallationDetails.vue +610 -610
  58. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +1790 -1788
  59. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +2 -1
  60. package/src/filiale/yangchunboneng/pc.js +12 -12
  61. package/src/main.js +1 -1
@@ -1,127 +1,127 @@
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 "../../../components/Util";
21
- export default {
22
- title: "流程节点",
23
- props:['selectdata'],
24
- data(){
25
- return{
26
- defnames: [] // 所有节点
27
- }
28
- },
29
- ready () {
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
- },
63
- // 检测是否有权限
64
- check (actorexpression){
65
-
66
- let str = null
67
-
68
- if (isEmpty(actorexpression)) {
69
- return true
70
- }
71
-
72
- if (actorexpression.indexOf('D') === 0) {
73
- str = actorexpression.substring(2, actorexpression.length-1)
74
- return this.$login.f.f_department_name.includes(str)
75
- }
76
-
77
- if (actorexpression.indexOf('RS') === 0) {
78
- for (str of actorexpression.substring(3, actorexpression.length-1).split(',')) {
79
- return this.$login.f.f_role_name.includes(str)
80
- }
81
- }
82
-
83
- if (actorexpression.indexOf('R') === 0) {
84
- str = actorexpression.substring(2, actorexpression.length-1)
85
- return this.$login.f.f_role_name.includes(str)
86
- }
87
-
88
- if (actorexpression.indexOf('PI') === 0) {
89
- str = actorexpression.substring(3, actorexpression.length-1)
90
- return this.$login.f.id.includes(str)
91
- }
92
- if (actorexpression.indexOf('P') === 0) {
93
- str = actorexpression.substring(2, actorexpression.length-1)
94
- return this.$login.f.name.includes(str)
95
- }
96
-
97
- return this.$login.f.f_role_name.includes('流程监控')
98
- }
99
- },
100
- computed: {
101
- },
102
- watch:{
103
- }
104
- }
105
- </script>
106
-
107
- <style scoped>
108
- .row{
109
- text-align: center;
110
- height: auto;
111
- margin-right: 20px;
112
- }
113
- .item{
114
- border-radius: 2em;
115
- border: 1px solid silver;
116
- line-height: 25px;
117
- }
118
- .arrow{
119
- width: 100%;
120
- color: #5ac0d9;
121
- font-weight: bold;
122
- }
123
- .selectIndex{
124
- background-color: #5ac0d9;
125
- color: #ffffff;
126
- }
127
- </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 "../../../components/Util";
21
+ export default {
22
+ title: "流程节点",
23
+ props:['selectdata'],
24
+ data(){
25
+ return{
26
+ defnames: [] // 所有节点
27
+ }
28
+ },
29
+ ready () {
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
+ },
63
+ // 检测是否有权限
64
+ check (actorexpression){
65
+
66
+ let str = null
67
+
68
+ if (isEmpty(actorexpression)) {
69
+ return true
70
+ }
71
+
72
+ if (actorexpression.indexOf('D') === 0) {
73
+ str = actorexpression.substring(2, actorexpression.length-1)
74
+ return this.$login.f.f_department_name.includes(str)
75
+ }
76
+
77
+ if (actorexpression.indexOf('RS') === 0) {
78
+ for (str of actorexpression.substring(3, actorexpression.length-1).split(',')) {
79
+ return this.$login.f.f_role_name.includes(str)
80
+ }
81
+ }
82
+
83
+ if (actorexpression.indexOf('R') === 0) {
84
+ str = actorexpression.substring(2, actorexpression.length-1)
85
+ return this.$login.f.f_role_name.includes(str)
86
+ }
87
+
88
+ if (actorexpression.indexOf('PI') === 0) {
89
+ str = actorexpression.substring(3, actorexpression.length-1)
90
+ return this.$login.f.id.includes(str)
91
+ }
92
+ if (actorexpression.indexOf('P') === 0) {
93
+ str = actorexpression.substring(2, actorexpression.length-1)
94
+ return this.$login.f.name.includes(str)
95
+ }
96
+
97
+ return this.$login.f.f_role_name.includes('流程监控')
98
+ }
99
+ },
100
+ computed: {
101
+ },
102
+ watch:{
103
+ }
104
+ }
105
+ </script>
106
+
107
+ <style scoped>
108
+ .row{
109
+ text-align: center;
110
+ height: auto;
111
+ margin-right: 20px;
112
+ }
113
+ .item{
114
+ border-radius: 2em;
115
+ border: 1px solid silver;
116
+ line-height: 25px;
117
+ }
118
+ .arrow{
119
+ width: 100%;
120
+ color: #5ac0d9;
121
+ font-weight: bold;
122
+ }
123
+ .selectIndex{
124
+ background-color: #5ac0d9;
125
+ color: #ffffff;
126
+ }
127
+ </style>