Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mobi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wbx-PCAndMobi
mobi
Commits
131d61df
Commit
131d61df
authored
Apr 06, 2021
by
Gakki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
15160dd2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
16 deletions
+16
-16
getMicRouters.js
src/router/getMicRouters.js
+13
-13
home.vue
src/views/home.vue
+1
-1
basicInfo.vue
src/views/houseData/basicInfo.vue
+2
-2
No files found.
src/router/getMicRouters.js
View file @
131d61df
...
@@ -101,19 +101,19 @@ async function GetRoutes(router) {
...
@@ -101,19 +101,19 @@ async function GetRoutes(router) {
console
.
log
(
router
)
console
.
log
(
router
)
for
(
let
key
in
documents
)
{
//
for(let key in documents) {
for
(
let
i
=
0
;
i
<
documents
[
key
].
length
;
i
++
)
{
//
for (let i = 0; i < documents[key].length; i++) {
let
firstRouter
=
Object
.
assign
({},
documents
[
key
][
i
])
//
let firstRouter = Object.assign({}, documents[key][i])
if
(
//
if (
!!
firstRouter
.
meta
.
openMode
&&
//
!!firstRouter.meta.openMode &&
firstRouter
.
meta
.
openMode
==
'outsite'
//
firstRouter.meta.openMode == 'outsite'
)
{
//
) {
firstRouter
.
component
=
TipsOutsite
//
firstRouter.component = TipsOutsite
}
//
}
parent
.
children
.
push
(
Object
.
assign
({},
firstRouter
))
//
parent.children.push(Object.assign({}, firstRouter))
router
.
addRoutes
([
parent
])
//
router.addRoutes([ parent ])
}
//
}
}
//
}
}
}
export
default
GetRoutes
export
default
GetRoutes
src/views/home.vue
View file @
131d61df
<
template
>
<
template
>
<div>
<div>
<!-- 浦东 -->
<!-- 浦东 -->
<div
id=
"home"
class=
"layoutPadding"
v-if=
"(this.$api.BASE_URL).indexOf('pudong') > -1 || (this.$api.BASE_URL).indexOf('
211.136.105.193
') > -1"
>
<div
id=
"home"
class=
"layoutPadding"
v-if=
"(this.$api.BASE_URL).indexOf('pudong') > -1 || (this.$api.BASE_URL).indexOf('
10.220.105.137
') > -1"
>
<div
class=
"topBox-l"
>
<div
class=
"topBox-l"
>
<div
class=
"inner"
style=
""
>
<div
class=
"inner"
style=
""
>
<div>
<div>
...
...
src/views/houseData/basicInfo.vue
View file @
131d61df
...
@@ -130,7 +130,7 @@
...
@@ -130,7 +130,7 @@
<!-- 功能按钮区 -->
<!-- 功能按钮区 -->
<a-col
span=
"24"
class=
"algin-right"
>
<a-col
span=
"24"
class=
"algin-right"
>
<a-button
v-if=
"!$store.state.isXuhui && $api.BASE_URL.indexOf('
211.136.105
')!=-1"
@
click=
"exportEWM"
>
导出二维码
</a-button>
<a-button
v-if=
"!$store.state.isXuhui && $api.BASE_URL.indexOf('
10.220.105.137
')!=-1"
@
click=
"exportEWM"
>
导出二维码
</a-button>
<a-button
@
click=
"exportList"
>
导出数据
</a-button>
<a-button
@
click=
"exportList"
>
导出数据
</a-button>
<a-button
@
click=
"reset"
>
重置
</a-button>
<a-button
@
click=
"reset"
>
重置
</a-button>
<a-button
type=
"primary"
@
click=
"search"
>
搜索
</a-button>
<a-button
type=
"primary"
@
click=
"search"
>
搜索
</a-button>
...
@@ -394,7 +394,7 @@ export default {
...
@@ -394,7 +394,7 @@ export default {
this
.
getStreet
()
this
.
getStreet
()
},
},
mounted
(){
mounted
(){
console
.
log
(
this
.
$api
.
BASE_URL
.
indexOf
(
'
211.136.105
'
)
!=-
1
)
console
.
log
(
this
.
$api
.
BASE_URL
.
indexOf
(
'
10.220.105.137
'
)
!=-
1
)
if
(
this
.
$route
.
name
==
'basicInfo'
){
if
(
this
.
$route
.
name
==
'basicInfo'
){
this
.
$nextTick
(
function
()
{
this
.
$nextTick
(
function
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment