From 4c241b9acd9f29c4bd9eeb981c89205ae7a38d33 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Tue, 2 Jul 2024 14:40:24 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=90=8E=E5=8F=B0=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E6=B5=8F=E8=A7=88=E5=99=A8=E7=89=88=E6=9C=AC=E6=8E=A8?= =?UTF-8?q?=E8=8D=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/dictionary.js | 32 +++ .../dictionary/template/browser/form.vue | 186 ++++++++++++++ .../dictionary/template/browser/index.vue | 242 ++++++++++++++++++ src/views/dictionary/template/index.vue | 62 +++-- 4 files changed, 497 insertions(+), 25 deletions(-) create mode 100644 src/views/dictionary/template/browser/form.vue create mode 100644 src/views/dictionary/template/browser/index.vue diff --git a/src/api/dictionary.js b/src/api/dictionary.js index 2ea54499..3a45df78 100644 --- a/src/api/dictionary.js +++ b/src/api/dictionary.js @@ -1013,4 +1013,36 @@ export function getTrialSiteList(params) { method: 'post', data: params }) +} + +// 获取版本记录列表 +export function getExploreRecommendList(params) { + return request({ + url: `/ExploreRecommend/getExploreRecommendList`, + method: 'post', + data: params + }) +} +// 新增或修改推荐版本记录 +export function addOrUpdateExploreRecommend(params) { + return request({ + url: `/ExploreRecommend/addOrUpdateExploreRecommend`, + method: 'post', + data: params + }) +} +// 删除推荐版本记录 +export function deleteExploreRecommend(id) { + return request({ + url: `/ExploreRecommend/deleteExploreRecommend/${id}`, + method: 'delete' + }) +} +// 获取推荐版本记录详情 +export function getExploreRecommentInfo(params) { + return request({ + url: `/ExploreRecommend/getExploreRecommentInfo`, + method: 'get', + params + }) } \ No newline at end of file diff --git a/src/views/dictionary/template/browser/form.vue b/src/views/dictionary/template/browser/form.vue new file mode 100644 index 00000000..e7dec9bb --- /dev/null +++ b/src/views/dictionary/template/browser/form.vue @@ -0,0 +1,186 @@ + + \ No newline at end of file diff --git a/src/views/dictionary/template/browser/index.vue b/src/views/dictionary/template/browser/index.vue new file mode 100644 index 00000000..39cf0a29 --- /dev/null +++ b/src/views/dictionary/template/browser/index.vue @@ -0,0 +1,242 @@ + + diff --git a/src/views/dictionary/template/index.vue b/src/views/dictionary/template/index.vue index 78f1aada..c8091fdc 100644 --- a/src/views/dictionary/template/index.vue +++ b/src/views/dictionary/template/index.vue @@ -25,56 +25,68 @@ + + +