apply-clients 3.3.69 → 3.3.71

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 (35) hide show
  1. package/.project +17 -0
  2. package/build/dev-server.js +133 -133
  3. package/package.json +1 -1
  4. package/src/AndroidApp.vue +35 -35
  5. package/src/applyAndroid.js +31 -31
  6. package/src/components/android/AppOnetomany.vue +301 -301
  7. package/src/components/android/AppSign.vue +142 -142
  8. package/src/components/android/Function/AppInstallFunction.vue +366 -366
  9. package/src/components/android/Process/AppExplorationUser.vue +396 -402
  10. package/src/components/android/Process/AppServiceControl.vue +865 -865
  11. package/src/components/android/Process/Processes/AppBuildSign.vue +46 -46
  12. package/src/components/android/Supervisory/AppProcessSupervisory.vue +300 -300
  13. package/src/components/android/Supervisory/AppSupervisoryCart.vue +119 -119
  14. package/src/components/product/ApplyCharge/ApplyChargeList.vue +382 -382
  15. package/src/components/product/Business/BusinessApply.vue +242 -242
  16. package/src/components/product/Function/InstallFunction.vue +132 -132
  17. package/src/components/product/Function/InstallInfoSelect.vue +320 -320
  18. package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -445
  19. package/src/components/product/OldApply/Monitor/MonitorApply.vue +329 -329
  20. package/src/components/product/OldApply/OldApply.vue +150 -150
  21. package/src/components/product/Onetomany.vue +377 -377
  22. package/src/components/product/Print/BuildOrder/buildOrderList.vue +264 -264
  23. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +153 -153
  24. package/src/components/product/Process/ExplorationSelect.vue +452 -457
  25. package/src/components/product/Process/ExplorationUser.vue +189 -147
  26. package/src/components/product/Process/Processes/Print/printCharge.vue +142 -142
  27. package/src/components/product/Process/Processes/Print/printRefund.vue +196 -196
  28. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +211 -211
  29. package/src/components/product/Process/Service/ServiceControl.vue +1362 -1362
  30. package/src/components/product/ServiceView.vue +631 -631
  31. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +863 -863
  32. package/src/components/product/Supervisory/SupervisoryControl.vue +137 -137
  33. package/src/components/product/Supervisory/SupervisoryhCart.vue +130 -130
  34. package/src/components/product/VueUtils/ApplyUpload.vue +273 -273
  35. package/src/components/product/VueUtils/HighMeter.vue +208 -208
