แก้ไขคำผิด
This commit is contained in:
parent
a4cf7e029b
commit
302b947a2b
6 changed files with 10 additions and 10 deletions
|
|
@ -145,7 +145,7 @@ async function editData(id: string) {
|
|||
}
|
||||
|
||||
/**
|
||||
* ไปยังหน้า รายากรเขต/อำเภอ โดย id ของจังหวัด
|
||||
* ไปยังหน้า รายการเขต/อำเภอ โดย id ของจังหวัด
|
||||
* @param id จังหวัด
|
||||
*/
|
||||
function nextPage(id: string) {
|
||||
|
|
|
|||
|
|
@ -169,7 +169,7 @@ async function editData(id: string) {
|
|||
}
|
||||
|
||||
/**
|
||||
* ไปยังหน้า รายากรเแขวง/ตำบลโดย id ของเขต/อำเภอ
|
||||
* ไปยังหน้า รายการเแขวง/ตำบลโดย id ของเขต/อำเภอ
|
||||
* @param idSub เขต/อำเภอ
|
||||
*/
|
||||
function nextPage(idSub: string) {
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ const visibleColumns = ref<string[]>([
|
|||
const id = ref<string>(route.params.id as string); // เขต/อำเภอ
|
||||
const rows = ref<FormSubDistrict[]>([]); // ข้อมูลรายการแขวง/ตำบล
|
||||
const rowsMain = ref<FormSubDistrict[]>([]); // ข้อมูลรายการแขวง/ตำบล
|
||||
const editId = ref<string>(""); // id รายากรแขวง/ตำบล
|
||||
const editId = ref<string>(""); // id รายการแขวง/ตำบล
|
||||
const filterKeyword = ref<string>(""); // คำค้นหา
|
||||
const dialog = ref<boolean>(false); // เพิ่มข้อมูล,แก้ไขข้อมูล
|
||||
const subDistrict = ref<string>(""); //แขวง / ตำบล;
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@ const { showLoader, hideLoader, messageError, date2Thai, onSearchDataTable } =
|
|||
useCounterMixin();
|
||||
|
||||
// Table
|
||||
const rows = ref<RowListForm[]>([]); // รายากรข้อมูลตำแหน่งทางการบริหาร
|
||||
const rowsMain = ref<RowListForm[]>([]); // รายากรข้อมูลตำแหน่งทางการบริหาร
|
||||
const rows = ref<RowListForm[]>([]); // รายการข้อมูลตำแหน่งทางการบริหาร
|
||||
const rowsMain = ref<RowListForm[]>([]); // รายการข้อมูลตำแหน่งทางการบริหาร
|
||||
const filterKeyword = ref<string>(""); // คำค้นหา
|
||||
const visibleColumns = ref<string[]>([
|
||||
"no",
|
||||
|
|
@ -117,14 +117,14 @@ async function getData() {
|
|||
}
|
||||
|
||||
/**
|
||||
* เปิด popup เพื่อเพิ่มข้อมูลรายากรตำแหน่งทางการบริหาร
|
||||
* เปิด popup เพื่อเพิ่มข้อมูลรายการตำแหน่งทางการบริหาร
|
||||
*/
|
||||
function popUpAdd() {
|
||||
modalPosExecutive.value = true;
|
||||
}
|
||||
|
||||
/**
|
||||
* เปิด popup เพื่อแก่ไขข้อมูลรายากรตำแหน่งทางการบริหาร
|
||||
* เปิด popup เพื่อแก่ไขข้อมูลรายการตำแหน่งทางการบริหาร
|
||||
* @param data ข้อมูลรายการตำแหน่งทางการบริหารที่ต้องการแก้ไข
|
||||
*/
|
||||
function editPopUp(data: RowListForm) {
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ const isAPIKey = ref<boolean>(false); //status API Key
|
|||
const apiKey = ref<string>(""); // API Key
|
||||
const options = ref<ListApi[]>([]); //รายการ API ที่เข้าถึงได้
|
||||
|
||||
// form การสร้างรายากร API Key
|
||||
// form การสร้างรายการ API Key
|
||||
const formData = reactive<FormCreate>({
|
||||
name: "", //ชื่อ/คำอธิบาย
|
||||
apiId: [], //id รายการ API ที่เข้าถึงได้
|
||||
|
|
|
|||
|
|
@ -301,11 +301,11 @@ onMounted(async () => {
|
|||
map-options
|
||||
v-model="apiNameId"
|
||||
:options="options"
|
||||
label="รายากร Web Services"
|
||||
label="รายการ Web Services"
|
||||
use-input
|
||||
hide-selected
|
||||
fill-input
|
||||
:clearable="apiNameId !==''"
|
||||
:clearable="apiNameId !== ''"
|
||||
@clear="(apiNameId = ''), (options = dataApiName)"
|
||||
@update:modelValue="onSelectType"
|
||||
@filter="(inputValue: string,doneFn: Function) => filterSelector(inputValue, doneFn )"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue