From b53cfa35f52e882bb71935a407baad570160b521 Mon Sep 17 00:00:00 2001
From: gongdi <410827992@qq.com>
Date: Sun, 27 Mar 2022 22:40:28 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B4=8B=E6=B5=A6=E5=AD=A6=E6=A0=A1=20?=
=?UTF-8?q?=E8=8D=A3=E8=AA=89=E7=AE=A1=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../servicePlatform/honor/honorInfo.vue | 51 ++++++++---
.../servicePlatform/honor/honorList.vue | 86 +++++++++++++++----
.../servicePlatform/interConfig.js | 29 ++++++-
3 files changed, 134 insertions(+), 32 deletions(-)
diff --git a/src/views/screenAdaptation/pages/adminCenter/servicePlatform/honor/honorInfo.vue b/src/views/screenAdaptation/pages/adminCenter/servicePlatform/honor/honorInfo.vue
index d1ebab1..4f1af21 100644
--- a/src/views/screenAdaptation/pages/adminCenter/servicePlatform/honor/honorInfo.vue
+++ b/src/views/screenAdaptation/pages/adminCenter/servicePlatform/honor/honorInfo.vue
@@ -37,7 +37,8 @@
取消
-
{
+ let resData = result[0].data;
+ if (resData.code === 2000) {
+ this.categoryList.push(...resData.data);
+ console.log(this.categoryList);
+ }
+ })
+ },
categoryChange: function (value) {
if (this.categoryId !== value) {
this.categoryId = value;
}
},
showChoose: function () {
- if(this.category === 5){
+ if (this.category === 5) {
this.showPeoplePanel = true;
- }else if(this.category === 6){
+ } else if (this.category === 6) {
this.showStudentPanel = true;
}
},
diff --git a/src/views/screenAdaptation/pages/adminCenter/servicePlatform/honor/honorList.vue b/src/views/screenAdaptation/pages/adminCenter/servicePlatform/honor/honorList.vue
index c0aa583..a18abc5 100644
--- a/src/views/screenAdaptation/pages/adminCenter/servicePlatform/honor/honorList.vue
+++ b/src/views/screenAdaptation/pages/adminCenter/servicePlatform/honor/honorList.vue
@@ -10,7 +10,16 @@
新增
+
+
+
+ 查看
+
删除
@@ -26,6 +35,7 @@
@cancel="handleCancel">
是否确定删除此条信息?
+
@@ -33,8 +43,9 @@
diff --git a/src/views/screenAdaptation/pages/adminCenter/servicePlatform/interConfig.js b/src/views/screenAdaptation/pages/adminCenter/servicePlatform/interConfig.js
index 6b012ef..f29898e 100644
--- a/src/views/screenAdaptation/pages/adminCenter/servicePlatform/interConfig.js
+++ b/src/views/screenAdaptation/pages/adminCenter/servicePlatform/interConfig.js
@@ -246,18 +246,41 @@ const InterfaceConfig = {
},
/*
- * 分类列表-分页
- * "bureau_id":"必填 int 机构id"
+ * 查看师生荣誉信息
+ * "honor_id": "必填 number【荣誉id】"
+ * */
+ "viewHonor":{
+ url: 'intellioa/center/honor/view',
+ method: 'get',
+ isTestLogin: true,
+ },
+
+ /*
+ * 分类列表-分页
+ * "bureau_id":"必填 int 机构id"
"category_type":"必填 int 分类类型(参考分类字典约定:例如:1-图文,2-图片,3-文档等)"
"page_number":"非必填 number 【当前页码】"
*
- * */
+ * */
"getCategoryList":{
url: 'intellioa/center/category/list',
method: 'get',
isTestLogin: true,
},
+ /*
+ * 分类列表-不分页
+ * "bureau_id":"必填 int 机构id"
+ "category_type":"必填 int 分类类型(参考分类字典约定:例如:1-图文,2-图片,3-文档等)"
+ "page_number":"非必填 number 【当前页码】"
+ *
+ * */
+ "getCategories":{
+ url: 'intellioa/center/category/categories',
+ method: 'get',
+ isTestLogin: true,
+ },
+
/*
* 新增、编辑保存分类
* "category_type":"必填 int 分类类型(参考分类字典约定:例如:1-图文,2-图片,3-文档等)"