วินัย => แสดงรายการทั้งหมด , ตัวชี้วัดตามแผน => ปรับ tree
This commit is contained in:
parent
f7d8256682
commit
7cce2fd1fb
13 changed files with 157 additions and 115 deletions
|
|
@ -38,10 +38,10 @@ const pagination = ref({
|
|||
/**
|
||||
* clickไปหน้าเพิ่มchanel
|
||||
*/
|
||||
function clickAdd(){
|
||||
dataStore.getType('')
|
||||
function clickAdd() {
|
||||
dataStore.getType("");
|
||||
router.push(`/discipline/channel/add`);
|
||||
};
|
||||
}
|
||||
|
||||
/** get data */
|
||||
async function getComplaintChanal() {
|
||||
|
|
@ -91,9 +91,9 @@ async function deleteData(id: string) {
|
|||
* ไปหน้า แก้ไข
|
||||
* @param id type
|
||||
*/
|
||||
function editPage(data:typeItem){
|
||||
dataStore.getType(data.name)
|
||||
router.push(`/discipline/channel/${data.id}`)
|
||||
function editPage(data: typeItem) {
|
||||
dataStore.getType(data.name);
|
||||
router.push(`/discipline/channel/${data.id}`);
|
||||
}
|
||||
/**เมื่อเริ่มโหลดหน้า เรียกใช้ฟังชั่น*/
|
||||
onMounted(() => {
|
||||
|
|
@ -188,7 +188,7 @@ onMounted(() => {
|
|||
{{ props.rowIndex + 1 }}
|
||||
</div>
|
||||
<div v-else>
|
||||
{{ col.value}}
|
||||
{{ col.value ?? "-" }}
|
||||
</div>
|
||||
</q-td>
|
||||
<q-td>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue