rollback search search report
All checks were successful
Build & Deploy on Dev / build (push) Successful in 3m6s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 3m6s
This commit is contained in:
parent
9e0ee02fa3
commit
0c768e3626
2 changed files with 13 additions and 10 deletions
|
|
@ -71,7 +71,7 @@ const splitterModel = ref<number>(14);
|
|||
/** tree*/
|
||||
const filterTree = ref<string>("");
|
||||
const nodeId = ref<string>("");
|
||||
const orgTreeDnaId = ref<string>("");
|
||||
const orgTreeId = ref<string>("");
|
||||
const nodeLevel = ref<number>(0);
|
||||
const node = ref<DataStructureTree[]>([]);
|
||||
const expanded = ref<string[]>([]);
|
||||
|
|
@ -96,7 +96,7 @@ function onSelectedNode(data: any) {
|
|||
org.value = data.orgName;
|
||||
nodeId.value = data.orgTreeId;
|
||||
nodeLevel.value = data.orgLevel;
|
||||
orgTreeDnaId.value = data.orgTreeDnaId;
|
||||
orgTreeId.value = data.orgTreeId;
|
||||
expandedModal.value = false;
|
||||
}
|
||||
|
||||
|
|
@ -110,7 +110,7 @@ function fetchDataReport() {
|
|||
const queryParams = {
|
||||
nodeId:
|
||||
reportType.value.type === "probation" && reportType.value.id === "2"
|
||||
? orgTreeDnaId.value
|
||||
? orgTreeId.value
|
||||
: nodeId.value,
|
||||
node: nodeLevel.value,
|
||||
startDate: dateToISO(dateStart.value),
|
||||
|
|
@ -184,7 +184,7 @@ function clearFilter() {
|
|||
org.value = "";
|
||||
nodeId.value = "";
|
||||
nodeLevel.value = 0;
|
||||
orgTreeDnaId.value = "";
|
||||
orgTreeId.value = "";
|
||||
reportType.value = undefined;
|
||||
detailReport.value = undefined;
|
||||
pdfSrc.value = undefined;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue