fix: 部分bug修复

This commit is contained in:
mx00085@163.com
2023-03-30 10:01:40 +08:00
parent 6ef948e01b
commit 42e0665c37
2 changed files with 58 additions and 15 deletions

View File

@@ -21,7 +21,7 @@
<a-input
style="width: 100%; height: 40px; border-radius: 8px"
placeholder="请输入路径名称"
v-model:value="boeRouterInfoName"
v-model:value="routerName"
allowClear
showSearch
>
@@ -300,7 +300,6 @@ export default {
startTime: state.startTime,
endTime: state.endTime,
name: state.name,
boeRouterInfoName: state.boeRouterInfoName,
});
if (res) {
state.tableDataTotal = res.data.total;
@@ -318,7 +317,7 @@ export default {
const reset = async () => {
state.tableLoading = true;
state.createName = "";
state.boeRouterInfoName = "";
state.routerName = "";
state.orgId = state.resetOrgId;
getTableData();
};
@@ -342,7 +341,7 @@ export default {
} else {
const params = {
createName: state.createName,
boeRouterInfoName: state.boeRouterInfoName,
routerName: state.routerName,
orgId: state.orgId ? state.orgId[state.orgId.length - 1] : null,
};
axios({
@@ -380,15 +379,9 @@ export default {
};
} else {
const params = {
page: state.pageNo,
size: state.pageSize,
orgId: state.orgId ? state.orgId[state.orgId.length - 1] : null,
router: state.routerId,
routerName: state.routerName,
createName: state.createName,
startTime: state.startTime,
endTime: state.endTime,
name: state.name,
routerName: state.routerName,
orgId: state.orgId ? state.orgId[state.orgId.length - 1] : null,
};
axios({
method: "post",