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 @@ + + + + + + + + + + + + + + + + + {{ $t("common:button:upload") }} + + + + + + + + + + + + {{ $t("dictionary:browser:button:canel") }} + + + {{ $t("dictionary:browser:button:save") }} + + + + + \ 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 @@ + + + + + + + + + + + + + {{ + $t("dictionary:browser:button:reset") + }} + {{ + $t("dictionary:browser:button:search") + }} + + + + + {{ $t("dictionary:browser:button:add") }} + + + + + + + + + + + + + + + {{ scope.row.FileName }} + + + + + {{ + $fd("IsSiteDisable", scope.row.IsDeleted) + }} + {{ $fd("IsSiteDisable", scope.row.IsDeleted) }} + + + + + + {{ $t("dictionary:browser:button:edit") }} + + + {{ $t("dictionary:browser:button:delete") }} + + + + + + + + + + + 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 @@ + + +