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-文档等)"