apply-clients 7.1.36-yuchuan-2 → 7.1.36-yuchuan-3

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 (61) hide show
  1. package/build/dev-server.js +7 -3
  2. package/package.json +3 -3
  3. package/src/AndroidApp.vue +35 -35
  4. package/src/apply.js +12 -1
  5. package/src/applyAndroid.js +87 -83
  6. package/src/components/android/AppUpload.vue +15 -0
  7. package/src/components/android/Ignition/VentilationIgnition.vue +1 -1
  8. package/src/components/android/Process/AppExplorationUser.vue +2 -2
  9. package/src/components/android/Process/AppServiceControl.vue +1410 -1397
  10. package/src/components/android/Supervisory/AppProcessSupervisory.vue +334 -334
  11. package/src/components/android/Task/Build/BuildTsak.vue +7 -4
  12. package/src/components/android/Task/GuanXianJianShe/AppExplorationGuanXian.vue +317 -432
  13. package/src/components/android/Task/GuanXianJianShe/AppGuanXianCaiLiao.vue +237 -0
  14. package/src/components/android/Task/ShenHe/BuZhangShenHe.vue +64 -64
  15. package/src/components/android/Task/ShenHe/JingLiShenHe.vue +64 -64
  16. package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +11 -7
  17. package/src/components/android/Task/UpBuild/UpBuildDui.vue +5 -2
  18. package/src/components/android/Task/UpBuild/UpBuildTsak.vue +5 -2
  19. package/src/components/android/Task/UpBuild/UpJianLi.vue +98 -98
  20. package/src/components/product/ApplyCharge/ApplyChargeList.vue +943 -606
  21. package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianChargeList.vue +8 -7
  22. package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +236 -235
  23. package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +324 -323
  24. package/src/components/product/ChongZheng/ApplyChongZhengList.vue +10 -9
  25. package/src/components/product/Function/InstallInfoSelect.vue +371 -370
  26. package/src/components/product/Function/Service/FunctionServiceControl.vue +475 -475
  27. package/src/components/product/Ignition/IgnitionList.vue +236 -236
  28. package/src/components/product/Ignition/IgnitionListManage.vue +403 -204
  29. package/src/components/product/Ignition/IgnitionRecord.vue +14 -13
  30. package/src/components/product/List/ShowAllActivity.vue +455 -0
  31. package/src/components/product/List/ShowDevices.vue +279 -279
  32. package/src/components/product/Print/BuildOrder/buildOrderList.vue +9 -8
  33. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +6 -0
  34. package/src/components/product/Process/ExplorationSelect.vue +591 -581
  35. package/src/components/product/Process/ExplorationUser.vue +158 -158
  36. package/src/components/product/Process/New1ExplorationUser.vue +201 -0
  37. package/src/components/product/Process/New2ExplorationUser.vue +163 -0
  38. package/src/components/product/Process/NewExplorationSelect.vue +586 -0
  39. package/src/components/product/Process/NewExplorationUser.vue +219 -184
  40. package/src/components/product/Process/Processes/ApplyChaiChuInfo.vue +587 -587
  41. package/src/components/product/Process/Processes/InstallationDetails.vue +80 -7
  42. package/src/components/product/Process/Processes/Print/printPaymentApproval.vue +224 -224
  43. package/src/components/product/Process/Processes/newDevicesManagement.vue +26 -1
  44. package/src/components/product/Process/Processes/newInstallationDetails.vue +1 -36
  45. package/src/components/product/Process/Processes/selectOldUserinfo.vue +241 -241
  46. package/src/components/product/Process/Service/ServiceControl.vue +2166 -2162
  47. package/src/components/product/Report/ReportItems.vue +85 -79
  48. package/src/components/product/Report/apply-stair-kaifa.vue +0 -1
  49. package/src/components/product/Report/gongchengbu.vue +199 -0
  50. package/src/components/product/ServiceView.vue +644 -644
  51. package/src/components/product/Stop/StopApplyList.vue +8 -8
  52. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +594 -594
  53. package/src/components/product/Supervisory/SupervisoryList.vue +539 -537
  54. package/src/components/product/Supervisory/YiBanSupervisoryControl.vue +114 -0
  55. package/src/components/product/Supervisory/YiBanSupervisoryList.vue +541 -0
  56. package/src/main.js +27 -27
  57. package/dist-android.7z +0 -0
  58. package/dist.7z +0 -0
  59. package/rebel.xml +0 -16
  60. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +0 -207
  61. package/yarn-error.log +0 -9976
