apply-clients 3.4.2 → 3.4.4

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 (130) hide show
  1. package/android.html +23 -23
  2. package/build/dev-server.js +119 -119
  3. package/build/webpack.base.conf.js +2 -1
  4. package/build/webpack.dev.conf.js +12 -0
  5. package/dingding.html +23 -0
  6. package/index.html +33 -33
  7. package/package.json +2 -1
  8. package/src/AndroidApp.vue +35 -35
  9. package/src/DingDingApp.vue +51 -0
  10. package/src/android.js +21 -21
  11. package/src/apply.js +38 -13
  12. package/src/applyAndroid.js +46 -32
  13. package/src/applyDingDing.js +12 -0
  14. package/src/components/android/AppOnetomany.vue +343 -301
  15. package/src/components/android/AppServiceView.vue +189 -10
  16. package/src/components/android/AppSign.vue +19 -7
  17. package/src/components/android/AppTakePic.vue +143 -143
  18. package/src/components/android/AreaSelect/AppQrcodeReader.vue +73 -0
  19. package/src/components/android/AreaSelect/AppResAreaMapGroup.vue +148 -0
  20. package/src/components/android/AreaSelect/AppResAreaSelect.vue +108 -0
  21. package/src/components/android/AreaSelect/AppResAreaSelectGroup.vue +142 -0
  22. package/src/components/android/Function/AppFunctionServiceControl.vue +344 -0
  23. package/src/components/android/Function/AppInstallFunction.vue +366 -0
  24. package/src/components/android/Process/AppExplorationUser.vue +500 -320
  25. package/src/components/android/Process/AppServiceControl.vue +999 -48
  26. package/src/components/android/Process/Processes/AppAddMaterialScience.vue +477 -0
  27. package/src/components/android/Process/Processes/AppBuildSign.vue +46 -0
  28. package/src/components/android/Process/Processes/AppChargeManagement.vue +637 -0
  29. package/src/components/android/Process/Processes/AppDevicesManagement.vue +519 -0
  30. package/src/components/android/Process/Processes/AppInstallationDetails.vue +116 -90
  31. package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +298 -0
  32. package/src/components/android/Process/Processes/selectApply.vue +250 -0
  33. package/src/components/android/Process/Processes/selectUserinfo.vue +182 -0
  34. package/src/components/android/ProgressReport/ProgressReportDetail.vue +64 -64
  35. package/src/components/android/Supervisory/AppProcessSupervisory.vue +205 -71
  36. package/src/components/android/Supervisory/AppSupervisoryCart.vue +69 -34
  37. package/src/components/android/TaskGraph.vue +125 -125
  38. package/src/components/common/TabButton.vue +149 -0
  39. package/src/components/common/Tabs.vue +67 -0
  40. package/src/components/image/dwg.jpg +0 -0
  41. package/src/components/image/txt.jpg +0 -0
  42. package/src/components/image//345/221/250/345/217/243/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  43. package/src/components/image//350/245/277/345/215/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  44. package/src/components/image//351/203/270/345/237/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  45. package/src/components/image//351/241/271/345/237/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  46. package/src/components/image//351/271/277/351/202/221/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  47. package/src/components/product/ApplyCharge/ApplyChargeList.vue +272 -53
  48. package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +3 -3
  49. package/src/components/product/AreaSelect/MyAreaSelect.vue +423 -0
  50. package/src/components/product/AreaSelect/ResAreaSelect.vue +106 -0
  51. package/src/components/product/AreaSelect/ResAreaSelectGroup.vue +150 -0
  52. package/src/components/product/AreaSelect/utils/EventListener.js +29 -0
  53. package/src/components/product/AreaSelect/utils/coerceBoolean.js +7 -0
  54. package/src/components/product/Business/BusinessApply.vue +269 -0
  55. package/src/components/product/Business/CivilApply.vue +269 -0
  56. package/src/components/product/Function/InstallFunction.vue +132 -125
  57. package/src/components/product/Function/InstallInfoSelect.vue +320 -292
  58. package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -222
  59. package/src/components/product/GaoDeMapComponents/GaoDeMap.vue +231 -0
  60. package/src/components/product/GroupByApply/ApplyGroupByList.vue +253 -0
  61. package/src/components/product/GroupByApply/ApplyGroupByMain.vue +53 -0
  62. package/src/components/product/GroupByApply/ApplyGroupByPaper.vue +376 -0
  63. package/src/components/product/Install/InstallProject.vue +194 -0
  64. package/src/components/product/Material/MaterialDetailed.vue +262 -0
  65. package/src/components/product/OldApply/Handle/HandleApply.vue +337 -0
  66. package/src/components/product/OldApply/Monitor/MonitorApply.vue +360 -0
  67. package/src/components/product/OldApply/OldApply.vue +209 -0
  68. package/src/components/product/OldApply/OldApplyMessage.vue +420 -0
  69. package/src/components/product/Onetomany.vue +406 -377
  70. package/src/components/product/Print/BuildOrder/buildOrderList.vue +339 -0
  71. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +157 -0
  72. package/src/components/product/Print/IgnitionBill/IgnitionBill.vue +259 -0
  73. package/src/components/product/Print/IgnitionBill/printIgnitionBill.vue +168 -0
  74. package/src/components/product/Process/ExplorationSelect.vue +495 -410
  75. package/src/components/product/Process/ExplorationUser.vue +189 -138
  76. package/src/components/product/Process/Processes/InstallationDetails.vue +25 -7
  77. package/src/components/product/Process/Processes/Print/printCharge.vue +41 -17
  78. package/src/components/product/Process/Processes/Print/printChargepc.vue +142 -0
  79. package/src/components/product/Process/Processes/Print/printRefund.vue +196 -0
  80. package/src/components/product/Process/Processes/addMaterialScience.vue +454 -0
  81. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +211 -207
  82. package/src/components/product/Process/Processes/chargeManagement.vue +20 -3
  83. package/src/components/product/Process/Processes/devicesManagement.vue +484 -478
  84. package/src/components/product/Process/Processes/selectApply.vue +2 -2
  85. package/src/components/product/Process/Service/ServiceControl.vue +638 -20
  86. package/src/components/product/Process/Service/ShowBackReason.vue +33 -33
  87. package/src/components/product/Process/ShowBackReason.vue +33 -0
  88. package/src/components/product/ServiceView.vue +357 -7
  89. package/src/components/product/Stop/StopApply.vue +101 -103
  90. package/src/components/product/Stop/StopApplyList.vue +271 -269
  91. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +884 -186
  92. package/src/components/product/Supervisory/SupervisoryControl.vue +137 -100
  93. package/src/components/product/Supervisory/SupervisoryList.vue +201 -30
  94. package/src/components/product/Supervisory/SupervisoryhCart.vue +130 -107
  95. package/src/components/product/VueUtils/ApplyUpload.vue +275 -273
  96. package/src/components/product/VueUtils/GaoPaiYi/HighMeter.vue +1090 -0
  97. package/src/components/product/VueUtils/HighMeter.vue +208 -208
  98. package/src/components/product/VueUtils/ToolsPage.vue +51 -0
  99. package/src/components/product/VueUtils/Tree.vue +330 -0
  100. package/src/dingding.js +19 -0
  101. package/src/expandcssAndroid.less +517 -1034
  102. package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +735 -731
  103. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +824 -824
  104. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetailsCivil.vue +650 -650
  105. package/src/filiale/yuchuan/android/Sign/AppSignTask.vue +182 -182
  106. package/src/filiale/yuchuan/android/Sign/BuildSign.vue +50 -50
  107. package/src/filiale/yuchuan/android/Sign/ConstructSign.vue +50 -50
  108. package/src/filiale/yuchuan/android/Sign/DesignSign.vue +50 -50
  109. package/src/filiale/yuchuan/android/Sign/SupervisorSign.vue +50 -50
  110. package/src/filiale/yuchuan/android/Task/Build/BuildTsak.vue +60 -60
  111. package/src/filiale/yuchuan/android/Task/Survey/SurveyTsak.vue +60 -60
  112. package/src/filiale/yuchuan/android.js +14 -14
  113. package/src/filiale/yuchuan/pc/Order/OrderApply.vue +528 -528
  114. package/src/filiale/yuchuan/pc/Order/OrderApplyList.vue +343 -343
  115. package/src/filiale/yuchuan/pc/Print/BuildOrder/buildOrderList.vue +264 -0
  116. package/src/filiale/yuchuan/pc/Print/BuildOrder/printBuildOrder.vue +152 -0
  117. package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +149 -149
  118. package/src/filiale/yuchuan/pc/Process/Processes/ApplyMapCom.vue +67 -67
  119. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +809 -809
  120. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetailsCivil.vue +595 -595
  121. package/src/filiale/yuchuan/pc/Process/Processes/Print/printCharge.vue +125 -0
  122. package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +621 -470
  123. package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +1108 -1074
  124. package/src/filiale/yuchuan/pc/Sign/SignRecord.vue +24 -0
  125. package/src/filiale/yuchuan/pc/Sign/SignRecordList.vue +174 -0
  126. package/src/filiale/yuchuan/pc.js +20 -12
  127. package/src/main.js +4 -1
  128. package/src/components/product/Function/StopApplyCrrdList.vue +0 -176
  129. package/src/components/product/Function/functions/ApplyRecordCancel.vue +0 -102
  130. package/src/components/product/Function/functions/StopInstall.vue +0 -106
@@ -1,107 +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
- <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
- export default {
17
- title: "流程节点",
18
- props:['selectdata'],
19
- data(){
20
- return{
21
- defnames: [] // 所有节点
22
- }
23
- },
24
- created () {
25
- this.initial()
26
- },
27
- methods :{
28
- async initial () {
29
- // 获取流程节点信息
30
-
31
- let data = {
32
- processid: this.selectdata.f_process_id
33
- }
34
-
35
- let res = await this.$resetpost(
36
- 'rs/sql/getAllNode',
37
- {data: data},
38
- {resolveMsg: null, rejectMsg: '流程节点信息获取失败!!!'}
39
- )
40
-
41
- this.defnames = res.data
42
- },
43
- //点击获取节点名
44
- getdefname (row) {
45
- // 发起节点都可查看
46
- if(row.defname === this.$workflow_vue.start_activity){
47
- row = Object.assign({},this.selectdata,row)
48
- this.$dispatch('apply', row)
49
- return
50
- }
51
- if(this.check(row.actorexpression)){
52
- row = Object.assign({},this.selectdata,row)
53
- this.$dispatch('apply', row)
54
- return
55
- }
56
- this.$showMessage("对不起,您没有查看此节点的权限!")
57
- },
58
- // 检测是否有权限
59
- check (actorexpression){
60
- let flag = false
61
-
62
- // 获取标识
63
- let mark = actorexpression.charAt(0)
64
-
65
- let str = actorexpression.substring(2, actorexpression.length-1)
66
-
67
- if (mark === 'D' && this.$login.f.f_department_name.includes(str)) {
68
- flag = true
69
- }
70
- if (mark === 'R' && this.$login.f.f_role_name.includes(str)) {
71
- flag = true
72
- }
73
- if (mark === 'P' && this.$login.f.id.includes(str)) {
74
- flag = true
75
- }
76
- if (this.$login.f.f_role_name.includes('流程监控')) {
77
- flag = true
78
- }
79
- return flag
80
- }
81
- },
82
- watch:{
83
- }
84
- }
85
- </script>
86
-
87
- <style scoped>
88
- .row{
89
- text-align: center;
90
- height: auto;
91
- margin-right: 20px;
92
- }
93
- .item{
94
- border-radius: 2em;
95
- border: 1px solid silver;
96
- line-height: 25px;
97
- }
98
- .arrow{
99
- width: 100%;
100
- color: #5ac0d9;
101
- font-weight: bold;
102
- }
103
- .selectIndex{
104
- background-color: #5ac0d9;
105
- color: #ffffff;
106
- }
107
- </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>