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