|
@@ -1,6 +1,6 @@
|
|
<template>
|
|
<template>
|
|
<div class="center_content">
|
|
<div class="center_content">
|
|
- <div class="myAnliBox">
|
|
|
|
|
|
+ <div class="myAnliBox" v-if="anliBox.length > 0">
|
|
<div class="anLi" v-for="(an, anIndex) in anliBox" :key="anIndex">
|
|
<div class="anLi" v-for="(an, anIndex) in anliBox" :key="anIndex">
|
|
<div class="anliTop">
|
|
<div class="anliTop">
|
|
<div class="anliTopLeft">
|
|
<div class="anliTopLeft">
|
|
@@ -48,29 +48,13 @@
|
|
<div class="rightButton" @click="updateState(an.id)">提交</div>
|
|
<div class="rightButton" @click="updateState(an.id)">提交</div>
|
|
<div class="rightButton" @click="exportAnli(an)">导出</div>
|
|
<div class="rightButton" @click="exportAnli(an)">导出</div>
|
|
<div class="rightButton">开始教学</div>
|
|
<div class="rightButton">开始教学</div>
|
|
- <div
|
|
|
|
- class="rightButton"
|
|
|
|
- @click="
|
|
|
|
- goTo(
|
|
|
|
- '/addRace?userid=' + userid + '&oid=' + oid + '&aid=' + an.id
|
|
|
|
- )
|
|
|
|
- "
|
|
|
|
- >
|
|
|
|
|
|
+ <div class="rightButton" @click="goTo('/addRace?aid=' + an.id)">
|
|
编辑
|
|
编辑
|
|
</div>
|
|
</div>
|
|
<div
|
|
<div
|
|
class="rightButton"
|
|
class="rightButton"
|
|
style="background: #225ac7"
|
|
style="background: #225ac7"
|
|
- @click="
|
|
|
|
- goTo(
|
|
|
|
- '/anliDetail?userid=' +
|
|
|
|
- userid +
|
|
|
|
- '&oid=' +
|
|
|
|
- oid +
|
|
|
|
- '&aid=' +
|
|
|
|
- an.id
|
|
|
|
- )
|
|
|
|
- "
|
|
|
|
|
|
+ @click="goTo('/anliDetail?aid=' + an.id)"
|
|
>
|
|
>
|
|
查看详情
|
|
查看详情
|
|
</div>
|
|
</div>
|
|
@@ -78,6 +62,9 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div class="noAnliBox" v-else>
|
|
|
|
+ <img src="../../../../assets/icon/race/isNoMessage.png" alt="" />
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -172,10 +159,9 @@ export default {
|
|
|
|
|
|
let process = JSON.parse(res.process).stageBox;
|
|
let process = JSON.parse(res.process).stageBox;
|
|
var _process = "<h1>项目安排</h1>";
|
|
var _process = "<h1>项目安排</h1>";
|
|
- for (var z = 0; z < process.length; z++) {
|
|
|
|
|
|
+ for (var z = 0; z < process.length; z++) {
|
|
_process += `<h2>阶段${z + 1}:${process}</h2>`;
|
|
_process += `<h2>阶段${z + 1}:${process}</h2>`;
|
|
_process += `<h2>总课时:${process[z].actName}</h2>`;
|
|
_process += `<h2>总课时:${process[z].actName}</h2>`;
|
|
-
|
|
|
|
}
|
|
}
|
|
// for (var z = 0; z < process.length; z++) {
|
|
// for (var z = 0; z < process.length; z++) {
|
|
// _process += `<h3>活动${z + 1}</h3>`;
|
|
// _process += `<h3>活动${z + 1}</h3>`;
|
|
@@ -262,9 +248,12 @@ export default {
|
|
|
|
|
|
<style scoped>
|
|
<style scoped>
|
|
@media screen and (max-width: 1280px) {
|
|
@media screen and (max-width: 1280px) {
|
|
- .anliNav > div:nth-child(3){
|
|
|
|
|
|
+ .anliNav > div:nth-child(3) {
|
|
width: 70% !important;
|
|
width: 70% !important;
|
|
}
|
|
}
|
|
|
|
+ .noAnliBox{
|
|
|
|
+ width: 300px !important;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
.myAnliBox {
|
|
.myAnliBox {
|
|
/* height: 500px; */
|
|
/* height: 500px; */
|
|
@@ -387,4 +376,12 @@ export default {
|
|
margin-right: 20px;
|
|
margin-right: 20px;
|
|
padding: 0 15px;
|
|
padding: 0 15px;
|
|
}
|
|
}
|
|
|
|
+.noAnliBox {
|
|
|
|
+ width: 500px;
|
|
|
|
+ margin: 20px auto;
|
|
|
|
+}
|
|
|
|
+.noAnliBox > img {
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 100%;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|