apply-clients 3.1.36 → 3.1.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 (26) hide show
  1. package/package.json +112 -112
  2. package/src/App.vue +20 -20
  3. package/src/apply.js +3 -0
  4. package/src/components/product/ApplyCharge/ApplyChargeList.vue +266 -247
  5. package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +30 -232
  6. package/src/components/product/Function/InstallFunction.vue +2 -2
  7. package/src/components/product/Function/InstallInfoSelect.vue +44 -5
  8. package/src/components/product/Function/Service/FunctionServiceControl.vue +61 -2
  9. package/src/components/product/Function/functions/ChargeManagement.vue +397 -30
  10. package/src/components/product/Function/functions/ContractNo.vue +354 -354
  11. package/src/components/product/Function/functions/DispatchList.vue +490 -490
  12. package/src/components/product/Function/functions/InstallFeeInfo.vue +43 -43
  13. package/src/components/product/Order/OrderApply.vue +467 -467
  14. package/src/components/product/Order/OrderApplyList.vue +301 -301
  15. package/src/components/product/Process/ExplorationSelect.vue +326 -287
  16. package/src/components/product/Process/ExplorationUser.vue +168 -140
  17. package/src/components/product/Process/Service/ServiceControl.vue +15 -14
  18. package/src/components/product/ReportForm/ApplyUpload.vue +261 -261
  19. package/src/components/product/ReportForm/CustomerRecordMessage.vue +1587 -1409
  20. package/src/components/product/ServiceView.vue +5 -1
  21. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +169 -153
  22. package/src/components/product/Supervisory/SupervisoryControl.vue +132 -132
  23. package/src/components/product/Supervisory/SupervisoryControl2.vue +132 -0
  24. package/src/components/product/Supervisory/SupervisoryList.vue +76 -10
  25. package/src/components/product/Supervisory/SupervisoryList2.vue +285 -0
  26. package/src/components/product/Supervisory/SupervisoryhCart.vue +105 -104
