

231214 김성훈 현재페이지 고정 진행중
@28fbc1bf6d32cfb34f0af3824b958af850aa43f9
--- client/views/pages/admin/mail/MailSelectList.vue
+++ client/views/pages/admin/mail/MailSelectList.vue
... | ... | @@ -58,7 +58,7 @@ |
58 | 58 |
</div> |
59 | 59 |
<div class="bottom-wrap"> |
60 | 60 |
<PaginationButton v-model:currentPage="mailListSearch.currentPage" :perPage="mailListSearch.perPage" |
61 |
- :totalCount="mailListCount" :maxRange="5" :click="mailSelectList" /> |
|
61 |
+ :totalCount="mailListCount" :maxRange="5" :click="mailSelectListPage" /> |
|
62 | 62 |
</div> |
63 | 63 |
</div> |
64 | 64 |
</div> |
... | ... | @@ -73,7 +73,7 @@ |
73 | 73 |
data() { |
74 | 74 |
return { |
75 | 75 |
mailListSearch: { |
76 |
- currentPage: 1, |
|
76 |
+ currentPage: 0, |
|
77 | 77 |
perPage: 10, |
78 | 78 |
searchType: 'all', |
79 | 79 |
searchText: null, |
... | ... | @@ -127,7 +127,11 @@ |
127 | 127 |
|
128 | 128 |
//메일 상세조회 페이지로 이동 |
129 | 129 |
mailSelectOnePage: function (item) { |
130 |
- this.$router.push({ path: '/adm/mailSelectOne.page', query: { 'eml_id': item.eml_id } }); |
|
130 |
+ this.$router.push({ path: '/adm/mailSelectOne.page', query: { 'eml_id': item.eml_id, 'page': this.mailListSearch.currentPage } }); |
|
131 |
+ }, |
|
132 |
+ |
|
133 |
+ mailSelectListPage: function() { |
|
134 |
+ this.$router.push({ path: '/adm/mailSelectList.page', query: { 'page': this.mailListSearch.currentPage } }); |
|
131 | 135 |
}, |
132 | 136 |
|
133 | 137 |
mailSelectList: function () { |
... | ... | @@ -150,13 +154,27 @@ |
150 | 154 |
}) |
151 | 155 |
}, |
152 | 156 |
}, |
153 |
- watch: {}, |
|
157 |
+ watch: { |
|
158 |
+ 'mailListSearch.currentPage': function () { |
|
159 |
+ this.mailSelectList(); |
|
160 |
+ }, |
|
161 |
+ }, |
|
154 | 162 |
computed: {}, |
155 | 163 |
components: { |
156 | 164 |
PaginationButton: PaginationButton, |
157 | 165 |
}, |
166 |
+ created() { |
|
167 |
+ if(this.$route.query.page) { |
|
168 |
+ this.mailListSearch.currentPage = Number(this.$route.query.page); |
|
169 |
+ } else { |
|
170 |
+ this.mailListSearch.currentPage = 1; |
|
171 |
+ } |
|
172 |
+ }, |
|
158 | 173 |
mounted() { |
159 |
- this.mailSelectList(); |
|
174 |
+ if(!this.$route.query.page) { |
|
175 |
+ |
|
176 |
+ this.mailSelectList(); |
|
177 |
+ } |
|
160 | 178 |
} |
161 | 179 |
}; |
162 | 180 |
</script> |
--- client/views/pages/admin/mail/MailSelectOne.vue
+++ client/views/pages/admin/mail/MailSelectOne.vue
... | ... | @@ -155,7 +155,7 @@ |
155 | 155 |
|
156 | 156 |
// 리스트 페이지로 |
157 | 157 |
selectList: function () { |
158 |
- this.$router.push({ path: '/adm/mailSelectList.page' }); |
|
158 |
+ this.$router.push({ path: '/adm/mailSelectList.page', query:{'page': this.$route.query.page} }); |
|
159 | 159 |
} |
160 | 160 |
}, |
161 | 161 |
watch: {}, |
--- client/views/pages/admin/networking/NetworkingSelectList.vue
+++ client/views/pages/admin/networking/NetworkingSelectList.vue
... | ... | @@ -56,7 +56,7 @@ |
56 | 56 |
</div> --> |
57 | 57 |
<div class="bottom-wrap"> |
58 | 58 |
<PaginationButton v-model:currentPage="companyListSearch.currentPage" :perPage="companyListSearch.perPage" |
59 |
- :totalCount="companyListCount" :maxRange="5" :click="companySelectList" /> |
|
59 |
+ :totalCount="companyListCount" :maxRange="5" :click="companySelectListPage" /> |
|
60 | 60 |
</div> |
61 | 61 |
</div> |
62 | 62 |
</div> |
... | ... | @@ -73,7 +73,7 @@ |
73 | 73 |
data() { |
74 | 74 |
return { |
75 | 75 |
companyListSearch: { |
76 |
- currentPage: 1, |
|
76 |
+ currentPage: 0, |
|
77 | 77 |
perPage: 10, |
78 | 78 |
searchType: 'company_name', |
79 | 79 |
searchText: null, |
... | ... | @@ -129,17 +129,34 @@ |
129 | 129 |
|
130 | 130 |
//게시글 상세조회 페이지로 이동 |
131 | 131 |
companySelectOnePage: function (item) { |
132 |
- this.$router.push({ path: '/adm/networkingSelectOne.page', query: { "company_id" : item.company_id, "user_id": item.user_id } }); |
|
132 |
+ this.$router.push({ path: '/adm/networkingSelectOne.page', query: { "company_id" : item.company_id, "page": this.companyListSearch.currentPage } }); |
|
133 | 133 |
}, |
134 |
+ |
|
135 |
+ companySelectListPage: function() { |
|
136 |
+ this.$router.push({ path: '/adm/networkingSelectList.page', query: { 'page': this.companyListSearch.currentPage} }); |
|
137 |
+ } |
|
134 | 138 |
|
135 | 139 |
}, |
136 |
- watch: {}, |
|
140 |
+ watch: { |
|
141 |
+ 'companyListSearch.currentPage': function () { |
|
142 |
+ this.companySelectList(); |
|
143 |
+ }, |
|
144 |
+ }, |
|
137 | 145 |
computed: {}, |
138 | 146 |
components: { |
139 | 147 |
PaginationButton: PaginationButton, |
140 | 148 |
}, |
149 |
+ created() { |
|
150 |
+ if(this.$route.query.page) { |
|
151 |
+ this.companyListSearch.currentPage = Number(this.$route.query.page); |
|
152 |
+ } else { |
|
153 |
+ this.companyListSearch.currentPage = 1; |
|
154 |
+ } |
|
155 |
+ }, |
|
141 | 156 |
mounted(){ |
142 |
- this.companySelectList() |
|
157 |
+ if(!this.$route.query.page) { |
|
158 |
+ this.companySelectList(); |
|
159 |
+ } |
|
143 | 160 |
} |
144 | 161 |
}; |
145 | 162 |
</script> |
--- client/views/pages/admin/networking/NetworkingSelectOne.vue
+++ client/views/pages/admin/networking/NetworkingSelectOne.vue
... | ... | @@ -112,7 +112,7 @@ |
112 | 112 |
vm.best = vm.route.query.best; |
113 | 113 |
|
114 | 114 |
axios({ |
115 |
- url: '/matching/companySelectOne.json', |
|
115 |
+ url: '/company/companySelectOne.json', |
|
116 | 116 |
method: 'post', |
117 | 117 |
hearder: { |
118 | 118 |
'Content-Type': "application/json; charset=UTF-8", |
... | ... | @@ -183,7 +183,7 @@ |
183 | 183 |
}); |
184 | 184 |
}, |
185 | 185 |
postSelectListPage: function () { |
186 |
- this.$router.push({ path: '/adm/networkingSelectList.page' }); |
|
186 |
+ this.$router.push({ path: '/adm/networkingSelectList.page', query: {'page' : this.$route.query.page} }); |
|
187 | 187 |
}, |
188 | 188 |
}, |
189 | 189 |
watch: { |
--- client/views/pages/admin/popup/PopupSelectList.vue
+++ client/views/pages/admin/popup/PopupSelectList.vue
... | ... | @@ -76,7 +76,7 @@ |
76 | 76 |
</div> |
77 | 77 |
<div class="bottom-wrap"> |
78 | 78 |
<PaginationButton v-model:currentPage="popupListSearch.currentPage" :perPage="popupListSearch.perPage" |
79 |
- :totalCount="popupListCount" :maxRange="5" :click="popupSelectList" /> |
|
79 |
+ :totalCount="popupListCount" :maxRange="5" :click="popupSelectListPage" /> |
|
80 | 80 |
</div> |
81 | 81 |
</div> |
82 | 82 |
</div> |
... | ... | @@ -91,7 +91,7 @@ |
91 | 91 |
data() { |
92 | 92 |
return { |
93 | 93 |
popupListSearch: { |
94 |
- currentPage: 1, |
|
94 |
+ currentPage: 0, |
|
95 | 95 |
perPage: 10, |
96 | 96 |
searchType: 'all', |
97 | 97 |
searchText: null, |
... | ... | @@ -123,7 +123,7 @@ |
123 | 123 |
}, |
124 | 124 |
//게시글 상세조회 페이지로 이동 |
125 | 125 |
popupSelectOnePage: function (item) { |
126 |
- this.$router.push({ path: '/adm/popupSelectOne.page', query: { "post_id" : item.post_id, "file_id": item.file_id } }); |
|
126 |
+ this.$router.push({ path: '/adm/popupSelectOne.page', query: { "post_id" : item.post_id, "file_id": item.file_id, 'page': this.popupListSearch.currentPage } }); |
|
127 | 127 |
}, |
128 | 128 |
|
129 | 129 |
popupInsertPage: function () { |
... | ... | @@ -132,6 +132,10 @@ |
132 | 132 |
|
133 | 133 |
popupUpdatePage: function (item) { |
134 | 134 |
this.$router.push({ path: '/adm/popupUpdate.page', query: { 'post_id': item.post_id, 'file_id': item.file_id } }); |
135 |
+ }, |
|
136 |
+ |
|
137 |
+ popupSelectListPage: function() { |
|
138 |
+ this.$router.push({ path: '/adm/popupSelectList.page', query: { 'page': this.popupListSearch.currentPage} }); |
|
135 | 139 |
}, |
136 | 140 |
|
137 | 141 |
popupSelectList: function () { |
... | ... | @@ -183,13 +187,26 @@ |
183 | 187 |
|
184 | 188 |
|
185 | 189 |
}, |
186 |
- watch: {}, |
|
190 |
+ watch: { |
|
191 |
+ 'popupListSearch.currentPage': function () { |
|
192 |
+ this.popupSelectList(); |
|
193 |
+ }, |
|
194 |
+ }, |
|
187 | 195 |
computed: {}, |
188 | 196 |
components: { |
189 | 197 |
PaginationButton: PaginationButton, |
190 | 198 |
}, |
199 |
+ created() { |
|
200 |
+ if(this.$route.query.page) { |
|
201 |
+ this.popupListSearch.currentPage = Number(this.$route.query.page); |
|
202 |
+ } else { |
|
203 |
+ this.popupListSearch.currentPage = 1; |
|
204 |
+ } |
|
205 |
+ }, |
|
191 | 206 |
mounted() { |
192 |
- this.popupSelectList(); |
|
207 |
+ if(!this.$route.query.page) { |
|
208 |
+ this.popupSelectList(); |
|
209 |
+ } |
|
193 | 210 |
} |
194 | 211 |
}; |
195 | 212 |
</script> |
--- client/views/pages/admin/popup/PopupSelectOne.vue
+++ client/views/pages/admin/popup/PopupSelectOne.vue
... | ... | @@ -22,7 +22,7 @@ |
22 | 22 |
</tr> |
23 | 23 |
<tr> |
24 | 24 |
<td colspan="2" style="border-bottom: 1px solid #007aff;"> |
25 |
- <img :src="'http://211.253.8.180:8082' + file.file_path + '/' + file.file_nm + '.' + file.file_extn_nm" style="max-width:100%; height:auto;" alt=""> |
|
25 |
+ <img :src="'http://localhost:8080' + file.file_path + '/' + file.file_nm + '.' + file.file_extn_nm" style="max-width:100%; height:auto;" alt=""> |
|
26 | 26 |
</td> |
27 | 27 |
</tr> |
28 | 28 |
<tr> |
... | ... | @@ -201,7 +201,7 @@ |
201 | 201 |
}, |
202 | 202 |
|
203 | 203 |
popupSelectListPage: function () { |
204 |
- this.$router.push({ path: '/adm/popupSelectList.page' }); |
|
204 |
+ this.$router.push({ path: '/adm/popupSelectList.page', query: {'page' : this.$route.query.page} }); |
|
205 | 205 |
}, |
206 | 206 |
|
207 | 207 |
popupUpdatePage: function () { |
--- client/views/pages/admin/user/UserSelectList.vue
+++ client/views/pages/admin/user/UserSelectList.vue
... | ... | @@ -59,7 +59,7 @@ |
59 | 59 |
<div class="flex-center"> |
60 | 60 |
<PaginationButton v-if="userListCount > 0" v-model:currentPage="userListSearch.currentPage" |
61 | 61 |
:perPage="userListSearch.perPage" :totalCount="userListCount" :maxRange="5" |
62 |
- :click="userSelectList" /> |
|
62 |
+ :click="userSelectListPage" /> |
|
63 | 63 |
</div> |
64 | 64 |
</div> |
65 | 65 |
<div v-show="currentTab == 1"> |
... | ... | @@ -111,7 +111,7 @@ |
111 | 111 |
<div class="flex-center"> |
112 | 112 |
<PaginationButton v-if="companyListCount > 0" v-model:currentPage="companyListSearch.currentPage" |
113 | 113 |
:perPage="companyListSearch.perPage" :totalCount="companyListCount" :maxRange="5" |
114 |
- :click="companySelectList" /> |
|
114 |
+ :click="companySelectListPage" /> |
|
115 | 115 |
</div> |
116 | 116 |
</div> |
117 | 117 |
<div v-show="currentTab == 2"> |
... | ... | @@ -158,7 +158,7 @@ |
158 | 158 |
<div class="flex-center"> |
159 | 159 |
<PaginationButton v-if="mngrListCount > 0" v-model:currentPage="managerListSearch.currentPage" |
160 | 160 |
:perPage="managerListSearch.perPage" :totalCount="mngrListCount" :maxRange="5" |
161 |
- :click="managerSelectList" /> |
|
161 |
+ :click="managerSelectListPage" /> |
|
162 | 162 |
</div> |
163 | 163 |
<div class="btn-wrap"> |
164 | 164 |
<button class="blue-btn" @click="modalType = 'userInsert'">등록</button> |
... | ... | @@ -248,7 +248,7 @@ |
248 | 248 |
|
249 | 249 |
// 관리자 목록조회 |
250 | 250 |
managerListSearch: { |
251 |
- currentPage: 1, |
|
251 |
+ currentPage: 0, |
|
252 | 252 |
perPage: 10, |
253 | 253 |
searchType: 'id', |
254 | 254 |
searchText: null, |
... | ... | @@ -261,7 +261,7 @@ |
261 | 261 |
|
262 | 262 |
// 사용자 목록조회 |
263 | 263 |
userListSearch: { |
264 |
- currentPage: 1, |
|
264 |
+ currentPage: 0, |
|
265 | 265 |
perPage: 10, |
266 | 266 |
searchType: 'id', |
267 | 267 |
searchText: null, |
... | ... | @@ -274,13 +274,14 @@ |
274 | 274 |
|
275 | 275 |
// 기관회원 목록조회 |
276 | 276 |
companyListSearch: { |
277 |
- currentPage: 1, |
|
277 |
+ currentPage: 0, |
|
278 | 278 |
perPage: 10, |
279 | 279 |
searchType: 'id', |
280 | 280 |
searchText: null, |
281 | 281 |
user_id: null, |
282 | 282 |
user_nm: null |
283 | 283 |
}, |
284 |
+ |
|
284 | 285 |
companyList: [], |
285 | 286 |
companyListCount: 0, |
286 | 287 |
companyIdx: 0, |
... | ... | @@ -586,19 +587,31 @@ |
586 | 587 |
}); |
587 | 588 |
}, |
588 | 589 |
|
589 |
- //상세조회 페이지로 이동 |
|
590 |
- userSelectOnePage: function (user) { |
|
591 |
- this.$router.push({ path: '/adm/userSelectOne.page', query: { 'user_id': user.user_id } }); |
|
590 |
+ //상세조회 페이지로 이동 |
|
591 |
+ userSelectOnePage: function (user) { |
|
592 |
+ this.$router.push({ path: '/adm/userSelectOne.page', query: { 'user_id': user.user_id, 'Upage': this.userListSearch.currentPage } }); |
|
592 | 593 |
}, |
593 | 594 |
|
594 | 595 |
companySelectOnePage: function (company) { |
595 |
- this.$router.push({ path: '/adm/companySelectOne.page', query: { 'user_id': company.user_id } }); |
|
596 |
+ this.$router.push({ path: '/adm/companySelectOne.page', query: { 'user_id': company.user_id, 'Cpage': this.companyListSearch.currentPage} }); |
|
596 | 597 |
}, |
597 | 598 |
|
598 | 599 |
//상세조회 페이지로 이동 |
599 | 600 |
adminSelectOnePage: function (admin) { |
600 |
- this.$router.push({ path: '/adm/userSelectOne.page', query: { 'mngr_id': admin.mngr_id } }); |
|
601 |
+ this.$router.push({ path: '/adm/userSelectOne.page', query: { 'mngr_id': admin.mngr_id, 'Mpage': this.managerListSearch.currentPage } }); |
|
601 | 602 |
}, |
603 |
+ |
|
604 |
+ userSelectListPage: function() { |
|
605 |
+ this.$router.push({ path: '/adm/userSelectList.page', query: { 'Upage': this.userListSearch.currentPage } }); |
|
606 |
+ }, |
|
607 |
+ |
|
608 |
+ companySelectListPage: function() { |
|
609 |
+ this.$router.push({ path: '/adm/userSelectList.page', query: { 'Cpage': this.companyListSearch.currentPage } }); |
|
610 |
+ }, |
|
611 |
+ |
|
612 |
+ managerSelectListPage: function() { |
|
613 |
+ this.$router.push({ path: '/adm/userSelectList.page', query: { 'Mpage': this.managerListSearch.currentPage } }); |
|
614 |
+ } |
|
602 | 615 |
}, |
603 | 616 |
watch: { |
604 | 617 |
"modalType": function (newValue, oldValue) { |
... | ... | @@ -608,17 +621,57 @@ |
608 | 621 |
}, |
609 | 622 |
"mngr.mngr_id": function(newVal, oldVal){ |
610 | 623 |
this.idCheck_boolean = false; |
611 |
- } |
|
624 |
+ }, |
|
625 |
+ |
|
626 |
+ 'userListSearch.currentPage': function () { |
|
627 |
+ this.userSelectList(); |
|
628 |
+ }, |
|
629 |
+ |
|
630 |
+ 'companyListSearch.currentPage': function () { |
|
631 |
+ this.companySelectList(); |
|
632 |
+ }, |
|
633 |
+ |
|
634 |
+ 'managerListSearch.currentPage': function () { |
|
635 |
+ this.managerSelectList(); |
|
636 |
+ }, |
|
612 | 637 |
|
613 | 638 |
}, |
614 | 639 |
computed: {}, |
615 | 640 |
components: { |
616 | 641 |
'PaginationButton': PaginationButton, |
617 | 642 |
}, |
643 |
+ created() { |
|
644 |
+ if(this.$route.query.Upage) { |
|
645 |
+ this.userListSearch.currentPage = Number(this.$route.query.Upage); |
|
646 |
+ } else { |
|
647 |
+ this.userListSearch.currentPage = 1; |
|
648 |
+ } |
|
649 |
+ |
|
650 |
+ if(this.$route.query.Cpage) { |
|
651 |
+ this.companyListSearch.currentPage = Number(this.$route.query.Cpage); |
|
652 |
+ } else { |
|
653 |
+ this.companyListSearch.currentPage = 1; |
|
654 |
+ } |
|
655 |
+ |
|
656 |
+ if(this.$route.query.Mpage) { |
|
657 |
+ this.managerListSearch.currentPage = Number(this.$route.query.Mpage); |
|
658 |
+ } else { |
|
659 |
+ this.managerListSearch.currentPage = 1; |
|
660 |
+ } |
|
661 |
+ }, |
|
662 |
+ |
|
618 | 663 |
mounted() { |
619 |
- this.managerSelectList(); |
|
620 |
- this.userSelectList(); |
|
621 |
- this.companySelectList(); |
|
664 |
+ if(!this.$route.query.Mpage) { |
|
665 |
+ this.managerSelectList(); |
|
666 |
+ } |
|
667 |
+ |
|
668 |
+ if(!this.$route.query.Upage) { |
|
669 |
+ this.userSelectList(); |
|
670 |
+ } |
|
671 |
+ |
|
672 |
+ if(!this.$route.query.Cpage) { |
|
673 |
+ this.companySelectList(); |
|
674 |
+ } |
|
622 | 675 |
}, |
623 | 676 |
}; |
624 | 677 |
</script> |
--- client/views/pages/user/Data/Technology.vue
+++ client/views/pages/user/Data/Technology.vue
... | ... | @@ -133,7 +133,7 @@ |
133 | 133 |
</ul> |
134 | 134 |
<div class="bottom-wrap"> |
135 | 135 |
<PaginationButton v-model:currentPage="postListSearch.currentPage" :perPage="postListSearch.perPage" |
136 |
- :totalCount="postListCount" :maxRange="5" :click="postSelectList" /> |
|
136 |
+ :totalCount="postListCount" :maxRange="5" :click="postSelectListPage" /> |
|
137 | 137 |
</div> |
138 | 138 |
</div> |
139 | 139 |
</div> |
... | ... | @@ -147,7 +147,7 @@ |
147 | 147 |
data() { |
148 | 148 |
return { |
149 | 149 |
postListSearch: { |
150 |
- currentPage: 1, |
|
150 |
+ currentPage: 0, |
|
151 | 151 |
perPage: 9, |
152 | 152 |
searchType: 'all', |
153 | 153 |
searchText: null, |
... | ... | @@ -168,7 +168,7 @@ |
168 | 168 |
{ name: '제목', value: 'title' }, |
169 | 169 |
{ name: '내용', value: 'content' }, |
170 | 170 |
{ name: '작성자', value: 'writer' }, |
171 |
- ] |
|
171 |
+ ], |
|
172 | 172 |
} |
173 | 173 |
}, |
174 | 174 |
methods: { |
... | ... | @@ -190,7 +190,7 @@ |
190 | 190 |
}, |
191 | 191 |
data: { 'post_id': item.post_id, 'bbs_id': item.bbs_id } |
192 | 192 |
}).then(function (response) { |
193 |
- vm.$router.push({ path: '/TechnologyOne.page', query: { 'post_id': item.post_id, 'file_id': item.file_id, 'bbs_id': item.bbs_id, 'tech_doc_dt': item.tech_doc_dt } }); |
|
193 |
+ vm.$router.push({ path: '/TechnologyOne.page', query: { 'post_id': item.post_id, 'file_id': item.file_id, 'bbs_id': item.bbs_id, 'tech_doc_dt': item.tech_doc_dt, 'page':vm.postListSearch.currentPage } }); |
|
194 | 194 |
}).catch(function (error) { |
195 | 195 |
alert("기술문서 상세보기 오류, 관리자에게 문의바랍니다."); |
196 | 196 |
}) |
... | ... | @@ -272,10 +272,17 @@ |
272 | 272 |
this.postListSearch.ctgry_nm = null |
273 | 273 |
} |
274 | 274 |
this.postSelectList(); |
275 |
+ }, |
|
276 |
+ |
|
277 |
+ postSelectListPage: function() { |
|
278 |
+ this.$router.push({ path: '/Technology.page', query: { 'page': this.postListSearch.currentPage} }); |
|
275 | 279 |
} |
280 |
+ |
|
276 | 281 |
}, |
277 | 282 |
watch: { |
278 |
- |
|
283 |
+ 'postListSearch.currentPage': function () { |
|
284 |
+ this.postSelectList(); |
|
285 |
+ }, |
|
279 | 286 |
}, |
280 | 287 |
computed: { |
281 | 288 |
emptySpaces() { |
... | ... | @@ -285,9 +292,19 @@ |
285 | 292 |
components: { |
286 | 293 |
PaginationButton: PaginationButton, |
287 | 294 |
}, |
295 |
+ created() { |
|
296 |
+ if(this.$route.query.page) { |
|
297 |
+ this.postListSearch.currentPage = Number(this.$route.query.page); |
|
298 |
+ } else { |
|
299 |
+ this.postListSearch.currentPage = 1; |
|
300 |
+ } |
|
301 |
+ }, |
|
288 | 302 |
mounted() { |
289 | 303 |
this.pageLogInsert(); |
290 |
- this.postSelectList(); |
|
304 |
+ if(!this.$route.query.page) { |
|
305 |
+ this.postSelectList(); |
|
306 |
+ } |
|
307 |
+ |
|
291 | 308 |
} |
292 | 309 |
} |
293 | 310 |
</script> |
--- client/views/pages/user/Data/TechnologyOne.vue
+++ client/views/pages/user/Data/TechnologyOne.vue
... | ... | @@ -141,7 +141,7 @@ |
141 | 141 |
}, |
142 | 142 |
methods: { |
143 | 143 |
goToPage4() { |
144 |
- this.$router.push('/Technology.page'), |
|
144 |
+ this.$router.push({path:'/Technology.page', query: {'page': this.route.query.page}}), |
|
145 | 145 |
window.scrollTo({ |
146 | 146 |
top: 0, |
147 | 147 |
behavior: 'smooth' |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?