mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 13:56:45 +08:00
feat:添加案例接口修改 部分分抽屉的margintop值
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user