diff --git a/.env.development b/.env.development index 40bd065d..1f501daa 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 国网安徽经研院绿智食堂 +VUE_APP_TITLE = 绿智食堂 # 开发环境配置 ENV = 'development' diff --git a/.env.production b/.env.production index ef2a9a77..49e9f2cd 100644 --- a/.env.production +++ b/.env.production @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 国网安徽经研院绿智食堂 +VUE_APP_TITLE = 绿智食堂 # 生产环境配置 ENV = 'production' diff --git a/.env.staging b/.env.staging index 4738afe1..134b77cf 100644 --- a/.env.staging +++ b/.env.staging @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 国网安徽经研院绿智食堂 +VUE_APP_TITLE = 绿智食堂 NODE_ENV = production diff --git a/package.json b/package.json index eef04c86..a48ffbad 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "bonus", "version": "3.6.4", - "description": "国网安徽经研院绿智食堂", + "description": "绿智食堂", "author": "博诺思", "license": "MIT", "scripts": { diff --git a/src/api/base/mobile.js b/src/api/base/mobile.js index d118ffcc..65db8617 100644 --- a/src/api/base/mobile.js +++ b/src/api/base/mobile.js @@ -31,11 +31,11 @@ import request from '@/utils/request' export function getCarouselListApi(data) { return request({ url: '/smart-canteen/android/baseSetting/getCarouselImage', - method: 'post', + method: 'get', headers: { "merchant-id":"378915229716713472", }, - data: data + params: data }) } diff --git a/src/api/healthCenter/index.js b/src/api/healthCenter/index.js new file mode 100644 index 00000000..bfbec0f9 --- /dev/null +++ b/src/api/healthCenter/index.js @@ -0,0 +1,147 @@ +import request from '@/utils/request' + +// 分页查询 营养科普-列表 +export function getHealthSciencePageApi(data) { + return request({ + url: '/smart-canteen/health_popular_science/list', + method: 'get', + headers: { + "merchant-id":"378915229716713472", + }, + params:data + }) +} + +// 营养科普-新增 +export function addHealthScienceApi(data) { + return request({ + url: '/smart-canteen/health_popular_science', + method: 'post', + headers: { + "merchant-id":"378915229716713472", + }, + data: data + }) +} + +// 营养科普-编辑 +export function editHealthScienceApi(data) { + return request({ + url: '/smart-canteen/health_popular_science/edit', + method: 'post', + headers: { + "merchant-id":"378915229716713472", + }, + data: data + }) +} + +// 营养科普-删除 +export function delHealthScienceApi(Id) { + return request({ + url: '/smart-canteen/health_popular_science/del/'+Id, + method: 'post', + headers: { + "merchant-id":"378915229716713472", + } + }) +} + + +// 获取慢性病字典-下拉 +export function dictHealthChronicApi(data) { + return request({ + url: '/smart-canteen/health/chronic/dict-health-chronic', + method: 'post', + headers: { + "merchant-id":"378915229716713472", + }, + data: data + }) +} + +// 分页查询 慢性病 列表 +export function getChronicPageApi(data) { + return request({ + url: '/smart-canteen/health_chronic/list', + method: 'get', + headers: { + "merchant-id":"378915229716713472", + }, + params:data + }) +} +// 慢性病-新增 +export function addChronicApi(data) { + return request({ + url: '/smart-canteen/health_chronic', + method: 'post', + headers: { + "merchant-id":"378915229716713472", + }, + data: data + }) +} +// 慢性病-更新 +export function editChronicApi(data) { + return request({ + url: '/smart-canteen/health_chronic/edit', + method: 'post', + headers: { + "merchant-id":"378915229716713472", + }, + data: data + }) +} +// 慢性病-更新 +export function delChronicApi(Id) { + return request({ + url: '/smart-canteen/health_chronic/del/'+Id, + method: 'post', + headers: { + "merchant-id":"378915229716713472", + } + }) +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/base/mobile/bannerList/index.vue b/src/views/base/mobile/bannerList/index.vue index cf27e2af..0d8de765 100644 --- a/src/views/base/mobile/bannerList/index.vue +++ b/src/views/base/mobile/bannerList/index.vue @@ -24,6 +24,11 @@ + + + @@ -210,13 +215,13 @@ export default { getList() { this.loading = true; let param = { - // "pageNum": this.queryParams.pageNum, - // "pageSize": this.queryParams.pageSize, - "imageName": this.queryParams.imageName + "pageNum": this.queryParams.pageNum, + "pageSize": this.queryParams.pageSize, + "imageName": this.queryParams.imageName } getCarouselListApi(param).then(response => { - this.tableListData = response.data; - // this.total = Number(response.total); + this.tableListData = response.rows; + this.total = Number(response.total); this.loading = false; }); }, @@ -279,12 +284,12 @@ export default { id:row.id, imageName:row.imageName, externalUrl:row.externalUrl, - imageUrl:row.imageUrl, + imageUrl:row.imageUrl, } if(row.isEnabled==0){ - param.isEnabled=2 + param.isEnabled='2' }else{ - param.isEnabled=0 + param.isEnabled='0' } console.log(param) updateCarouselApi(param).then(response => { diff --git a/src/views/base/mobile/complaint/index.vue b/src/views/base/mobile/complaint/index.vue index ff08d227..9b81e41f 100644 --- a/src/views/base/mobile/complaint/index.vue +++ b/src/views/base/mobile/complaint/index.vue @@ -54,7 +54,12 @@ - + + + + diff --git a/src/views/healthCenter/chronicDisease/index.vue b/src/views/healthCenter/chronicDisease/index.vue new file mode 100644 index 00000000..e7cc7b6f --- /dev/null +++ b/src/views/healthCenter/chronicDisease/index.vue @@ -0,0 +1,234 @@ + + + + diff --git a/src/views/healthCenter/nutritionScience/index.vue b/src/views/healthCenter/nutritionScience/index.vue new file mode 100644 index 00000000..e9f2dafb --- /dev/null +++ b/src/views/healthCenter/nutritionScience/index.vue @@ -0,0 +1,465 @@ + + + + diff --git a/src/views/index.vue b/src/views/index.vue index d4596178..3a8269d1 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -2,7 +2,7 @@
-

国网安徽经研院绿智食堂

+

绿智食堂

当前版本: v{{ version }}

diff --git a/src/views/login.vue b/src/views/login.vue index 4013ceff..15baca00 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -1,7 +1,7 @@