|
@@ -7404,7 +7404,7 @@
|
|
|
"
|
|
|
>
|
|
|
<!-- <div class="question" style="width: 30px">
|
|
|
- <img src="../../assets/icon/toolIcon.png" alt />
|
|
|
+ <img src="../assets/icon/toolIcon.png" alt />
|
|
|
</div>
|
|
|
<div class="queTitle">
|
|
|
<div>工具</div>
|
|
@@ -7412,7 +7412,7 @@
|
|
|
评一评
|
|
|
</div>
|
|
|
<div class="evaCss" :class="{ evaCssMax: Stbodywidth < 974 }">
|
|
|
- <div class="elist_input">
|
|
|
+ <div class="elist_input" :style="{width:evalua ? chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].isEvaFold2?'45%':'calc(100% - 180px)' : '100%'}">
|
|
|
<el-table
|
|
|
:data="
|
|
|
chapInfoList[courseType].chapterInfo[0].taskJson[
|
|
@@ -7427,7 +7427,6 @@
|
|
|
>
|
|
|
<el-table-column
|
|
|
label="评价名称"
|
|
|
- width="180"
|
|
|
align="center"
|
|
|
>
|
|
|
<template slot-scope="scope"
|
|
@@ -7436,7 +7435,6 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
label="评价描述"
|
|
|
- width="180"
|
|
|
align="center"
|
|
|
>
|
|
|
<template slot-scope="scope"
|
|
@@ -7510,12 +7508,14 @@
|
|
|
margin-top: 20px;
|
|
|
box-shadow: 3px 1px 15px 3px #e0e0e0;
|
|
|
"
|
|
|
+ :style="{width:chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].isEvaFold2?'100%':'116px'}"
|
|
|
>
|
|
|
<div class="e_add_top">
|
|
|
- <div class="e_add_title">
|
|
|
+ <div class="e_add_title" style="width: 100%">
|
|
|
<!-- <span>目标管理名称</span> -->
|
|
|
- <span>{{ eTitle }}</span>
|
|
|
+ <span v-if="chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].isEvaFold2">{{ eTitle }}</span>
|
|
|
<img
|
|
|
+ v-if="chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].isEvaFold2"
|
|
|
src="../../assets/line.png"
|
|
|
class="cru_line"
|
|
|
style="
|
|
@@ -7530,9 +7530,11 @@
|
|
|
placeholder="请输入名称"
|
|
|
@change="setMindData"
|
|
|
></el-input>-->
|
|
|
+ <div v-show="chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].isEvaFold2" class="show_taskD show" style="margin:0 0 0 auto" @click="foldEva()"><img src="../../assets/icon/newIcon/icon-slide.png" />收起目标</div>
|
|
|
+ <div v-show="!chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].isEvaFold2" style="margin:0 0 0 auto" class="show_taskD" @click="foldEva()"><img src="../../assets/icon/newIcon/icon-slide.png" />展开目标</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="e_add_content">
|
|
|
+ <div class="e_add_content" v-if="chapInfoList[courseType].chapterInfo[0].taskJson[taskCount].isEvaFold2" >
|
|
|
<div class="e_add_list_pbox">
|
|
|
<div class="e_add_list_pbox_title">
|
|
|
<!-- <span class="type_title">切换模式</span> -->
|
|
@@ -7547,14 +7549,14 @@
|
|
|
@click="typeMode = 2"
|
|
|
>目标罗盘</span
|
|
|
>
|
|
|
- <span
|
|
|
+ <!-- <span
|
|
|
:class="{ active: typeMode == 3 }"
|
|
|
@click="typeMode = 3"
|
|
|
>目标看板</span
|
|
|
- >
|
|
|
+ > -->
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="e_add_list_pbox_content">
|
|
|
+ <div class="e_add_list_pbox_content" style="min-height: 200px;">
|
|
|
<Mind
|
|
|
:showBar="false"
|
|
|
:mindData="data"
|
|
@@ -19088,6 +19090,21 @@ export default {
|
|
|
console.error(err);
|
|
|
});
|
|
|
},
|
|
|
+ foldEva() {
|
|
|
+ if (this.chapInfoList[this.courseType].chapterInfo[0].taskJson[this.taskCount].isEvaFold2) {
|
|
|
+ this.chapInfoList[this.courseType].chapterInfo[0].taskJson[this.taskCount].isEvaFold2 = false;
|
|
|
+ } else {
|
|
|
+ this.chapInfoList[this.courseType].chapterInfo[0].taskJson[this.taskCount].isEvaFold2 = true;
|
|
|
+ setTimeout(() => {
|
|
|
+ this.checkEva();
|
|
|
+ setTimeout(() => {
|
|
|
+ this.checkEva();
|
|
|
+ }, 500);
|
|
|
+ }, 0);
|
|
|
+
|
|
|
+ }
|
|
|
+ this.$forceUpdate();
|
|
|
+ },
|
|
|
},
|
|
|
directives: {
|
|
|
// 使用局部注册指令的方式
|
|
@@ -21169,7 +21186,7 @@ export default {
|
|
|
.e_add_top {
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
- padding: 20px 20px 0 20px;
|
|
|
+ padding: 10px 20px;
|
|
|
border-radius: 3px;
|
|
|
background: #fff;
|
|
|
}
|
|
@@ -23546,4 +23563,25 @@ ol {
|
|
|
font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1", Arial, sans-serif;
|
|
|
color: #838383;
|
|
|
}
|
|
|
+
|
|
|
+.show_taskD {
|
|
|
+ min-width: fit-content;
|
|
|
+ margin-left: 10px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ font-size: 14px;
|
|
|
+ cursor: pointer;
|
|
|
+ color: #717c8d;
|
|
|
+}
|
|
|
+
|
|
|
+.show_taskD > img {
|
|
|
+ width: 15px;
|
|
|
+ margin-right: 5px;
|
|
|
+ transition: 0.2s all;
|
|
|
+ transform: rotate(-90deg);
|
|
|
+}
|
|
|
+
|
|
|
+.show_taskD.show > img {
|
|
|
+ transform: rotate(0deg);
|
|
|
+}
|
|
|
</style>
|