日志添加节点名称的搜索
Showing
1 changed file
with
16 additions
and
4 deletions
| ... | @@ -35,7 +35,15 @@ const processTableSearchItemList = ref([{ | ... | @@ -35,7 +35,15 @@ const processTableSearchItemList = ref([{ |
| 35 | placeholder: "业务名称", | 35 | placeholder: "业务名称", |
| 36 | maxlength: 50, | 36 | maxlength: 50, |
| 37 | clearable: true, | 37 | clearable: true, |
| 38 | },]); | 38 | }, { |
| 39 | type: "input", | ||
| 40 | label: "", | ||
| 41 | field: "nodeName", | ||
| 42 | default: "", | ||
| 43 | placeholder: "节点名称", | ||
| 44 | maxlength: 50, | ||
| 45 | clearable: true, | ||
| 46 | }]); | ||
| 39 | 47 | ||
| 40 | const currTableData: any = ref({}); | 48 | const currTableData: any = ref({}); |
| 41 | 49 | ||
| ... | @@ -43,7 +51,8 @@ const currTableData: any = ref({}); | ... | @@ -43,7 +51,8 @@ const currTableData: any = ref({}); |
| 43 | const processPage = ref({ | 51 | const processPage = ref({ |
| 44 | ...commonPageConfig, | 52 | ...commonPageConfig, |
| 45 | bizName: '', | 53 | bizName: '', |
| 46 | operatorTime: [] | 54 | operatorTime: [], |
| 55 | nodeName: '' | ||
| 47 | }); | 56 | }); |
| 48 | 57 | ||
| 49 | const processTableInfo = ref({ | 58 | const processTableInfo = ref({ |
| ... | @@ -53,6 +62,7 @@ const processTableInfo = ref({ | ... | @@ -53,6 +62,7 @@ const processTableInfo = ref({ |
| 53 | { label: "序号", type: "index", width: TableColumnWidth.INDEX, align: "center" }, | 62 | { label: "序号", type: "index", width: TableColumnWidth.INDEX, align: "center" }, |
| 54 | { label: "业务Guid", field: "bizGuid", width: 262 }, | 63 | { label: "业务Guid", field: "bizGuid", width: 262 }, |
| 55 | { label: "业务名称", field: "bizName", width: 220 }, | 64 | { label: "业务名称", field: "bizName", width: 220 }, |
| 65 | { label: "节点名称", field: "nodeName", width: 220 }, | ||
| 56 | { label: "操作时间", field: "operatingTime", width: 170 }, | 66 | { label: "操作时间", field: "operatingTime", width: 170 }, |
| 57 | { label: "操作类型", field: "operatingType", width: 110, getName: (scope) => { | 67 | { label: "操作类型", field: "operatingType", width: 110, getName: (scope) => { |
| 58 | let typeMap = { | 68 | let typeMap = { |
| ... | @@ -62,7 +72,6 @@ const processTableInfo = ref({ | ... | @@ -62,7 +72,6 @@ const processTableInfo = ref({ |
| 62 | } | 72 | } |
| 63 | return !scope.row.operatingType ? '--' : typeMap[scope.row.operatingType]; | 73 | return !scope.row.operatingType ? '--' : typeMap[scope.row.operatingType]; |
| 64 | } }, | 74 | } }, |
| 65 | { label: "节点名称", field: "nodeName", width: 220 }, | ||
| 66 | { label: "操作人", field: "operator", width: 160 } | 75 | { label: "操作人", field: "operator", width: 160 } |
| 67 | ], | 76 | ], |
| 68 | data: [], | 77 | data: [], |
| ... | @@ -103,9 +112,11 @@ const toProcessTableSearch = (val: any, clear: boolean = false) => { | ... | @@ -103,9 +112,11 @@ const toProcessTableSearch = (val: any, clear: boolean = false) => { |
| 103 | processTableSearchItemList.value.map((item) => (item.default = "")); | 112 | processTableSearchItemList.value.map((item) => (item.default = "")); |
| 104 | processPage.value.bizName = ''; | 113 | processPage.value.bizName = ''; |
| 105 | processPage.value.operatorTime = []; | 114 | processPage.value.operatorTime = []; |
| 115 | processPage.value.nodeName = ''; | ||
| 106 | } else { | 116 | } else { |
| 107 | processPage.value.bizName = val.bizName; | 117 | processPage.value.bizName = val.bizName; |
| 108 | processPage.value.operatorTime = val.operatorTime; | 118 | processPage.value.operatorTime = val.operatorTime; |
| 119 | processPage.value.nodeName = val.nodeName; | ||
| 109 | } | 120 | } |
| 110 | getProcessTableData(); | 121 | getProcessTableData(); |
| 111 | }; | 122 | }; |
| ... | @@ -117,7 +128,8 @@ const getProcessTableData = () => { | ... | @@ -117,7 +128,8 @@ const getProcessTableData = () => { |
| 117 | pageSize: processPage.value.limit, | 128 | pageSize: processPage.value.limit, |
| 118 | bizName: processPage.value.bizName, | 129 | bizName: processPage.value.bizName, |
| 119 | operationTimeStart: processPage.value.operatorTime?.[0], | 130 | operationTimeStart: processPage.value.operatorTime?.[0], |
| 120 | operationTimeEnd: processPage.value.operatorTime?.[1] | 131 | operationTimeEnd: processPage.value.operatorTime?.[1], |
| 132 | nodeName: processPage.value.nodeName | ||
| 121 | }).then((res: any) => { | 133 | }).then((res: any) => { |
| 122 | processTableInfo.value.data = []; | 134 | processTableInfo.value.data = []; |
| 123 | if (res?.code == proxy.$passCode) { | 135 | if (res?.code == proxy.$passCode) { | ... | ... |
-
Please register or sign in to post a comment