From de36f700ea821210357957cec36929f02ac5567e Mon Sep 17 00:00:00 2001 From: TS-QD1 Date: Fri, 24 Nov 2023 18:31:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E4=BA=BA=E6=88=BF=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/info/HouseInfo.vue | 341 ++++++++++++++++++++++++- src/components/info/PopulationInfo.vue | 338 +++++++++++++++++++++++- src/components/list/HouseList.vue | 154 ++++++----- src/components/list/PopulationList.vue | 207 ++++++++------- src/main.js | 3 +- src/route/route.js | 2 +- vite.config.js | 3 + 7 files changed, 890 insertions(+), 158 deletions(-) diff --git a/src/components/info/HouseInfo.vue b/src/components/info/HouseInfo.vue index af50501..eb842c5 100644 --- a/src/components/info/HouseInfo.vue +++ b/src/components/info/HouseInfo.vue @@ -1,10 +1,347 @@ \ No newline at end of file diff --git a/src/components/info/PopulationInfo.vue b/src/components/info/PopulationInfo.vue index af50501..959c37b 100644 --- a/src/components/info/PopulationInfo.vue +++ b/src/components/info/PopulationInfo.vue @@ -1,10 +1,344 @@ \ No newline at end of file diff --git a/src/components/list/HouseList.vue b/src/components/list/HouseList.vue index a84aece..7c212a4 100644 --- a/src/components/list/HouseList.vue +++ b/src/components/list/HouseList.vue @@ -3,89 +3,104 @@ -
暂无数据
- - - -
- -
-
- {{ data.houseDTO.communityName }} - {{ data.houseDTO.houseType }} - {{ data.houseDTO.residentialName }} - - - {{ data.houseDTO.homeowner }} - -
-
- {{ data.houseDTO.buildingName }}楼/排 - {{ data.houseDTO.affiliationUnit }}单元/列 - {{ data.houseDTO.affiliationFloors }}层 - {{ data.houseDTO.houseNum }}号 + + +
暂无数据
+ + + +
+ +
+
+ {{ data.houseDTO.communityName }} + {{ data.houseDTO.houseType }} + {{ data.houseDTO.residentialName }} + + + {{ data.houseDTO.homeowner }} + +
+
+ {{ data.houseDTO.buildingName }}楼/排 + {{ data.houseDTO.affiliationUnit }}单元/列 + {{ data.houseDTO.affiliationFloors }}层 + {{ data.houseDTO.houseNum }}号 +
-
- - - - - - - - - - - - - - - - - - - - -
姓名出生日期证件类型证件号码联系方式
-
{{ data.populationInfoDTO.name }}
-
-
{{ data.populationInfoDTO.birthday }}
-
-
{{ data.populationInfoDTO.idcardType }}
-
-
{{ data.populationInfoDTO.idcard }}
-
-
{{ data.populationInfoDTO.phone }}
-
+ + + + + + + + + + + + + + + + + + + + +
姓名出生日期证件类型证件号码联系方式
+
+ {{ data.populationInfoDTO.name }} +
+
+
+ {{ data.populationInfoDTO.birthday }} +
+
+
+ {{ data.populationInfoDTO.idcardType }} +
+
+
+ {{ data.populationInfoDTO.idcard }} +
+
+
+ {{ data.populationInfoDTO.phone }} +
+
+
+
-
- - - + + + - + diff --git a/src/components/list/PopulationList.vue b/src/components/list/PopulationList.vue index 6ab88b5..db650eb 100644 --- a/src/components/list/PopulationList.vue +++ b/src/components/list/PopulationList.vue @@ -5,91 +5,107 @@ 重新搜索 -
暂无数据
- - - -
- - -
-
- {{ data.populationInfoHouseDTO.name }} - {{ data.populationInfoHouseDTO.sex }} - 17 - - {{ data.populationInfoHouseDTO.idcardType }} - {{ data.populationInfoHouseDTO.idcard }} - -
-
- {{ data.populationInfoHouseDTO.birthday }} - - - {{ data.populationInfoHouseDTO.phone }} - - {{ data.populationInfoHouseDTO.nation }} - {{ data.populationInfoHouseDTO.education }} -
-
- 社区矫正 - 刑满释放 - 矛盾纠纷 - 社会治安 - 吸毒人员 - 涉邪人员 - 重点上访户 - 重病 - 老年人 - 未成年 - 正常 + + +
暂无数据
+ + + +
+ + +
+
+ {{ data.populationInfoBaseDTO.name }} + {{ data.populationInfoBaseDTO.sex }} + 17 + + {{ data.populationInfoBaseDTO.idcardType }} + {{ data.populationInfoBaseDTO.idcard }} + +
+
+ {{ data.populationInfoBaseDTO.birthday }} + + + {{ data.populationInfoBaseDTO.phone }} + + {{ data.populationInfoBaseDTO.nation }} + {{ data.populationInfoBaseDTO.education }} +
+
+ 社区矫正 + 刑满释放 + 矛盾纠纷 + 社会治安 + 吸毒人员 + 涉邪人员 + 重点上访户 + 重病 + 老年人 + 未成年 + 正常 +
-
- - - - - - - - - - - - - - - - - - - - - - -
社区小区楼/排单元/列院/层门牌号
-
{{ data.houseDTO.communityName }}
-
-
{{ data.houseDTO.residentialName }}
-
-
{{ data.houseDTO.buildingName }}
-
-
{{ data.houseDTO.affiliationUnit }}
-
-
{{ data.houseDTO.affiliationFloors }}
-
-
{{ data.houseDTO.houseNum }}
-
+ + + + + + + + + + + + + + + + + + + + + + +
社区小区楼/排单元/列院/层门牌号
+
{{ data.houseDTO.communityName }}
+
+
{{ data.houseDTO.residentialName }}
+
+
{{ data.houseDTO.buildingName }}
+
+
{{ data.houseDTO.affiliationUnit }}
+
+
{{ data.houseDTO.affiliationFloors }}
+
+
{{ data.houseDTO.houseNum }}
+
+
+
-
- - - + + + - + @@ -97,7 +113,7 @@ diff --git a/src/main.js b/src/main.js index e7d3731..10f3d02 100644 --- a/src/main.js +++ b/src/main.js @@ -6,7 +6,8 @@ import axios from 'axios'; const createAxios = { install(app, options) { - axios.defaults.baseURL = 'http://192.168.0.9:7023/population'; + // axios.defaults.baseURL = 'http://192.168.0.9:7023/population'; + axios.defaults.baseURL = 'http://192.168.0.15:7023/population'; // axios.defaults.baseURL = '/population'; axios.defaults.timeout = 20000; app.provide('axios', axios); diff --git a/src/route/route.js b/src/route/route.js index c5c1edf..5566746 100644 --- a/src/route/route.js +++ b/src/route/route.js @@ -17,7 +17,7 @@ const routes = [{ }, { name: '以房找人列表', path: '/population-list', - component: PopulationList + component: PopulationList, }, { name: '以人找房列表', path: '/house-list', diff --git a/vite.config.js b/vite.config.js index 4b14147..9c87972 100644 --- a/vite.config.js +++ b/vite.config.js @@ -4,5 +4,8 @@ import vue from '@vitejs/plugin-vue' // https://vitejs.dev/config/ export default defineConfig({ base: './', + server: { + host: '0.0.0.0', + }, plugins: [vue()], })