From bf06f12f9ee290326c4e2b19403a1763efe7e3be Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Tue, 19 Aug 2025 15:20:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E5=AD=97=E5=A4=A7=E5=B1=8F=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/inquiryMachine/index.js | 83 ++++ src/assets/styles/digitalScreen.scss | 2 +- src/main.js | 5 + src/views/digitalScreen/index.vue | 154 +++++-- src/views/digitalScreen/module/advSetting.vue | 10 +- .../digitalScreen/module/areaSetting.vue | 17 +- .../digitalScreen/module/bookRecommend.vue | 15 +- src/views/inquiryMachine/column.vue | 276 ++++++++++++ src/views/inquiryMachine/content.vue | 412 ++++++++++++++++++ 9 files changed, 910 insertions(+), 64 deletions(-) create mode 100644 src/api/inquiryMachine/index.js create mode 100644 src/views/inquiryMachine/column.vue create mode 100644 src/views/inquiryMachine/content.vue diff --git a/src/api/inquiryMachine/index.js b/src/api/inquiryMachine/index.js new file mode 100644 index 0000000..c7119e2 --- /dev/null +++ b/src/api/inquiryMachine/index.js @@ -0,0 +1,83 @@ +import request from '@/utils/request' + +export function FetchInitFondsList(params) { + return request({ + url: 'api/fonds/initFondsList', + method: 'get', + params + }) +} + +export function add(data) { + return request({ + url: 'api/fonds/editFonds', + method: 'post', + data + }) +} + +export function edit(data) { + return request({ + url: 'api/fonds/editFonds', + method: 'post', + data + }) +} + +export function del(data) { + return request({ + url: 'api/fonds/delFonds', + method: 'post', + data + }) +} + +export function FetchUpdateFondsStatus(data) { + return request({ + url: 'api/fonds/updateFondsStatus', + method: 'post', + data + }) +} + +export function FetchDownload(params) { + return request({ + url: 'api/fonds/download', + method: 'get', + params + }) +} + +export function FetchFondsAll() { + return request({ + url: 'api/fonds/getFondsAll', + method: 'get' + }) +} + +export function FetchFondsCategory(data) { + return request({ + url: 'api/fonds/fondsCategory', + method: 'post', + data + }) +} + +export function FetchFondsDetail(params) { + return request({ + url: 'api/fonds/getFondsDetail', + method: 'get', + params + }) +} + +// 根据门类和档案id获取显示全宗 +export function FetchInitFondsByCategoryIdAndArchivesId(params) { + return request({ + url: 'api/fonds/initFondsByCategoryIdAndArchivesId', + method: 'get', + params + }) +} + +export default { add, edit, del, FetchInitFondsList, FetchUpdateFondsStatus, FetchDownload, FetchFondsCategory, FetchFondsDetail, FetchInitFondsByCategoryIdAndArchivesId } diff --git a/src/assets/styles/digitalScreen.scss b/src/assets/styles/digitalScreen.scss index b4e7ce0..c16944c 100644 --- a/src/assets/styles/digitalScreen.scss +++ b/src/assets/styles/digitalScreen.scss @@ -229,7 +229,7 @@ display: flex; align-items: center; justify-content: center; - cursor: default; + cursor: pointer; transition: all 0.2s; z-index: 10; .iconfont{ diff --git a/src/main.js b/src/main.js index aa483c4..67eb966 100644 --- a/src/main.js +++ b/src/main.js @@ -70,6 +70,11 @@ Vue.directive('removeAriaHidden', { import VueCropper from 'vue-cropper' Vue.use(VueCropper) +import mavonEditor from 'mavon-editor' +import 'mavon-editor/dist/css/index.css' + +Vue.use(mavonEditor) + Vue.use(uploader) Vue.use(checkPer) Vue.use(VueHighlightJS) diff --git a/src/views/digitalScreen/index.vue b/src/views/digitalScreen/index.vue index 8cc4cad..0dbcb8e 100644 --- a/src/views/digitalScreen/index.vue +++ b/src/views/digitalScreen/index.vue @@ -3,9 +3,11 @@

大屏标题

- - {{ screen_title }} - + + + {{ screen_title }} + +
@@ -84,40 +86,52 @@ - - {{ librarySettingForm.visit_base }} - + + + {{ librarySettingForm.visit_base }} + + - - {{ librarySettingForm.last_year_visit_base }} - + + + {{ librarySettingForm.last_year_visit_base }} + + - - {{ librarySettingForm.today_visit }} + + + {{ librarySettingForm.today_visit }} + - {{ librarySettingForm.yesterday_visit }} + + {{ librarySettingForm.yesterday_visit }} + - - {{ librarySettingForm.this_month_visit }} - + + + {{ librarySettingForm.this_month_visit }} + + - - {{ librarySettingForm.last_month_visit }} - + + + {{ librarySettingForm.last_month_visit }} + + @@ -134,13 +148,21 @@ - - {{ openForm.open_lib_http }} - + + {{ openForm.open_lib_http }} + + + - - {{ openForm.open_lib_appId }} - + + {{ openForm.open_lib_appId }} + + - - {{ openForm.open_lib_secret }} - + + {{ openForm.open_lib_secret }} + + - - {{ hotForm.hot_search_http }} - + + {{ hotForm.hot_search_http }} + + - - {{ vxForm.vx_appID }} - + + {{ vxForm.vx_appID }} + + - - {{ vxForm.vx_AppSecret }} - + + {{ vxForm.vx_AppSecret }} + + 播放设置 -
- {{ advForm.welcome_play || '' }} - -
+ +
+ {{ advForm.welcome_play || '' }} + +
+
diff --git a/src/views/digitalScreen/module/areaSetting.vue b/src/views/digitalScreen/module/areaSetting.vue index d797c83..57566c3 100644 --- a/src/views/digitalScreen/module/areaSetting.vue +++ b/src/views/digitalScreen/module/areaSetting.vue @@ -5,14 +5,15 @@ 地图DataV - - {{ areaForm.map_data || '' }} - + + + {{ areaForm.map_data || '' }} + + - 图书封面 + +
+ 图书封面 +
+
+ +
+
-
+
diff --git a/src/views/inquiryMachine/column.vue b/src/views/inquiryMachine/column.vue new file mode 100644 index 0000000..1b96e52 --- /dev/null +++ b/src/views/inquiryMachine/column.vue @@ -0,0 +1,276 @@ + + + + + diff --git a/src/views/inquiryMachine/content.vue b/src/views/inquiryMachine/content.vue new file mode 100644 index 0000000..28b3f68 --- /dev/null +++ b/src/views/inquiryMachine/content.vue @@ -0,0 +1,412 @@ + + + + +