apply-clients 3.4.91 → 3.4.93

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 +133 -133
  2. package/package.json +117 -117
  3. package/src/App.vue +26 -21
  4. package/src/components/android/Ignition/VentilationIgnition.vue +312 -312
  5. package/src/components/android/Ignition/VentilationIgnitionHandle.vue +353 -353
  6. package/src/components/product/ApplyCharge/ApplyChargeList.vue +476 -476
  7. package/src/components/product/Function/InstallInfoSelect.vue +326 -326
  8. package/src/components/product/Ignition/IgnitionListManage.vue +420 -420
  9. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  10. package/src/components/product/Material/Materiallist.vue +74 -74
  11. package/src/components/product/Material/Materialmanger.vue +58 -58
  12. package/src/components/product/Process/ExplorationSelect.vue +491 -491
  13. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +203 -203
  14. package/src/components/product/Process/ShowBackReason.vue +40 -40
  15. package/src/components/product/Stop/StopApplyList.vue +278 -278
  16. package/src/components/product/Supervisory/SupervisoryControl.vue +140 -140
  17. package/src/filiale/hongda/pc/printChargepc.vue +114 -114
  18. package/src/filiale/hongda/pc/printactivatecard.vue +151 -151
  19. package/src/filiale/linzhou/pc/ApplyChargeList.vue +486 -486
  20. package/src/filiale/linzhou/pc/ServiceControl.vue +1968 -1968
  21. package/src/filiale/linzhou/pc/devicesManagement.vue +494 -494
  22. package/src/filiale/linzhou/pc.js +10 -10
  23. package/src/filiale/qianneng/android/AppAddMaterialScience.vue +477 -477
  24. package/src/filiale/qianneng/android/AppExplorationUser.vue +447 -447
  25. package/src/filiale/qianneng/android/AppServiceControl.vue +1608 -1608
  26. package/src/filiale/qianneng/android/AppServiceView.vue +761 -761
  27. package/src/filiale/qianneng/android/AppSign.vue +152 -152
  28. package/src/filiale/qianneng/android/AppTakePic.vue +140 -140
  29. package/src/filiale/qianneng/android.js +12 -12
  30. package/src/filiale/qianneng/pc/ApplyUpload.vue +290 -290
  31. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +685 -685
  32. package/src/filiale/qianneng/pc/ExplorationUser.vue +189 -189
  33. package/src/filiale/qianneng/pc/InstallationDetails.vue +561 -561
  34. package/src/filiale/qianneng/pc/ServiceView.vue +1118 -1121
  35. package/src/filiale/qianneng/pc/SupervisoryList.vue +344 -344
  36. package/src/filiale/qianneng/pc/SupervisoryhCart.vue +127 -127
  37. package/src/filiale/qianneng/pc/addMaterialScience.vue +464 -464
  38. package/src/filiale/qianneng/pc/addressAndUserinfoManagement.vue +389 -389
  39. package/src/filiale/qianneng/pc/devicesManagement.vue +484 -484
  40. package/src/filiale/qianneng/pc/printactivatecard.vue +295 -295
  41. package/src/filiale/qianneng/pc.js +26 -26
  42. package/src/filiale/yangchunboneng/pc/ApplyChargeList.vue +516 -0
  43. package/src/filiale/yangchunboneng/pc.js +13 -12
  44. package/src/main.js +23 -23
@@ -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>