Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
multiSystem
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
0
Merge Requests
0
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
Yulun Yao
multiSystem
Commits
1b286a52
Commit
1b286a52
authored
Feb 04, 2021
by
程卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
小区详情自定义字段拼接完成,邻小慧修改,部分参数修改
parent
d9177b89
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
290 additions
and
561 deletions
+290
-561
detailItem.vue
src/components/detail/detailItem.vue
+17
-11
getMicRouters.js
src/router/getMicRouters.js
+2
-0
home.vue
src/views/home.vue
+19
-15
basicInfo.vue
src/views/houseData/basicInfo.vue
+18
-14
basicView.vue
src/views/houseData/basicView.vue
+234
-521
No files found.
src/components/detail/detailItem.vue
View file @
1b286a52
...
@@ -52,16 +52,22 @@ export default {
...
@@ -52,16 +52,22 @@ export default {
}
}
</
script
>
</
script
>
<
style
>
<
style
>
.detailContent
{
margin
:
-1px
;
font-size
:
14px
;
line-height
:
40px
;
border
:
1px
solid
#ccc
}
.detailContent
{
margin
:
-.5px
;
font-size
:
14px
;
line-height
:
40px
;
border
:
1px
solid
#ccc
}
.detailContent
.label
{
white-space
:
nowrap
;
.detailContent
.label
{
white-space
:
nowrap
;
overflow
:
hidden
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
border-right
:
1px
solid
#ccc
;
background-color
:
#fafafa
;
text-align
:
right
;
color
:
rgba
(
0
,
0
,
0
,
0.65
)}
border-right
:
1px
solid
#ccc
;
.detailContent
.text
{
white-space
:
nowrap
;
background-color
:
#fafafa
;
text-align
:
right
;
color
:
rgba
(
0
,
0
,
0
,
0.65
);
overflow
:
hidden
;
}
.detailContent
.text
{
text-overflow
:
ellipsis
;
padding-left
:
8px
;
text-align
:
left
;
word-break
:
break-all
;}
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
padding-left
:
8px
;
text-align
:
left
;
word-break
:
break-all
;
}
</
style
>
</
style
>
src/router/getMicRouters.js
View file @
1b286a52
...
@@ -48,6 +48,8 @@ async function GetRoutes(router) {
...
@@ -48,6 +48,8 @@ async function GetRoutes(router) {
break
break
}
}
console
.
log
(
MicRouters
)
const
micSystemRoutersConfigs
=
Object
.
assign
({},
MicRouters
)
const
micSystemRoutersConfigs
=
Object
.
assign
({},
MicRouters
)
const
{
routes
}
=
router
.
options
const
{
routes
}
=
router
.
options
const
parent
=
routes
.
find
(
item
=>
item
.
name
===
'Layout'
)
const
parent
=
routes
.
find
(
item
=>
item
.
name
===
'Layout'
)
...
...
src/views/home.vue
View file @
1b286a52
...
@@ -709,21 +709,25 @@ export default {
...
@@ -709,21 +709,25 @@ export default {
created
(){},
created
(){},
mounted
(){
mounted
(){
console
.
log
(
'当前登录api: '
+
this
.
$api
.
BASE_URL
)
console
.
log
(
'当前登录api: '
+
this
.
$api
.
BASE_URL
)
this
.
getList
()
if
(
this
.
$api
.
BASE_URL
.
indexOf
(
'xuhui'
)
!=-
1
||
this
.
$api
.
BASE_URL
.
indexOf
(
'31.0.161.39'
)
!=-
1
)
{
//徐汇分支
this
.
getConfig
()
console
.
log
(
'徐汇'
)
this
.
getDisposal
()
this
.
getList
()
this
.
getHouthMonth
()
this
.
getConfig
()
this
.
getCheckData
()
this
.
getDisposal
()
this
.
getCheckPeople
()
this
.
getHouthMonth
()
this
.
getSectNum
()
this
.
getCheckData
()
this
.
getReceiptsNum
()
this
.
getCheckPeople
()
this
.
getRepair
()
this
.
getSectNum
()
this
.
getTousuQuestion
(
'M'
)
this
.
getReceiptsNum
()
this
.
getTousuQuestion
(
'Y'
)
this
.
getRepair
()
this
.
getTousuQuestion
(
'S'
)
this
.
getTousuQuestion
(
'M'
)
this
.
getTousuDensity
(
'M'
)
this
.
getTousuQuestion
(
'Y'
)
this
.
getTousuDensity
(
'Y'
)
this
.
getTousuQuestion
(
'S'
)
this
.
getTousuDensity
(
'S'
)
this
.
getTousuDensity
(
'M'
)
this
.
getTousuDensity
(
'Y'
)
this
.
getTousuDensity
(
'S'
)
}
},
},
methods
:
{
methods
:
{
/**
/**
...
...
src/views/houseData/basicInfo.vue
View file @
1b286a52
...
@@ -3,9 +3,7 @@
...
@@ -3,9 +3,7 @@
<div
class=
"routerWapper"
>
<div
class=
"routerWapper"
>
<div
v-if=
"$route.path == '/houseData/basicInfo'"
class=
"layoutMargin layoutPadding"
>
<div
v-if=
"$route.path == '/houseData/basicInfo'"
class=
"layoutMargin layoutPadding"
>
<a-form
:form=
"form"
class=
"protalForm"
>
<a-form
:form=
"form"
class=
"protalForm"
>
<a-row
class=
"formItem"
type=
"flex"
:justify=
"simpleSearchForm ? 'end' : ''"
<a-row
class=
"formItem"
type=
"flex"
:justify=
"simpleSearchForm ? 'end' : ''"
align=
"top"
:gutter=
"simpleSearchForm ? 16 : 0"
>
align=
"top"
:gutter=
"simpleSearchForm ? 16 : 0"
>
<a-col
span=
"8"
>
<a-col
span=
"8"
>
<a-form-item
label=
"小区名称"
class=
"formItem"
:label-col=
"
{span:10}" :wrapper-col="{span:14}">
<a-form-item
label=
"小区名称"
class=
"formItem"
:label-col=
"
{span:10}" :wrapper-col="{span:14}">
<a-input
placeholder=
"请输入查询内容"
v-decorator=
"['stNameFrst_l']"
/>
<a-input
placeholder=
"请输入查询内容"
v-decorator=
"['stNameFrst_l']"
/>
...
@@ -68,7 +66,7 @@
...
@@ -68,7 +66,7 @@
<a-col
span=
"8"
>
<a-col
span=
"8"
>
<a-form-item
v-if=
"!simpleSearchForm"
label=
"小区层数"
class=
"formItem"
:label-col=
"
{span:10}" :wrapper-col="{span:14}">
<a-form-item
v-if=
"!simpleSearchForm"
label=
"小区层数"
class=
"formItem"
:label-col=
"
{span:10}" :wrapper-col="{span:14}">
<a-select
<a-select
v-decorator=
"['
stLevel
']"
v-decorator=
"['
unitKind_in
']"
mode=
"multiple"
mode=
"multiple"
style=
"width: 100%"
style=
"width: 100%"
placeholder=
"请选择小区层数(多选)"
placeholder=
"请选择小区层数(多选)"
...
@@ -97,7 +95,7 @@
...
@@ -97,7 +95,7 @@
</a-col>
</a-col>
<a-col
span=
"8"
v-if=
"$store.state.isXuhui"
>
<a-col
span=
"8"
v-if=
"$store.state.isXuhui"
>
<a-form-item
v-if=
"!simpleSearchForm"
label=
"邻
里小汇类型
"
class=
"formItem"
:label-col=
"
{span:10}" :wrapper-col="{span:14}">
<a-form-item
v-if=
"!simpleSearchForm"
label=
"邻
小汇成立状态
"
class=
"formItem"
:label-col=
"
{span:10}" :wrapper-col="{span:14}">
<a-select
allowClear
placeholder=
"请选择查询内容"
v-decorator=
"['neighbourType'] "
@
change=
"changeNeighbourType"
>
<a-select
allowClear
placeholder=
"请选择查询内容"
v-decorator=
"['neighbourType'] "
@
change=
"changeNeighbourType"
>
<a-select-option
v-for=
"(item) in neighbourType"
:key=
"item.key"
:value=
"item.key"
>
{{
item
.
name
}}
</a-select-option>
<a-select-option
v-for=
"(item) in neighbourType"
:key=
"item.key"
:value=
"item.key"
>
{{
item
.
name
}}
</a-select-option>
</a-select>
</a-select>
...
@@ -166,6 +164,10 @@ export default {
...
@@ -166,6 +164,10 @@ export default {
name
:
'多层'
,
name
:
'多层'
,
key
:
'2'
key
:
'2'
},
},
{
name
:
'别墅'
,
key
:
'3'
},
],
],
finishDate
:
[
finishDate
:
[
{
{
...
@@ -516,7 +518,7 @@ export default {
...
@@ -516,7 +518,7 @@ export default {
'c.streetId'
:
!
this
.
form
.
getFieldValue
(
'c.streetId'
)?
''
:
this
.
form
.
getFieldValue
(
'c.streetId'
).
split
(
'#'
)[
1
],
'c.streetId'
:
!
this
.
form
.
getFieldValue
(
'c.streetId'
)?
''
:
this
.
form
.
getFieldValue
(
'c.streetId'
).
split
(
'#'
)[
1
],
'stKind_in'
:
!
this
.
form
.
getFieldValue
(
'stKind_in'
)?
''
:
this
.
form
.
getFieldValue
(
'stKind_in'
).
join
(
','
),
'stKind_in'
:
!
this
.
form
.
getFieldValue
(
'stKind_in'
)?
''
:
this
.
form
.
getFieldValue
(
'stKind_in'
).
join
(
','
),
'unitAddr'
:
!
this
.
form
.
getFieldValue
(
'unitAddr'
)?
''
:
this
.
form
.
getFieldValue
(
'unitAddr'
),
'unitAddr'
:
!
this
.
form
.
getFieldValue
(
'unitAddr'
)?
''
:
this
.
form
.
getFieldValue
(
'unitAddr'
),
'unitKind'
:
!
this
.
stLevel
?
''
:
this
.
stLevel
,
'unitKind
_in
'
:
!
this
.
stLevel
?
''
:
this
.
stLevel
,
'cspServiceType'
:
!
this
.
cspServiceType
?
''
:
this
.
cspServiceType
,
'cspServiceType'
:
!
this
.
cspServiceType
?
''
:
this
.
cspServiceType
,
// 'tableName': !this.tableName?'': this.tableName,
// 'tableName': !this.tableName?'': this.tableName,
'type'
:
!
this
.
type
?
''
:
this
.
type
,
'type'
:
!
this
.
type
?
''
:
this
.
type
,
...
@@ -782,13 +784,15 @@ export default {
...
@@ -782,13 +784,15 @@ export default {
},
},
changeLevel
(
val
)
{
changeLevel
(
val
)
{
console
.
log
(
val
)
console
.
log
(
val
)
if
(
val
.
length
==
2
)
{
this
.
stLevel
=
val
.
join
(
','
)
this
.
stLevel
=
'8'
}
else
{
this
.
stLevel
=
val
[
0
]
}
this
.
getList
()
// if(val.indexOf('1')!=-1 && val.indexOf('2')!=-1) {
// this.stLevel = '8'
// } else {
// this.stLevel = val[0]
// }
// this.getList()
},
},
changeServiceType
(
val
)
{
changeServiceType
(
val
)
{
this
.
cspServiceType
=
val
this
.
cspServiceType
=
val
...
@@ -820,7 +824,7 @@ export default {
...
@@ -820,7 +824,7 @@ export default {
break
break
}
}
this
.
getList
()
//
this.getList()
},
},
changeFinishDate
(
val
)
{
changeFinishDate
(
val
)
{
switch
(
val
)
{
switch
(
val
)
{
...
@@ -836,7 +840,7 @@ export default {
...
@@ -836,7 +840,7 @@ export default {
this
.
isBeforeTwoThousand
=
'none'
this
.
isBeforeTwoThousand
=
'none'
break
break
}
}
this
.
getList
()
//
this.getList()
}
}
},
},
...
...
src/views/houseData/basicView.vue
View file @
1b286a52
This diff is collapsed.
Click to expand it.
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