apply-clients 7.1.36-yuchuan-19 → 7.1.36-yuchuan-21

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.
@@ -1,124 +1,124 @@
1
- <template>
2
- <div>
3
- <tabset v-ref:tabs :close="false" nav-style="tabs nav-apply-tab" :active.sync="active">
4
- <tab header='任务地图'>
5
- <div class="auto tip">
6
- <p>当前任务数量:{{ tasknumber }}</p>
7
- <p>当前任务点:{{labelmarksarray.length}}</p>
8
- </div>
9
- <amap-location
10
- :islocation="true"
11
- :locationzoomcenter="false"
12
- :usenative="true"
13
- :isshowsearch="false"
14
- :mylocationinfo="false"
15
- :islocationclearmark="false"
16
- :isshowmapmodel="false"
17
- :locationwindow="false"
18
- mapmodel="dragMarker"
19
- :labelmarksarray="labelmarksarray"
20
- @diyspotmouseclick="diyspotmouseclick"
21
- ></amap-location>
22
- </tab>
23
- <tab header='任务列表'>
24
- <app-exploration-user v-ref:exploration :defname="defname" :f_lat="f_lat" :f_lng="f_lng"></app-exploration-user>
25
- </tab>
26
- </tabset>
27
- </div>
28
- </template>
29
- <script>
30
- import {HttpResetClass, PagedList} from 'vue-client'
31
- import Vue from 'vue'
32
-
33
- export default {
34
- title: '安检维修施工',
35
- data () {
36
- return {
37
- labelmarksarray: [],
38
- tasknumber: 0,
39
- active: 0,
40
- f_lat: null,
41
- f_lng: null,
42
- defname: '安检维修施工'
43
- }
44
- },
45
- ready () {
46
- this.getApplyTaskDot()
47
- },
48
- methods: {
49
- async diyspotmouseclick(data) {
50
- this.f_lat = data.f_lat
51
- this.f_lng = data.f_lng
52
-
53
- data.condition = `f_lat = '${data.f_lat}' and f_lng = '${data.f_lng}'`
54
- let http = new HttpResetClass()
55
- let res = await http.load(
56
- 'POST',
57
- `${this.$androidUtil.getProxyUrl()}/rs/sql/getApplyType`,
58
- {data: data},
59
- {
60
- resolveMsg: null,
61
- rejectMsg: '报建类型查询失败!!!'
62
- })
63
- if(res.data.length > 0){
64
- this.active = 1
65
- }
66
- },
67
- async getApplyTaskDot () {
68
- this.tasknumber = 0
69
- let http = new HttpResetClass()
70
- let data = {
71
- defname: this.defname,
72
- userid: Vue.user.id
73
- }
74
- let res = await http.load(
75
- 'POST',
76
- `${this.$androidUtil.getProxyUrl()}/rs/sql/getApplyTaskDot`,
77
- {data: data},
78
- {
79
- resolveMsg: null,
80
- rejectMsg: '任务点获取失败!!!'
81
- })
82
- this.labelmarksarray = res.data.map(item => {
83
- this.tasknumber += item.count
84
- return {
85
- data: {
86
- data: item,
87
- content: `<p>任务数:${item.count}</p>`
88
- },
89
- position: [item.f_lng, item.f_lat],
90
- isclearmarker: false,
91
- islabel: false
92
- }
93
- })
94
- }
95
- },
96
- events: {
97
- 'refreshDot' () {
98
- this.getApplyTaskDot()
99
- }
100
- },
101
- watch: {
102
- },
103
- computed: {
104
- }
105
- }
106
- </script>
107
- <style scoped>
108
- .tip{
109
- position: absolute;
110
- z-index: 1000;
111
- color: red;
112
- font-size: 24px;
113
- right: 30px;
114
- padding-top: 20px;
115
- }
116
- </style>
117
- <style lang="less">
118
- .nav-apply-tab3 {
119
- li {
120
- width: 33%;
121
- text-align: center;
122
- }
123
- }
124
- </style>
1
+ <template>
2
+ <div>
3
+ <tabset v-ref:tabs :close="false" nav-style="tabs nav-apply-tab" :active.sync="active">
4
+ <tab header='任务地图'>
5
+ <div class="auto tip">
6
+ <p>当前任务数量:{{ tasknumber }}</p>
7
+ <p>当前任务点:{{labelmarksarray.length}}</p>
8
+ </div>
9
+ <app-map-location
10
+ :islocation="true"
11
+ :locationzoomcenter="false"
12
+ :usenative="true"
13
+ :isshowsearch="false"
14
+ :mylocationinfo="false"
15
+ :islocationclearmark="false"
16
+ :isshowmapmodel="false"
17
+ :locationwindow="false"
18
+ mapmodel="dragMarker"
19
+ :labelmarksarray="labelmarksarray"
20
+ @diyspotmouseclick="diyspotmouseclick"
21
+ ></app-map-location>
22
+ </tab>
23
+ <tab header='任务列表'>
24
+ <app-exploration-user v-ref:exploration :defname="defname" :f_lat="f_lat" :f_lng="f_lng"></app-exploration-user>
25
+ </tab>
26
+ </tabset>
27
+ </div>
28
+ </template>
29
+ <script>
30
+ import {HttpResetClass, PagedList} from 'vue-client'
31
+ import Vue from 'vue'
32
+
33
+ export default {
34
+ title: '安检维修施工',
35
+ data () {
36
+ return {
37
+ labelmarksarray: [],
38
+ tasknumber: 0,
39
+ active: 0,
40
+ f_lat: null,
41
+ f_lng: null,
42
+ defname: '安检维修施工'
43
+ }
44
+ },
45
+ ready () {
46
+ this.getApplyTaskDot()
47
+ },
48
+ methods: {
49
+ async diyspotmouseclick(data) {
50
+ this.f_lat = data.f_lat
51
+ this.f_lng = data.f_lng
52
+
53
+ data.condition = `f_lat = '${data.f_lat}' and f_lng = '${data.f_lng}'`
54
+ let http = new HttpResetClass()
55
+ let res = await http.load(
56
+ 'POST',
57
+ `${this.$androidUtil.getProxyUrl()}/rs/sql/getApplyType`,
58
+ {data: data},
59
+ {
60
+ resolveMsg: null,
61
+ rejectMsg: '报建类型查询失败!!!'
62
+ })
63
+ if(res.data.length > 0){
64
+ this.active = 1
65
+ }
66
+ },
67
+ async getApplyTaskDot () {
68
+ this.tasknumber = 0
69
+ let http = new HttpResetClass()
70
+ let data = {
71
+ defname: this.defname,
72
+ userid: Vue.user.id
73
+ }
74
+ let res = await http.load(
75
+ 'POST',
76
+ `${this.$androidUtil.getProxyUrl()}/rs/sql/getApplyTaskDot`,
77
+ {data: data},
78
+ {
79
+ resolveMsg: null,
80
+ rejectMsg: '任务点获取失败!!!'
81
+ })
82
+ this.labelmarksarray = res.data.map(item => {
83
+ this.tasknumber += item.count
84
+ return {
85
+ data: {
86
+ data: item,
87
+ content: `<p>任务数:${item.count}</p>`
88
+ },
89
+ position: [item.f_lng, item.f_lat],
90
+ isclearmarker: false,
91
+ islabel: false
92
+ }
93
+ })
94
+ }
95
+ },
96
+ events: {
97
+ 'refreshDot' () {
98
+ this.getApplyTaskDot()
99
+ }
100
+ },
101
+ watch: {
102
+ },
103
+ computed: {
104
+ }
105
+ }
106
+ </script>
107
+ <style scoped>
108
+ .tip{
109
+ position: absolute;
110
+ z-index: 1000;
111
+ color: red;
112
+ font-size: 24px;
113
+ right: 30px;
114
+ padding-top: 20px;
115
+ }
116
+ </style>
117
+ <style lang="less">
118
+ .nav-apply-tab3 {
119
+ li {
120
+ width: 33%;
121
+ text-align: center;
122
+ }
123
+ }
124
+ </style>
@@ -1,124 +1,124 @@
1
- <template>
2
- <div>
3
- <tabset v-ref:tabs :close="false" nav-style="tabs nav-apply-tab" :active.sync="active">
4
- <tab header='任务地图'>
5
- <div class="auto tip">
6
- <p>当前任务数量:{{ tasknumber }}</p>
7
- <p>当前任务点:{{labelmarksarray.length}}</p>
8
- </div>
9
- <amap-location
10
- :islocation="true"
11
- :locationzoomcenter="false"
12
- :usenative="true"
13
- :isshowsearch="false"
14
- :mylocationinfo="false"
15
- :islocationclearmark="false"
16
- :isshowmapmodel="false"
17
- :locationwindow="false"
18
- mapmodel="dragMarker"
19
- :labelmarksarray="labelmarksarray"
20
- @diyspotmouseclick="diyspotmouseclick"
21
- ></amap-location>
22
- </tab>
23
- <tab header='任务列表'>
24
- <app-exploration-user v-ref:exploration :defname="defname" :f_lat="f_lat" :f_lng="f_lng"></app-exploration-user>
25
- </tab>
26
- </tabset>
27
- </div>
28
- </template>
29
- <script>
30
- import {HttpResetClass, PagedList} from 'vue-client'
31
- import Vue from 'vue'
32
-
33
- export default {
34
- title: '维修派单',
35
- data () {
36
- return {
37
- labelmarksarray: [],
38
- tasknumber: 0,
39
- active: 0,
40
- f_lat: null,
41
- f_lng: null,
42
- defname: '维修派单'
43
- }
44
- },
45
- ready () {
46
- this.getApplyTaskDot()
47
- },
48
- methods: {
49
- async diyspotmouseclick(data) {
50
- this.f_lat = data.f_lat
51
- this.f_lng = data.f_lng
52
-
53
- data.condition = `f_lat = '${data.f_lat}' and f_lng = '${data.f_lng}'`
54
- let http = new HttpResetClass()
55
- let res = await http.load(
56
- 'POST',
57
- `${this.$androidUtil.getProxyUrl()}/rs/sql/getApplyType`,
58
- {data: data},
59
- {
60
- resolveMsg: null,
61
- rejectMsg: '报建类型查询失败!!!'
62
- })
63
- if(res.data.length > 0){
64
- this.active = 1
65
- }
66
- },
67
- async getApplyTaskDot () {
68
- this.tasknumber = 0
69
- let http = new HttpResetClass()
70
- let data = {
71
- defname: this.defname,
72
- userid: Vue.user.id
73
- }
74
- let res = await http.load(
75
- 'POST',
76
- `${this.$androidUtil.getProxyUrl()}/rs/sql/getApplyTaskDot`,
77
- {data: data},
78
- {
79
- resolveMsg: null,
80
- rejectMsg: '任务点获取失败!!!'
81
- })
82
- this.labelmarksarray = res.data.map(item => {
83
- this.tasknumber += item.count
84
- return {
85
- data: {
86
- data: item,
87
- content: `<p>任务数:${item.count}</p>`
88
- },
89
- position: [item.f_lng, item.f_lat],
90
- isclearmarker: false,
91
- islabel: false
92
- }
93
- })
94
- }
95
- },
96
- events: {
97
- 'refreshDot' () {
98
- this.getApplyTaskDot()
99
- }
100
- },
101
- watch: {
102
- },
103
- computed: {
104
- }
105
- }
106
- </script>
107
- <style scoped>
108
- .tip{
109
- position: absolute;
110
- z-index: 1000;
111
- color: red;
112
- font-size: 24px;
113
- right: 30px;
114
- padding-top: 20px;
115
- }
116
- </style>
117
- <style lang="less">
118
- .nav-apply-tab3 {
119
- li {
120
- width: 33%;
121
- text-align: center;
122
- }
123
- }
124
- </style>
1
+ <template>
2
+ <div>
3
+ <tabset v-ref:tabs :close="false" nav-style="tabs nav-apply-tab" :active.sync="active">
4
+ <tab header='任务地图'>
5
+ <div class="auto tip">
6
+ <p>当前任务数量:{{ tasknumber }}</p>
7
+ <p>当前任务点:{{labelmarksarray.length}}</p>
8
+ </div>
9
+ <app-map-location
10
+ :islocation="true"
11
+ :locationzoomcenter="false"
12
+ :usenative="true"
13
+ :isshowsearch="false"
14
+ :mylocationinfo="false"
15
+ :islocationclearmark="false"
16
+ :isshowmapmodel="false"
17
+ :locationwindow="false"
18
+ mapmodel="dragMarker"
19
+ :labelmarksarray="labelmarksarray"
20
+ @diyspotmouseclick="diyspotmouseclick"
21
+ ></app-map-location>
22
+ </tab>
23
+ <tab header='任务列表'>
24
+ <app-exploration-user v-ref:exploration :defname="defname" :f_lat="f_lat" :f_lng="f_lng"></app-exploration-user>
25
+ </tab>
26
+ </tabset>
27
+ </div>
28
+ </template>
29
+ <script>
30
+ import {HttpResetClass, PagedList} from 'vue-client'
31
+ import Vue from 'vue'
32
+
33
+ export default {
34
+ title: '维修派单',
35
+ data () {
36
+ return {
37
+ labelmarksarray: [],
38
+ tasknumber: 0,
39
+ active: 0,
40
+ f_lat: null,
41
+ f_lng: null,
42
+ defname: '维修派单'
43
+ }
44
+ },
45
+ ready () {
46
+ this.getApplyTaskDot()
47
+ },
48
+ methods: {
49
+ async diyspotmouseclick(data) {
50
+ this.f_lat = data.f_lat
51
+ this.f_lng = data.f_lng
52
+
53
+ data.condition = `f_lat = '${data.f_lat}' and f_lng = '${data.f_lng}'`
54
+ let http = new HttpResetClass()
55
+ let res = await http.load(
56
+ 'POST',
57
+ `${this.$androidUtil.getProxyUrl()}/rs/sql/getApplyType`,
58
+ {data: data},
59
+ {
60
+ resolveMsg: null,
61
+ rejectMsg: '报建类型查询失败!!!'
62
+ })
63
+ if(res.data.length > 0){
64
+ this.active = 1
65
+ }
66
+ },
67
+ async getApplyTaskDot () {
68
+ this.tasknumber = 0
69
+ let http = new HttpResetClass()
70
+ let data = {
71
+ defname: this.defname,
72
+ userid: Vue.user.id
73
+ }
74
+ let res = await http.load(
75
+ 'POST',
76
+ `${this.$androidUtil.getProxyUrl()}/rs/sql/getApplyTaskDot`,
77
+ {data: data},
78
+ {
79
+ resolveMsg: null,
80
+ rejectMsg: '任务点获取失败!!!'
81
+ })
82
+ this.labelmarksarray = res.data.map(item => {
83
+ this.tasknumber += item.count
84
+ return {
85
+ data: {
86
+ data: item,
87
+ content: `<p>任务数:${item.count}</p>`
88
+ },
89
+ position: [item.f_lng, item.f_lat],
90
+ isclearmarker: false,
91
+ islabel: false
92
+ }
93
+ })
94
+ }
95
+ },
96
+ events: {
97
+ 'refreshDot' () {
98
+ this.getApplyTaskDot()
99
+ }
100
+ },
101
+ watch: {
102
+ },
103
+ computed: {
104
+ }
105
+ }
106
+ </script>
107
+ <style scoped>
108
+ .tip{
109
+ position: absolute;
110
+ z-index: 1000;
111
+ color: red;
112
+ font-size: 24px;
113
+ right: 30px;
114
+ padding-top: 20px;
115
+ }
116
+ </style>
117
+ <style lang="less">
118
+ .nav-apply-tab3 {
119
+ li {
120
+ width: 33%;
121
+ text-align: center;
122
+ }
123
+ }
124
+ </style>
@@ -6,7 +6,7 @@
6
6
  <p>当前任务数量:{{ tasknumber }}</p>
7
7
  <p>当前任务点:{{labelmarksarray.length}}</p>
8
8
  </div>
9
- <apply-amap-location
9
+ <app-map-location
10
10
  :islocation="true"
11
11
  :locationzoomcenter="false"
12
12
  :usenative="true"
@@ -18,7 +18,7 @@
18
18
  mapmodel="dragMarker"
19
19
  :labelmarksarray="labelmarksarray"
20
20
  @diyspotmouseclick="diyspotmouseclick"
21
- ></apply-amap-location>
21
+ ></app-map-location>
22
22
  </tab>
23
23
  <tab header='民用'>
24
24
  <app-exploration-user v-ref:exploration :defname="defname" :f_lat="f_lat" :f_lng="f_lng" :usertype ="'民用报建'" ></app-exploration-user>