@@ -1,104 +1,105 @@
1
- <template>
2
- <div style="overflow: auto;">
3
- <div class="row" v-for="(i,row) in defnames">
4
- <div :class="row.defname === defname ? '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','defname'],
19
- data(){
20
- return{
21
- defnames: [] // 所有节点
22
- }
23
- },
24
- created () {
25
- this.initial()
26
- },
27
- methods :{
28
- async initial() {
29
- // 获取流程节点信息
30
- let http = new HttpResetClass()
31
- let temp = []
32
- if(this.selectdata && this.selectdata.f_process_id){
33
- let res = await http.load('POST','rs/sql/getAllNode',{data:{processid: this.selectdata.f_process_id}},{resolveMsg:null, rejectMsg:null})
34
- //循环去除回退导致重复的节点
35
- for (let i = 0; i < res.data.length; i++) {
36
- let flag = true
37
- for (let j = 0; j < temp.length; j++) {
38
- if (res.data[i].defname === temp[j].defname) {
39
- flag = false
40
- }
41
- }
42
- if(flag){
43
- temp.push(res.data[i])
44
- }
45
- }
46
-
47
- this.defnames = temp
48
- }
49
- },
50
- //点击获取节点名
51
- getdefname(row){
52
- if(row.defname === this.$workflow_vue.start_activity){
53
- row = Object.assign({},this.selectdata,row)
54
- this.$dispatch('apply', row)
55
- }else if(this.check(row.actorexpression)){
56
- row = Object.assign({},this.selectdata,row)
57
- this.$dispatch('apply', row)
58
- }else{
59
- this.$showMessage("对不起,您没有查看此节点的权限!")
60
- }
61
- },
62
- // 检测是否有权限
63
- check(actorexpression){
64
- let sign = actorexpression.charAt(0)
65
- let str = actorexpression.substring(2,actorexpression.length-1)
66
- let flag = false
67
- if (sign === 'D' && this.$login.f.f_department_name.includes(str)) {
68
- flag = true
69
- }
70
- if (sign === 'R' && this.$login.f.f_role_name.includes(str)) {
71
- flag = true
72
- }
73
- if (sign === 'P' && this.$login.f.id.includes(str)) {
74
- flag = true
75
- }
76
- return flag
77
- }
78
- },
79
- watch:{
80
- }
81
- }
82
- </script>
83
-
84
- <style scoped>
85
- .row{
86
- text-align: center;
87
- height: auto;
88
- margin-right: 20px;
89
- }
90
- .item{
91
- border-radius: 2em;
92
- border: 1px solid silver;
93
- line-height: 25px;
94
- }
95
- .arrow{
96
- width: 100%;
97
- color: #5ac0d9;
98
- font-weight: bold;
99
- }
100
- .selectIndex{
101
- background-color: #5ac0d9;
102
- color: #ffffff;
103
- }
104
- </style>
1
+ <template>
2
+ <div style="overflow: auto;">
3
+ <div class="row" v-for="(i,row) in defnames">
4
+ <div :class="row.defname === defname ? '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','defname'],
19
+ data(){
20
+ return{
21
+ defnames: [] // 所有节点
22
+ }
23
+ },
24
+ created () {
25
+ this.initial()
26
+ },
27
+ methods :{
28
+ async initial() {
29
+ // 获取流程节点信息
30
+ let http = new HttpResetClass()
31
+ let temp = []
32
+ if(this.selectdata && this.selectdata.f_process_id){
33
+ let res = await http.load('POST','rs/sql/getAllNode',{data:{processid: this.selectdata.f_process_id}},{resolveMsg:null, rejectMsg:null})
34
+ //循环去除回退导致重复的节点
35
+ for (let i = 0; i < res.data.length; i++) {
36
+ let flag = true
37
+ for (let j = 0; j < temp.length; j++) {
38
+ if (res.data[i].defname === temp[j].defname) {
39
+ flag = false
40
+ }
41
+ }
42
+ if(flag){
43
+ temp.push(res.data[i])
44
+ }
45
+ }
46
+
47
+ this.defnames = temp
48
+ }
49
+ },
50
+ //点击获取节点名
51
+ getdefname(row){
52
+ if(row.defname === this.$workflow_vue.start_activity){
53
+ row = Object.assign({},this.selectdata,row)
54
+ this.$dispatch('apply', row)
55
+ }else if(this.check(row.actorexpression)){
56
+ row = Object.assign({},this.selectdata,row)
57
+ this.$dispatch('apply', row)
58
+ }else{
59
+ this.$showMessage("对不起,您没有查看此节点的权限!")
60
+ }
61
+ },
62
+ // 检测是否有权限
63
+ check(actorexpression){
64
+ let sign = actorexpression.charAt(0)
65
+ let str = actorexpression.substring(2,actorexpression.length-1)
66
+ let flag = false
67
+ if (sign === 'D' && this.$login.f.f_department_name.includes(str)) {
68
+ flag = true
69
+ }
70
+ if (sign === 'R' && this.$login.f.f_role_name.includes(str)) {
71
+ flag = true
72
+ }
73
+ if (sign === 'P' && this.$login.f.id.includes(str)) {
74
+ flag = true
75
+ }
76
+ flag = true
77
+ return flag
78
+ }
79
+ },
80
+ watch:{
81
+ }
82
+ }
83
+ </script>
84
+
85
+ <style scoped>
86
+ .row{
87
+ text-align: center;
88
+ height: auto;
89
+ margin-right: 20px;
90
+ }
91
+ .item{
92
+ border-radius: 2em;
93
+ border: 1px solid silver;
94
+ line-height: 25px;
95
+ }
96
+ .arrow{
97
+ width: 100%;
98
+ color: #5ac0d9;
99
+ font-weight: bold;
100
+ }
101
+ .selectIndex{
102
+ background-color: #5ac0d9;
103
+ color: #ffffff;
104
+ }
105
+ </style>