From bf1fa019d5567060ce560317c558645e57186c21 Mon Sep 17 00:00:00 2001 From: lixg Date: Wed, 1 Feb 2023 10:01:29 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=A2=9E=E5=8A=A0=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=BB=93=E5=BA=93=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/api.js | 4 +- src/assets/image/file/file.png | Bin 0 -> 495 bytes src/assets/image/file/pngpic.png | Bin 0 -> 1036 bytes src/components/ReturnHead.vue | 28 ++- src/views/filestorag/fileStorag.vue | 195 ++++++++++++-------- src/views/pathmap/LevelList.vue | 8 +- src/views/projectdetails/ProjectPath.vue | 4 +- src/views/projectdetails/projectDetails.vue | 6 +- 8 files changed, 158 insertions(+), 87 deletions(-) create mode 100644 src/assets/image/file/file.png create mode 100644 src/assets/image/file/pngpic.png diff --git a/src/api/api.js b/src/api/api.js index 4213a66..821f1ef 100644 --- a/src/api/api.js +++ b/src/api/api.js @@ -2,7 +2,7 @@ * @Author: lixg lixg@dongwu-inc.com * @Date: 2023-01-13 11:42:48 * @LastEditors: lixg lixg@dongwu-inc.com - * @LastEditTime: 2023-01-29 18:02:48 + * @LastEditTime: 2023-01-31 17:32:26 * @FilePath: /stu_h5/src/api/api.js * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE */ @@ -41,4 +41,4 @@ export const FILE_UPLOAD_ANNEX = import.meta.env.VITE_BASE_API + '/file/uploadFi export const ROUTER_DETAILS = '/admin/router/detail' export const TASK_LIST = '/stu/tasks' export const ONLINE_PROCESS = '/onlineClasses/queryOnlineClassesStudyDetail post' -export const PROJECT_PROCESS = '/stu/project/process' \ No newline at end of file +export const PROJECT_PROCESS = '/stu/project/process' diff --git a/src/assets/image/file/file.png b/src/assets/image/file/file.png new file mode 100644 index 0000000000000000000000000000000000000000..f7cd5e37d0d6c873f1dbd8e902d6332bb5a6e6e8 GIT binary patch literal 495 zcmV?(n00001b5ch_0Itp) z=>Px$sYygZR9Hvtm_17aK@f)DxeK`@8Z-z(Fq$ZVsFfgyf=%!TSO`L}(MIfSRV=j7 z+Fu}oML@99IyNGHG*Bm=9?>;*-#SmYuB=CH) zj@SDkkXc3}!8H@)Eg(34hS2m94a{X4NpIvVakBdbg=`m00NhCG$61+E1u(q0gPw_1 z>R%8|sQj5iyo(Bqy3OW88tsVW5J^m8bo;h>q3@X+M6_9xe~I@X30RKBD*&RiN%+DU zpzLz2Ck3j)gYe8Tf`ODeqf%IwK{Ms^+pXkljcu)|HL3*T47FKbkQVJRn}$~4u5 zD#V9=0k37j?NG$vQ7UfU^Jq002ovPDHLkV1mC=*%<%; literal 0 HcmV?d00001 diff --git a/src/assets/image/file/pngpic.png b/src/assets/image/file/pngpic.png new file mode 100644 index 0000000000000000000000000000000000000000..45976d8278cfa9bab9182f1452e4ee951392c41c GIT binary patch literal 1036 zcmV+n1oQieP)Px&#z{m$RA@u(nQcg0R~X0tC%HGy#MfDCQ$?4?xPB;ewNRS zhI2aCu@|;4D-^~C+o#eYm4Z~O6}A?}HYsH?h88JZv2`fS)@3?hqB3h zNbPX*kG(;E^*he;kyy}%0A`S3Dlg27r0ndz;>oR`4Fk*|14?*m&Low5m{;z78nmH+ z8KhqhkNTyQqb)91a5HGb0W-)ISsHB0FR3Dg{AWQhBrttOE&V_vS?;dauZ~?wp*VED0{OzGbX#9zq` zIP&$%GWI9gkS-=cjKgi8A}w+SUh_2^mLMxiY@2z_;kd}25@ZO6)eIm3ti~-Zu?dH@ zxTYp2;jkLFw8U=daFWRkcSf!j-Du9}$~?Rwzb=iqkC!HFw-p$@5n1c0aOCmyYuB$R3MlJ$SqMwe(!oo!}LEibrZ4PA{?gx0000 @@ -23,6 +23,14 @@ />
发布
+
+ +
+
@@ -40,6 +48,14 @@ export default { type: Function, default: null, }, + showfile: { + type: Boolean, + default: false, + }, + courseId: { + type: Number, + default: null, + }, }, setup(props, ctx) { const router = useRouter(); @@ -49,9 +65,19 @@ export default { const publishClick = () => { props.publishWork && props.publishWork(); }; + const goFileStorage = () => { + console.log("props.courseId", props.courseId); + router.push({ + path: "/fileStorag", + query: { + courseId: props.courseId, + }, + }); + }; return { returnclick, publishClick, + goFileStorage, }; }, }; diff --git a/src/views/filestorag/fileStorag.vue b/src/views/filestorag/fileStorag.vue index 0d51ee6..0344d17 100644 --- a/src/views/filestorag/fileStorag.vue +++ b/src/views/filestorag/fileStorag.vue @@ -1,93 +1,130 @@ + - \ No newline at end of file diff --git a/src/views/pathmap/LevelList.vue b/src/views/pathmap/LevelList.vue index 0e35068..e0dfec9 100644 --- a/src/views/pathmap/LevelList.vue +++ b/src/views/pathmap/LevelList.vue @@ -2,13 +2,17 @@ * @Author: lixg lixg@dongwu-inc.com * @Date: 2023-01-19 14:59:34 * @LastEditors: lixg lixg@dongwu-inc.com - * @LastEditTime: 2023-01-19 18:59:50 + * @LastEditTime: 2023-01-31 17:17:37 * @FilePath: /stu_h5/src/views/pathmap/LevelList.vue * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE -->