mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 03:16:44 +08:00
--fix 评估重写
This commit is contained in:
@@ -93,8 +93,8 @@ const handleSave = () => {
|
||||
editResearchMessage({
|
||||
id,
|
||||
assessmentName: data.value.assessmentName,
|
||||
assessmentSingleChoiceDtoList: data.value.singleStemVoList.flatMap(t=>t.assessmentSingleChoiceVoList.map(s=>({...s,deleted:(t.deleted || s.deleted),singleStemName:t.singleStemName}))),
|
||||
assessmentMultipleChoiceDtoList: data.value.multipleStemVoList.flatMap(t=>t.multipleChoiceVoList.map(s=>({...s,deleted:(t.deleted || s.deleted),multipleStemName:t.multipleStemName}))),
|
||||
assessmentSingleChoiceDtoList: data.value.singleStemVoList.flatMap(t=>t.assessmentSingleChoiceVoList.map(s=>({...s,deleted:(t.deleted || s.deleted),orderNumber:t.orderNumber,singleStemName:t.singleStemName}))),
|
||||
assessmentMultipleChoiceDtoList: data.value.multipleStemVoList.flatMap(t=>t.multipleChoiceVoList.map(s=>({...s,deleted:(t.deleted || s.deleted),orderNumber:t.orderNumber,multipleStemName:t.multipleStemName}))),
|
||||
assessmentEssayQuestionDtoList: data.value.essayQuestionVoList,
|
||||
assessmentScoringQuestionDtoList: data.value.scoringQuestionVoList
|
||||
}).then(() => {
|
||||
@@ -131,6 +131,7 @@ function addSingleItem() {
|
||||
],
|
||||
deleted: false,
|
||||
});
|
||||
console.log(data.value);
|
||||
}
|
||||
|
||||
function addMultipleItem() {
|
||||
|
||||
@@ -154,13 +154,14 @@ shan<!-- 评估管理页面 -->
|
||||
>
|
||||
<div class="out">
|
||||
<div class="top">
|
||||
<img class="topimg" src="../../assets/images/courseManage/add1.png" />
|
||||
<img alt="add" class="topimg" src="../../assets/images/courseManage/add1.png" />
|
||||
<div class="topc">{{ !formData.id ? "创建" : "编辑" }}评估</div>
|
||||
<div
|
||||
style="margin-left: 500px; cursor: pointer"
|
||||
@click="handleCancel"
|
||||
>
|
||||
<img
|
||||
alt="close"
|
||||
style="width: 20px; height: 20px"
|
||||
src="../../assets/images/basicinfo/close.png"
|
||||
/>
|
||||
@@ -682,7 +683,7 @@ const handleNext = async () => {
|
||||
}
|
||||
|
||||
.btn {
|
||||
padding: 0px 26px 0px 26px;
|
||||
padding: 0 26px 0 26px;
|
||||
height: 38px;
|
||||
background: #4ea6ff;
|
||||
border-radius: 8px;
|
||||
@@ -707,7 +708,7 @@ const handleNext = async () => {
|
||||
}
|
||||
|
||||
.btnn {
|
||||
padding: 0px 26px 0px 26px;
|
||||
padding: 0 26px 0 26px;
|
||||
height: 38px;
|
||||
background: #4ea6ff;
|
||||
border-radius: 8px;
|
||||
@@ -777,7 +778,7 @@ const handleNext = async () => {
|
||||
display: flex;
|
||||
|
||||
.btn {
|
||||
padding: 0px 26px 0px 26px;
|
||||
padding: 0 26px;
|
||||
height: 38px;
|
||||
background: #4ea6ff;
|
||||
border-radius: 8px;
|
||||
@@ -803,7 +804,7 @@ const handleNext = async () => {
|
||||
}
|
||||
|
||||
.btn3 {
|
||||
margin-right: 0px;
|
||||
margin-right: 0;
|
||||
|
||||
.search {
|
||||
width: 17px;
|
||||
@@ -845,12 +846,6 @@ const handleNext = async () => {
|
||||
td.ant-table-cell {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.ant-table-tbody
|
||||
> tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)
|
||||
> td {
|
||||
background: #f6f9fd;
|
||||
}
|
||||
}
|
||||
|
||||
.pa {
|
||||
@@ -904,7 +899,7 @@ const handleNext = async () => {
|
||||
z-index: 9999;
|
||||
width: 424px;
|
||||
background: #ffffff;
|
||||
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
|
||||
box-shadow: 0 1px 35px 0 rgba(118, 136, 166, 0.21);
|
||||
border-radius: 4px;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
@@ -942,8 +937,8 @@ const handleNext = async () => {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user