From 553444f6e83650be22a69b92b9d0cd4e11fc56db Mon Sep 17 00:00:00 2001 From: hh <292475944@qq.com> Date: Mon, 30 Nov 2020 14:38:15 +0800 Subject: [PATCH] =?UTF-8?q?topic=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../{management.js => topicProject.js} | 10 +- src/views/system/area/index.vue | 2 +- .../{infoManagement => topicList}/index.vue | 126 +++++++++++++----- vue.config.js | 4 +- 4 files changed, 99 insertions(+), 43 deletions(-) rename src/api/topicInfo/{management.js => topicProject.js} (79%) rename src/views/topic/{infoManagement => topicList}/index.vue (72%) diff --git a/src/api/topicInfo/management.js b/src/api/topicInfo/topicProject.js similarity index 79% rename from src/api/topicInfo/management.js rename to src/api/topicInfo/topicProject.js index 70aec47..888bdcd 100644 --- a/src/api/topicInfo/management.js +++ b/src/api/topicInfo/topicProject.js @@ -1,7 +1,7 @@ import request from '@/utils/request' // 查询列表 -export function ProList(params) { +export function topicProjectList(params) { return request({ url: '/system/topic/project/list', method: 'get', @@ -10,7 +10,7 @@ export function ProList(params) { } // 查询详细 -export function ProInfo(id) { +export function topicProInfo(id) { return request({ url: '/system/topic/project/' + id, method: 'get' @@ -36,15 +36,15 @@ export function saves(data) { } // 删除 -export function ProDel(ids) { +export function topicProDel(ids) { return request({ - url: '/system/topic/project' + ids, + url: '/system/topic/project/' + ids, method: 'delete' }) } // 下拉 -export function ProSelect(topicId) { +export function topicProSelect(topicId) { return request({ url: '/system/topic/project/select', method: 'get', diff --git a/src/views/system/area/index.vue b/src/views/system/area/index.vue index 96b8ede..5261a7d 100644 --- a/src/views/system/area/index.vue +++ b/src/views/system/area/index.vue @@ -29,7 +29,7 @@ 该大区下暂无省份 - + {{tag.cityName}} diff --git a/src/views/topic/infoManagement/index.vue b/src/views/topic/topicList/index.vue similarity index 72% rename from src/views/topic/infoManagement/index.vue rename to src/views/topic/topicList/index.vue index fbec541..fc509fd 100644 --- a/src/views/topic/infoManagement/index.vue +++ b/src/views/topic/topicList/index.vue @@ -36,8 +36,7 @@ @@ -66,24 +65,50 @@ - - + + + + 暂无项目 + + {{tag.projectName}} + + + + + + + + + + + + + + + + + -