From fbca089683cf28e9c0685700e4c4f047ab05d715 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=86=8A=E4=B8=BD=E5=90=9B?= <664953382@qq.com>
Date: Wed, 17 Nov 2021 13:50:02 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=88=9B=E6=96=B0=E6=9C=8D?=
=?UTF-8?q?=E5=8A=A1=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/asdm/partner.js | 24 ++-
src/router/modules/asdmSetting.js | 7 +
src/views/asdm/about/index.vue | 2 +-
src/views/asdm/footer/index.vue | 4 +-
src/views/asdm/innovate/index.vue | 247 ++++++++++++++++++++++++++++++
src/views/asdm/partner/index.vue | 2 +-
src/views/asdm/rotation/index.vue | 10 +-
7 files changed, 287 insertions(+), 9 deletions(-)
create mode 100644 src/views/asdm/innovate/index.vue
diff --git a/src/api/asdm/partner.js b/src/api/asdm/partner.js
index 2e91626..5b101e6 100644
--- a/src/api/asdm/partner.js
+++ b/src/api/asdm/partner.js
@@ -59,4 +59,26 @@ export function updateBottom(data) {
method: 'post',
data
});
-}
\ No newline at end of file
+}
+// 获取科技创新列表
+export function innovateList(params) {
+ return request({
+ url: '/innovate/list',
+ params
+ });
+}
+// 添加/更新科技创新
+export function handleInnovate(data) {
+ return request({
+ url: '/innovate/handle',
+ method: 'post',
+ data
+ });
+}
+// 删除科技创新
+export function innovateDelete(params) {
+ return request({
+ url: '/innovate/delete',
+ params
+ });
+}
diff --git a/src/router/modules/asdmSetting.js b/src/router/modules/asdmSetting.js
index 142be56..174c0a4 100644
--- a/src/router/modules/asdmSetting.js
+++ b/src/router/modules/asdmSetting.js
@@ -14,6 +14,13 @@ const nestedRouter = {
name: 'rotation',
meta: { title: '轮播管理', icon: 'list' }
},
+ {
+ path: 'innovate',
+ component: resolve =>
+ require(['@/views/asdm/innovate/index'], resolve),
+ name: 'innovate',
+ meta: { title: '创新服务', icon: 'list' }
+ },
{
path: 'about',
component: resolve =>
diff --git a/src/views/asdm/about/index.vue b/src/views/asdm/about/index.vue
index 818905a..75eae8d 100644
--- a/src/views/asdm/about/index.vue
+++ b/src/views/asdm/about/index.vue
@@ -10,7 +10,7 @@
>
- ● 建议上传614*345分辨率的照片
+ ● 建议上传614*345分辨率的图片
- ● 建议上传100*100分辨率的照片
+ ● 建议上传100*100分辨率的图片
- ● 建议上传100*100分辨率的照片
+ ● 建议上传100*100分辨率的图片
保存
diff --git a/src/views/asdm/innovate/index.vue b/src/views/asdm/innovate/index.vue
new file mode 100644
index 0000000..f9f2be4
--- /dev/null
+++ b/src/views/asdm/innovate/index.vue
@@ -0,0 +1,247 @@
+
+
+
+
+ 数据列表
+
+ 添加创新
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ● 建议上传295*188分辨率的图片
+
+
+
+
+
+
+
+
diff --git a/src/views/asdm/partner/index.vue b/src/views/asdm/partner/index.vue
index f1e9fbe..222f0d0 100644
--- a/src/views/asdm/partner/index.vue
+++ b/src/views/asdm/partner/index.vue
@@ -78,7 +78,7 @@
- ● 建议上传144*70分辨率的照片
+ ● 建议上传144*70分辨率的图片