apply-clients 3.4.98-2 → 3.4.98-21

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 (73) hide show
  1. package/build/dev-server.js +2 -10
  2. package/package.json +3 -2
  3. package/src/App.vue +6 -11
  4. package/src/applyAndroid.js +1 -0
  5. package/src/components/android/AppSign.vue +9 -10
  6. package/src/components/android/Ignition/VentilationIgnition.vue +312 -312
  7. package/src/components/android/Ignition/VentilationIgnitionHandle.vue +353 -353
  8. package/src/components/android/Process/AppServiceControl.vue +1738 -1734
  9. package/src/components/product/ApplyCharge/ApplyChargeList.vue +476 -476
  10. package/src/components/product/Function/InstallInfoSelect.vue +326 -326
  11. package/src/components/product/Ignition/IgnitionListManage.vue +420 -420
  12. package/src/components/product/Install/ContractCharge.vue +210 -210
  13. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  14. package/src/components/product/Material/Materiallist.vue +74 -74
  15. package/src/components/product/Material/Materialmanger.vue +58 -58
  16. package/src/components/product/Process/ExplorationSelect.vue +491 -491
  17. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +203 -203
  18. package/src/components/product/Process/Service/ServiceControl.vue +2 -2
  19. package/src/components/product/Process/ShowBackReason.vue +40 -40
  20. package/src/components/product/Stop/StopApplyList.vue +278 -278
  21. package/src/components/product/Supervisory/SupervisoryControl.vue +140 -140
  22. package/src/components/product/Supervisory/SupervisoryList.vue +27 -0
  23. package/src/filiale/gongyi/pc/ServiceControl.vue +1926 -0
  24. package/src/filiale/gongyi/pc.js +6 -0
  25. package/src/filiale/guzhou/pc/ServiceControl.vue +1926 -0
  26. package/src/filiale/guzhou/pc.js +6 -0
  27. package/src/filiale/hongda/pc/FunctionServiceControl.vue +21 -0
  28. package/src/filiale/hongda/pc/printChargepc.vue +114 -114
  29. package/src/filiale/hongda/pc/printactivatecard.vue +151 -151
  30. package/src/filiale/hongda/pc/printrefit.vue +3 -1
  31. package/src/filiale/huayinyihua/pc/StopApplyList.vue +271 -0
  32. package/src/filiale/huayinyihua/pc/SupervisoryList.vue +363 -0
  33. package/src/filiale/huayinyihua/pc.js +7 -0
  34. package/src/filiale/linzhou/pc/ApplyChargeList.vue +486 -486
  35. package/src/filiale/linzhou/pc/ServiceControl.vue +1968 -1968
  36. package/src/filiale/linzhou/pc/devicesManagement.vue +494 -494
  37. package/src/filiale/linzhou/pc.js +10 -10
  38. package/src/filiale/qianneng/android/AppAddMaterialScience.vue +477 -477
  39. package/src/filiale/qianneng/android/AppExplorationUser.vue +447 -447
  40. package/src/filiale/qianneng/android/AppServiceControl.vue +1608 -1608
  41. package/src/filiale/qianneng/android/AppServiceView.vue +761 -761
  42. package/src/filiale/qianneng/android/AppSign.vue +152 -152
  43. package/src/filiale/qianneng/android/AppTakePic.vue +140 -140
  44. package/src/filiale/qianneng/android.js +12 -12
  45. package/src/filiale/qianneng/pc/ApplyUpload.vue +290 -290
  46. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +685 -685
  47. package/src/filiale/qianneng/pc/ExplorationUser.vue +189 -189
  48. package/src/filiale/qianneng/pc/InstallationDetails.vue +561 -561
  49. package/src/filiale/qianneng/pc/ServiceView.vue +1118 -1118
  50. package/src/filiale/qianneng/pc/SupervisoryList.vue +344 -344
  51. package/src/filiale/qianneng/pc/SupervisoryhCart.vue +127 -127
  52. package/src/filiale/qianneng/pc/addMaterialScience.vue +464 -464
  53. package/src/filiale/qianneng/pc/addressAndUserinfoManagement.vue +389 -389
  54. package/src/filiale/qianneng/pc/devicesManagement.vue +484 -484
  55. package/src/filiale/qianneng/pc/printactivatecard.vue +295 -295
  56. package/src/filiale/qianneng/pc.js +26 -26
  57. package/src/filiale/yangchunboneng/android/AppAddMaterialScience.vue +390 -0
  58. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +108 -0
  59. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +552 -0
  60. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +507 -0
  61. package/src/filiale/yangchunboneng/android/chargesList.vue +173 -0
  62. package/src/filiale/yangchunboneng/android.js +6 -0
  63. package/src/filiale/yangchunboneng/pc/ApplyChargeList.vue +594 -546
  64. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +375 -375
  65. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +469 -469
  66. package/src/filiale/yangchunboneng/pc/InstallInfoSelect.vue +364 -357
  67. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +1739 -1734
  68. package/src/filiale/yangchunboneng/pc/ServiceView.vue +1004 -0
  69. package/src/filiale/yangchunboneng/pc/addMaterialScience.vue +374 -0
  70. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +955 -1011
  71. package/src/filiale/yangchunboneng/pc/devicesManagement.vue +511 -0
  72. package/src/filiale/yangchunboneng/pc.js +16 -13
  73. 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>