Merge branch 'zcwy-master' into 'master'

Zcwy master

See merge request !102
This commit is contained in:
joshen
2024-04-16 16:02:27 +08:00
9 changed files with 137 additions and 55 deletions

View File

@@ -1,6 +1,8 @@
<template> <template>
<div id="app"> <div id="app">
<router-view /> <keep-alive :include="['case']">
<router-view />
</keep-alive>
</div> </div>
</template> </template>

View File

@@ -148,7 +148,10 @@
内容涵盖领导力市场营销职场技能财务知识法律常识人力资源经典国学人文社科 内容涵盖领导力市场营销职场技能财务知识法律常识人力资源经典国学人文社科
</div> </div>
</div> </div>
<div class="cyl" @click="cylClick"> <div class="text_msg">
创新力专区课程版权已到期
</div>
<!-- <div class="cyl" @click="cylClick">
<div class="tyl_title"> <div class="tyl_title">
<img <img
src="../../../assets/images/cyl.png" src="../../../assets/images/cyl.png"
@@ -162,7 +165,7 @@
内容涵盖组合创新单点破局错位竞争分形创新第二曲线数字化元宇宙<br/> 内容涵盖组合创新单点破局错位竞争分形创新第二曲线数字化元宇宙<br/>
创新力专区课程版权将于2024年4月16日到期逾期将无法继续访问请尽快完成学习 创新力专区课程版权将于2024年4月16日到期逾期将无法继续访问请尽快完成学习
</div> </div>
</div> </div> -->
</div> </div>
</div> </div>
</div> </div>
@@ -335,7 +338,7 @@ export default {
} }
.ClassBoxContent { .ClassBoxContent {
width: 100%; width: 100%;
height: 456px; height: 396px;
// background: red; // background: red;
border-radius: 15px; border-radius: 15px;
.ContentBox { .ContentBox {
@@ -351,6 +354,7 @@ export default {
.left { .left {
padding-left: 30px; padding-left: 30px;
width: 48%; width: 48%;
margin-top: -32px;
.title { .title {
width: 200px; width: 200px;
height: 59px; height: 59px;
@@ -393,7 +397,7 @@ export default {
box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.1); box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.1);
border-radius: 4px; border-radius: 4px;
height: 160px; height: 160px;
margin-top: 83px; margin-top: 163px;
.tyl_title { .tyl_title {
width: 100%; width: 100%;
padding-left: 20px; padding-left: 20px;
@@ -431,6 +435,11 @@ export default {
border: 0.96px solid rgba(140, 105, 242, 1); border: 0.96px solid rgba(140, 105, 242, 1);
box-shadow: 7px 5px 6px 0px rgba(76, 31, 221, 0.3); box-shadow: 7px 5px 6px 0px rgba(76, 31, 221, 0.3);
} }
.text_msg{
margin: 43px 0 0 222px;
font-size: 14px;
color: #000;
}
.cyl { .cyl {
cursor: pointer; cursor: pointer;
width: calc(100% - 20px); width: calc(100% - 20px);
@@ -480,6 +489,7 @@ export default {
} }
.img { .img {
width: 835px; width: 835px;
height: 428px;
margin-left: -1px; margin-left: -1px;
margin-top: -1px; margin-top: -1px;
position: absolute; position: absolute;

View File

@@ -981,7 +981,10 @@
内容涵盖领导力市场营销职场技能财务知识法律常识人力资源经典国学人文社科 内容涵盖领导力市场营销职场技能财务知识法律常识人力资源经典国学人文社科
</div> </div>
</div> </div>
<div class="cyl" @click="cylClick"> <div class="text_msg">
创新力专区课程版权已到期
</div>
<!-- <div class="cyl" @click="cylClick">
<div class="tyl_title"> <div class="tyl_title">
<img <img
src="../assets/images/cyl.png" src="../assets/images/cyl.png"
@@ -995,7 +998,7 @@
内容涵盖组合创新单点破局错位竞争分形创新第二曲线数字化元宇宙<br/> 内容涵盖组合创新单点破局错位竞争分形创新第二曲线数字化元宇宙<br/>
创新力专区课程版权将于2024年4月16日到期逾期将无法继续访问请尽快完成学习 创新力专区课程版权将于2024年4月16日到期逾期将无法继续访问请尽快完成学习
</div> </div>
</div> </div> -->
</div> </div>
</div> </div>
</div> </div>
@@ -1761,7 +1764,7 @@ export default {
} }
.ClassBoxContent { .ClassBoxContent {
width: 100%; width: 100%;
height: 456px; height: 396px;
// background: red; // background: red;
border-radius: 15px; border-radius: 15px;
.ContentBox { .ContentBox {
@@ -1777,6 +1780,7 @@ export default {
.left { .left {
padding-left: 30px; padding-left: 30px;
width: 48%; width: 48%;
margin-top: -32px;
.title { .title {
width: 200px; width: 200px;
height: 59px; height: 59px;
@@ -1819,7 +1823,7 @@ export default {
box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.1); box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.1);
border-radius: 4px; border-radius: 4px;
height: 160px; height: 160px;
margin-top: 83px; margin-top: 163px;
.tyl_title { .tyl_title {
width: 100%; width: 100%;
padding-left: 20px; padding-left: 20px;
@@ -1857,6 +1861,11 @@ export default {
border: 0.96px solid rgba(140, 105, 242, 1); border: 0.96px solid rgba(140, 105, 242, 1);
box-shadow: 7px 5px 6px 0px rgba(76, 31, 221, 0.3); box-shadow: 7px 5px 6px 0px rgba(76, 31, 221, 0.3);
} }
.text_msg{
margin: 43px 0 0 222px;
font-size: 14px;
color: #000;
}
.cyl { .cyl {
cursor: pointer; cursor: pointer;
width: calc(100% - 20px); width: calc(100% - 20px);
@@ -1906,6 +1915,8 @@ export default {
} }
.img { .img {
width: 835px; width: 835px;
height: 428px;
height: 428px;
margin-left: -1px; margin-left: -1px;
margin-top: -1px; margin-top: -1px;
position: absolute; position: absolute;

View File

@@ -148,7 +148,10 @@
内容涵盖领导力市场营销职场技能财务知识法律常识人力资源经典国学人文社科 内容涵盖领导力市场营销职场技能财务知识法律常识人力资源经典国学人文社科
</div> </div>
</div> </div>
<div class="cylx" @click="cylClick"> <div class="text_msg">
创新力专区课程版权已到期
</div>
<!-- <div class="cylx" @click="cylClick">
<div class="tyl_titlex"> <div class="tyl_titlex">
<img <img
src="../../../assets/images/cyl.png" src="../../../assets/images/cyl.png"
@@ -162,7 +165,7 @@
内容涵盖组合创新单点破局错位竞争分形创新第二曲线数字化元宇宙<br/> 内容涵盖组合创新单点破局错位竞争分形创新第二曲线数字化元宇宙<br/>
创新力专区课程版权将于2024年4月16日到期逾期将无法继续访问请尽快完成学习 创新力专区课程版权将于2024年4月16日到期逾期将无法继续访问请尽快完成学习
</div> </div>
</div> </div> -->
</div> </div>
</div> </div>
</div> </div>
@@ -497,7 +500,7 @@ export default {
} }
.ClassBoxContentx { .ClassBoxContentx {
width: 100%; width: 100%;
height: 456px; height: 396px;
// background: red; // background: red;
border-radius: 15px; border-radius: 15px;
.ContentBoxx { .ContentBoxx {
@@ -513,6 +516,7 @@ export default {
.leftBox { .leftBox {
padding-left: 30px; padding-left: 30px;
width: 48%; width: 48%;
margin-top: -32px;
.titlex { .titlex {
width: 200px; width: 200px;
height: 59px; height: 59px;
@@ -555,7 +559,7 @@ export default {
box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.1); box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.1);
border-radius: 4px; border-radius: 4px;
height: 160px; height: 160px;
margin-top: 83px; margin-top: 163px;
.tyl_titlex { .tyl_titlex {
width: 100%; width: 100%;
padding-left: 20px; padding-left: 20px;
@@ -593,6 +597,11 @@ export default {
border: 0.96px solid rgba(140, 105, 242, 1); border: 0.96px solid rgba(140, 105, 242, 1);
box-shadow: 7px 5px 6px 0px rgba(76, 31, 221, 0.3); box-shadow: 7px 5px 6px 0px rgba(76, 31, 221, 0.3);
} }
.text_msg{
margin: 43px 0 0 222px;
font-size: 14px;
color: #000;
}
.cylx { .cylx {
cursor: pointer; cursor: pointer;
width: calc(100% - 20px); width: calc(100% - 20px);
@@ -642,6 +651,7 @@ export default {
} }
.imgx { .imgx {
width: 835px; width: 835px;
height: 428px;
margin-left: -1px; margin-left: -1px;
margin-top: -1px; margin-top: -1px;
position: absolute; position: absolute;

View File

@@ -349,7 +349,10 @@
内容涵盖领导力市场营销职场技能财务知识法律常识人力资源经典国学人文社科 内容涵盖领导力市场营销职场技能财务知识法律常识人力资源经典国学人文社科
</div> </div>
</div> </div>
<div class="cyl" @click="cylClick"> <div class="text_msg">
创新力专区课程版权已到期
</div>
<!-- <div class="cyl" @click="cylClick">
<div class="tyl_title"> <div class="tyl_title">
<img src="../../../assets/images/cyl.png" alt="" class="tyl_title_img" /> <img src="../../../assets/images/cyl.png" alt="" class="tyl_title_img" />
<span class="tyl_title_msg">创新力专区</span> <span class="tyl_title_msg">创新力专区</span>
@@ -359,7 +362,7 @@
内容涵盖组合创新单点破局错位竞争分形创新第二曲线数字化元宇宙<br/> 内容涵盖组合创新单点破局错位竞争分形创新第二曲线数字化元宇宙<br/>
创新力专区课程版权将于2024年4月16日到期逾期将无法继续访问请尽快完成学习 创新力专区课程版权将于2024年4月16日到期逾期将无法继续访问请尽快完成学习
</div> </div>
</div> </div> -->
</div> </div>
</div> </div>
</div> </div>
@@ -385,7 +388,7 @@ import apiType from "@/api/modules/type.js";
import { cutFullName } from "@/utils/tools.js"; import { cutFullName } from "@/utils/tools.js";
import apiPlace from "@/api/phase2/place.js" import apiPlace from "@/api/phase2/place.js"
export default { export default {
name: "index", name: "case",
components: { components: {
portalHeader, portalHeader,
portalFooter, portalFooter,
@@ -556,6 +559,32 @@ export default {
return !this.speciData.some(item => item.fielclass); return !this.speciData.some(item => item.fielclass);
} }
}, },
beforeRouteLeave (to, from, next) {
if(to.name !== 'caseDetail'){
console.log('我是外')
this.queryCondition.pageIndex = 1
this.search()
// window.location.reload()
// this.$destroy()
}else{
sessionStorage.setItem('pagesScroll', JSON.stringify(window.pageYOffset))
}
next()
},
beforeRouteEnter(to, from, next) {
if(from.name !== 'caseDetail'){
console.log('我是内')
}
next(vm=>{
vm.$nextTick(() => {
window.scrollTo({
left: 0,
top: JSON.parse(sessionStorage.getItem("pagesScroll")),
})
sessionStorage.removeItem("pagesScroll")
});
})
},
created() { created() {
(() => { (() => {
const allData = { const allData = {
@@ -621,7 +650,6 @@ export default {
} }
dataList(allData[random]) dataList(allData[random])
})() })()
// this.pageScroll = JSON.parse(sessionStorage.getItem("pagesScroll"))
}, },
mounted() { mounted() {
let $this = this; let $this = this;
@@ -700,10 +728,6 @@ export default {
// window.addEventListener("scroll", this.handleScroll); // window.addEventListener("scroll", this.handleScroll);
// 获取年 // 获取年
this.getYears(); this.getYears();
// if(this.pageScroll){
// this.queryCondition.pageIndex = parseInt(this.pageScroll.pages)
// this.queryCondition.type = this.pageScroll.type
// }
}, },
beforeDestroy() { beforeDestroy() {
// window.removeEventListener("scroll", this.handleScroll); // window.removeEventListener("scroll", this.handleScroll);
@@ -793,12 +817,6 @@ export default {
apiCase.startReadTimer(refId) apiCase.startReadTimer(refId)
} }
this.$router.push({ path: '/case/detail', query: { id } }); this.$router.push({ path: '/case/detail', query: { id } });
// this.pageScroll = {
// pages: this.queryCondition.pageIndex,
// scrollTop: window.pageYOffset,
// type: this.queryCondition.type
// }
// sessionStorage.setItem('pagesScroll', JSON.stringify(this.pageScroll))
}, },
tylClick() { tylClick() {
window.open("https://m.qingxuetang.com/x/?appId=qxtcorp306130"); window.open("https://m.qingxuetang.com/x/?appId=qxtcorp306130");
@@ -1300,16 +1318,6 @@ export default {
// 给所有的赋值 // 给所有的赋值
this.caseList.count = res.result.count; this.caseList.count = res.result.count;
this.caseList.showPagCount = res.result.count; this.caseList.showPagCount = res.result.count;
// this.$nextTick(() => {
// if(JSON.parse(sessionStorage.getItem("pagesScroll"))){
// window.scrollTo({
// left: 0,
// top: JSON.parse(sessionStorage.getItem("pagesScroll")).scrollTop,
// behavior: 'smooth'
// })
// sessionStorage.removeItem("pagesScroll")
// }
// });
} else { } else {
this.$message.error(res.message); this.$message.error(res.message);
} }
@@ -1591,7 +1599,7 @@ export default {
.ClassBoxContent { .ClassBoxContent {
width: 100%; width: 100%;
height: 456px; height: 396px;
// background: red; // background: red;
border-radius: 15px; border-radius: 15px;
@@ -1610,6 +1618,7 @@ export default {
.left { .left {
padding-left: 30px; padding-left: 30px;
width: 48%; width: 48%;
margin-top: -32px;
.title { .title {
width: 200px; width: 200px;
@@ -1658,7 +1667,7 @@ export default {
box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.1); box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.1);
border-radius: 4px; border-radius: 4px;
height: 160px; height: 160px;
margin-top: 83px; margin-top: 163px;
.tyl_title { .tyl_title {
width: 100%; width: 100%;
@@ -1702,6 +1711,11 @@ export default {
border: 0.96px solid rgba(140, 105, 242, 1); border: 0.96px solid rgba(140, 105, 242, 1);
box-shadow: 7px 5px 6px 0px rgba(76, 31, 221, 0.3); box-shadow: 7px 5px 6px 0px rgba(76, 31, 221, 0.3);
} }
.text_msg{
margin: 43px 0 0 222px;
font-size: 14px;
color: #000;
}
.cyl { .cyl {
cursor: pointer; cursor: pointer;
@@ -1759,6 +1773,7 @@ export default {
.img { .img {
width: 835px; width: 835px;
height: 428px;
margin-left: -1px; margin-left: -1px;
margin-top: -1px; margin-top: -1px;
position: absolute; position: absolute;

View File

@@ -468,7 +468,10 @@
内容涵盖领导力市场营销职场技能财务知识法律常识人力资源经典国学人文社科 内容涵盖领导力市场营销职场技能财务知识法律常识人力资源经典国学人文社科
</div> </div>
</div> </div>
<div class="cyl" @click="cylClick"> <div class="text_msg">
创新力专区课程版权已到期
</div>
<!-- <div class="cyl" @click="cylClick">
<div class="tyl_title"> <div class="tyl_title">
<img src="../../../assets/images/cyl.png" alt="" class="tyl_title_img" /> <img src="../../../assets/images/cyl.png" alt="" class="tyl_title_img" />
<span class="tyl_title_msg">创新力专区</span> <span class="tyl_title_msg">创新力专区</span>
@@ -478,7 +481,7 @@
内容涵盖组合创新单点破局错位竞争分形创新第二曲线数字化元宇宙<br/> 内容涵盖组合创新单点破局错位竞争分形创新第二曲线数字化元宇宙<br/>
创新力专区课程版权将于2024年4月16日到期逾期将无法继续访问请尽快完成学习 创新力专区课程版权将于2024年4月16日到期逾期将无法继续访问请尽快完成学习
</div> </div>
</div> </div> -->
</div> </div>
</div> </div>
</div> </div>
@@ -1711,7 +1714,7 @@ console.log(res.result.list,'data')
.ClassBoxContent { .ClassBoxContent {
width: 100%; width: 100%;
height: 456px; height: 396px;
// background: red; // background: red;
border-radius: 15px; border-radius: 15px;
@@ -1730,6 +1733,7 @@ console.log(res.result.list,'data')
.left { .left {
padding-left: 30px; padding-left: 30px;
width: 48%; width: 48%;
margin-top: -32px;
.title { .title {
width: 200px; width: 200px;
@@ -1778,7 +1782,7 @@ console.log(res.result.list,'data')
box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.1); box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.1);
border-radius: 4px; border-radius: 4px;
height: 160px; height: 160px;
margin-top: 83px; margin-top: 163px;
.tyl_title { .tyl_title {
width: 100%; width: 100%;
@@ -1822,6 +1826,11 @@ console.log(res.result.list,'data')
border: 0.96px solid rgba(140, 105, 242, 1); border: 0.96px solid rgba(140, 105, 242, 1);
box-shadow: 7px 5px 6px 0px rgba(76, 31, 221, 0.3); box-shadow: 7px 5px 6px 0px rgba(76, 31, 221, 0.3);
} }
.text_msg{
margin: 43px 0 0 222px;
font-size: 14px;
color: #000;
}
.cyl { .cyl {
cursor: pointer; cursor: pointer;
@@ -1879,6 +1888,7 @@ console.log(res.result.list,'data')
.img { .img {
width: 835px; width: 835px;
height: 428px;
margin-left: -1px; margin-left: -1px;
margin-top: -1px; margin-top: -1px;
position: absolute; position: absolute;

View File

@@ -196,7 +196,10 @@
内容涵盖领导力市场营销职场技能财务知识法律常识人力资源经典国学人文社科 内容涵盖领导力市场营销职场技能财务知识法律常识人力资源经典国学人文社科
</div> </div>
</div> </div>
<div class="cyl" @click="cylClick"> <div class="text_msg">
创新力专区课程版权已到期
</div>
<!-- <div class="cyl" @click="cylClick">
<div class="tyl_title"> <div class="tyl_title">
<img <img
src="../../../assets/images/cyl.png" src="../../../assets/images/cyl.png"
@@ -210,7 +213,7 @@
内容涵盖组合创新单点破局错位竞争分形创新第二曲线数字化元宇宙<br/> 内容涵盖组合创新单点破局错位竞争分形创新第二曲线数字化元宇宙<br/>
创新力专区课程版权将于2024年4月16日到期逾期将无法继续访问请尽快完成学习 创新力专区课程版权将于2024年4月16日到期逾期将无法继续访问请尽快完成学习
</div> </div>
</div> </div> -->
</div> </div>
</div> </div>
</div> </div>
@@ -770,7 +773,7 @@
} }
.ClassBoxContent { .ClassBoxContent {
width: 100%; width: 100%;
height: 456px; height: 396px;
// background: red; // background: red;
border-radius: 15px; border-radius: 15px;
.ContentBox { .ContentBox {
@@ -786,6 +789,7 @@
.left { .left {
padding-left: 30px; padding-left: 30px;
width: 48%; width: 48%;
margin-top: -32px;
.title { .title {
width: 200px; width: 200px;
height: 59px; height: 59px;
@@ -828,7 +832,7 @@
box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.1); box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.1);
border-radius: 4px; border-radius: 4px;
height: 160px; height: 160px;
margin-top: 83px; margin-top: 163px;
.tyl_title { .tyl_title {
width: 100%; width: 100%;
padding-left: 20px; padding-left: 20px;
@@ -866,6 +870,11 @@
border: 0.96px solid rgba(140, 105, 242, 1); border: 0.96px solid rgba(140, 105, 242, 1);
box-shadow: 7px 5px 6px 0px rgba(76, 31, 221, 0.3); box-shadow: 7px 5px 6px 0px rgba(76, 31, 221, 0.3);
} }
.text_msg{
margin: 43px 0 0 222px;
font-size: 14px;
color: #000;
}
.cyl { .cyl {
cursor: pointer; cursor: pointer;
width: calc(100% - 20px); width: calc(100% - 20px);
@@ -915,6 +924,7 @@
} }
.img { .img {
width: 835px; width: 835px;
height: 428px;
margin-left: -1px; margin-left: -1px;
margin-top: -1px; margin-top: -1px;
position: absolute; position: absolute;

View File

@@ -158,7 +158,10 @@
内容涵盖领导力市场营销职场技能财务知识法律常识人力资源经典国学人文社科 内容涵盖领导力市场营销职场技能财务知识法律常识人力资源经典国学人文社科
</div> </div>
</div> </div>
<div class="cyl" @click="cylClick"> <div class="text_msg">
创新力专区课程版权已到期
</div>
<!-- <div class="cyl" @click="cylClick">
<div class="tyl_title"> <div class="tyl_title">
<img <img
src="../../../assets/images/cyl.png" src="../../../assets/images/cyl.png"
@@ -172,7 +175,7 @@
内容涵盖组合创新单点破局错位竞争分形创新第二曲线数字化元宇宙<br/> 内容涵盖组合创新单点破局错位竞争分形创新第二曲线数字化元宇宙<br/>
创新力专区课程版权将于2024年4月16日到期逾期将无法继续访问请尽快完成学习 创新力专区课程版权将于2024年4月16日到期逾期将无法继续访问请尽快完成学习
</div> </div>
</div> </div> -->
</div> </div>
</div> </div>
</div> </div>
@@ -528,7 +531,7 @@ export default {
} }
.ClassBoxContent { .ClassBoxContent {
width: 100%; width: 100%;
height: 456px; height: 396px;
// background: red; // background: red;
border-radius: 15px; border-radius: 15px;
.ContentBox { .ContentBox {
@@ -544,6 +547,7 @@ export default {
.left { .left {
padding-left: 30px; padding-left: 30px;
width: 48%; width: 48%;
margin-top: -32px;
.title { .title {
width: 200px; width: 200px;
height: 59px; height: 59px;
@@ -586,7 +590,7 @@ export default {
box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.1); box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.1);
border-radius: 4px; border-radius: 4px;
height: 160px; height: 160px;
margin-top: 83px; margin-top: 163px;
.tyl_title { .tyl_title {
width: 100%; width: 100%;
padding-left: 20px; padding-left: 20px;
@@ -624,6 +628,11 @@ export default {
border: 0.96px solid rgba(140, 105, 242, 1); border: 0.96px solid rgba(140, 105, 242, 1);
box-shadow: 7px 5px 6px 0px rgba(76, 31, 221, 0.3); box-shadow: 7px 5px 6px 0px rgba(76, 31, 221, 0.3);
} }
.text_msg{
margin: 43px 0 0 222px;
font-size: 14px;
color: #000;
}
.cyl { .cyl {
cursor: pointer; cursor: pointer;
width: calc(100% - 20px); width: calc(100% - 20px);
@@ -673,6 +682,7 @@ export default {
} }
.img { .img {
width: 835px; width: 835px;
height: 428px;
margin-left: -1px; margin-left: -1px;
margin-top: -1px; margin-top: -1px;
position: absolute; position: absolute;

View File

@@ -19,9 +19,9 @@
</div> --> </div> -->
<a :href="hasPermission(item)" target="_blank"> <a :href="hasPermission(item)" target="_blank">
<img style="width: 150px;height: 200px;" :src="getItem(item)" /> <img style="width: 150px;height: 200px;object-fit: cover;" :src="getItem(item)" />
<p class="ceping-tit one-line-ellipsis" v-html="$keywordActiveShow(item.title,keyword)"></p> <p class="ceping-tit one-line-ellipsis" v-html="$keywordActiveShow(item.title,keyword)"></p>
<p class="ceping-conent">完成时间{{item.date}}</p> <p class="ceping-conent">上传时间{{item.date}}</p>
</a> </a>
<!-- </section> --> <!-- </section> -->
@@ -98,9 +98,11 @@
agent:'pc' agent:'pc'
} }
apiBoeCourse.reportList(params).then(rs=>{ apiBoeCourse.reportList(params).then(rs=>{
this.testList = rs.result.reportList this.testList = Array.isArray(rs.result.reportList)
? rs.result.reportList
: Array.from(Object.values(rs.result.reportList));
// this.testList = rs.result.reportList
this.total = rs.result.count this.total = rs.result.count
}) })
}, },
textdetail(item){ textdetail(item){
@@ -110,10 +112,12 @@
// /course/boeframe // /course/boeframe
}, },
handleSizeChange(val) { handleSizeChange(val) {
console.log(val,'sizeval')
this.size = val this.size = val
this.findList() this.findList()
}, },
handleCurrentChange(val) { handleCurrentChange(val) {
console.log(val,'pageval')
this.page = val this.page = val
this.findList() this.findList()
}, },