@@ -1,184 +1,219 @@
1
- <template>
2
- <div style="height: 89%">
3
- <tabset v-ref:tabs :close="false" :active.sync="active">
4
- <tab :header='selectdata.defname'>
5
- <service-control v-ref:service :selectdata="selectdata"></service-control>
6
- </tab>
7
- <tab header='地图'>
8
- <apply-map-com :selectdata="selectdata"></apply-map-com>
9
- </tab>
10
- <tab header='附件'>
11
- <apply-upload :blodid="selectdata.f_process_id"
12
- :isupload="true"
13
- :isdelete="true"
14
- :isusetype="true"
15
- :isremark="true"
16
- :takeimg="true"
17
- :issearch="true"
18
- :defname="selectdata.defname">
19
- </apply-upload>
20
- </tab>
21
- </tabset>
22
- </div>
23
-
24
- <!-- <div>-->
25
- <!-- <button @click="openTab(1)">打开标签页1</button>-->
26
- <!-- <button @click="openTab(2)">打开标签页2</button>-->
27
- <!-- <button @click="openTab(3)">打开标签页3</button>-->
28
- <!-- <div v-for="(item, index) in tabs" :key="index">-->
29
- <!-- <component :is="item.component" :data="item.data"></component>-->
30
- <!-- </div>-->
31
- <!-- </div>-->
32
- </template>
33
-
34
- <script>
35
- import Vue from 'vue'
36
-
37
- export default {
38
- title: '新报建业务流程',
39
- props: {
40
- selectdata: {
41
- type: Object
42
- }
43
- },
44
- data() {
45
- return {
46
- active: 0 // 配置文件名
47
- }
48
- },
49
- ready() {
50
- // 调用查询
51
- console.log("进来啦", this.selectdata)
52
- this.apply(this.selectdata)
53
- },
54
- methods: {
55
- async apply(val) {
56
- this.showtotal = false
57
- this.selectdata = val
58
-
59
- // 次方法必须同步执行,否则后续会出问题
60
- // 获取页面json配置文件
61
- await this.loadName()
62
-
63
- // 显示详细
64
- this.showtotal = true
65
- // 关闭列表数据
66
- // this.showData = false
67
- // 关闭分页
68
- // this.$refs.query.$refs.cp.pager = false
69
- },
70
- // 获取页面配置json文件
71
- async loadName() {
72
-
73
- let data = {
74
- workname: this.selectdata.processname
75
- }
76
- let res = await this.$resetpost(
77
- 'rs/logic/ApplyGetConfigs',
78
- {data: data},
79
- {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
80
- )
81
-
82
- Vue.prototype.$workflow_vue = res.data
83
-
84
- }
85
- // openTab(id) {
86
- // this.tabs.push({
87
- // component: TabComponent,
88
- // data: {
89
- // id
90
- // }
91
- // })
92
- // }
93
- },
94
- events: {
95
- 'locationclick'(res) {
96
- console.log('/*/*/*/*/*/*/*/*/*/*/*/*/*/**/*/*/*/*')
97
- if (res.pname) {
98
- this.$refs.service.setLabelValue('定位地址', res.pname + res.cityname + res.adname + res.address + res.name)
99
- } else {
100
- this.$refs.service.setLabelValue('定位地址', res.province + res.city + res.address + res.name)
101
- }
102
- this.$refs.service.show_data.f_lng = res.location.lng
103
- this.$refs.service.show_data.f_lat = res.location.lat
104
- this.active = 0
105
- },
106
- 'onMessage'(data) {
107
- console.log('接收消息')
108
- console.log(data)
109
- if (data.type === 'apply-task') {
110
- this.$refs.query.$refs.cp.$refs.cri.search()
111
- }
112
- },
113
- // 刷新控制层
114
- async 'breakControl'(servicedata) {
115
-
116
- if (servicedata.id) {
117
- let data = {
118
- condition: `u.id = ${servicedata.id}`,
119
- data: {
120
- userid: this.$login.f.id,
121
- f_filiale: this.$login.f.f_fengongsi
122
- }
123
- }
124
- let res = await this.$resetpost(
125
- 'rs/sql/checkuser',
126
- {data: data},
127
- {resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
128
- )
129
-
130
- this.selectdata = res.data[0]
131
- } else {
132
- this.selectdata = servicedata
133
- }
134
-
135
- this.showtotal = false
136
- this.$nextTick(() => {
137
- this.showtotal = true
138
- })
139
-
140
- },
141
- // 初始化
142
- async 'apply'(val) {
143
- this.showtotal = false
144
- this.selectdata = val
145
-
146
- // 次方法必须同步执行,否则后续会出问题
147
- // 获取页面json配置文件
148
- await this.loadName()
149
-
150
- // 显示详细
151
- this.showtotal = true
152
- // 关闭列表数据
153
- this.showData = false
154
- // 关闭分页
155
- this.$refs.query.$refs.cp.pager = false
156
- },
157
- 'search'() {
158
- this.selectdata = {}
159
- // 关闭详细
160
- this.showtotal = false
161
- // 显示列表数据
162
- this.showData = true
163
- // 显示分页
164
- this.$refs.query.$refs.cp.pager = true
165
- // 调用查询
166
- this.$refs.query.$refs.cp.$refs.cri.search()
167
- },
168
- 'loadPage'() {
169
- this.selectdata = {}
170
- // 关闭详细
171
- this.showtotal = false
172
- // 显示列表数据
173
- this.showData = true
174
- // 显示分页
175
- this.$refs.query.$refs.cp.pager = true
176
- // 调用查询
177
- this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
178
- }
179
- }
180
- // components: {
181
- // TabComponent
182
- // }
183
- }
184
- </script>
1
+ <template>
2
+ <div style="height: 100%">
3
+ <tabset class="tab1" v-ref:tabs :close="false" :active.sync="active">
4
+ <tab :header="dataname+'查询列表'" :class="showData ? 'top' : 'auto'">
5
+ <component :is="'exploration-select'" v-ref:query :dataname = "dataname" :show-data="showData"></component>
6
+ </tab>
7
+ <tab header='页面1' class="tab3">
8
+ <component :is="'new1-exploration-user'" :xselectdata="selectdata1" :mark="'1'"></component>
9
+ </tab>
10
+ <tab header='页面2'>
11
+ <component :is="'new1-exploration-user'" :xselectdata="selectdata2" :mark="'2'"></component>
12
+ </tab>
13
+ <tab header='页面3'>
14
+ <component :is="'new1-exploration-user'" :xselectdata="selectdata3" :mark="'3'"></component>
15
+ </tab>
16
+ </tabset>
17
+ </div>
18
+ </template>
19
+
20
+ <script>
21
+ import Vue from 'vue'
22
+ import {HttpResetClass} from 'vue-client'
23
+
24
+ export default {
25
+ title: '报建流程',
26
+ props: ['dataname'],
27
+ data() {
28
+ return {
29
+ showData: true, // 控制列表数据
30
+ showtotal: false, // 详情显示
31
+ selectdata: {},
32
+ selectdata1: null,
33
+ show1: false,
34
+ selectdata2: null,
35
+ show2: false,
36
+ selectdata3: null,
37
+ show3: false,
38
+ xmlname: '', // 配置文件名
39
+ active: 0 // 配置文件名
40
+ }
41
+ },
42
+ ready() {
43
+ console.log('=============用户信息=================')
44
+ console.log(this.$login.f)
45
+ console.log(this.$login.r)
46
+ },
47
+ methods: {
48
+ // 获取页面配置json文件
49
+ async loadName() {
50
+
51
+ let data = {
52
+ workname: this.selectdata.processname
53
+ }
54
+ let res = await this.$resetpost(
55
+ 'rs/logic/ApplyGetConfigs',
56
+ {data: data},
57
+ {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
58
+ )
59
+
60
+ Vue.prototype.$workflow_vue = res.data
61
+ }
62
+ },
63
+ events: {
64
+ 'locationclick'(res) {
65
+ console.log('/*/*/*/*/*/*/*/*/*/*/*/*/*/**/*/*/*/*')
66
+ if (res.pname) {
67
+ this.$refs.service.setLabelValue('定位地址', res.pname + res.cityname + res.adname + res.address + res.name)
68
+ } else {
69
+ this.$refs.service.setLabelValue('定位地址', res.province + res.city + res.address + res.name)
70
+ }
71
+ this.$refs.service.show_data.f_lng = res.location.lng
72
+ this.$refs.service.show_data.f_lat = res.location.lat
73
+ this.active = 0
74
+ },
75
+ 'onMessage'(data) {
76
+ console.log('接收消息')
77
+ console.log(data)
78
+ if (data.type === 'apply-task') {
79
+ this.$refs.query.$refs.cp.$refs.cri.search()
80
+ }
81
+ },
82
+ // 刷新控制层
83
+ async 'breakControl'(servicedata) {
84
+
85
+ if (servicedata.id) {
86
+ let data = {
87
+ condition: `u.id = ${servicedata.id}`,
88
+ data: {
89
+ userid: this.$login.f.id,
90
+ f_filiale: this.$login.f.f_fengongsi
91
+ }
92
+ }
93
+ let res = await this.$resetpost(
94
+ 'rs/sql/checkuser',
95
+ {data: data},
96
+ {resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
97
+ )
98
+
99
+ this.selectdata = res.data[0]
100
+ } else {
101
+ this.selectdata = servicedata
102
+ }
103
+
104
+ this.showtotal = false
105
+ this.$nextTick(() => {
106
+ this.showtotal = true
107
+ })
108
+ this.active = 0
109
+
110
+ },
111
+ // 初始化
112
+ async 'apply'(val) {
113
+ console.log("当前数据", val)
114
+ this.showtotal = false
115
+ if (!this.selectdata1) {
116
+ this.selectdata1 = val
117
+ } else if (!this.selectdata2) {
118
+ this.selectdata2 = val
119
+ } else if (!this.selectdata3) {
120
+ this.selectdata3 = val
121
+ }else {
122
+ this.$showMessage("请关闭之前的页面后,再打开新的页面")
123
+ return
124
+ }
125
+ this.selectdata = val
126
+
127
+ // 次方法必须同步执行,否则后续会出问题
128
+ // 获取页面json配置文件
129
+ // await this.loadName()
130
+
131
+ // 显示详细
132
+ // this.showtotal = true
133
+ // 关闭列表数据
134
+ // this.showData = false
135
+ // 关闭分页
136
+ // this.$refs.query.$refs.cp.pager = false
137
+ },
138
+ 'search'() {
139
+ this.selectdata = {}
140
+ // 关闭详细
141
+ this.showtotal = false
142
+ // 显示列表数据
143
+ this.showData = true
144
+ // 显示分页
145
+ this.$refs.query.$refs.cp.pager = true
146
+ // 调用查询
147
+ this.$refs.query.$refs.cp.$refs.cri.search()
148
+ },
149
+ 'loadPage1'(val) {
150
+ if (val === '1'){
151
+ console.log("sssss1")
152
+ this.selectdata1 = null
153
+ // this.show1 = false
154
+ // this.active = 0
155
+ }else if (val === '2'){
156
+ console.log("sssss2")
157
+ this.selectdata2 = null
158
+ // this.show2 = false
159
+ // this.active = 0
160
+ }else if (val === '3'){
161
+ console.log("sssss3")
162
+ this.selectdata3 = null
163
+ // this.show3 = false
164
+ // this.active = 0
165
+ }
166
+ console.log("vass",val)
167
+ // this.selectdata = {}
168
+ // 关闭详细
169
+ // this.showtotal = false
170
+ // 显示列表数据
171
+ this.showData = true
172
+ // 显示分页
173
+ // this.$refs.query.$refs.cp.pager = true
174
+ // 调用查询
175
+ this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
176
+ }
177
+ },
178
+ watch: {
179
+ "selectdata1" (val) {
180
+ if(val){
181
+ this.show1 = true
182
+ this.active = 1
183
+ }else {
184
+ this.show1 = false
185
+ this.active = 0
186
+ }
187
+ },
188
+ "selectdata2" (val) {
189
+ if(val){
190
+ this.show2 = true
191
+ this.active = 2
192
+ }else {
193
+ this.show2 = false
194
+ this.active = 0
195
+ }
196
+ },
197
+ "selectdata3" (val) {
198
+ if(val){
199
+ this.show3 = true
200
+ this.active = 3
201
+ }else {
202
+ this.show3 = false
203
+ this.active = 0
204
+ }
205
+ }
206
+ }
207
+ }
208
+ </script>
209
+ <style scoped>
210
+ .tab1{
211
+ padding: 0.4%;
212
+ background-color: #ffffff;
213
+ border-radius: 14px;
214
+ box-shadow: 0px 1px 10px 0px rgba(2, 56, 104, 0.13);
215
+ }
216
+ .tab3{
217
+ background-color: #ffffff !important
218
+ }
219
+ </style>