diff --git a/src/api/convenience.js b/src/api/convenience.js index a7b92e1..c87eb97 100644 --- a/src/api/convenience.js +++ b/src/api/convenience.js @@ -100,4 +100,17 @@ export function listForData(data) { method: 'post', data }) +} + +/** + * LeaderTv + * @param {*} data + * @returns + */ +export function leaderTVData(data) { + return request({ + url: '/api/convenience/v2/services/app/statisticalData/leaderForTV', + method: 'post', + data + }) } \ No newline at end of file diff --git a/src/api/residentInformation.js b/src/api/residentInformation.js index f9309bb..efc8bb5 100644 --- a/src/api/residentInformation.js +++ b/src/api/residentInformation.js @@ -63,3 +63,16 @@ export function deleteResident(id) { params: id }); } + +/** + * 居民信息删除 + * @param {*} id + * @returns + */ +export function passwordUpdate(data) { + return request({ + url: "/api/convenience/residentInformation/passwordUpdate", + method: "post", + data + }); +} diff --git a/src/api/statisticalData.js b/src/api/statisticalData.js index 14e5cad..cbcdc42 100644 --- a/src/api/statisticalData.js +++ b/src/api/statisticalData.js @@ -12,3 +12,16 @@ export function statisticalData(data) { data }) } + +/** + * 乡镇统计 + * @param {*} data + * @returns + */ +export function townRanking(data) { + return request({ + url: '/api/convenience/v2/services/app/statisticalData/townRanking', + method: 'get', + data + }) +} \ No newline at end of file diff --git a/src/components/RegionSelect/index.vue b/src/components/RegionSelect/index.vue index e4cbea1..5ffeaf3 100644 --- a/src/components/RegionSelect/index.vue +++ b/src/components/RegionSelect/index.vue @@ -24,11 +24,11 @@ export default { created() { this.getList(); this.regionNames = this._regionNames; - console.log(233); - console.log(this.regionNames); + // console.log(233); + // console.log(this.regionNames); }, mounted(){ - console.log(244); + // console.log(244); }, methods: { getList() { diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 07d4d11..fb248af 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -19,48 +19,80 @@ --> - - {{ name }} - 退出登录 + + + - + + + + + + + + + + + + + 取 消 + 确 定 + +