@@ -1,137 +1,137 @@
1
- <template>
2
- <div class="flex-row">
3
- <div class="basic-main">
4
- <div :class="showData ? 'top' : 'auto'">
5
- <supervisory-list v-ref:query :show-data="showData"></supervisory-list>
6
- </div>
7
- <div v-if="showtotal" style="height: 89%">
8
- <div class="col-sm-2" style="margin-top: 20px">
9
- <supervisory-chart :selectdata="selectdata"></supervisory-chart>
10
- </div>
11
- <div class="col-sm-10" style="margin-top: 20px">
12
- <tabset v-ref:tabs :close="false">
13
- <tab :header='selectdata.defname'>
14
- <supervisory-service-control :selectdata="selectdata" :node-snapshot="true"></supervisory-service-control>
15
- </tab>
16
- <tab header='附件'>
17
- <apply-upload :blodid="selectdata.f_process_id"
18
- :isupload = "false"
19
- :isdelete="false"
20
- :isusetype="true"
21
- :isremark = "true"
22
- :takeimg="true"
23
- :issearch="true"
24
- :defname="selectdata.defname">
25
- </apply-upload>
26
- </tab>
27
- </tabset>
28
- </div>
29
- </div>
30
- </div>
31
- </div>
32
-
33
- </template>
34
- <script>
35
- import Vue from 'vue'
36
- import {HttpResetClass} from 'vue-client'
37
- export default {
38
- title: '流程监控',
39
- data () {
40
- return {
41
- showtotal: false, // 控制详细信息显示
42
- showData: true,
43
- selectdata: {},
44
- xmlname: '' // 配置文件名称
45
- }
46
- },
47
- created () {
48
- },
49
- methods: {
50
- // 获取页面配置json文件
51
- async loadName () {
52
- let data = {
53
- workname: this.selectdata.processname
54
- }
55
-
56
- let res = await this.$resetpost(
57
- 'rs/logic/ApplyGetConfigs',
58
- {data: data},
59
- {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
60
- )
61
-
62
- Vue.prototype.$workflow_vue = res.data
63
- }
64
- },
65
- events: {
66
- // 刷新控制层
67
- async 'breakControl' (servicedata) {
68
-
69
- if (servicedata.id) {
70
- let data = {
71
- condition: `u.id = ${servicedata.id}`,
72
- data: {
73
- orgid: this.$login.f.orgid
74
- }
75
- }
76
- let res = await this.$resetpost(
77
- 'rs/sql/supervisory',
78
- {data: data},
79
- {resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
80
- )
81
- this.selectdata = Object.assign({}, this.selectdata, res.data[0])
82
- } else {
83
- this.selectdata = servicedata
84
- }
85
-
86
- this.showtotal = false
87
- this.$nextTick(() => {
88
- this.showtotal = true
89
- })
90
-
91
- },
92
- 'onMessage' (data) {
93
- console.log('接收消息')
94
- console.log(data)
95
- if (data.type === 'apply-task') {
96
- this.$refs.queryuser.$refs.cp.$refs.cri.search()
97
- }
98
- },
99
- async 'apply' (val) {
100
- this.selectdata = null
101
- this.selectdata = val
102
- this.showtotal = false
103
-
104
- // 获取配置文件
105
- await this.loadName()
106
-
107
- this.$refs.query.$refs.cp.pager = false
108
- this.showData = false
109
-
110
- this.showtotal = true
111
- },
112
- 'search' () {
113
- // 关闭详细
114
- this.showtotal = false
115
- // 显示列表数据
116
- this.showData = true
117
- // 显示分页
118
- this.$refs.query.$refs.cp.pager = true
119
- // 调用查询
120
- this.$refs.query.$refs.cp.$refs.cri.search()
121
- },
122
- 'loadPage' () {
123
- // 关闭详细
124
- this.showtotal = false
125
- // 显示列表数据
126
- this.showData = true
127
- // 显示分页
128
- this.$refs.query.$refs.cp.pager = true
129
- // 调用查询
130
- this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
131
- }
132
- },
133
-
134
- watch: {
135
- }
136
- }
137
- </script>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <div :class="showData ? 'top' : 'auto'">
5
+ <supervisory-list v-ref:query :show-data="showData"></supervisory-list>
6
+ </div>
7
+ <div v-if="showtotal" style="height: 89%">
8
+ <div class="col-sm-2" style="margin-top: 20px">
9
+ <supervisory-chart :selectdata="selectdata"></supervisory-chart>
10
+ </div>
11
+ <div class="col-sm-10" style="margin-top: 20px">
12
+ <tabset v-ref:tabs :close="false">
13
+ <tab :header='selectdata.defname'>
14
+ <supervisory-service-control :selectdata="selectdata" :node-snapshot="true"></supervisory-service-control>
15
+ </tab>
16
+ <tab header='附件'>
17
+ <apply-upload :blodid="selectdata.f_process_id"
18
+ :isupload = "false"
19
+ :isdelete="false"
20
+ :isusetype="true"
21
+ :isremark = "true"
22
+ :takeimg="true"
23
+ :issearch="true"
24
+ :defname="selectdata.defname">
25
+ </apply-upload>
26
+ </tab>
27
+ </tabset>
28
+ </div>
29
+ </div>
30
+ </div>
31
+ </div>
32
+
33
+ </template>
34
+ <script>
35
+ import Vue from 'vue'
36
+ import {HttpResetClass} from 'vue-client'
37
+ export default {
38
+ title: '流程监控',
39
+ data () {
40
+ return {
41
+ showtotal: false, // 控制详细信息显示
42
+ showData: true,
43
+ selectdata: {},
44
+ xmlname: '' // 配置文件名称
45
+ }
46
+ },
47
+ created () {
48
+ },
49
+ methods: {
50
+ // 获取页面配置json文件
51
+ async loadName () {
52
+ let data = {
53
+ workname: this.selectdata.processname
54
+ }
55
+
56
+ let res = await this.$resetpost(
57
+ 'rs/logic/ApplyGetConfigs',
58
+ {data: data},
59
+ {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
60
+ )
61
+
62
+ Vue.prototype.$workflow_vue = res.data
63
+ }
64
+ },
65
+ events: {
66
+ // 刷新控制层
67
+ async 'breakControl' (servicedata) {
68
+
69
+ if (servicedata.id) {
70
+ let data = {
71
+ condition: `u.id = ${servicedata.id}`,
72
+ data: {
73
+ orgid: this.$login.f.orgid
74
+ }
75
+ }
76
+ let res = await this.$resetpost(
77
+ 'rs/sql/supervisory',
78
+ {data: data},
79
+ {resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
80
+ )
81
+ this.selectdata = Object.assign({}, this.selectdata, res.data[0])
82
+ } else {
83
+ this.selectdata = servicedata
84
+ }
85
+
86
+ this.showtotal = false
87
+ this.$nextTick(() => {
88
+ this.showtotal = true
89
+ })
90
+
91
+ },
92
+ 'onMessage' (data) {
93
+ console.log('接收消息')
94
+ console.log(data)
95
+ if (data.type === 'apply-task') {
96
+ this.$refs.queryuser.$refs.cp.$refs.cri.search()
97
+ }
98
+ },
99
+ async 'apply' (val) {
100
+ this.selectdata = null
101
+ this.selectdata = val
102
+ this.showtotal = false
103
+
104
+ // 获取配置文件
105
+ await this.loadName()
106
+
107
+ this.$refs.query.$refs.cp.pager = false
108
+ this.showData = false
109
+
110
+ this.showtotal = true
111
+ },
112
+ 'search' () {
113
+ // 关闭详细
114
+ this.showtotal = false
115
+ // 显示列表数据
116
+ this.showData = true
117
+ // 显示分页
118
+ this.$refs.query.$refs.cp.pager = true
119
+ // 调用查询
120
+ this.$refs.query.$refs.cp.$refs.cri.search()
121
+ },
122
+ 'loadPage' () {
123
+ // 关闭详细
124
+ this.showtotal = false
125
+ // 显示列表数据
126
+ this.showData = true
127
+ // 显示分页
128
+ this.$refs.query.$refs.cp.pager = true
129
+ // 调用查询
130
+ this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
131
+ }
132
+ },
133
+
134
+ watch: {
135
+ }
136
+ }
137
+ </script>
@@ -1,130 +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
- <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>
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>