Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
civil-front
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
civil
civil-front
Commits
b0bcb0ba
Commit
b0bcb0ba
authored
Jun 30, 2021
by
苏咏卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完成区县查询
parent
34064ad6
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
109 additions
and
29 deletions
+109
-29
.env.development
+1
-1
src/views/unified/tapSwitch/childWelfare.vue
+5
-1
src/views/unified/tapSwitch/marriage.vue
+24
-11
src/views/unified/tapSwitch/population.vue
+27
-4
src/views/unified/tapSwitch/provide.vue
+17
-5
src/views/unified/tapSwitch/socialAssistance.vue
+9
-1
src/views/unified/tapSwitch/socialOrganization.vue
+12
-2
src/views/unified/tapSwitch/subsidies.vue
+14
-4
No files found.
.env.development
View file @
b0bcb0ba
...
...
@@ -7,7 +7,7 @@ VUE_APP_FILE_API = 'http://124.227.197.29:8088/'
#VUE_APP_BASE_API = 'http://172.18.99.141:9888/'
#VUE_APP_WS_API = 'ws://124.227.197.29:8088'
#
VUE_APP_FILE_API = 'http://124.227.197.29:8088/'
3
VUE_APP_FILE_API = 'http://124.227.197.29:8088/'
# 是否启用 babel-plugin-dynamic-import-node插件
VUE_CLI_BABEL_TRANSPILE_MODULES = true
src/views/unified/tapSwitch/childWelfare.vue
View file @
b0bcb0ba
...
...
@@ -315,9 +315,10 @@ export default {
this
.
childSearchFun
();
},
childSearchFun
()
{
childSearchFun
(
data
)
{
childSearch
({
keyword
:
this
.
value
,
areaCode
:
data
}).
then
((
res
)
=>
{
console
.
log
(
res
,
"儿童搜索"
);
this
.
tableData
=
res
.
data
;
...
...
@@ -373,6 +374,7 @@ export default {
this
.
getAgencyChildStatsListFun
(
"450000"
);
this
.
getAgencyPercentageStatsFun
(
"450000"
);
this
.
getAgencyChildStatsFun
(
"450000"
)
this
.
childSearchFun
(
"450000"
)
},
/**
...
...
@@ -470,6 +472,7 @@ export default {
mapList.features[res.dataIndex].properties.adcode
);
this.getAgencyChildStatsFun(mapList.features[res.dataIndex].properties.adcode)
this.childSearchFun(mapList.features[res.dataIndex].properties.adcode)
} else {
console.log("点击取值", res);
console.log("地图数组", mapList.features);
...
...
@@ -490,6 +493,7 @@ export default {
mapList.features[res.dataIndex].properties.adcode
);
this.getAgencyChildStatsFun(mapList.features[res.dataIndex].properties.adcode)
this.childSearchFun(mapList.features[res.dataIndex].properties.adcode)
}
});
},
...
...
src/views/unified/tapSwitch/marriage.vue
View file @
b0bcb0ba
...
...
@@ -102,7 +102,11 @@
/>
<div>
<div
class=
"marriedNum"
>
申请离婚/确定离婚(对)
</div>
<div
class=
"yellowNum"
>
{{
marriageStats
.
inDivorceNum
}}
/
{{
marriageStats
.
divorceNum
}}
</div>
<div
class=
"yellowNum"
>
{{
marriageStats
.
inDivorceNum
}}
/
{{
marriageStats
.
divorceNum
}}
</div>
</div>
</div>
<div
class=
"flexBox"
>
...
...
@@ -169,7 +173,9 @@
</el-option>
</el-select>
-->
</div>
<a
class=
"returnInfos"
@
click=
"returnInfo"
v-if=
"num != 0"
>
返回上一级
</a>
<a
class=
"returnInfos"
@
click=
"returnInfo"
v-if=
"num != 0"
>
返回上一级
</a
>
<div
class=
"marriageMap"
id=
"marriageMap"
></div>
</div>
</el-col>
...
...
@@ -333,7 +339,7 @@ export default {
label
:
"2021"
,
},
],
date
:
""
date
:
""
,
};
},
created
()
{
...
...
@@ -344,9 +350,9 @@ export default {
this
.
marriageSearchFun
();
},
methods
:
{
searchChange
(
e
){
console
.
log
(
e
)
this
.
date
=
e
searchChange
(
e
)
{
console
.
log
(
e
)
;
this
.
date
=
e
;
},
inputBtn
()
{
...
...
@@ -354,9 +360,10 @@ export default {
this
.
marriageSearchFun
();
},
marriageSearchFun
()
{
marriageSearchFun
(
data
)
{
marriageSearch
({
keyword
:
this
.
value
,
areaCode
:
data
,
}).
then
((
res
)
=>
{
console
.
log
(
res
,
"搜索"
);
this
.
tableData
=
res
.
data
;
...
...
@@ -366,7 +373,7 @@ export default {
getFivesYearMarriageLineFun
(
data
)
{
getFivesYearMarriageLine
({
areaCode
:
data
,
year
:
this
.
date
year
:
this
.
date
,
}).
then
((
res
)
=>
{
console
.
log
(
res
,
"获取近5年结婚走势"
);
this
.
marriageLine
=
res
.
data
.
admin
;
...
...
@@ -377,7 +384,7 @@ export default {
getMarriageStatsFun
(
data
)
{
getMarriageStats
({
areaCode
:
data
,
year
:
this
.
date
year
:
this
.
date
,
}).
then
((
res
)
=>
{
console
.
log
(
res
,
"获取结婚离婚人数"
);
this
.
marriageStats
=
res
.
data
;
...
...
@@ -387,7 +394,7 @@ export default {
getAreaUnderMarriageStatsListFun
(
data
)
{
getAreaUnderMarriageStatsList
({
areaCode
:
data
,
year
:
this
.
date
year
:
this
.
date
,
}).
then
((
res
)
=>
{
console
.
log
(
res
,
"获取地区结婚离婚人数列表"
);
this
.
areaUnderMarriageStatsList
=
res
.
data
;
...
...
@@ -410,6 +417,7 @@ export default {
this
.
getFivesYearMarriageLineFun
(
"450000"
);
this
.
getMarriageStatsFun
(
"450000"
);
this
.
getAreaUnderMarriageStatsListFun
(
"450000"
);
this
.
marriageSearchFun
(
"450000"
);
},
/**
...
...
@@ -509,6 +517,9 @@ export default {
this.getAreaUnderMarriageStatsListFun(
mapList.features[res.dataIndex].properties.adcode
);
this.marriageSearchFun(
mapList.features[res.dataIndex].properties.adcode
);
} else {
console.log("点击取值", res);
console.log("地图数组", mapList.features);
...
...
@@ -531,6 +542,9 @@ export default {
this.getAreaUnderMarriageStatsListFun(
mapList.features[res.dataIndex].properties.adcode
);
this.marriageSearchFun(
mapList.features[res.dataIndex].properties.adcode
);
}
});
},
...
...
@@ -861,7 +875,6 @@ export default {
</
script
>
<
style
lang=
"scss"
scoped
>
::v-deep
{
.el-input__inner
{
background-color
:
#051d3f
;
...
...
src/views/unified/tapSwitch/population.vue
View file @
b0bcb0ba
...
...
@@ -203,16 +203,22 @@
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<div
class=
"rescue"
>
<div
class=
"size24"
>
{{
threeYeartTotalData
.
cityToatlNum
}}
万
<div
class=
"sizeFlex"
>
<div
class=
"size24"
>
{{
threeYeartTotalData
.
cityToatlNum
}}
</div>
<div
class=
"sizeFelx"
>
万
</div>
</div>
<div
class=
"sizecity16"
>
城市
</div>
</div>
</el-col>
<el-col
:span=
"12"
>
<div
class=
"rescue"
>
<div
class=
"sizeyellow24"
>
{{
threeYeartTotalData
.
villageToatlNum
}}
万
<div
class=
"sizeFlex"
>
<div
class=
"sizeyellow24"
>
{{
threeYeartTotalData
.
villageToatlNum
}}
</div>
<div
class=
"sizeFelxYellow"
>
万
</div>
</div>
<div
class=
"sizerural16"
>
农村
</div>
</div>
...
...
@@ -1327,4 +1333,20 @@ export default {
display
:
flex
;
justify-content
:
flex-end
;
}
.sizeFlex
{
display
:
flex
;
justify-content
:
center
;
}
.sizeFelx
{
font-size
:
14px
;
margin
:
8px
0
0
4px
;
}
.sizeFelxYellow
{
font-size
:
14px
;
color
:
#fad41b
;
margin
:
8px
0
0
4px
;
}
</
style
>
\ No newline at end of file
src/views/unified/tapSwitch/provide.vue
View file @
b0bcb0ba
...
...
@@ -105,8 +105,12 @@
alt=
""
class=
"lowerRight"
/>
<div
class=
"titleHead"
>
当前选择:
{{
address
?
address
:
"广西全区"
}}
</div>
<a
class=
"returnInfos"
@
click=
"returnInfo"
v-if=
"num != 0"
>
返回上一级
</a>
<div
class=
"titleHead"
>
当前选择:
{{
address
?
address
:
"广西全区"
}}
</div>
<a
class=
"returnInfos"
@
click=
"returnInfo"
v-if=
"num != 0"
>
返回上一级
</a
>
<div
class=
"provideMap"
id=
"provideMap"
></div>
</div>
</el-col>
...
...
@@ -241,7 +245,7 @@ export default {
data
()
{
return
{
num
:
0
,
address
:
""
,
address
:
""
,
tableData
:
[],
value
:
""
,
cremationStats
:
{},
...
...
@@ -263,9 +267,10 @@ export default {
this
.
cremationSearchFun
();
},
cremationSearchFun
()
{
cremationSearchFun
(
data
)
{
cremationSearch
({
keyword
:
this
.
value
,
areaCode
:
data
,
}).
then
((
res
)
=>
{
console
.
log
(
res
,
"殡葬搜索"
);
this
.
tableData
=
res
.
data
;
...
...
@@ -308,11 +313,12 @@ export default {
returnInfo
()
{
this
.
num
=
0
;
this
.
address
=
"广西全区"
this
.
address
=
"广西全区"
;
this
.
getMapData
(
"g450000"
);
this
.
getCremationStatsFun
(
"450000"
);
this
.
getCremationRateStatsFun
(
"450000"
);
this
.
getCremationStatsListFun
(
"450000"
);
this
.
cremationSearchFun
(
"450000"
);
},
/**
...
...
@@ -412,6 +418,9 @@ export default {
this.getCremationStatsListFun(
mapList.features[res.dataIndex].properties.adcode
);
this.cremationSearchFun(
mapList.features[res.dataIndex].properties.adcode
);
} else {
console.log("点击取值", res);
console.log("地图数组", mapList.features);
...
...
@@ -434,6 +443,9 @@ export default {
this.getCremationStatsListFun(
mapList.features[res.dataIndex].properties.adcode
);
this.cremationSearchFun(
mapList.features[res.dataIndex].properties.adcode
);
}
});
},
...
...
src/views/unified/tapSwitch/socialAssistance.vue
View file @
b0bcb0ba
...
...
@@ -316,9 +316,10 @@ export default {
this
.
societyHelpSearchFun
();
},
societyHelpSearchFun
()
{
societyHelpSearchFun
(
data
)
{
societyHelpSearch
({
keyword
:
this
.
values
,
areaCode
:
data
,
}).
then
((
res
)
=>
{
console
.
log
(
res
,
"低保对象搜索"
);
this
.
tableData
=
res
.
data
;
...
...
@@ -382,6 +383,7 @@ export default {
this
.
getThreeYearShjzProvideStatsFun
(
"450000"
);
this
.
getFivesYearShjzAchieveStatsFun
(
"450000"
);
this
.
getAreaYearShjzAchieveStatsFun
(
"450000"
);
this
.
societyHelpSearchFun
(
"450000"
)
},
/**
...
...
@@ -484,6 +486,9 @@ export default {
this.getAreaYearShjzAchieveStatsFun(
mapList.features[res.dataIndex].properties.adcode
);
this.societyHelpSearchFun(
mapList.features[res.dataIndex].properties.adcode
)
} else {
console.log("点击取值", res);
console.log("地图数组", mapList.features);
...
...
@@ -509,6 +514,9 @@ export default {
this.getAreaYearShjzAchieveStatsFun(
mapList.features[res.dataIndex].properties.adcode
);
this.societyHelpSearchFun(
mapList.features[res.dataIndex].properties.adcode
)
}
});
},
...
...
src/views/unified/tapSwitch/socialOrganization.vue
View file @
b0bcb0ba
...
...
@@ -126,7 +126,9 @@
<div
class=
"titleHead"
>
当前选择:
{{
address
?
address
:
"广西全区"
}}
</div>
<a
class=
"returnInfos"
@
click=
"returnInfo"
v-if=
"num != 0"
>
返回上一级
</a>
<a
class=
"returnInfos"
@
click=
"returnInfo"
v-if=
"num != 0"
>
返回上一级
</a
>
<div
class=
"socialOrganizationMap"
id=
"socialOrganizationMap"
...
...
@@ -294,9 +296,10 @@ export default {
this
.
soorganSearchFun
();
},
soorganSearchFun
()
{
soorganSearchFun
(
data
)
{
soorganSearch
({
keyword
:
this
.
value
,
areaCode
:
data
,
}).
then
((
res
)
=>
{
console
.
log
(
res
,
"社会组织搜索"
);
this
.
tableData
=
res
.
data
;
...
...
@@ -345,6 +348,7 @@ export default {
this
.
getSoorganStatsFun
(
"450000"
);
this
.
getSoorganPercentageStatsFun
(
"450000"
);
this
.
getAreaUnderSoorganStatsListFun
(
"450000"
);
this
.
soorganSearchFun
(
"450000"
);
},
/**
...
...
@@ -444,6 +448,9 @@ export default {
this.getAreaUnderSoorganStatsListFun(
mapList.features[res.dataIndex].properties.adcode
);
this.soorganSearchFun(
mapList.features[res.dataIndex].properties.adcode
);
} else {
console.log("点击取值", res);
console.log("地图数组", mapList.features);
...
...
@@ -466,6 +473,9 @@ export default {
this.getAreaUnderSoorganStatsListFun(
mapList.features[res.dataIndex].properties.adcode
);
this.soorganSearchFun(
mapList.features[res.dataIndex].properties.adcode
);
}
});
},
...
...
src/views/unified/tapSwitch/subsidies.vue
View file @
b0bcb0ba
...
...
@@ -123,7 +123,9 @@
alt=
""
class=
"lowerRight"
/>
<div
class=
"titleHead"
>
当前选择:
{{
address
?
address
:
"广西全区"
}}
</div>
<div
class=
"titleHead"
>
当前选择:
{{
address
?
address
:
"广西全区"
}}
</div>
<a
class=
"returnInfos"
@
click=
"returnInfo"
>
返回上一级
</a>
<div
class=
"subsidiesMap"
id=
"subsidiesMap"
></div>
</div>
...
...
@@ -241,7 +243,7 @@ export default {
data
()
{
return
{
num
:
0
,
address
:
""
,
address
:
""
,
tableData
:
[],
yearDisabledIssueStats
:
{},
disabledLevelStats
:
{},
...
...
@@ -263,9 +265,10 @@ export default {
this
.
deformedManSearchFun
();
},
deformedManSearchFun
()
{
deformedManSearchFun
(
data
)
{
deformedManSearch
({
keyword
:
this
.
value
,
areaCode
:
data
,
}).
then
((
res
)
=>
{
console
.
log
(
res
,
"残疾人搜索"
);
this
.
tableData
=
res
.
data
;
...
...
@@ -306,11 +309,12 @@ export default {
returnInfo
()
{
this
.
num
=
0
;
this
.
address
=
"广西全区"
this
.
address
=
"广西全区"
;
this
.
getMapData
(
"g450000"
);
this
.
getYearDisabledIssueStatsFun
(
"450000"
);
this
.
getDisabledLevelStatsFun
(
"450000"
);
this
.
getAreaDisabledIssueStatsFun
(
"450000"
);
this
.
deformedManSearchFun
(
"450000"
);
},
/**
...
...
@@ -410,6 +414,9 @@ export default {
this.getAreaDisabledIssueStatsFun(
mapList.features[res.dataIndex].properties.adcode
);
this.deformedManSearchFun(
mapList.features[res.dataIndex].properties.adcode
);
} else {
console.log("点击取值", res);
console.log("地图数组", mapList.features);
...
...
@@ -432,6 +439,9 @@ export default {
this.getAreaDisabledIssueStatsFun(
mapList.features[res.dataIndex].properties.adcode
);
this.deformedManSearchFun(
mapList.features[res.dataIndex].properties.adcode
);
}
});
},
...
...
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