(false);
+
+function onClickAction(type: string, data: any) {
+ switch (type) {
+ case "edit":
+ onEdit();
+ break;
+ case "delete":
+ onDelete();
+ break;
+
+ default:
+ break;
+ }
+}
+
+function onEdit() {
+ modalDialogEmployeeRate.value = true;
+ isStatusEdit.value = true;
+}
+
+function onDelete() {
+ dialogRemove($q, () => {});
+}
+
+function onClickAdd() {
+ modalDialogEmployeeRate.value = true;
+ isStatusEdit.value = false;
+}
@@ -82,7 +134,7 @@ const pagination = ref({
-
+
เพิ่ม
@@ -132,6 +184,7 @@ const pagination = ref({
{{ col.label }}
+
@@ -146,6 +199,39 @@ const pagination = ref({
{{ col.value ? col.value : "-" }}
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -163,6 +249,11 @@ const pagination = ref({
+
+