This commit is contained in:
yuping
2022-12-15 03:14:42 +08:00
parent bac238d801
commit 4f9c88bc17

View File

@@ -29,9 +29,9 @@
<div style="margin-left: 8px">{{ data.planDto?.address }}</div> <div style="margin-left: 8px">{{ data.planDto?.address }}</div>
</div> </div>
</div> </div>
<div class="btn" @click="toSurvery" v-if="data.planDto?.evalFlag"> <botton :style="{background:`${data.isSurvery?'#999':'rgb(57, 146, 249)'}`}" class="btn" @click="toSurvery"
评估 >{{ data.isSurvery ? '已评估' : '评估' }}
</div> </botton>
</div> </div>
<!-- 基本信息 --> <!-- 基本信息 -->
@@ -84,7 +84,7 @@
</div> </div>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="课程作业" name="second"> <el-tab-pane label="课程作业" name="second">
<div class="work"> <div class="work" v-if="data.workDto?.workName ">
<div> <div>
<div class="question">{{ data.workDto?.workName }}</div> <div class="question">{{ data.workDto?.workName }}</div>
<div style="margin-top: 16px; display: flex"> <div style="margin-top: 16px; display: flex">
@@ -98,7 +98,7 @@
</div> </div>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="课程考试" name="third"> <el-tab-pane label="课程考试" name="third">
<div class="work"> <div class="work" v-if="data.examinationDto?.examinationTestName">
<div> <div>
<div class="question"> <div class="question">
{{ data.examinationDto?.examinationTestName }} {{ data.examinationDto?.examinationTestName }}
@@ -179,6 +179,9 @@ const download = (url) => {
}; };
function toSurvery() { function toSurvery() {
if (data.value.isSurvery) {
return
}
router.push({ router.push({
path: "/surveydetail", path: "/surveydetail",
query: {courseId: data.value.planDto.evaluateId}, query: {courseId: data.value.planDto.evaluateId},