รายการตัวชี้วัดตามแผนฯ => เพิ่มปีงบประมาณ
This commit is contained in:
parent
a0d269781b
commit
e328616ef9
2 changed files with 209 additions and 128 deletions
|
|
@ -20,8 +20,7 @@ const {
|
||||||
} = mixin;
|
} = mixin;
|
||||||
|
|
||||||
const planData = reactive<any>({
|
const planData = reactive<any>({
|
||||||
year: 0, //ปีงบประมาณ
|
kpiPeriodId: "", //รอบการประเมิน(เมษา->APR, ตุลา->OCT)
|
||||||
round: "", //รอบการประเมิน(เมษา->APR, ตุลา->OCT)
|
|
||||||
including: "", //รหัสตัวชี้วัด
|
including: "", //รหัสตัวชี้วัด
|
||||||
includingName: "", //ชื่อตัวชี้วัด
|
includingName: "", //ชื่อตัวชี้วัด
|
||||||
target: "", //ค่าเป้าหมาย
|
target: "", //ค่าเป้าหมาย
|
||||||
|
|
@ -44,12 +43,10 @@ const planData = reactive<any>({
|
||||||
const filter = ref<string>("");
|
const filter = ref<string>("");
|
||||||
const filterAgency = ref<string>("");
|
const filterAgency = ref<string>("");
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
const id = ref<string | string[]>(route.params.id);
|
const id = ref<string>(route.params.id.toString());
|
||||||
|
const year = ref<number>(0);
|
||||||
|
|
||||||
const roundOp = ref<any[]>([
|
const roundOp = ref<any[]>([]);
|
||||||
{ id: "APR", name: "เมษายน" },
|
|
||||||
{ id: "OCT", name: "ตุลาคม" },
|
|
||||||
]);
|
|
||||||
const notFound = ref<string>("ไม่พบข้อมูลที่ค้นหา");
|
const notFound = ref<string>("ไม่พบข้อมูลที่ค้นหา");
|
||||||
const noData = ref<string>("ไม่มีข้อมูล");
|
const noData = ref<string>("ไม่มีข้อมูล");
|
||||||
const expandedPlan = ref<Array<string | null>>([]);
|
const expandedPlan = ref<Array<string | null>>([]);
|
||||||
|
|
@ -68,6 +65,41 @@ async function onSubmit() {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const inputRef = ref<any>(null);
|
||||||
|
function fetchRoundOption(isId: number | null = null) {
|
||||||
|
showLoader();
|
||||||
|
http
|
||||||
|
.get(
|
||||||
|
config.API.kpiPeriod +
|
||||||
|
`?page=${1}&pageSize=${10}&keyword=${""}&year=${year.value}`
|
||||||
|
)
|
||||||
|
.then((res) => {
|
||||||
|
const data = res.data.result.data;
|
||||||
|
const list = data.map((e: any) => ({
|
||||||
|
id: e.id,
|
||||||
|
name:
|
||||||
|
e.durationKPI === "OCT"
|
||||||
|
? "รอบตุลาคม"
|
||||||
|
: e.durationKPI === "APR"
|
||||||
|
? "รอบเมษายน"
|
||||||
|
: "",
|
||||||
|
}));
|
||||||
|
roundOp.value = list;
|
||||||
|
console.log(isId);
|
||||||
|
|
||||||
|
if (isId) {
|
||||||
|
planData.kpiPeriodId = "";
|
||||||
|
inputRef.value.resetValidation();
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.catch((err) => {
|
||||||
|
messageError($q, err);
|
||||||
|
})
|
||||||
|
.finally(() => {
|
||||||
|
hideLoader();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
function fetchTree() {
|
function fetchTree() {
|
||||||
showLoader();
|
showLoader();
|
||||||
http
|
http
|
||||||
|
|
@ -126,9 +158,10 @@ async function fetchDataById(id: any) {
|
||||||
.get(config.API.kpiPlanById(id))
|
.get(config.API.kpiPlanById(id))
|
||||||
.then(async (res) => {
|
.then(async (res) => {
|
||||||
const data = res.data.result;
|
const data = res.data.result;
|
||||||
|
year.value = data.year;
|
||||||
// planData.value = data;
|
// planData.value = data;
|
||||||
planData.year = data.year;
|
// planData.year = data.year;
|
||||||
planData.round = data.round;
|
planData.kpiPeriodId = data.kpiPeriodId;
|
||||||
planData.including = data.including;
|
planData.including = data.including;
|
||||||
planData.includingName = data.includingName;
|
planData.includingName = data.includingName;
|
||||||
planData.target = data.target;
|
planData.target = data.target;
|
||||||
|
|
@ -146,6 +179,7 @@ async function fetchDataById(id: any) {
|
||||||
planData.orgRevisionId = data.orgRevisionId;
|
planData.orgRevisionId = data.orgRevisionId;
|
||||||
planData.strategy = data.strategy;
|
planData.strategy = data.strategy;
|
||||||
planData.strategyId = data.strategyId;
|
planData.strategyId = data.strategyId;
|
||||||
|
fetchRoundOption();
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
messageError($q, err);
|
messageError($q, err);
|
||||||
|
|
@ -159,6 +193,7 @@ function updateSelected(data: any) {
|
||||||
planData.strategyId = data.id;
|
planData.strategyId = data.id;
|
||||||
planData.strategy = data.level;
|
planData.strategy = data.level;
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateSelectedAgency(data: any) {
|
function updateSelectedAgency(data: any) {
|
||||||
if (planData.node === data.orgLevel && planData.nodeId === data.orgTreeId) {
|
if (planData.node === data.orgLevel && planData.nodeId === data.orgTreeId) {
|
||||||
planData.node = null;
|
planData.node = null;
|
||||||
|
|
@ -184,11 +219,12 @@ async function addData() {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
async function editData(id: any) {
|
async function editData(id: string) {
|
||||||
await http
|
await http
|
||||||
.put(config.API.kpiPlanById(id), planData)
|
.put(config.API.kpiPlanById(id), planData)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
success($q, "บันทึกข้อมูลสำเร็จ");
|
success($q, "บันทึกข้อมูลสำเร็จ");
|
||||||
|
fetchDataById(id);
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
messageError($q, err);
|
messageError($q, err);
|
||||||
|
|
@ -219,12 +255,12 @@ onMounted(async () => {
|
||||||
<div class="col-2">
|
<div class="col-2">
|
||||||
<datepicker
|
<datepicker
|
||||||
menu-class-name="modalfix"
|
menu-class-name="modalfix"
|
||||||
v-model="planData.year"
|
v-model="year"
|
||||||
:locale="'th'"
|
:locale="'th'"
|
||||||
autoApply
|
autoApply
|
||||||
year-picker
|
year-picker
|
||||||
:enableTimePicker="false"
|
:enableTimePicker="false"
|
||||||
@update:modelValue="planData.year"
|
@update:modelValue="fetchRoundOption"
|
||||||
>
|
>
|
||||||
<template #year="{ year }">{{ year + 543 }}</template>
|
<template #year="{ year }">{{ year + 543 }}</template>
|
||||||
<template #year-overlay-value="{ value }">{{
|
<template #year-overlay-value="{ value }">{{
|
||||||
|
|
@ -237,9 +273,8 @@ onMounted(async () => {
|
||||||
outlined
|
outlined
|
||||||
class="inputgreen"
|
class="inputgreen"
|
||||||
hide-bottom-space
|
hide-bottom-space
|
||||||
:model-value="!!planData.year ? planData.year + 543 : null"
|
:model-value="!!year ? year + 543 : null"
|
||||||
:label="`${'ปีงบประมาณ'}`"
|
:label="`${'ปีงบประมาณ'}`"
|
||||||
@update:modelValue="planData.year = null"
|
|
||||||
>
|
>
|
||||||
<template v-slot:prepend>
|
<template v-slot:prepend>
|
||||||
<q-icon
|
<q-icon
|
||||||
|
|
@ -255,9 +290,11 @@ onMounted(async () => {
|
||||||
</div>
|
</div>
|
||||||
<div class="col-2">
|
<div class="col-2">
|
||||||
<q-select
|
<q-select
|
||||||
|
ref="inputRef"
|
||||||
|
:readonly="roundOp.length === 0"
|
||||||
dense
|
dense
|
||||||
outlined
|
outlined
|
||||||
v-model="planData.round"
|
v-model="planData.kpiPeriodId"
|
||||||
:options="roundOp"
|
:options="roundOp"
|
||||||
label="รอบการประเมิน"
|
label="รอบการประเมิน"
|
||||||
hide-bottom-space
|
hide-bottom-space
|
||||||
|
|
@ -593,4 +630,12 @@ onMounted(async () => {
|
||||||
</q-form>
|
</q-form>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped></style>
|
<style lang="scss" scoped>
|
||||||
|
.my-list-link {
|
||||||
|
color: rgb(118, 168, 222);
|
||||||
|
border-radius: 5px;
|
||||||
|
background: #a3d3fb48 !important;
|
||||||
|
font-weight: 600;
|
||||||
|
border: 1px solid rgba(175, 185, 196, 0.217);
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ const { showLoader, hideLoader, dialogRemove, success, messageError } =
|
||||||
useCounterMixin();
|
useCounterMixin();
|
||||||
|
|
||||||
/** หัวตาราง */
|
/** หัวตาราง */
|
||||||
const rows = ref<any>([]);
|
const rows = ref<any[]>([]);
|
||||||
const columns = ref<QTableProps["columns"]>([
|
const columns = ref<QTableProps["columns"]>([
|
||||||
{
|
{
|
||||||
name: "including",
|
name: "including",
|
||||||
|
|
@ -40,25 +40,14 @@ const expanded = ref<any>([]);
|
||||||
const filterMain = ref<string>("");
|
const filterMain = ref<string>("");
|
||||||
const visibleColumns = ref<string[]>(["including", "includingName"]);
|
const visibleColumns = ref<string[]>(["including", "includingName"]);
|
||||||
|
|
||||||
const orgOp = ref<any[]>([
|
|
||||||
{ id: "1", name: "กลุ่มงานช่วยนักบริหาร" },
|
|
||||||
{ id: "2", name: "กลุ่มงานช่วยนักบริหาร 2" },
|
|
||||||
]);
|
|
||||||
|
|
||||||
const roundOp = ref<any[]>([
|
const roundOp = ref<any[]>([
|
||||||
{ id: "APR", name: "รอบเมษายน" },
|
{ id: "APR", name: "รอบเมษายน" },
|
||||||
{ id: "OCT", name: "รอบตุลาคม" },
|
{ id: "OCT", name: "รอบตุลาคม" },
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const formFilter = reactive({
|
|
||||||
page: 1,
|
|
||||||
pageSize: 10,
|
|
||||||
org: "1",
|
|
||||||
round: "",
|
|
||||||
keyword: "",
|
|
||||||
});
|
|
||||||
const totalList = ref<number>(1);
|
const totalList = ref<number>(1);
|
||||||
|
|
||||||
|
const year = ref<number>(new Date().getFullYear());
|
||||||
const nodeData = reactive<any>({
|
const nodeData = reactive<any>({
|
||||||
page: 1,
|
page: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
|
|
@ -68,12 +57,41 @@ const nodeData = reactive<any>({
|
||||||
keyword: "",
|
keyword: "",
|
||||||
});
|
});
|
||||||
|
|
||||||
|
function fetchRoundOption() {
|
||||||
|
showLoader();
|
||||||
|
http
|
||||||
|
.get(
|
||||||
|
config.API.kpiPeriod +
|
||||||
|
`?page=${1}&pageSize=${10}&keyword=${""}&year=${year.value}`
|
||||||
|
)
|
||||||
|
.then((res) => {
|
||||||
|
const data = res.data.result.data;
|
||||||
|
const list = data.map((e: any) => ({
|
||||||
|
id: e.id,
|
||||||
|
name:
|
||||||
|
e.durationKPI === "OCT"
|
||||||
|
? "รอบตุลาคม"
|
||||||
|
: e.durationKPI === "APR"
|
||||||
|
? "รอบเมษายน"
|
||||||
|
: "",
|
||||||
|
}));
|
||||||
|
roundOp.value = list;
|
||||||
|
nodeData.round = "";
|
||||||
|
fetchListProjectNew();
|
||||||
|
})
|
||||||
|
.catch((err) => {
|
||||||
|
messageError($q, err);
|
||||||
|
})
|
||||||
|
.finally(() => {
|
||||||
|
hideLoader();
|
||||||
|
});
|
||||||
|
}
|
||||||
function fetchList() {
|
function fetchList() {
|
||||||
showLoader();
|
showLoader();
|
||||||
http
|
http
|
||||||
.get(
|
.get(
|
||||||
config.API.kpiPlan +
|
config.API.kpiPlan +
|
||||||
`?page=${nodeData.page}&pageSize=${nodeData.pageSize}&round=${nodeData.round}&nodeId=${nodeData.nodeId}&node=${nodeData.node}&keyword=${nodeData.keyword}`
|
`?page=${nodeData.page}&pageSize=${nodeData.pageSize}&kpiPeriodId=${nodeData.round}&nodeId=${nodeData.nodeId}&node=${nodeData.node}&keyword=${nodeData.keyword}`
|
||||||
)
|
)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
const data = res.data.result.data;
|
const data = res.data.result.data;
|
||||||
|
|
@ -94,13 +112,6 @@ function onClickAddOrView(status: boolean = false, id: string = "") {
|
||||||
: router.push("/KPI-indicator-plan/add");
|
: router.push("/KPI-indicator-plan/add");
|
||||||
}
|
}
|
||||||
|
|
||||||
function onClickDelete(id: number) {
|
|
||||||
dialogRemove($q, () => {
|
|
||||||
rows.value.splice(id, 1);
|
|
||||||
success($q, "ลบข้อมูลสำเร็จ");
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
async function fetchData() {
|
async function fetchData() {
|
||||||
showLoader();
|
showLoader();
|
||||||
await http
|
await http
|
||||||
|
|
@ -182,7 +193,8 @@ async function deleteData(idData: string) {
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
fetchActive();
|
fetchActive();
|
||||||
fetchData();
|
fetchRoundOption();
|
||||||
|
// fetchData();
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
@ -190,80 +202,103 @@ onMounted(() => {
|
||||||
<div class="toptitle text-dark col-12 row items-center">
|
<div class="toptitle text-dark col-12 row items-center">
|
||||||
รายการตัวชี้วัดตามแผนฯ
|
รายการตัวชี้วัดตามแผนฯ
|
||||||
</div>
|
</div>
|
||||||
<q-card flat bordered class="q-pa-md">
|
<q-card bordered class="col-12 row caedNone">
|
||||||
<div class="row q-col-gutter-sm">
|
<div class="col-xs-12 col-sm-3 row">
|
||||||
<q-card bordered class="col-4">
|
<div class="col-12 row no-wrap">
|
||||||
<q-card-section class="q-py-sm">
|
<div class="col-12 q-py-sm q-px-sm">
|
||||||
<div class="text-subtitle2 text-bold">หน่วยงาน/ส่วนราชการ</div>
|
<div class="q-gutter-sm">
|
||||||
</q-card-section>
|
<div class="text-subtitle2 text-bold">หน่วยงาน/ส่วนราชการ</div>
|
||||||
<div class="col-xs-12 col-sm-3 row">
|
<q-input dense outlined v-model="filterMain" label="ค้นหา">
|
||||||
<div class="col-12 row no-wrap">
|
<template v-slot:append>
|
||||||
<div class="col-12 q-py-sm q-px-sm">
|
<q-icon
|
||||||
<div class="q-gutter-sm">
|
v-if="filterMain !== ''"
|
||||||
<q-input dense outlined v-model="filterMain" label="ค้นหา">
|
name="clear"
|
||||||
<template v-slot:append>
|
class="cursor-pointer"
|
||||||
<q-icon
|
@click="filterMain = ''"
|
||||||
v-if="filterMain !== ''"
|
/>
|
||||||
name="clear"
|
<q-icon v-else name="search" color="grey-5" />
|
||||||
class="cursor-pointer"
|
</template>
|
||||||
@click="filterMain = ''"
|
</q-input>
|
||||||
/>
|
<q-tree
|
||||||
<q-icon v-else name="search" color="grey-5" />
|
class="tree-container"
|
||||||
</template>
|
dense
|
||||||
</q-input>
|
:nodes="node"
|
||||||
<div>
|
node-key="orgTreeName"
|
||||||
<q-tree
|
label-key="labelName"
|
||||||
class="tree-container"
|
v-model:expanded="expanded"
|
||||||
dense
|
:filter="filterMain"
|
||||||
:nodes="node"
|
no-results-label="ไม่พบข้อมูลที่ค้นหา"
|
||||||
node-key="orgTreeName"
|
no-nodes-label="ไม่มีข้อมูล"
|
||||||
label-key="labelName"
|
v-model:selected="nodeData.nodeId"
|
||||||
v-model:expanded="expanded"
|
>
|
||||||
:filter="filterMain"
|
<template v-slot:default-header="prop">
|
||||||
no-results-label="ไม่พบข้อมูลที่ค้นหา"
|
<q-item
|
||||||
no-nodes-label="ไม่มีข้อมูล"
|
clickable
|
||||||
v-model:selected="nodeData.nodeId"
|
@click.stop="updateSelectedTreeMain(prop.node)"
|
||||||
>
|
:active="nodeData.nodeId === prop.node.orgTreeId"
|
||||||
<template v-slot:default-header="prop">
|
active-class="my-list-link text-primary text-weight-medium"
|
||||||
<q-item
|
class="row col-12 items-center text-dark q-py-xs q-pl-sm rounded-borders my-list"
|
||||||
clickable
|
>
|
||||||
@click.stop="updateSelectedTreeMain(prop.node)"
|
<div>
|
||||||
:active="nodeData.nodeId === prop.node.orgTreeId"
|
<div class="text-weight-medium">
|
||||||
active-class="my-list-link text-primary text-weight-medium"
|
{{ prop.node.orgTreeName }}
|
||||||
class="row col-12 items-center text-dark q-py-xs q-pl-sm rounded-borders my-list"
|
</div>
|
||||||
>
|
<div class="text-weight-light text-grey-8">
|
||||||
<div>
|
{{ prop.node.orgCode == null ? null : prop.node.orgCode }}
|
||||||
<div class="text-weight-medium">
|
{{
|
||||||
{{ prop.node.orgTreeName }}
|
prop.node.orgTreeShortName == null
|
||||||
</div>
|
? null
|
||||||
<div class="text-weight-light text-grey-8">
|
: prop.node.orgTreeShortName
|
||||||
{{
|
}}
|
||||||
prop.node.orgCode == null
|
</div>
|
||||||
? null
|
</div>
|
||||||
: prop.node.orgCode
|
</q-item>
|
||||||
}}
|
</template>
|
||||||
{{
|
</q-tree>
|
||||||
prop.node.orgTreeShortName == null
|
|
||||||
? null
|
|
||||||
: prop.node.orgTreeShortName
|
|
||||||
}}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</q-item>
|
|
||||||
</template>
|
|
||||||
</q-tree>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="col-12 row">
|
|
||||||
<q-separator :vertical="!$q.screen.lt.md" />
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</q-card>
|
<div class="col-12 row">
|
||||||
<div class="col-8">
|
<q-separator :vertical="!$q.screen.lt.md" />
|
||||||
<div class="row q-col-gutter-sm q-mb-sm">
|
</div>
|
||||||
<div class="col-3">
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-xs-12 col-sm-9 q-pa-md row">
|
||||||
|
<div class="col-12">
|
||||||
|
<q-toolbar style="padding: 0">
|
||||||
|
<div class="row q-gutter-sm">
|
||||||
|
<datepicker
|
||||||
|
menu-class-name="modalfix"
|
||||||
|
v-model="year"
|
||||||
|
:locale="'th'"
|
||||||
|
autoApply
|
||||||
|
year-picker
|
||||||
|
:enableTimePicker="false"
|
||||||
|
style="width: 150px"
|
||||||
|
@update:model-value="fetchRoundOption"
|
||||||
|
>
|
||||||
|
<template #year="{ year }">{{ year + 543 }}</template>
|
||||||
|
<template #year-overlay-value="{ value }">{{
|
||||||
|
parseInt(value + 543)
|
||||||
|
}}</template>
|
||||||
|
<template #trigger>
|
||||||
|
<q-input
|
||||||
|
dense
|
||||||
|
lazy-rules
|
||||||
|
outlined
|
||||||
|
:model-value="year === 0 ? 'ทั้งหมด' : Number(year) + 543"
|
||||||
|
:label="`${'ปีงบประมาณ'}`"
|
||||||
|
>
|
||||||
|
<template v-slot:prepend>
|
||||||
|
<q-icon
|
||||||
|
name="event"
|
||||||
|
class="cursor-pointer"
|
||||||
|
style="color: var(--q-primary)"
|
||||||
|
>
|
||||||
|
</q-icon>
|
||||||
|
</template>
|
||||||
|
</q-input>
|
||||||
|
</template>
|
||||||
|
</datepicker>
|
||||||
<q-select
|
<q-select
|
||||||
dense
|
dense
|
||||||
outlined
|
outlined
|
||||||
|
|
@ -275,28 +310,29 @@ onMounted(() => {
|
||||||
emit-value
|
emit-value
|
||||||
map-options
|
map-options
|
||||||
@update:model-value="fetchListProjectNew"
|
@update:model-value="fetchListProjectNew"
|
||||||
|
style="min-width: 150px"
|
||||||
/>
|
/>
|
||||||
|
<q-toolbar-title>
|
||||||
|
<q-btn
|
||||||
|
flat
|
||||||
|
round
|
||||||
|
dense
|
||||||
|
icon="add"
|
||||||
|
color="primary"
|
||||||
|
@click="onClickAddOrView()"
|
||||||
|
>
|
||||||
|
<q-tooltip>เพิ่ม</q-tooltip>
|
||||||
|
</q-btn>
|
||||||
|
</q-toolbar-title>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-2">
|
<q-space />
|
||||||
<q-btn
|
<div class="row q-gutter-sm">
|
||||||
flat
|
|
||||||
round
|
|
||||||
dense
|
|
||||||
icon="add"
|
|
||||||
color="primary"
|
|
||||||
@click="onClickAddOrView()"
|
|
||||||
>
|
|
||||||
<q-tooltip>เพิ่ม</q-tooltip>
|
|
||||||
</q-btn>
|
|
||||||
</div>
|
|
||||||
<div class="col-4">
|
|
||||||
<q-input
|
<q-input
|
||||||
standout
|
standout
|
||||||
dense
|
dense
|
||||||
v-model="nodeData.keyword"
|
v-model="nodeData.keyword"
|
||||||
ref="filterRef"
|
ref="filterRef"
|
||||||
outlined
|
outlined
|
||||||
debounce="300"
|
|
||||||
placeholder="ค้นหา"
|
placeholder="ค้นหา"
|
||||||
>
|
>
|
||||||
<template v-slot:append>
|
<template v-slot:append>
|
||||||
|
|
@ -309,8 +345,6 @@ onMounted(() => {
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
</q-input>
|
</q-input>
|
||||||
</div>
|
|
||||||
<div class="col-3">
|
|
||||||
<q-select
|
<q-select
|
||||||
v-model="visibleColumns"
|
v-model="visibleColumns"
|
||||||
multiple
|
multiple
|
||||||
|
|
@ -326,7 +360,7 @@ onMounted(() => {
|
||||||
style="min-width: 150px"
|
style="min-width: 150px"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</q-toolbar>
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
<d-table
|
<d-table
|
||||||
for="table"
|
for="table"
|
||||||
|
|
@ -387,12 +421,14 @@ onMounted(() => {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</q-card>
|
</q-card>
|
||||||
|
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.tree-container {
|
.tree-container {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
height: 65vh;
|
height: 73vh;
|
||||||
border: 1px solid #e6e6e7;
|
border: 1px solid #e6e6e7;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue