mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 12:26:47 +08:00
feat:评估编辑编辑传id
This commit is contained in:
@@ -103,6 +103,9 @@
|
||||
<button class="btn2" @click="createEvalText">确定</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="aeLoading" :style="{display:addLoading?'flex':'none'}">
|
||||
<a-spin :spinning="addLoading" tip="添加中..." />
|
||||
</div> -->
|
||||
</a-drawer>
|
||||
</template>
|
||||
<script>
|
||||
@@ -149,7 +152,7 @@ export default {
|
||||
},
|
||||
EditEvalId: {
|
||||
type: Number,
|
||||
default: null,
|
||||
default: 147,
|
||||
},
|
||||
},
|
||||
setup(props, ctx) {
|
||||
@@ -166,6 +169,7 @@ export default {
|
||||
currentPage: 1, //当前页
|
||||
tableDataTotal: -1, //学习路径列表总数
|
||||
pageSize: 10, //每页10条数据
|
||||
// addLoading:false,
|
||||
});
|
||||
|
||||
const closeDrawer = () => {
|
||||
@@ -273,6 +277,10 @@ export default {
|
||||
updateTime: "",
|
||||
updateUser: 0,
|
||||
};
|
||||
let queryobj = {
|
||||
evaluationId:props.EditEvalId
|
||||
}
|
||||
console.log(queryobj,'ssssssssss');
|
||||
if (props.edit == false) {
|
||||
api
|
||||
.createEvaluation(obj)
|
||||
@@ -326,7 +334,7 @@ export default {
|
||||
}
|
||||
else {
|
||||
api
|
||||
.queryEvaluationDetailById(objedit.evaluationId)
|
||||
.queryEvaluationDetailById(queryobj)
|
||||
.then((res) => {
|
||||
setTimeout(() => {
|
||||
console.log("获取成功", res,objedit.evaluationId);
|
||||
|
||||
Reference in New Issue
Block a user