2023-07-12 11:34:51 +07:00
|
|
|
<script setup lang="ts">
|
|
|
|
|
import { useQuasar, QForm } from "quasar";
|
2023-07-20 17:57:05 +07:00
|
|
|
import { onMounted, reactive, ref, watch } from "vue";
|
2023-07-13 14:20:28 +07:00
|
|
|
import DialogHeader from "@/modules/05_placement/components/PersonalList/DialogHeader.vue";
|
|
|
|
|
import DialogFooter from "@/modules/05_placement/components/PersonalList/DialogFooter.vue";
|
2023-07-12 11:34:51 +07:00
|
|
|
import { useCounterMixin } from "@/stores/mixin";
|
|
|
|
|
import http from "@/plugins/http";
|
|
|
|
|
import config from "@/app.config";
|
|
|
|
|
|
|
|
|
|
const $q = useQuasar();
|
|
|
|
|
const mixin = useCounterMixin(); //เรียกฟังก์ชันกลาง
|
2023-08-17 11:40:46 +07:00
|
|
|
const {
|
|
|
|
|
date2Thai,
|
|
|
|
|
hideLoader,
|
|
|
|
|
messageError,
|
|
|
|
|
showLoader,
|
|
|
|
|
success,
|
|
|
|
|
dialogConfirm,
|
|
|
|
|
} = mixin; //ฟังก์ชันกลางที่เรียกใช้
|
2023-07-12 11:34:51 +07:00
|
|
|
|
|
|
|
|
const notFound = ref<string>("ไม่พบข้อมูลที่ค้นหา");
|
|
|
|
|
const noData = ref<string>("ไม่พบข้อมูลผังโครงสร้าง");
|
|
|
|
|
|
|
|
|
|
const checkValidate = ref<boolean>(false);
|
|
|
|
|
const myFormPosition = ref<any>();
|
2023-07-13 17:30:16 +07:00
|
|
|
const selected = ref<string>("");
|
2023-07-14 11:36:59 +07:00
|
|
|
const selectedFile = ref<string>("");
|
2023-07-20 17:57:05 +07:00
|
|
|
const dataRespone = ref<any>();
|
2023-07-12 11:34:51 +07:00
|
|
|
|
|
|
|
|
// Set form field
|
|
|
|
|
let dataForm = reactive({
|
2023-07-13 17:30:16 +07:00
|
|
|
personalId: "",
|
|
|
|
|
containDate: new Date(),
|
|
|
|
|
posNoId: "",
|
|
|
|
|
positionId: "",
|
|
|
|
|
positionLevelId: "",
|
|
|
|
|
positionLineId: "",
|
|
|
|
|
positionPathSideId: "",
|
|
|
|
|
positionTypeId: "",
|
2023-07-20 17:57:05 +07:00
|
|
|
// salaryAmount: null,
|
|
|
|
|
// mouthSalaryAmount: null,
|
|
|
|
|
// positionSalaryAmount: null,
|
2023-07-12 11:34:51 +07:00
|
|
|
});
|
|
|
|
|
|
2023-07-14 11:36:59 +07:00
|
|
|
onMounted(async () => {
|
|
|
|
|
await fetchPublishFile();
|
|
|
|
|
await loadTreeData();
|
|
|
|
|
await fetchplacementPosition();
|
2023-07-13 17:30:16 +07:00
|
|
|
});
|
2023-07-14 11:36:59 +07:00
|
|
|
const fetchPublishFile = async () => {
|
|
|
|
|
await http
|
|
|
|
|
.get(config.API.getPublishFileHistory)
|
|
|
|
|
.then((res) => {
|
|
|
|
|
let data = res.data.result;
|
|
|
|
|
selectedFile.value = data[0].fileName;
|
|
|
|
|
})
|
|
|
|
|
.catch((e) => {
|
|
|
|
|
messageError($q, e);
|
|
|
|
|
})
|
|
|
|
|
.finally(async () => {
|
|
|
|
|
hideLoader();
|
|
|
|
|
});
|
|
|
|
|
};
|
2023-07-12 11:34:51 +07:00
|
|
|
|
|
|
|
|
// โหลดข้อมูลโครงสร้างจาก json
|
|
|
|
|
const treeData = ref<Array<any>>([]);
|
|
|
|
|
const loadTreeData = async () => {
|
2023-07-21 14:25:01 +07:00
|
|
|
expanded.value = [];
|
2023-07-13 17:30:16 +07:00
|
|
|
await http
|
2023-07-14 11:36:59 +07:00
|
|
|
.get(`${config.s3ClusterUrl}${selectedFile.value}`)
|
2023-07-13 17:30:16 +07:00
|
|
|
.then((res: any) => {
|
|
|
|
|
treeData.value = res.data;
|
2023-07-20 17:57:05 +07:00
|
|
|
dataRespone.value = res.data;
|
2023-07-14 11:36:59 +07:00
|
|
|
|
|
|
|
|
// Filter objects with "name" null
|
|
|
|
|
const filteredData = res.data.filter(filterByPersonIdNull);
|
|
|
|
|
treeData.value = filteredData;
|
2023-07-13 17:30:16 +07:00
|
|
|
})
|
|
|
|
|
.catch((e: any) => {
|
|
|
|
|
messageError($q, e);
|
|
|
|
|
})
|
|
|
|
|
.finally(() => {
|
|
|
|
|
hideLoader();
|
|
|
|
|
});
|
|
|
|
|
};
|
2023-07-14 11:36:59 +07:00
|
|
|
|
|
|
|
|
function filterByPersonIdNull(obj: any) {
|
2023-07-20 17:57:05 +07:00
|
|
|
// console.log(obj);
|
2023-07-15 13:39:48 +07:00
|
|
|
if (obj.name === null && obj.isCondition != true) {
|
2023-07-14 11:36:59 +07:00
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
if (obj.children && obj.children.length > 0) {
|
|
|
|
|
obj.children = obj.children.filter(filterByPersonIdNull);
|
|
|
|
|
return obj.children.length > 0;
|
|
|
|
|
}
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
2023-07-13 17:30:16 +07:00
|
|
|
// โหลด position
|
|
|
|
|
const placementPosition = ref<any>([]);
|
|
|
|
|
const fetchplacementPosition = async () => {
|
|
|
|
|
await http
|
|
|
|
|
.get(config.API.placementPosition())
|
|
|
|
|
.then((res: any) => {
|
2023-07-28 17:05:09 +07:00
|
|
|
console.log("1221111111");
|
|
|
|
|
|
2023-07-13 17:30:16 +07:00
|
|
|
placementPosition.value = res.data.result;
|
|
|
|
|
})
|
|
|
|
|
.catch((e: any) => {
|
|
|
|
|
messageError($q, e);
|
|
|
|
|
});
|
2023-07-12 11:34:51 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const search = ref<string>("");
|
|
|
|
|
//reset Tree Filter
|
2023-07-13 17:30:16 +07:00
|
|
|
const filterRef = ref<any>(null);
|
2023-07-24 15:26:22 +07:00
|
|
|
// const resetFilter = () => {
|
|
|
|
|
// search.value = "";
|
|
|
|
|
// filterRef.value.focus();
|
|
|
|
|
// };
|
2023-07-12 11:34:51 +07:00
|
|
|
|
|
|
|
|
const props = defineProps({
|
2023-07-13 17:30:16 +07:00
|
|
|
personalId: String,
|
|
|
|
|
modal: Boolean,
|
|
|
|
|
close: {
|
|
|
|
|
type: Function,
|
|
|
|
|
default: () => console.log("close modal"),
|
|
|
|
|
},
|
2023-07-20 17:57:05 +07:00
|
|
|
personal: Object,
|
2023-07-12 11:34:51 +07:00
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const myFilterMethod = (node: any, filter: string) => {
|
2023-07-13 17:30:16 +07:00
|
|
|
const filt = filter;
|
|
|
|
|
|
|
|
|
|
return (
|
2023-07-21 11:41:53 +07:00
|
|
|
// ((node.name && node.name == null) || !node.name) &&
|
|
|
|
|
(node.name && node.name.indexOf(filt) > -1) ||
|
|
|
|
|
(node.organizationName && node.organizationName.indexOf(filt) > -1) ||
|
2023-07-21 14:25:01 +07:00
|
|
|
(node.positionNum && node.positionNum.indexOf(filt) > -1) ||
|
|
|
|
|
(node.positionName && node.positionName.indexOf(filt) > -1) ||
|
|
|
|
|
(node.governmentCode &&
|
|
|
|
|
node.governmentCode.toString().indexOf(filt) > -1) ||
|
|
|
|
|
(node.agency && node.agency.indexOf(filt) > -1) ||
|
|
|
|
|
(node.government && node.government.indexOf(filt) > -1) ||
|
|
|
|
|
(node.department && node.department.indexOf(filt) > -1) ||
|
|
|
|
|
(node.pile && node.pile.indexOf(filt) > -1) ||
|
|
|
|
|
(node.organizationShortName &&
|
|
|
|
|
node.organizationShortName.indexOf(filt) > -1) ||
|
|
|
|
|
(node.positionSideName && node.positionSideName.indexOf(filt) > -1) ||
|
|
|
|
|
(node.executivePosition && node.executivePosition.indexOf(filt) > -1) ||
|
|
|
|
|
(node.executivePositionSide &&
|
|
|
|
|
node.executivePositionSide.indexOf(filt) > -1) ||
|
2023-07-21 11:41:53 +07:00
|
|
|
(node.positionLevel && node.positionLevel.indexOf(filt) > -1)
|
2023-07-13 17:30:16 +07:00
|
|
|
);
|
|
|
|
|
};
|
2023-07-12 11:34:51 +07:00
|
|
|
|
|
|
|
|
const validateData = async () => {
|
2023-07-13 17:30:16 +07:00
|
|
|
checkValidate.value = true;
|
|
|
|
|
await myFormPosition.value.validate().then((result: boolean) => {
|
|
|
|
|
if (result == false) {
|
|
|
|
|
checkValidate.value = false;
|
|
|
|
|
}
|
|
|
|
|
});
|
2023-07-12 11:34:51 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const saveAppoint = async () => {
|
2023-07-24 15:26:22 +07:00
|
|
|
console.log("save", dataForm);
|
|
|
|
|
|
2023-07-13 17:30:16 +07:00
|
|
|
myFormPosition.value.validate().then(async (result: boolean) => {
|
|
|
|
|
if (result) {
|
|
|
|
|
const dataAppoint = await {
|
|
|
|
|
personalId: props.personalId,
|
|
|
|
|
containDate: dataForm.containDate,
|
|
|
|
|
posNoId: dataForm.posNoId,
|
|
|
|
|
positionId: dataForm.positionId,
|
|
|
|
|
positionLevelId: dataForm.positionLevelId,
|
|
|
|
|
positionLineId: dataForm.positionLineId,
|
|
|
|
|
positionPathSideId: dataForm.positionPathSideId,
|
|
|
|
|
positionTypeId: dataForm.positionTypeId,
|
2023-07-20 17:57:05 +07:00
|
|
|
// salaryAmount: dataForm.salaryAmount,
|
|
|
|
|
// mouthSalaryAmount: dataForm.mouthSalaryAmount,
|
|
|
|
|
// positionSalaryAmount: dataForm.positionSalaryAmount,
|
2023-07-13 17:30:16 +07:00
|
|
|
};
|
2023-07-24 15:26:22 +07:00
|
|
|
console.log("save appoint===>", dataAppoint);
|
2023-07-13 17:30:16 +07:00
|
|
|
showLoader();
|
|
|
|
|
await http
|
|
|
|
|
.post(config.API.placementPass(), dataAppoint)
|
|
|
|
|
.then((res) => {
|
|
|
|
|
console.log("respone=>", res);
|
|
|
|
|
success($q, "บันทึกสำเร็จ");
|
|
|
|
|
})
|
|
|
|
|
.catch((e) => {
|
|
|
|
|
messageError($q, e);
|
|
|
|
|
})
|
|
|
|
|
.finally(async () => {
|
|
|
|
|
await closeAndClear();
|
2023-07-24 15:26:22 +07:00
|
|
|
// await resetFilter();
|
|
|
|
|
await fetchPublishFile();
|
|
|
|
|
await loadTreeData();
|
|
|
|
|
await fetchplacementPosition();
|
2023-07-13 17:30:16 +07:00
|
|
|
hideLoader();
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
2023-07-12 11:34:51 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const editDataStatus = ref<boolean>(false);
|
|
|
|
|
const clickEditRow = () => {
|
2023-07-13 17:30:16 +07:00
|
|
|
editDataStatus.value = true;
|
2023-07-12 11:34:51 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const closeModal = () => {
|
2023-07-13 17:30:16 +07:00
|
|
|
if (editDataStatus.value == true) {
|
2023-08-17 11:40:46 +07:00
|
|
|
dialogConfirm(
|
|
|
|
|
$q,
|
|
|
|
|
() => closeAndClear(),
|
|
|
|
|
"ข้อมูลมีการแก้ไข",
|
|
|
|
|
"ยืนยันที่จะปิดโดยไม่บันทึกใช่หรือไม่"
|
|
|
|
|
);
|
|
|
|
|
// $q.dialog({
|
|
|
|
|
// title: `ข้อมูลมีการแก้ไข`,
|
|
|
|
|
// message: `ยืนยันที่จะปิดโดยไม่บันทึกใช่หรือไม่?`,
|
|
|
|
|
// cancel: "ยกเลิก",
|
|
|
|
|
// ok: "ยืนยัน",
|
|
|
|
|
// persistent: true,
|
|
|
|
|
// }).onOk(() => {
|
|
|
|
|
// closeAndClear();
|
|
|
|
|
// });
|
2023-07-13 17:30:16 +07:00
|
|
|
} else {
|
|
|
|
|
closeAndClear();
|
|
|
|
|
}
|
|
|
|
|
};
|
2023-07-12 11:34:51 +07:00
|
|
|
|
2023-07-12 21:25:24 +07:00
|
|
|
const closeAndClear = async () => {
|
2023-07-13 17:30:16 +07:00
|
|
|
await props.close();
|
|
|
|
|
editDataStatus.value = false;
|
|
|
|
|
selected.value = "";
|
|
|
|
|
dataForm.personalId = "";
|
|
|
|
|
dataForm.containDate = new Date();
|
|
|
|
|
dataForm.posNoId = "";
|
|
|
|
|
dataForm.positionId = "";
|
|
|
|
|
dataForm.positionLevelId = "";
|
|
|
|
|
dataForm.positionLineId = "";
|
|
|
|
|
dataForm.positionPathSideId = "";
|
|
|
|
|
dataForm.positionTypeId = "";
|
2023-07-20 17:57:05 +07:00
|
|
|
// dataForm.salaryAmount = null;
|
|
|
|
|
// dataForm.mouthSalaryAmount = null;
|
|
|
|
|
// dataForm.positionSalaryAmount = null;
|
2023-08-17 11:40:46 +07:00
|
|
|
editDataStatus.value = false;
|
2023-07-13 17:30:16 +07:00
|
|
|
};
|
2023-07-12 11:34:51 +07:00
|
|
|
// ตำแหน่งเลขที่
|
2023-07-13 17:30:16 +07:00
|
|
|
const posNoOptions = ref<Object[]>([
|
|
|
|
|
{
|
|
|
|
|
label: "",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
]);
|
2023-07-12 11:34:51 +07:00
|
|
|
// ตำแหน่ง
|
2023-07-13 17:30:16 +07:00
|
|
|
const positionOptions = ref<Object[]>([
|
|
|
|
|
{
|
|
|
|
|
label: "",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
]);
|
2023-07-12 11:34:51 +07:00
|
|
|
// ด้าน/สาขา
|
2023-07-13 17:30:16 +07:00
|
|
|
const positionPathSideOptions = ref<Object[]>([
|
|
|
|
|
{
|
|
|
|
|
label: "",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
]);
|
2023-07-12 11:34:51 +07:00
|
|
|
// ตำแหน่งประเภท
|
2023-07-13 17:30:16 +07:00
|
|
|
const positionTypeOptions = ref<Object[]>([
|
|
|
|
|
{
|
|
|
|
|
label: "",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
]);
|
2023-07-12 11:34:51 +07:00
|
|
|
// สายงาน
|
2023-07-13 17:30:16 +07:00
|
|
|
const positionLineOptions = ref<Object[]>([
|
|
|
|
|
{
|
|
|
|
|
label: "",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
]);
|
2023-07-12 11:34:51 +07:00
|
|
|
// ระดับ
|
2023-07-13 17:30:16 +07:00
|
|
|
const positionLevelOptions = ref<Object[]>([
|
|
|
|
|
{
|
|
|
|
|
label: "",
|
|
|
|
|
value: "",
|
|
|
|
|
},
|
|
|
|
|
]);
|
2023-07-12 11:34:51 +07:00
|
|
|
|
|
|
|
|
const selectedPosition = async (data: any) => {
|
2023-07-28 17:05:09 +07:00
|
|
|
// console.log("selecteds", data);
|
2023-07-13 17:30:16 +07:00
|
|
|
if (data.name == null && selected.value != data.keyId) {
|
2023-07-24 15:26:22 +07:00
|
|
|
// console.log("selecteds", data);
|
2023-07-12 11:34:51 +07:00
|
|
|
|
2023-07-13 17:30:16 +07:00
|
|
|
editDataStatus.value = true;
|
|
|
|
|
selected.value = data.keyId;
|
|
|
|
|
|
|
|
|
|
// posNo Options
|
|
|
|
|
posNoOptions.value = [
|
|
|
|
|
{
|
|
|
|
|
label: data.positionNum,
|
|
|
|
|
value: data.positionNumId,
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
dataForm.posNoId = data.positionNumId;
|
|
|
|
|
|
|
|
|
|
// position Options
|
|
|
|
|
positionOptions.value = [
|
|
|
|
|
{
|
|
|
|
|
label: data.positionName,
|
|
|
|
|
value: data.positionNameId,
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
dataForm.positionId = data.positionNameId;
|
|
|
|
|
|
|
|
|
|
// positionPathSide Options
|
|
|
|
|
let positionPathSideArr: any = [];
|
2023-07-24 15:26:22 +07:00
|
|
|
if (data.positionSideNameObj && data.positionSideNameObj != null) {
|
2023-07-13 17:30:16 +07:00
|
|
|
data.positionSideNameObj.map((x: any) => {
|
2023-07-24 15:26:22 +07:00
|
|
|
positionPathSideArr.push({
|
2023-07-13 17:30:16 +07:00
|
|
|
label: x.Name,
|
|
|
|
|
value: x.Id,
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
positionPathSideOptions.value = positionPathSideArr;
|
|
|
|
|
dataForm.positionPathSideId =
|
|
|
|
|
positionPathSideArr.length > 1 || positionPathSideArr.length == 0
|
|
|
|
|
? ""
|
|
|
|
|
: positionPathSideArr[0].value;
|
2023-07-12 11:34:51 +07:00
|
|
|
}
|
2023-07-13 17:30:16 +07:00
|
|
|
|
|
|
|
|
// positionType Options
|
|
|
|
|
positionTypeOptions.value = [
|
|
|
|
|
{
|
|
|
|
|
label: data.positionType,
|
|
|
|
|
value: data.positionTypeId,
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
dataForm.positionTypeId = data.positionTypeId;
|
|
|
|
|
|
|
|
|
|
// positionLine Options
|
|
|
|
|
positionLineOptions.value = [
|
|
|
|
|
{
|
|
|
|
|
label: data.positionLine,
|
|
|
|
|
value: data.positionLineId,
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
dataForm.positionLineId = data.positionLineId;
|
|
|
|
|
|
|
|
|
|
// positionLevel Options
|
|
|
|
|
let positionLevelsArr: any = [];
|
|
|
|
|
if (data.positionLevelObj != null) {
|
|
|
|
|
data.positionLevelObj.map((x: any) => {
|
|
|
|
|
positionLevelsArr.push({
|
|
|
|
|
label: x.Name,
|
|
|
|
|
value: x.Id,
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
positionLevelOptions.value = positionLevelsArr;
|
|
|
|
|
dataForm.positionLevelId =
|
|
|
|
|
positionLevelsArr.length > 1 || positionLevelsArr.length == 0
|
|
|
|
|
? ""
|
|
|
|
|
: positionLevelsArr[0].value;
|
2023-07-24 15:26:22 +07:00
|
|
|
dataForm.positionLevelId = data.positionLevelObj[0].Id;
|
2023-07-13 17:30:16 +07:00
|
|
|
}
|
|
|
|
|
} else if (selected.value == data.keyId) {
|
|
|
|
|
selected.value = "";
|
|
|
|
|
dataForm.posNoId = "";
|
|
|
|
|
dataForm.positionId = "";
|
|
|
|
|
dataForm.positionLevelId = "";
|
|
|
|
|
dataForm.positionLineId = "";
|
|
|
|
|
dataForm.positionPathSideId = "";
|
|
|
|
|
dataForm.positionTypeId = "";
|
|
|
|
|
}
|
2023-07-28 17:05:09 +07:00
|
|
|
// console.log("dataForm", dataForm);
|
2023-07-13 17:30:16 +07:00
|
|
|
};
|
2023-07-21 11:41:53 +07:00
|
|
|
|
2023-07-13 17:30:16 +07:00
|
|
|
const checkPosition = (val: string) => {
|
|
|
|
|
const num = placementPosition.value.findIndex((e: string) => e === val);
|
|
|
|
|
return num;
|
|
|
|
|
};
|
2023-07-20 17:57:05 +07:00
|
|
|
const personal = ref<any>();
|
2023-07-21 14:25:01 +07:00
|
|
|
const expanded = ref<string[]>([]);
|
2023-07-20 17:57:05 +07:00
|
|
|
|
|
|
|
|
watch(props, () => {
|
2023-07-21 14:25:01 +07:00
|
|
|
expanded.value = [];
|
2023-07-20 17:57:05 +07:00
|
|
|
const dataPersonal = props.personal;
|
2023-07-28 17:05:09 +07:00
|
|
|
fetchplacementPosition();
|
2023-07-20 17:57:05 +07:00
|
|
|
if (dataPersonal) {
|
|
|
|
|
dataPersonal.map((data: any) => {
|
|
|
|
|
personal.value = data;
|
|
|
|
|
});
|
|
|
|
|
console.log("personal", personal.value);
|
|
|
|
|
}
|
2023-07-21 11:41:53 +07:00
|
|
|
// console.log("draft===>", personal.value.draft);
|
2023-07-24 15:26:22 +07:00
|
|
|
|
2023-07-28 17:05:09 +07:00
|
|
|
if (
|
|
|
|
|
personal.value &&
|
|
|
|
|
personal.value.draft === false &&
|
|
|
|
|
personal.value.positionNumber !== null
|
|
|
|
|
) {
|
2023-07-21 11:41:53 +07:00
|
|
|
// const findData = dataRespone.value.find(findByPerson);
|
|
|
|
|
let findData: any = null;
|
|
|
|
|
dataRespone.value.map((x: any) => {
|
|
|
|
|
findData = findByPerson(x);
|
2023-07-28 17:05:09 +07:00
|
|
|
// console.log(findData);
|
2023-07-24 15:26:22 +07:00
|
|
|
|
2023-07-21 11:41:53 +07:00
|
|
|
if (findData != null) {
|
2023-07-28 17:05:09 +07:00
|
|
|
// console.log("findData===>", findData);
|
2023-07-21 14:25:01 +07:00
|
|
|
selectedPosition(findData);
|
|
|
|
|
for (let i = 3; i <= findData.keyId.length; i += 2) {
|
|
|
|
|
expanded.value.push(findData.keyId.slice(0, i));
|
|
|
|
|
}
|
2023-07-21 11:41:53 +07:00
|
|
|
}
|
2023-07-21 14:25:01 +07:00
|
|
|
});
|
2023-07-21 11:41:53 +07:00
|
|
|
// loadTreeData();
|
|
|
|
|
// selectedPosition(findData.children.children.children)
|
2023-07-20 17:57:05 +07:00
|
|
|
}
|
|
|
|
|
});
|
2023-07-21 11:41:53 +07:00
|
|
|
|
2023-07-21 14:25:01 +07:00
|
|
|
function findByPerson(element: any): any {
|
2023-07-21 11:41:53 +07:00
|
|
|
// console.log("searchTree element===>", element)
|
2023-07-21 14:25:01 +07:00
|
|
|
if (
|
|
|
|
|
element.positionNumId &&
|
|
|
|
|
element.positionLineId === personal.value.positionLineId &&
|
2023-07-21 11:41:53 +07:00
|
|
|
element.positionTypeId === personal.value.positionTypeId &&
|
2023-07-21 14:25:01 +07:00
|
|
|
element.positionNumId === personal.value.posNoId &&
|
|
|
|
|
(element.positionLevelObj === null ||
|
2023-07-24 15:26:22 +07:00
|
|
|
element.positionLevelObj[0].Id === personal.value.positionLevelId)
|
2023-07-20 17:57:05 +07:00
|
|
|
) {
|
2023-07-21 11:41:53 +07:00
|
|
|
return element;
|
|
|
|
|
} else if (element.children) {
|
|
|
|
|
var i;
|
|
|
|
|
var result = null;
|
|
|
|
|
for (i = 0; result == null && i < element.children.length; i++) {
|
|
|
|
|
result = findByPerson(element.children[i]);
|
|
|
|
|
}
|
|
|
|
|
return result;
|
2023-07-20 17:57:05 +07:00
|
|
|
}
|
2023-07-21 11:41:53 +07:00
|
|
|
return null;
|
|
|
|
|
}
|
2023-07-28 17:05:09 +07:00
|
|
|
const clearPosition = () => {
|
2023-08-17 11:40:46 +07:00
|
|
|
// console.log(personal.value);
|
|
|
|
|
dialogConfirm(
|
|
|
|
|
$q,
|
|
|
|
|
async () => postClearPosition(),
|
|
|
|
|
"ยืนยันการคืนตำแหน่ง",
|
|
|
|
|
"ต้องการยืนยันการคืนตำแหน่งนี้ใช่หรือไม่ ?"
|
|
|
|
|
);
|
|
|
|
|
// $q.dialog({
|
|
|
|
|
// title: "ยืนยันการคืนตำแหน่ง",
|
|
|
|
|
// message: "ต้องการยืนยันการคืนตำแหน่งนี้ใช่หรือไม่ ?",
|
|
|
|
|
// cancel: {
|
|
|
|
|
// flat: true,
|
|
|
|
|
// const: "negative",
|
|
|
|
|
// },
|
|
|
|
|
// persistent: true,
|
|
|
|
|
// })
|
|
|
|
|
// .onOk(async () => {
|
|
|
|
|
// showLoader();
|
|
|
|
|
// await http
|
|
|
|
|
// .post(config.API.clearPosition(personal.value.personalId), {})
|
|
|
|
|
// .then((res: Object) => success($q, "คืนตำแหน่งสำเร็จ"))
|
|
|
|
|
// .catch((e: Object) => {
|
|
|
|
|
// console.log(e);
|
|
|
|
|
// })
|
|
|
|
|
// .finally(async () => {
|
|
|
|
|
// hideLoader();
|
|
|
|
|
// await closeAndClear();
|
|
|
|
|
// });
|
|
|
|
|
// })
|
|
|
|
|
// .onCancel(() => {})
|
|
|
|
|
// .onDismiss(() => {});
|
|
|
|
|
};
|
|
|
|
|
const postClearPosition = async () => {
|
|
|
|
|
showLoader();
|
|
|
|
|
await http
|
|
|
|
|
.post(config.API.clearPosition(personal.value.personalId), {})
|
|
|
|
|
.then(() => {
|
|
|
|
|
success($q, "คืนตำแหน่งสำเร็จ");
|
|
|
|
|
})
|
2023-07-28 17:05:09 +07:00
|
|
|
|
2023-08-17 11:40:46 +07:00
|
|
|
.catch((e: Object) => {
|
|
|
|
|
console.log(e);
|
2023-07-28 17:05:09 +07:00
|
|
|
})
|
2023-08-17 11:40:46 +07:00
|
|
|
.finally(async () => {
|
|
|
|
|
hideLoader();
|
|
|
|
|
await closeAndClear();
|
|
|
|
|
});
|
2023-07-28 17:05:09 +07:00
|
|
|
};
|
2023-07-12 11:34:51 +07:00
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<template>
|
2023-07-21 14:25:01 +07:00
|
|
|
<q-dialog v-model="props.modal" persistent>
|
|
|
|
|
<q-card style="width: 900px; max-width: 80vw">
|
|
|
|
|
<q-form ref="myFormPosition">
|
|
|
|
|
<DialogHeader title="เลือกหน่วยงานที่รับบรรจุ" :close="closeModal" />
|
|
|
|
|
<q-separator />
|
|
|
|
|
<q-card-section class="q-pa-sm bg-grey-1">
|
|
|
|
|
<div class="row col-12 q-col-gutter-sm">
|
|
|
|
|
<div class="col-xs-12 col-sm-7 row">
|
|
|
|
|
<q-card flat bordered class="fit q-pa-sm">
|
|
|
|
|
<q-scroll-area visible style="height: 70vh">
|
|
|
|
|
<q-input
|
|
|
|
|
outlined
|
|
|
|
|
dense
|
|
|
|
|
ref="filterRef"
|
|
|
|
|
v-model="search"
|
|
|
|
|
placeholder="ค้นหา"
|
|
|
|
|
class="q-mb-sm"
|
|
|
|
|
>
|
|
|
|
|
<template v-slot:append>
|
|
|
|
|
<q-icon name="mdi-magnify" />
|
|
|
|
|
</template>
|
|
|
|
|
</q-input>
|
|
|
|
|
<div class="q-pa-sm q-gutter-sm">
|
|
|
|
|
<q-tree
|
|
|
|
|
no-transition
|
|
|
|
|
dense
|
|
|
|
|
:nodes="treeData"
|
|
|
|
|
node-key="keyId"
|
|
|
|
|
:filter="search"
|
|
|
|
|
:no-results-label="notFound"
|
|
|
|
|
:no-nodes-label="noData"
|
|
|
|
|
:filter-method="myFilterMethod"
|
|
|
|
|
v-model:expanded="expanded"
|
|
|
|
|
>
|
|
|
|
|
<template v-slot:header-organization="prop">
|
|
|
|
|
<div class="col">
|
|
|
|
|
<div
|
|
|
|
|
class="row items-center q-px-xs q-pt-xs q-gutter-sm"
|
|
|
|
|
>
|
|
|
|
|
<!--แสดงชื่อแผนก พิมพ์ตัวหนา คลิกแล้วกาง/หุบ Tree-->
|
|
|
|
|
<div class="text-weight-medium">
|
|
|
|
|
{{ prop.node.organizationName }}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!--แสดง Total Count PositionNum-->
|
|
|
|
|
<!-- <q-badge rounded color="grey-2" text-color="dark"
|
2023-07-12 11:34:51 +07:00
|
|
|
:label="prop.node.totalPositionCount" /> -->
|
2023-07-21 14:25:01 +07:00
|
|
|
<q-badge
|
|
|
|
|
v-if="prop.node.totalPositionVacant > 0"
|
|
|
|
|
rounded
|
|
|
|
|
color="red"
|
|
|
|
|
outline
|
|
|
|
|
:label="prop.node.totalPositionVacant"
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
<q-space />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col items-center q-px-xs q-pt-xs">
|
|
|
|
|
<div class="text-weight-medium text-grey-7">
|
|
|
|
|
{{ prop.node.governmentCode }}
|
|
|
|
|
{{ prop.node.organizationShortName }}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<template v-slot:header-person="prop">
|
|
|
|
|
<q-item
|
|
|
|
|
clickable
|
|
|
|
|
:active="selected == prop.node.keyId"
|
|
|
|
|
@click="selectedPosition(prop.node)"
|
|
|
|
|
:disable="
|
|
|
|
|
prop.node.name != null ||
|
|
|
|
|
checkPosition(prop.node.positionNumId) != -1
|
|
|
|
|
"
|
|
|
|
|
active-class="my-list-link text-primary text-weight-medium"
|
|
|
|
|
class="row items-center text-dark q-py-xs q-pl-sm rounded-borders my-list"
|
|
|
|
|
>
|
|
|
|
|
<img
|
|
|
|
|
v-if="
|
|
|
|
|
prop.node.avatar == '' ||
|
|
|
|
|
prop.node.avatar ==
|
|
|
|
|
'https://cdn.quasar.dev/img/boy-avatar.png'
|
|
|
|
|
"
|
|
|
|
|
src="@/assets/avatar_user.jpg"
|
|
|
|
|
class="col-xs-1 col-sm-2"
|
|
|
|
|
style="
|
2023-07-13 17:30:16 +07:00
|
|
|
width: 28px;
|
|
|
|
|
height: 28px;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
"
|
2023-07-21 14:25:01 +07:00
|
|
|
/>
|
|
|
|
|
<img
|
|
|
|
|
v-else
|
|
|
|
|
:src="prop.node.avatar"
|
|
|
|
|
class="col-xs-1 col-sm-2"
|
|
|
|
|
style="
|
2023-07-13 17:30:16 +07:00
|
|
|
width: 28px;
|
|
|
|
|
height: 28px;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
"
|
2023-07-21 14:25:01 +07:00
|
|
|
/>
|
|
|
|
|
<!--=====ตำแหน่งว่าง สีแดง=====-->
|
|
|
|
|
<div
|
|
|
|
|
v-if="prop.node.name == null"
|
|
|
|
|
class="q-px-sm text-weight-medium text-red"
|
|
|
|
|
>
|
|
|
|
|
ว่าง
|
|
|
|
|
</div>
|
|
|
|
|
<!--=====หัวหน้า สีเขียว=====-->
|
|
|
|
|
<div v-else-if="prop.node.positionLeaderFlag">
|
|
|
|
|
<div
|
|
|
|
|
class="q-px-sm text-weight-medium text-primary"
|
|
|
|
|
>
|
|
|
|
|
{{ prop.node.name }}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!--=====ลูกน้อง สีปกติ=====-->
|
|
|
|
|
<div v-else>
|
|
|
|
|
<div class="q-px-sm text-weight-medium">
|
|
|
|
|
{{ prop.node.name }}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!--ต่อท้ายชื่อคน แสดงสีปกติ-->
|
|
|
|
|
<div class="q-pr-sm">
|
|
|
|
|
{{ prop.node.positionName }}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="q-pr-sm">
|
|
|
|
|
{{ prop.node.positionNum }}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="q-pr-sm">
|
|
|
|
|
{{ prop.node.positionLevel }}
|
|
|
|
|
</div>
|
|
|
|
|
<q-icon
|
|
|
|
|
v-if="prop.node.positionLeaderFlag"
|
|
|
|
|
class="q-mr-sm"
|
|
|
|
|
size="15px"
|
|
|
|
|
color="primary"
|
|
|
|
|
name="mdi-bookmark"
|
|
|
|
|
></q-icon>
|
|
|
|
|
|
|
|
|
|
<q-space />
|
|
|
|
|
</q-item>
|
|
|
|
|
</template>
|
|
|
|
|
</q-tree>
|
|
|
|
|
</div>
|
|
|
|
|
</q-scroll-area>
|
|
|
|
|
</q-card>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-xs-12 col-sm-5">
|
2023-07-13 17:30:16 +07:00
|
|
|
<q-card flat bordered class="fit q-pa-sm">
|
|
|
|
|
<q-scroll-area visible style="height: 70vh">
|
|
|
|
|
<div class="row col-12 q-col-gutter-xs">
|
|
|
|
|
<div class="col-xs-12 col-sm-12 col-md-12"></div>
|
2023-07-20 17:57:05 +07:00
|
|
|
<div class="col-xs-12 col-sm-12 col-md-12">
|
2023-07-13 17:30:16 +07:00
|
|
|
<datepicker
|
|
|
|
|
menu-class-name="modalfix"
|
|
|
|
|
v-model="dataForm.containDate"
|
|
|
|
|
:locale="'th'"
|
|
|
|
|
autoApply
|
|
|
|
|
:enableTimePicker="false"
|
|
|
|
|
week-start="0"
|
|
|
|
|
>
|
|
|
|
|
<template #year="{ year }">{{ year + 543 }}</template>
|
|
|
|
|
<template #year-overlay-value="{ value }">{{
|
|
|
|
|
parseInt(value + 543)
|
|
|
|
|
}}</template>
|
|
|
|
|
<template #trigger>
|
|
|
|
|
<q-input
|
|
|
|
|
class="full-width inputgreen cursor-pointer"
|
|
|
|
|
outlined
|
|
|
|
|
dense
|
|
|
|
|
lazy-rules
|
|
|
|
|
:model-value="
|
|
|
|
|
date2Thai(new Date(dataForm.containDate))
|
|
|
|
|
"
|
2023-07-20 17:57:05 +07:00
|
|
|
:rules="[ (val: string) =>!!val ||`${'วันที่รายงานตัว'}`,
|
2023-07-13 17:30:16 +07:00
|
|
|
]"
|
|
|
|
|
:label="`${'วันที่รายงานตัว'}`"
|
|
|
|
|
hide-bottom-space
|
|
|
|
|
>
|
|
|
|
|
<template v-slot:prepend>
|
|
|
|
|
<q-icon
|
|
|
|
|
name="event"
|
|
|
|
|
class="cursor-pointer"
|
|
|
|
|
style="color: var(--q-primary)"
|
|
|
|
|
>
|
|
|
|
|
</q-icon>
|
|
|
|
|
</template>
|
|
|
|
|
</q-input>
|
|
|
|
|
</template>
|
|
|
|
|
</datepicker>
|
|
|
|
|
</div>
|
|
|
|
|
<q-space />
|
2023-07-20 17:57:05 +07:00
|
|
|
<div class="col-xs-12 col-sm-12 col-md-12">
|
2023-07-13 17:30:16 +07:00
|
|
|
<q-select
|
|
|
|
|
class="full-width inputgreen cursor-pointer custom-input"
|
|
|
|
|
outlined
|
|
|
|
|
standout
|
|
|
|
|
dense
|
|
|
|
|
hide-bottom-space
|
|
|
|
|
lazy-rules
|
|
|
|
|
:options="posNoOptions"
|
|
|
|
|
v-model="dataForm.posNoId"
|
|
|
|
|
:label="`${'ตำแหน่งเลขที่'}`"
|
|
|
|
|
map-options
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
2023-07-20 17:57:05 +07:00
|
|
|
<div class="col-xs-12 col-sm-12 col-md-12">
|
2023-07-13 17:30:16 +07:00
|
|
|
<q-select
|
|
|
|
|
outlined
|
|
|
|
|
class="full-width inputgreen cursor-pointer custom-input"
|
|
|
|
|
standout
|
|
|
|
|
dense
|
|
|
|
|
hide-bottom-space
|
|
|
|
|
lazy-rules
|
|
|
|
|
:options="positionOptions"
|
|
|
|
|
v-model="dataForm.positionId"
|
|
|
|
|
:label="`${'ตำแหน่ง'}`"
|
|
|
|
|
map-options
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
2023-07-20 17:57:05 +07:00
|
|
|
<div class="col-xs-12 col-sm-12 col-md-12">
|
2023-07-13 17:30:16 +07:00
|
|
|
<q-select
|
|
|
|
|
outlined
|
|
|
|
|
class="full-width inputgreen cursor-pointer custom-input"
|
|
|
|
|
standout
|
|
|
|
|
dense
|
|
|
|
|
hide-bottom-space
|
|
|
|
|
lazy-rules
|
|
|
|
|
:options="positionPathSideOptions"
|
|
|
|
|
v-model="dataForm.positionPathSideId"
|
|
|
|
|
:label="`${'ด้าน/สาขา'}`"
|
|
|
|
|
map-options
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
|
2023-07-20 17:57:05 +07:00
|
|
|
<div class="col-xs-12 col-sm-12 col-md-12">
|
2023-07-13 17:30:16 +07:00
|
|
|
<q-select
|
|
|
|
|
outlined
|
|
|
|
|
class="full-width inputgreen cursor-pointer custom-input"
|
|
|
|
|
standout
|
|
|
|
|
dense
|
|
|
|
|
hide-bottom-space
|
|
|
|
|
lazy-rules
|
|
|
|
|
:options="positionTypeOptions"
|
|
|
|
|
v-model="dataForm.positionTypeId"
|
|
|
|
|
:label="`${'ประเภทตำแหน่ง'}`"
|
|
|
|
|
map-options
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
2023-07-20 17:57:05 +07:00
|
|
|
<div class="col-xs-12 col-sm-12 col-md-12">
|
2023-07-13 17:30:16 +07:00
|
|
|
<q-select
|
|
|
|
|
outlined
|
|
|
|
|
class="full-width inputgreen cursor-pointer custom-input"
|
|
|
|
|
standout
|
|
|
|
|
dense
|
|
|
|
|
hide-bottom-space
|
|
|
|
|
lazy-rules
|
|
|
|
|
:options="positionLineOptions"
|
|
|
|
|
v-model="dataForm.positionLineId"
|
|
|
|
|
:label="`${'สายงาน'}`"
|
|
|
|
|
map-options
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
2023-07-20 17:57:05 +07:00
|
|
|
<div class="col-xs-12 col-sm-12 col-md-12">
|
2023-07-13 17:30:16 +07:00
|
|
|
<q-select
|
|
|
|
|
outlined
|
|
|
|
|
class="full-width inputgreen cursor-pointer custom-input"
|
|
|
|
|
standout
|
|
|
|
|
dense
|
|
|
|
|
lazy-rules
|
|
|
|
|
:options="positionLevelOptions"
|
|
|
|
|
v-model="dataForm.positionLevelId"
|
|
|
|
|
:label="`${'ระดับ'}`"
|
|
|
|
|
hide-bottom-space
|
|
|
|
|
:rules="[(val: string) => !!val || `${'กรุณาเลือกระดับ'}`]"
|
|
|
|
|
emit-value
|
|
|
|
|
map-options
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
2023-07-28 17:05:09 +07:00
|
|
|
<div
|
|
|
|
|
class="col-xs-12 col-sm-12 col-md-12 q-pa-lg"
|
|
|
|
|
v-if="personal.positionNumber"
|
|
|
|
|
>
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-md-4 offset-md-4">
|
|
|
|
|
<q-btn
|
|
|
|
|
color="grey"
|
|
|
|
|
label="คืนตำแหน่ง"
|
|
|
|
|
@click="clearPosition"
|
|
|
|
|
></q-btn>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2023-07-20 17:57:05 +07:00
|
|
|
<!-- <div class="col-sx-12 col-sm-12 col-md-12">
|
2023-07-13 17:30:16 +07:00
|
|
|
<q-separator inset size="2px" class="q-my-md" />
|
2023-07-20 17:57:05 +07:00
|
|
|
</div> -->
|
|
|
|
|
<!-- <div class="col-xs-6 col-sm-6 col-md-6">
|
2023-07-13 17:30:16 +07:00
|
|
|
<q-input
|
|
|
|
|
outlined
|
|
|
|
|
dense
|
|
|
|
|
lazy-rules
|
|
|
|
|
v-model="dataForm.salaryAmount"
|
|
|
|
|
:rules="[(val) => !!val || `${'กรุณากรอกเงินเดือน'}`]"
|
|
|
|
|
:label="`${'เงินเดือน'}`"
|
|
|
|
|
@update:modelValue="clickEditRow"
|
|
|
|
|
type="number"
|
|
|
|
|
hide-bottom-space
|
|
|
|
|
/>
|
2023-07-20 17:57:05 +07:00
|
|
|
</div> -->
|
2023-07-13 17:30:16 +07:00
|
|
|
|
2023-07-20 17:57:05 +07:00
|
|
|
<!-- <div class="col-xs-6 col-sm-6 col-md-6">
|
2023-07-13 17:30:16 +07:00
|
|
|
<q-input
|
|
|
|
|
outlined
|
|
|
|
|
dense
|
|
|
|
|
lazy-rules
|
|
|
|
|
v-model="dataForm.positionSalaryAmount"
|
|
|
|
|
:rules="[
|
|
|
|
|
(val) => !!val || `${'กรุณากรอกเงินประจำตำแหน่ง'}`,
|
|
|
|
|
]"
|
|
|
|
|
:label="`${'เงินประจำตำแหน่ง'}`"
|
|
|
|
|
@update:modelValue="clickEditRow"
|
|
|
|
|
type="number"
|
|
|
|
|
hide-bottom-space
|
|
|
|
|
/>
|
2023-07-20 17:57:05 +07:00
|
|
|
</div> -->
|
2023-07-13 17:30:16 +07:00
|
|
|
|
2023-07-20 17:57:05 +07:00
|
|
|
<!-- <div class="col-xs-6 col-sm-6 col-md-6">
|
2023-07-13 17:30:16 +07:00
|
|
|
<q-input
|
|
|
|
|
outlined
|
|
|
|
|
dense
|
|
|
|
|
lazy-rules
|
|
|
|
|
v-model="dataForm.mouthSalaryAmount"
|
|
|
|
|
:rules="[
|
|
|
|
|
(val) =>
|
|
|
|
|
!!val || `${'กรุณากรอกเงินค่าตอบแทนรายเดือน'}`,
|
|
|
|
|
]"
|
|
|
|
|
:label="`${'เงินค่าตอบแทนรายเดือน'}`"
|
|
|
|
|
@update:modelValue="clickEditRow"
|
|
|
|
|
type="number"
|
|
|
|
|
hide-bottom-space
|
|
|
|
|
/>
|
2023-07-20 17:57:05 +07:00
|
|
|
</div> -->
|
2023-07-13 17:30:16 +07:00
|
|
|
</div>
|
|
|
|
|
</q-scroll-area>
|
|
|
|
|
</q-card>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</q-card-section>
|
|
|
|
|
|
|
|
|
|
<q-separator />
|
|
|
|
|
<DialogFooter
|
|
|
|
|
:editvisible="true"
|
|
|
|
|
:validate="validateData"
|
|
|
|
|
:save="saveAppoint"
|
|
|
|
|
v-model:modalEdit="editDataStatus"
|
|
|
|
|
/>
|
|
|
|
|
</q-form>
|
|
|
|
|
</q-card>
|
|
|
|
|
</q-dialog>
|
2023-07-12 11:34:51 +07:00
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
|
|
.q-tree__node-header {
|
2023-07-13 17:30:16 +07:00
|
|
|
padding: 0px;
|
|
|
|
|
margin-top: 0px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
outline: 0;
|
2023-07-12 11:34:51 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.my-list-link {
|
2023-07-13 17:30:16 +07:00
|
|
|
color: rgb(118, 168, 222);
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
background: #a3d3fb48 !important;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
border: 1px solid rgba(175, 185, 196, 0.217);
|
|
|
|
|
/* box-shadow: 1px 1px 7px 1px rgba(41, 95, 255, 0.15) !important; */
|
2023-07-12 11:34:51 +07:00
|
|
|
}
|
2023-07-13 17:30:16 +07:00
|
|
|
</style>
|