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 @@ + + + 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分辨率的图片 diff --git a/src/views/asdm/rotation/index.vue b/src/views/asdm/rotation/index.vue index ec2c4cf..6d02da1 100644 --- a/src/views/asdm/rotation/index.vue +++ b/src/views/asdm/rotation/index.vue @@ -77,6 +77,10 @@