From e1b9658fec29c450c08f4d606ab9611d828420ee Mon Sep 17 00:00:00 2001
From: feiliming <275400898@qq.com>
Date: Tue, 26 Apr 2022 13:57:37 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B4=8B=E6=B5=A6=E5=AD=A6=E6=A0=A1=20?=
=?UTF-8?q?=E6=88=91=E7=9A=84=E5=B7=A5=E4=BD=9C=E5=8F=B0=20=E5=85=AB?=
=?UTF-8?q?=E5=A4=A7=E4=B8=AD=E5=BF=83=20=E7=A4=BE=E5=9B=A2=E5=9B=BE?=
=?UTF-8?q?=E7=89=87=E7=AE=A1=E7=90=86=E6=A8=A1=E5=9D=97=E5=89=8D=E7=AB=AF?=
=?UTF-8?q?=E5=BC=80=E5=8F=91?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../imgTextAdmin/pictureInfo.vue | 2 +
.../servicePlatform/interConfig.js | 51 ++++
.../moralEducation/clubImgInfo.vue | 259 +++++++++++++++++
.../moralEducation/clubImgList.vue | 269 ++++++++++++++++++
.../moralEducation/clubList.vue | 1 -
.../pages/adminCenter/systemConfig.js | 12 +-
6 files changed, 591 insertions(+), 3 deletions(-)
create mode 100644 src/views/screenAdaptation/pages/adminCenter/servicePlatform/moralEducation/clubImgInfo.vue
create mode 100644 src/views/screenAdaptation/pages/adminCenter/servicePlatform/moralEducation/clubImgList.vue
diff --git a/src/views/screenAdaptation/pages/adminCenter/servicePlatform/imgTextAdmin/pictureInfo.vue b/src/views/screenAdaptation/pages/adminCenter/servicePlatform/imgTextAdmin/pictureInfo.vue
index 6646a5d..87273e2 100644
--- a/src/views/screenAdaptation/pages/adminCenter/servicePlatform/imgTextAdmin/pictureInfo.vue
+++ b/src/views/screenAdaptation/pages/adminCenter/servicePlatform/imgTextAdmin/pictureInfo.vue
@@ -129,6 +129,7 @@
content: "",
centered: true
})
+ return
}
if(this.attachmentListJson.length === 0){
Modal.warning({
@@ -136,6 +137,7 @@
content: "",
centered: true
})
+ return
}
let param = {
category_id: this.categoryid,
diff --git a/src/views/screenAdaptation/pages/adminCenter/servicePlatform/interConfig.js b/src/views/screenAdaptation/pages/adminCenter/servicePlatform/interConfig.js
index 9e60bdf..834829a 100644
--- a/src/views/screenAdaptation/pages/adminCenter/servicePlatform/interConfig.js
+++ b/src/views/screenAdaptation/pages/adminCenter/servicePlatform/interConfig.js
@@ -815,5 +815,56 @@ const InterfaceConfig = {
method: 'post',
isTestLogin: true,
},
+
+ /*
+ * 社团图片列表-分页
+ "bureau_id":"必填 int 机构id"
+ "club_id":"必填 int 社团id"
+ "page_number":"非必填 number 【当前页码】"
+ "page_size":"非必填 number 【每页条数】"
+ * */
+ "getClubPictureList":{
+ url: 'intellioa/center/club/listPicture',
+ method: 'get',
+ isTestLogin: true,
+ },
+ /*
+ * 新增社团图片(批量选择图片,保存为多个条目
+ "club_id":"社团信息id,number,必填;"
+ "attachment_list_json":"必填 附件对象 对象列表属性,需要JSON.stringify转成json字符串再传,使用以下属性"
+ | [{
+ | "guid": "C6E451C1-AA32-0E3F-3E37-94BE1A544797",
+ | "url_code": "room2.jpg",
+ | "name": "room2.jpg",
+ | "file_id": "C6E451C1-AA32-0E3F-3E37-94BE1A544797",
+ | "resource_format": "jpg",
+ | "resource_title": "room2.jpg",
+ | "resource_type_name": "图片",
+ | "resource_id_int": "210018190",
+ | "id": "o_1fj58vlu1p2e3e91ns31t1k1n7am",
+ | "resource_info_id": "210018578"
+ | }]
+ |
+ "person_id":"必填 int 操作人ID"
+ "identity_id":"必填 int 操作人身份ID"
+ "bureau_id":"必填 int 机构ID"
+ * */
+ "saveClubPicture":{
+ url: 'intellioa/center/club/savePicture',
+ method: 'post',
+ isTestLogin: true,
+ },
+
+ /*
+ * 删除社团图片
+ "picture_ids":"图片ids,string,必填,批量删除时以英文逗号分隔"
+ "club_id":"必填 int 社团id"
+ "bureau_id":"必填 int 机构ID"
+ * */
+ "deleteClubPicture":{
+ url: 'intellioa/center/club/deletePicture',
+ method: 'post',
+ isTestLogin: true,
+ },
};
export default InterfaceConfig;
diff --git a/src/views/screenAdaptation/pages/adminCenter/servicePlatform/moralEducation/clubImgInfo.vue b/src/views/screenAdaptation/pages/adminCenter/servicePlatform/moralEducation/clubImgInfo.vue
new file mode 100644
index 0000000..7df3799
--- /dev/null
+++ b/src/views/screenAdaptation/pages/adminCenter/servicePlatform/moralEducation/clubImgInfo.vue
@@ -0,0 +1,259 @@
+
+
+
+
+
*选择社团:
+
+
+
+ {{ item.club_name }}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/screenAdaptation/pages/adminCenter/servicePlatform/moralEducation/clubImgList.vue b/src/views/screenAdaptation/pages/adminCenter/servicePlatform/moralEducation/clubImgList.vue
new file mode 100644
index 0000000..3569b01
--- /dev/null
+++ b/src/views/screenAdaptation/pages/adminCenter/servicePlatform/moralEducation/clubImgList.vue
@@ -0,0 +1,269 @@
+
+
+
+
+
+
+ {{ item.club_name }}
+
+
+
新增
+
+
+
+
+
+
+ 删除
+
+
+
+
+
+ 是否确定删除此条信息?
+
+
+
+
+
+
+
+
diff --git a/src/views/screenAdaptation/pages/adminCenter/servicePlatform/moralEducation/clubList.vue b/src/views/screenAdaptation/pages/adminCenter/servicePlatform/moralEducation/clubList.vue
index 0a847f0..38a8bce 100644
--- a/src/views/screenAdaptation/pages/adminCenter/servicePlatform/moralEducation/clubList.vue
+++ b/src/views/screenAdaptation/pages/adminCenter/servicePlatform/moralEducation/clubList.vue
@@ -92,7 +92,6 @@
this.getClubList();
},
getClubList: function () {
- console.log("getClubList")
let param = {
bureau_id: this.BaseConfig.person_info_my.bureau_id,
club_name: this.clubName,
diff --git a/src/views/screenAdaptation/pages/adminCenter/systemConfig.js b/src/views/screenAdaptation/pages/adminCenter/systemConfig.js
index 18fc82c..b88a067 100644
--- a/src/views/screenAdaptation/pages/adminCenter/systemConfig.js
+++ b/src/views/screenAdaptation/pages/adminCenter/systemConfig.js
@@ -278,11 +278,19 @@ export const systemCenterConfig = [
{
id:"moralEducation-2-1",
title:"社团管理",
- path:'/workBench/servicePlatform/moralEducationAssociation/:id/:name/:menuId',
- name:'moralEducationAssociation',
+ path:'/workBench/servicePlatform/moralEducationClub/:id/:name/:menuId',
+ name:'moralEducationClub',
component:() => import("./servicePlatform/moralEducation/clubList.vue"),
props:true,
},
+ {
+ id:"moralEducation-2-2",
+ title:"社团图片管理",
+ path:'/workBench/servicePlatform/moralEducationClubImg/:id/:name/:menuId',
+ name:'moralEducationClubImg',
+ component:() => import("./servicePlatform/moralEducation/clubImgList.vue"),
+ props:true,
+ },
]
},
]