apply-clients 7.1.36-yuchuan-11 → 7.1.36-yuchuan-12

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 (66) hide show
  1. package/android.html +28 -28
  2. package/build/dev-server.js +10 -25
  3. package/index.html +39 -39
  4. package/package.json +1 -1
  5. package/src/apply.js +1 -0
  6. package/src/applyAndroid.js +97 -97
  7. package/src/components/android/AppSign.vue +235 -235
  8. package/src/components/android/AppUpload.vue +275 -275
  9. package/src/components/android/Ignition/VentilationIgnition.vue +408 -408
  10. package/src/components/android/Ignition/VentilationIgnitionHandle.vue +462 -462
  11. package/src/components/android/Process/AppExplorationUser.vue +454 -454
  12. package/src/components/android/Process/AppServiceControl.vue +1437 -1437
  13. package/src/components/android/Process/Processes/AppInstallationDetails.vue +980 -980
  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/GuanXianJianShe/AppExplorationGuanXian.vue +317 -317
  17. package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +431 -431
  18. package/src/components/android/Task/yiban/AppShowDone.vue +442 -442
  19. package/src/components/android/Task/yiban/ShowDone.vue +95 -95
  20. package/src/components/android/Task/yiban/satisfactionShow.vue +166 -166
  21. package/src/components/android/newPackage/customerServiceManager.vue +218 -218
  22. package/src/components/android/newPackage/projectPrice.vue +218 -218
  23. package/src/components/product/ApplyCharge/ApplyChargeList.vue +1101 -1101
  24. package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianViewList.vue +272 -272
  25. package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +236 -236
  26. package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +324 -324
  27. package/src/components/product/ApplyGuanXian/GuanXianExplorationUser.vue +144 -144
  28. package/src/components/product/ApplyGuanXian/GuanXianSupervisoryhCart.vue +119 -119
  29. package/src/components/product/ApplyMap/ApplyDragaboutList.vue +223 -223
  30. package/src/components/product/ApplyMap/ApplyInputSearch.vue +212 -212
  31. package/src/components/product/ApplyMap/ApplyMapInputSearch.vue +335 -335
  32. package/src/components/product/ApplyMap/ApplyMapLocation.vue +862 -862
  33. package/src/components/product/ChongZheng/ApplyChongZhengList.vue +415 -415
  34. package/src/components/product/Function/InstallFunction.vue +133 -133
  35. package/src/components/product/Function/InstallInfoSelect.vue +371 -371
  36. package/src/components/product/Function/Service/FunctionServiceControl.vue +586 -586
  37. package/src/components/product/GongJianPush/ApplyPushManage.vue +90 -90
  38. package/src/components/product/Ignition/IgnitionListManage.vue +602 -602
  39. package/src/components/product/Ignition/IgnitionRecord.vue +380 -380
  40. package/src/components/product/InsuranceApply/InsuranceReport.vue +190 -0
  41. package/src/components/product/List/OldShowDevices.vue +271 -271
  42. package/src/components/product/List/ShowAllActivity.vue +540 -540
  43. package/src/components/product/List/ShowDevices.vue +279 -279
  44. package/src/components/product/Print/BuildOrder/buildOrderList.vue +446 -446
  45. package/src/components/product/Process/ExplorationSelect.vue +597 -597
  46. package/src/components/product/Process/ExplorationUser.vue +158 -158
  47. package/src/components/product/Process/New1ExplorationUser.vue +201 -201
  48. package/src/components/product/Process/NewExplorationSelect.vue +586 -586
  49. package/src/components/product/Process/NewExplorationUser.vue +219 -219
  50. package/src/components/product/Process/Processes/InstallationDetails.vue +1159 -1159
  51. package/src/components/product/Process/Processes/Print/printCharge.vue +250 -250
  52. package/src/components/product/Process/Processes/Print/printGaiXianCharge.vue +244 -244
  53. package/src/components/product/Process/Processes/devicesManagement.vue +393 -393
  54. package/src/components/product/Process/Processes/newDevicesManagement.vue +413 -413
  55. package/src/components/product/Process/Processes/selectChaiChuUserinfo.vue +230 -230
  56. package/src/components/product/Process/Processes/selectOldUserinfo.vue +241 -241
  57. package/src/components/product/Process/Processes/selectUserinfo.vue +234 -234
  58. package/src/components/product/Process/Service/ServiceControl.vue +2205 -2205
  59. package/src/components/product/Stop/StopApplyList.vue +224 -224
  60. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +592 -592
  61. package/src/components/product/Supervisory/SupervisoryControl.vue +116 -116
  62. package/src/components/product/Supervisory/SupervisoryList.vue +557 -557
  63. package/src/components/product/Supervisory/YiBanSupervisoryList.vue +539 -539
  64. package/src/components/product/VueUtils/ApplyUpload.vue +285 -285
  65. package/src/components/product/records/AdjustmentRecordList.vue +162 -162
  66. package/src/main.js +27 -27
@@ -1,144 +1,144 @@
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
-
54
- let data = {
55
- workname: this.selectdata.processname
56
- }
57
- let res = await this.$resetpost(
58
- 'rs/logic/ApplyGetConfigs',
59
- {data: data},
60
- {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
61
- )
62
-
63
- Vue.prototype.$workflow_vue = res.data
64
- }
65
- },
66
- events: {
67
- 'onMessage' (data) {
68
- console.log('接收消息')
69
- console.log(data)
70
- if (data.type === 'apply-task') {
71
- this.$refs.query.$refs.cp.$refs.cri.search()
72
- }
73
- },
74
- // 刷新控制层
75
- async 'breakControl' (servicedata) {
76
-
77
- if (servicedata.id) {
78
- let data = {
79
- condition: `u.id = ${servicedata.id}`,
80
- data: {
81
- userid: this.$login.f.id,
82
- f_filiale: this.$login.f.f_fengongsi?this.$login.f.f_fengongsi:'榆林.榆川天然气'
83
- }
84
- }
85
- let res = await this.$resetpost(
86
- 'rs/sql/getGuanXianApply',
87
- {data: data},
88
- {resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
89
- )
90
-
91
- this.selectdata = res.data[0]
92
- } else {
93
- this.selectdata = servicedata
94
- }
95
-
96
- this.showtotal = false
97
- this.$nextTick(() => {
98
- this.showtotal = true
99
- })
100
-
101
- },
102
- // 初始化
103
- async 'apply' (val) {
104
- this.showtotal = false
105
- this.selectdata = val
106
-
107
- // 次方法必须同步执行,否则后续会出问题
108
- // 获取页面json配置文件
109
- await this.loadName()
110
-
111
- // 显示详细
112
- this.showtotal = true
113
- // 关闭列表数据
114
- this.showData = false
115
- // 关闭分页
116
- this.$refs.query.$refs.cp.pager = false
117
- },
118
- 'search' () {
119
- this.selectdata = {}
120
- // 关闭详细
121
- this.showtotal = false
122
- // 显示列表数据
123
- this.showData = true
124
- // 显示分页
125
- this.$refs.query.$refs.cp.pager = true
126
- // 调用查询
127
- this.$refs.query.$refs.cp.$refs.cri.search()
128
- },
129
- 'loadPage' () {
130
- this.selectdata = {}
131
- // 关闭详细
132
- this.showtotal = false
133
- // 显示列表数据
134
- this.showData = true
135
- // 显示分页
136
- this.$refs.query.$refs.cp.pager = true
137
- // 调用查询
138
- this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
139
- }
140
- },
141
- watch: {
142
- }
143
- }
144
- </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
+
54
+ let data = {
55
+ workname: this.selectdata.processname
56
+ }
57
+ let res = await this.$resetpost(
58
+ 'rs/logic/ApplyGetConfigs',
59
+ {data: data},
60
+ {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
61
+ )
62
+
63
+ Vue.prototype.$workflow_vue = res.data
64
+ }
65
+ },
66
+ events: {
67
+ 'onMessage' (data) {
68
+ console.log('接收消息')
69
+ console.log(data)
70
+ if (data.type === 'apply-task') {
71
+ this.$refs.query.$refs.cp.$refs.cri.search()
72
+ }
73
+ },
74
+ // 刷新控制层
75
+ async 'breakControl' (servicedata) {
76
+
77
+ if (servicedata.id) {
78
+ let data = {
79
+ condition: `u.id = ${servicedata.id}`,
80
+ data: {
81
+ userid: this.$login.f.id,
82
+ f_filiale: this.$login.f.f_fengongsi?this.$login.f.f_fengongsi:'榆林.榆川天然气'
83
+ }
84
+ }
85
+ let res = await this.$resetpost(
86
+ 'rs/sql/getGuanXianApply',
87
+ {data: data},
88
+ {resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
89
+ )
90
+
91
+ this.selectdata = res.data[0]
92
+ } else {
93
+ this.selectdata = servicedata
94
+ }
95
+
96
+ this.showtotal = false
97
+ this.$nextTick(() => {
98
+ this.showtotal = true
99
+ })
100
+
101
+ },
102
+ // 初始化
103
+ async 'apply' (val) {
104
+ this.showtotal = false
105
+ this.selectdata = val
106
+
107
+ // 次方法必须同步执行,否则后续会出问题
108
+ // 获取页面json配置文件
109
+ await this.loadName()
110
+
111
+ // 显示详细
112
+ this.showtotal = true
113
+ // 关闭列表数据
114
+ this.showData = false
115
+ // 关闭分页
116
+ this.$refs.query.$refs.cp.pager = false
117
+ },
118
+ 'search' () {
119
+ this.selectdata = {}
120
+ // 关闭详细
121
+ this.showtotal = false
122
+ // 显示列表数据
123
+ this.showData = true
124
+ // 显示分页
125
+ this.$refs.query.$refs.cp.pager = true
126
+ // 调用查询
127
+ this.$refs.query.$refs.cp.$refs.cri.search()
128
+ },
129
+ 'loadPage' () {
130
+ this.selectdata = {}
131
+ // 关闭详细
132
+ this.showtotal = false
133
+ // 显示列表数据
134
+ this.showData = true
135
+ // 显示分页
136
+ this.$refs.query.$refs.cp.pager = true
137
+ // 调用查询
138
+ this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
139
+ }
140
+ },
141
+ watch: {
142
+ }
143
+ }
144
+ </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_parentname.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_parentname.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>