apply-clients 7.1.36-yuchuan-41 → 7.1.36-yuchuan-42

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 (68) hide show
  1. package/android.html +27 -27
  2. package/build/dev-server.js +172 -192
  3. package/package.json +119 -119
  4. package/src/apply.js +163 -163
  5. package/src/applyAndroid.js +98 -98
  6. package/src/components/android/AppSign.vue +232 -232
  7. package/src/components/android/Ignition/VentilationIgnition.vue +408 -408
  8. package/src/components/android/Ignition/VentilationIgnitionHandle.vue +472 -472
  9. package/src/components/android/Process/AppExplorationUser.vue +454 -454
  10. package/src/components/android/Process/AppServiceControl.vue +1434 -1434
  11. package/src/components/android/Process/Processes/AppInstallationDetails.vue +1018 -1018
  12. package/src/components/android/Process/Processes/newAppInstallationDetails.vue +671 -671
  13. package/src/components/android/SealManage.vue +278 -278
  14. package/src/components/android/Sign/AppSignTask.vue +183 -183
  15. package/src/components/android/Supervisory/AppProcessSupervisory.vue +344 -344
  16. package/src/components/android/Task/Build/BuildTsak.vue +117 -117
  17. package/src/components/android/Task/BuildIgnition/BuildIgnition.vue +114 -114
  18. package/src/components/android/Task/GuanXianJianShe/AppExplorationGuanXian.vue +317 -317
  19. package/src/components/android/Task/RepairFromSend/RepairFrom.vue +124 -124
  20. package/src/components/android/Task/RepairFromSend/RepairSend.vue +124 -124
  21. package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +431 -431
  22. package/src/components/android/Task/Survey/SurveyTsak.vue +141 -141
  23. package/src/components/android/Task/yiban/AppShowDone.vue +442 -442
  24. package/src/components/android/newPackage/customerServiceManager.vue +218 -218
  25. package/src/components/android/newPackage/projectPrice.vue +218 -218
  26. package/src/components/product/ApplyCharge/ApplyChargeList.vue +1101 -1101
  27. package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +325 -325
  28. package/src/components/product/ApplyGuanXian/GuanXianExplorationUser.vue +142 -142
  29. package/src/components/product/ApplyGuanXian/GuanXianSupervisoryhCart.vue +119 -119
  30. package/src/components/product/ApplyMap/AppMapLocation.vue +829 -829
  31. package/src/components/product/ApplyMap/ApplyMapInputSearch.vue +335 -335
  32. package/src/components/product/Function/InstallFunction.vue +132 -132
  33. package/src/components/product/Function/InstallInfoSelect.vue +374 -374
  34. package/src/components/product/GongJianPush/ApplyPushDispose.vue +12 -10
  35. package/src/components/product/GongJianPush/ApplyPushManage.vue +91 -91
  36. package/src/components/product/Ignition/IgnitionDispatch.vue +90 -90
  37. package/src/components/product/Ignition/IgnitionListManage.vue +604 -604
  38. package/src/components/product/Ignition/IgnitionRecord.vue +380 -380
  39. package/src/components/product/InsuranceApply/InsuranceReport.vue +188 -188
  40. package/src/components/product/List/OldShowDevices.vue +271 -271
  41. package/src/components/product/List/ShowAllActivity.vue +541 -541
  42. package/src/components/product/List/ShowDevices.vue +279 -279
  43. package/src/components/product/Print/BuildOrder/buildOrderList.vue +446 -446
  44. package/src/components/product/Process/ExplorationSelect.vue +593 -593
  45. package/src/components/product/Process/ExplorationUser.vue +154 -154
  46. package/src/components/product/Process/New1ExplorationUser.vue +196 -196
  47. package/src/components/product/Process/NewExplorationSelect.vue +587 -587
  48. package/src/components/product/Process/NewExplorationUser.vue +216 -216
  49. package/src/components/product/Process/Processes/InstallationDetails.vue +1159 -1159
  50. package/src/components/product/Process/Processes/Print/printCharge.vue +250 -250
  51. package/src/components/product/Process/Processes/Print/printGaiXianCharge.vue +244 -244
  52. package/src/components/product/Process/Processes/chargeManagement.vue +703 -703
  53. package/src/components/product/Process/Processes/selectApply.vue +250 -250
  54. package/src/components/product/Process/Processes/selectChaiChuUserinfo.vue +230 -230
  55. package/src/components/product/Process/Processes/selectOldUserinfo.vue +241 -241
  56. package/src/components/product/Process/Processes/selectUserinfo.vue +234 -234
  57. package/src/components/product/Process/Service/ServiceControl.vue +2216 -2216
  58. package/src/components/product/ServiceView.vue +644 -644
  59. package/src/components/product/Stop/StopApplyList.vue +224 -224
  60. package/src/components/product/Supervisory/NewSupervisoryhCart.vue +175 -175
  61. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +593 -593
  62. package/src/components/product/Supervisory/SupervisoryControl.vue +114 -114
  63. package/src/components/product/Supervisory/SupervisoryList.vue +580 -580
  64. package/src/components/product/Supervisory/SupervisoryhCart.vue +120 -120
  65. package/src/components/product/Supervisory/YiBanSupervisoryControl.vue +111 -111
  66. package/src/components/product/Supervisory/YiBanSupervisoryList.vue +539 -539
  67. package/src/components/product/VueUtils/ApplyUpload.vue +303 -303
  68. package/src/main.js +27 -27
@@ -1,142 +1,142 @@
1
- <template>
2
- <div class="flex-row">
3
- <div class="basic-main">
4
- <div :class="showData ? 'top' : 'auto'">
5
- <guan-xian-exploration-select v-ref:query :show-data="showData"></guan-xian-exploration-select>
6
- </div>
7
- <div v-if="showtotal" style="height: 89%">
8
- <div class="col-sm-2" style="margin-top: 20px">
9
- <guan-xian-supervisoryh-cart :selectdata="selectdata"></guan-xian-supervisoryh-cart>
10
- </div>
11
- <tabset v-ref:tabs :close="false" :active.sync="active">
12
- <tab :header='selectdata.defname'>
13
- <service-control v-ref:service :selectdata="selectdata"></service-control>
14
- </tab>
15
- <tab header='附件'>
16
- <apply-upload :blodid="selectdata.f_process_id"
17
- :isupload = "true"
18
- :isdelete="true"
19
- :isusetype="true"
20
- :isremark = "true"
21
- :takeimg="true"
22
- :issearch="true"
23
- :defname="selectdata.defname">
24
- </apply-upload>
25
- </tab>
26
- </tabset>
27
- </div>
28
- </div>
29
- </div>
30
- </template>
31
- <script>
32
- import Vue from 'vue'
33
- import {HttpResetClass} from 'vue-client'
34
- export default {
35
- title: '管线建设流程',
36
- data () {
37
- return {
38
- showData: true, // 控制列表数据
39
- showtotal: false, // 详情显示
40
- selectdata: {},
41
- xmlname: '', // 配置文件名
42
- active: 0 // 配置文件名
43
- }
44
- },
45
- ready () {
46
- console.log('=============用户信息=================')
47
- console.log(this.$login.f)
48
- console.log(this.$login.r)
49
- },
50
- methods: {
51
- // 获取页面配置json文件
52
- async loadName () {
53
- let http = new HttpResetClass()
54
- let data = {
55
- workname: this.selectdata.processname
56
- }
57
- let res=await http.load('POST', 'rs/logic/ApplyGetConfigs', {
58
- data
59
- }, {resolveMsg: null, rejectMsg: null})
60
-
61
- Vue.prototype.$workflow_vue = res.data
62
- }
63
- },
64
- events: {
65
- 'onMessage' (data) {
66
- console.log('接收消息')
67
- console.log(data)
68
- if (data.type === 'apply-task') {
69
- this.$refs.query.$refs.cp.$refs.cri.search()
70
- }
71
- },
72
- // 刷新控制层
73
- async 'breakControl' (servicedata) {
74
-
75
- if (servicedata.id) {
76
- let data = {
77
- condition: `u.id = ${servicedata.id}`,
78
- data: {
79
- userid: this.$login.f.id,
80
- f_filiale: "榆林."+this.$login.f.orgs
81
- }
82
- }
83
- let res = await this.$resetpost(
84
- 'rs/sql/getGuanXianApply',
85
- {data: data},
86
- {resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
87
- )
88
-
89
- this.selectdata = res.data[0]
90
- } else {
91
- this.selectdata = servicedata
92
- }
93
-
94
- this.showtotal = false
95
- this.$nextTick(() => {
96
- this.showtotal = true
97
- })
98
-
99
- },
100
- // 初始化
101
- async 'apply' (val) {
102
- this.showtotal = false
103
- this.selectdata = val
104
-
105
- // 次方法必须同步执行,否则后续会出问题
106
- // 获取页面json配置文件
107
- await this.loadName()
108
-
109
- // 显示详细
110
- this.showtotal = true
111
- // 关闭列表数据
112
- this.showData = false
113
- // 关闭分页
114
- this.$refs.query.$refs.cp.pager = false
115
- },
116
- 'search' () {
117
- this.selectdata = {}
118
- // 关闭详细
119
- this.showtotal = false
120
- // 显示列表数据
121
- this.showData = true
122
- // 显示分页
123
- this.$refs.query.$refs.cp.pager = true
124
- // 调用查询
125
- this.$refs.query.$refs.cp.$refs.cri.search()
126
- },
127
- 'loadPage' () {
128
- this.selectdata = {}
129
- // 关闭详细
130
- this.showtotal = false
131
- // 显示列表数据
132
- this.showData = true
133
- // 显示分页
134
- this.$refs.query.$refs.cp.pager = true
135
- // 调用查询
136
- this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
137
- }
138
- },
139
- watch: {
140
- }
141
- }
142
- </script>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <div :class="showData ? 'top' : 'auto'">
5
+ <guan-xian-exploration-select v-ref:query :show-data="showData"></guan-xian-exploration-select>
6
+ </div>
7
+ <div v-if="showtotal" style="height: 89%">
8
+ <div class="col-sm-2" style="margin-top: 20px">
9
+ <guan-xian-supervisoryh-cart :selectdata="selectdata"></guan-xian-supervisoryh-cart>
10
+ </div>
11
+ <tabset v-ref:tabs :close="false" :active.sync="active">
12
+ <tab :header='selectdata.defname'>
13
+ <service-control v-ref:service :selectdata="selectdata"></service-control>
14
+ </tab>
15
+ <tab header='附件'>
16
+ <apply-upload :blodid="selectdata.f_process_id"
17
+ :isupload = "true"
18
+ :isdelete="true"
19
+ :isusetype="true"
20
+ :isremark = "true"
21
+ :takeimg="true"
22
+ :issearch="true"
23
+ :defname="selectdata.defname">
24
+ </apply-upload>
25
+ </tab>
26
+ </tabset>
27
+ </div>
28
+ </div>
29
+ </div>
30
+ </template>
31
+ <script>
32
+ import Vue from 'vue'
33
+ import {HttpResetClass} from 'vue-client'
34
+ export default {
35
+ title: '管线建设流程',
36
+ data () {
37
+ return {
38
+ showData: true, // 控制列表数据
39
+ showtotal: false, // 详情显示
40
+ selectdata: {},
41
+ xmlname: '', // 配置文件名
42
+ active: 0 // 配置文件名
43
+ }
44
+ },
45
+ ready () {
46
+ console.log('=============用户信息=================')
47
+ console.log(this.$login.f)
48
+ console.log(this.$login.r)
49
+ },
50
+ methods: {
51
+ // 获取页面配置json文件
52
+ async loadName () {
53
+ let http = new HttpResetClass()
54
+ let data = {
55
+ workname: this.selectdata.processname
56
+ }
57
+ let res=await http.load('POST', 'rs/logic/ApplyGetConfigs', {
58
+ data
59
+ }, {resolveMsg: null, rejectMsg: null})
60
+
61
+ Vue.prototype.$workflow_vue = res.data
62
+ }
63
+ },
64
+ events: {
65
+ 'onMessage' (data) {
66
+ console.log('接收消息')
67
+ console.log(data)
68
+ if (data.type === 'apply-task') {
69
+ this.$refs.query.$refs.cp.$refs.cri.search()
70
+ }
71
+ },
72
+ // 刷新控制层
73
+ async 'breakControl' (servicedata) {
74
+
75
+ if (servicedata.id) {
76
+ let data = {
77
+ condition: `u.id = ${servicedata.id}`,
78
+ data: {
79
+ userid: this.$login.f.id,
80
+ f_filiale: "榆林."+this.$login.f.orgs
81
+ }
82
+ }
83
+ let res = await this.$resetpost(
84
+ 'rs/sql/getGuanXianApply',
85
+ {data: data},
86
+ {resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
87
+ )
88
+
89
+ this.selectdata = res.data[0]
90
+ } else {
91
+ this.selectdata = servicedata
92
+ }
93
+
94
+ this.showtotal = false
95
+ this.$nextTick(() => {
96
+ this.showtotal = true
97
+ })
98
+
99
+ },
100
+ // 初始化
101
+ async 'apply' (val) {
102
+ this.showtotal = false
103
+ this.selectdata = val
104
+
105
+ // 次方法必须同步执行,否则后续会出问题
106
+ // 获取页面json配置文件
107
+ await this.loadName()
108
+
109
+ // 显示详细
110
+ this.showtotal = true
111
+ // 关闭列表数据
112
+ this.showData = false
113
+ // 关闭分页
114
+ this.$refs.query.$refs.cp.pager = false
115
+ },
116
+ 'search' () {
117
+ this.selectdata = {}
118
+ // 关闭详细
119
+ this.showtotal = false
120
+ // 显示列表数据
121
+ this.showData = true
122
+ // 显示分页
123
+ this.$refs.query.$refs.cp.pager = true
124
+ // 调用查询
125
+ this.$refs.query.$refs.cp.$refs.cri.search()
126
+ },
127
+ 'loadPage' () {
128
+ this.selectdata = {}
129
+ // 关闭详细
130
+ this.showtotal = false
131
+ // 显示列表数据
132
+ this.showData = true
133
+ // 显示分页
134
+ this.$refs.query.$refs.cp.pager = true
135
+ // 调用查询
136
+ this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
137
+ }
138
+ },
139
+ watch: {
140
+ }
141
+ }
142
+ </script>
@@ -1,119 +1,119 @@
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
- import {isEmpty} from '../../Util'
17
- export default {
18
- title: "流程节点",
19
- props:['selectdata'],
20
- data(){
21
- return{
22
- defnames: [] // 所有节点
23
- }
24
- },
25
- created () {
26
- this.initial()
27
- },
28
- methods :{
29
- async initial () {
30
- // 获取流程节点信息
31
-
32
- let data = {
33
- processid: this.selectdata.f_process_id
34
- }
35
- let http = new HttpResetClass()
36
- let res = await http.load(
37
- 'POST',
38
- 'rs/sql/getAllNode',
39
- {data: data},
40
- {resolveMsg: null, rejectMsg: '流程标识获取失败!!!'}
41
- )
42
- this.defnames = res.data
43
- },
44
- //点击获取节点名
45
- getdefname (row) {
46
- // 发起节点都可查看
47
- if(row.defname === this.$workflow_vue.start_activity){
48
- row = Object.assign({},this.selectdata,row)
49
- this.$dispatch('apply', row)
50
- return
51
- }
52
- if(this.check(row.actorexpression)){
53
- row = Object.assign({},this.selectdata,row)
54
- this.$dispatch('apply', row)
55
- return
56
- }
57
- this.$showMessage("对不起,您没有查看此节点的权限!")
58
- },
59
- // 检测是否有权限
60
- check (actorexpression){
61
- let str = null
62
-
63
- if (isEmpty(actorexpression)) {
64
- return true
65
- }
66
- return true
67
- if (actorexpression.indexOf('D') === 0) {
68
- str = actorexpression.substring(2, actorexpression.length-1)
69
- return this.$login.f.f_department_name.includes(str)
70
- }
71
- if (actorexpression.indexOf('RS') === 0) {
72
- for (str of actorexpression.substring(3, actorexpression.length-1).split(',')) {
73
- return this.$login.f.rolesnames.includes(str)
74
- }
75
- }
76
-
77
- if (actorexpression.indexOf('R') === 0) {
78
- str = actorexpression.substring(2, actorexpression.length-1)
79
- return this.$login.f.rolesnames.includes(str)
80
- }
81
-
82
- if (actorexpression.indexOf('PI') === 0) {
83
- str = actorexpression.substring(3, actorexpression.length-1)
84
- return this.$login.f.id.includes(str)
85
- }
86
- if (actorexpression.indexOf('P') === 0) {
87
- str = actorexpression.substring(2, actorexpression.length-1)
88
- return this.$login.f.name.includes(str)
89
- }
90
-
91
- return this.$login.f.rolesnames.includes('流程监控')
92
- }
93
- },
94
- watch:{
95
- }
96
- }
97
- </script>
98
-
99
- <style scoped>
100
- .row{
101
- text-align: center;
102
- height: auto;
103
- margin-right: 20px;
104
- }
105
- .item{
106
- border-radius: 2em;
107
- border: 1px solid silver;
108
- line-height: 25px;
109
- }
110
- .arrow{
111
- width: 100%;
112
- color: #5ac0d9;
113
- font-weight: bold;
114
- }
115
- .selectIndex{
116
- background-color: #5ac0d9;
117
- color: #ffffff;
118
- }
119
- </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
+ <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
+ import {isEmpty} from '../../Util'
17
+ export default {
18
+ title: "流程节点",
19
+ props:['selectdata'],
20
+ data(){
21
+ return{
22
+ defnames: [] // 所有节点
23
+ }
24
+ },
25
+ created () {
26
+ this.initial()
27
+ },
28
+ methods :{
29
+ async initial () {
30
+ // 获取流程节点信息
31
+
32
+ let data = {
33
+ processid: this.selectdata.f_process_id
34
+ }
35
+ let http = new HttpResetClass()
36
+ let res = await http.load(
37
+ 'POST',
38
+ 'rs/sql/getAllNode',
39
+ {data: data},
40
+ {resolveMsg: null, rejectMsg: '流程标识获取失败!!!'}
41
+ )
42
+ this.defnames = res.data
43
+ },
44
+ //点击获取节点名
45
+ getdefname (row) {
46
+ // 发起节点都可查看
47
+ if(row.defname === this.$workflow_vue.start_activity){
48
+ row = Object.assign({},this.selectdata,row)
49
+ this.$dispatch('apply', row)
50
+ return
51
+ }
52
+ if(this.check(row.actorexpression)){
53
+ row = Object.assign({},this.selectdata,row)
54
+ this.$dispatch('apply', row)
55
+ return
56
+ }
57
+ this.$showMessage("对不起,您没有查看此节点的权限!")
58
+ },
59
+ // 检测是否有权限
60
+ check (actorexpression){
61
+ let str = null
62
+
63
+ if (isEmpty(actorexpression)) {
64
+ return true
65
+ }
66
+ return true
67
+ if (actorexpression.indexOf('D') === 0) {
68
+ str = actorexpression.substring(2, actorexpression.length-1)
69
+ return this.$login.f.f_department_name.includes(str)
70
+ }
71
+ if (actorexpression.indexOf('RS') === 0) {
72
+ for (str of actorexpression.substring(3, actorexpression.length-1).split(',')) {
73
+ return this.$login.f.rolesnames.includes(str)
74
+ }
75
+ }
76
+
77
+ if (actorexpression.indexOf('R') === 0) {
78
+ str = actorexpression.substring(2, actorexpression.length-1)
79
+ return this.$login.f.rolesnames.includes(str)
80
+ }
81
+
82
+ if (actorexpression.indexOf('PI') === 0) {
83
+ str = actorexpression.substring(3, actorexpression.length-1)
84
+ return this.$login.f.id.includes(str)
85
+ }
86
+ if (actorexpression.indexOf('P') === 0) {
87
+ str = actorexpression.substring(2, actorexpression.length-1)
88
+ return this.$login.f.name.includes(str)
89
+ }
90
+
91
+ return this.$login.f.rolesnames.includes('流程监控')
92
+ }
93
+ },
94
+ watch:{
95
+ }
96
+ }
97
+ </script>
98
+
99
+ <style scoped>
100
+ .row{
101
+ text-align: center;
102
+ height: auto;
103
+ margin-right: 20px;
104
+ }
105
+ .item{
106
+ border-radius: 2em;
107
+ border: 1px solid silver;
108
+ line-height: 25px;
109
+ }
110
+ .arrow{
111
+ width: 100%;
112
+ color: #5ac0d9;
113
+ font-weight: bold;
114
+ }
115
+ .selectIndex{
116
+ background-color: #5ac0d9;
117
+ color: #ffffff;
118
+ }
119
+ </style>