feat:添加案例接口修改 部分分抽屉的margintop值

This commit is contained in:
Ggysh-7
2022-11-15 12:50:02 +08:00
parent 9659ebef3a
commit 633ec2d6bf
13 changed files with 418 additions and 291 deletions

View File

@@ -49,7 +49,7 @@
<div class="search"></div>
<div class="btnText">搜索</div>
</div>
<div class="btn btn2" @click="resetInvist">
<div class="btn btn2" @click="resetOnline()">
<div class="search"></div>
<div class="btnText">重置</div>
</div>
@@ -241,7 +241,7 @@ export default {
const handelChangePage = (page, pageSize) => {
state.currentPage = page;
state.pageSize = pageSize;
getAllInvistText();
getAllOnlineText();
};
const getTableDate = (tableData) => {
let data = tableData;
@@ -260,7 +260,7 @@ export default {
state.tableData = array;
};
//获取全部在线信息接口
const getAllInvistText = () => {
const getAllOnlineText = () => {
api
.queryAssessmentDetailList({
assessmentName: "",
@@ -323,13 +323,13 @@ export default {
}
}
//重置在线信息
const resetInvist = () => {
const resetOnline = () => {
state.inputV1 = "";
getAllInvistText();
getAllOnlineText();
};
onMounted(() => {
// createInvist();
getAllInvistText();
// createOnline();
getAllOnlineText();
});
return {
...toRefs(state),
@@ -338,9 +338,10 @@ export default {
tableDataFunc,
rowSelection,
handelChangePage,
getAllOnlineText,
getTableDate,
updateTask,
resetInvist,
resetOnline,
};
},
};
@@ -371,6 +372,7 @@ export default {
.main_items {
display: flex;
justify-content: space-between;
margin-top: 32px;
margin-bottom: 12px;
flex-wrap: wrap;
.mi_ipts {