เพิ่มคำสั่งแต่งตั้ง เลื่อน ย้ายจากราชกิจจาฯ
This commit is contained in:
parent
db8046efdb
commit
fa13be0a3e
10 changed files with 217 additions and 117 deletions
|
|
@ -277,6 +277,7 @@ function sendToCommand() {
|
|||
/** ฟังก์ชันเลือกประเภทคำสั่ง */
|
||||
function filterSelectOrder() {
|
||||
const data = rowsData.value;
|
||||
|
||||
selected.value = [];
|
||||
rows.value = data.filter((v: PersonData) => {
|
||||
switch (commandType.value) {
|
||||
|
|
@ -289,6 +290,8 @@ function filterSelectOrder() {
|
|||
case "C-PM-07":
|
||||
return v.typeCommand === "MOVE";
|
||||
|
||||
case "C-PM-47":
|
||||
return v.posTypeName === "บริหาร" || v.posTypeName === "อำนวยการ";
|
||||
default:
|
||||
return [];
|
||||
}
|
||||
|
|
@ -329,7 +332,10 @@ watch(
|
|||
const data = await storeCommand.getCommandTypes();
|
||||
commandMainOp.value = data.filter(
|
||||
(e: ListCommand) =>
|
||||
e.code === "C-PM-05" || e.code === "C-PM-39" || e.code === "C-PM-07"
|
||||
e.code === "C-PM-05" ||
|
||||
e.code === "C-PM-39" ||
|
||||
e.code === "C-PM-07" ||
|
||||
e.code === "C-PM-47"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue