From 31d3bcf071db94dc62e764fc57cff6ed2fbbb9d8 Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Tue, 8 Oct 2024 16:30:04 +0800 Subject: [PATCH] =?UTF-8?q?task#15348,=E5=88=97=E8=A1=A8=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E6=9B=B4=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mine.js | 22 ++++++++- src/styles/docment.scss | 10 ++-- src/views/documentView/docmentList.vue | 62 ++++++++++++++----------- src/views/documentView/trainDocment.vue | 60 +++++++++++++----------- 4 files changed, 92 insertions(+), 62 deletions(-) diff --git a/src/api/mine.js b/src/api/mine.js index 835514eb..64d9c9fb 100644 --- a/src/api/mine.js +++ b/src/api/mine.js @@ -162,14 +162,32 @@ export function notifyInvoiceDetail(data){ data }) } -// /supplier/supplierTrainingMaterials/pageList 获取培训材料列表 -export function pageList(data){ +// 获取培训材料列表 +/*export function pageList(data){ return request({ url:'/supplierAppV2/dispatchApp/user/supplierTrainingMaterialsPageList', method:'POST', contentType:'application/json', data }) +}*/ + + +//获取普通材料 +export function getNormalList(key) { + return request({ + url: '/supplier/supplierTraining/normalList', + method: 'GET', + params:key + }); +} +//获取培训材料 +export function getTrainingList(key) { + return request({ + url: '/supplier/supplierTraining/trainingList', + method: 'GET', + params:key + }); } //用户操作权限 export function userOperationPermissions(){ diff --git a/src/styles/docment.scss b/src/styles/docment.scss index 0462ac9b..901886c5 100644 --- a/src/styles/docment.scss +++ b/src/styles/docment.scss @@ -58,19 +58,15 @@ .common{ margin: 0 15px ; } + .time{ + color: rgba(0,0,0,0.7); + } .imgWrap{ @include wh(100%,200px); position: relative; img{ @include wh(100%,100%); } - /* .name{ - position: absolute; - left: 30px; - bottom: 30px; - @include fontWeightSize(bold,14px); - color: #FFFFFF; - }*/ } .left{ color: red; diff --git a/src/views/documentView/docmentList.vue b/src/views/documentView/docmentList.vue index b882ae15..89aae2a0 100644 --- a/src/views/documentView/docmentList.vue +++ b/src/views/documentView/docmentList.vue @@ -11,7 +11,7 @@ >