ล่าสุด

This commit is contained in:
kanyarat2001 2023-12-20 19:00:27 +07:00
parent c6527faba8
commit c11f605472
10 changed files with 253 additions and 229 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 MiB

After

Width:  |  Height:  |  Size: 2.5 MiB

Before After
Before After

BIN
src/assets/a1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 239 KiB

BIN
src/assets/a2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

BIN
src/assets/a3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

BIN
src/assets/p1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 KiB

BIN
src/assets/p2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 KiB

View file

@ -1,156 +1,235 @@
<script setup lang="ts">
</script>
<template>
<div class="col-12 row justify-center text-h6 text-dark">Maintenance</div>
<template>
<div class="col-12 row justify-center text-h6 text-dark">แลรกษาระบบ</div>
<div class="col-12 q-pt-md "></div>
<div class="col-12"><q-separator color="grey-4" /></div>
<div class="q-pa-md col-12 text-weight-medium"
style="
padding-left: 0px;
padding-right: 0px;
">
<q-expansion-item
class="shadow-1 overflow-hidden"
style="border-radius: 8px"
icon="mdi-alert"
label="เมื่อพบข้อผิดพลาดที่เกี่ยวข้องกับระบบ เช่น ระบบค้าง หรือ ข้อมูลไม่อัพเดต ต้องทำยังไง"
header-class="bg-blue-grey-6 text-white "
expand-icon-class="text-white"
>
<q-card>
<q-card-section>
<q-img
src="@/assets/p2.png"
class="col-12"
/>
</q-card-section>
</q-card>
</q-expansion-item>
</div>
<q-card class="row col-12 q-mt-md">
<div class="col-12 q-px-md q-py-sm text-subtitle2 text-blue bg-light-blue-1 text-weight-medium">
ระบบหล
</div>
<div class="col-12 row q-pa-md">
<div class="col-6 row q-pa-sm icon_cer q-col-gutter-md">
<q-icon class="iconcontat" name="mdi-account-tie"/>
<div class="txt text-weight-regular">แล
<br>
<div class="txt1 text-weight-regular">
นางสาวกณฐมา กาฬสนธ
</div>
</div>
</div>
<div class="col-6 row q-pa-sm icon_cer q-col-gutter-md">
<q-icon class="iconcontat" name="mdi-briefcase"/>
<div class="txt text-weight-regular">หนวยงาน
<br>
<div class="txt1 text-weight-regular ">
สำนกงานคณะกรรมการขาราชการกรงเทพมหานคร
</div>
</div>
</div>
<div class="col-6 row q-pa-sm icon_cer q-col-gutter-md">
<q-icon class="iconcontat" name="mdi-phone"/>
<div class="txt text-weight-regular">เบอรโทร
<br>
<div class="txt1 text-weight-regular">
063-511-9047
</div>
</div>
</div>
<div class="col-6 row q-pa-sm icon_cer q-col-gutter-md">
<q-icon class="iconcontat" name="mdi-email"/>
<div class="txt text-weight-regular">เมล
<br>
<div class="txt1 text-weight-regular ">
Kantima_Kalsin@gmail.com
</div>
</div>
</div>
</div>
</q-card>
<q-card class="row col-12 q-mt-md">
<div class="col-12 q-px-md q-py-sm text-subtitle2 text-blue bg-blue-1 text-weight-medium">
โครงสรางอตรากำล
</div>
<div class="col-12 row q-pa-md">
<div class="col-6 row q-pa-sm icon_cer q-col-gutter-md">
<q-icon class="iconcontat" name="mdi-account-tie"/>
<div class="txt text-weight-regular">แล
<br>
<div class="txt1 text-weight-regular">
นางสาวรชภรณ กด
</div>
</div>
</div>
<div class="col-6 row q-pa-sm icon_cer q-col-gutter-md">
<q-icon class="iconcontat" name="mdi-briefcase"/>
<div class="txt text-weight-regular">หนวยงาน
<br>
<div class="txt1 text-weight-regular ">
สำนกงานโครงสรางอตรากำลงกรงเทพมหานคร
</div>
</div>
</div>
<div class="col-6 row q-pa-sm icon_cer q-col-gutter-md">
<q-icon class="iconcontat" name="mdi-phone"/>
<div class="txt text-weight-regular">เบอรโทร
<br>
<div class="txt1 text-weight-regular">
092-112-3427
</div>
</div>
</div>
<div class="col-6 row q-pa-sm icon_cer q-col-gutter-md">
<q-icon class="iconcontat" name="mdi-email"/>
<div class="txt text-weight-regular">เมล
<br>
<div class="txt1 text-weight-regular ">
Ratchaphon.Pa@gmail.com
</div>
</div>
</div>
</div>
</q-card>
<q-card class="row col-12 q-mt-md">
<div class="col-12 q-px-md q-py-sm text-subtitle2 text-blue bg-blue-1 text-weight-medium">
ทะเบยนประว
</div>
<div class="col-12 row q-pa-md">
<div class="col-6 row q-pa-sm icon_cer q-col-gutter-md">
<q-icon class="iconcontat" name="mdi-account-tie"/>
<div class="txt text-weight-regular">แล
<br>
<div class="txt1 text-weight-regular">
นายณฐพงศ ษยบตร
</div>
</div>
</div>
<div class="q-pa-md col-12 text-weight-medium"
style="
padding-left: 0px;
padding-right: 0px;
padding-top: 0px;
">
<q-expansion-item
class="shadow-1 overflow-hidden"
style="border-radius: 8px"
icon="mdi-alert"
label="เมื่อการสูญหายของข้อมูล ต้องทำยังไง ? "
header-class="bg-blue-grey-6 text-white "
expand-icon-class="text-white"
>
<q-card>
<q-card-section>
<q-img
src="@/assets/p1.png"
class="col-12"
/>
</q-card-section>
</q-card>
</q-expansion-item>
</div>
<div class="col-6 row q-pa-sm icon_cer q-col-gutter-md">
<q-icon class="iconcontat" name="mdi-briefcase"/>
<div class="txt text-weight-regular">หนวยงาน
<br>
<div class="txt1 text-weight-regular ">
สำนกงานทะเบยนประว
</div>
</div>
</div>
<div class="col-6 row q-pa-sm icon_cer q-col-gutter-md">
<q-icon class="iconcontat" name="mdi-phone"/>
<div class="txt text-weight-regular">เบอรโทร
<br>
<div class="txt1 text-weight-regular">
081-233-0892
</div>
</div>
</div>
<div class="col-6 row q-pa-sm icon_cer q-col-gutter-md">
<q-icon class="iconcontat" name="mdi-email"/>
<div class="txt text-weight-regular">เมล
<br>
<div class="txt1 text-weight-regular ">
Nuttapong@gmail.com
</div>
</div>
</div>
</div>
</q-card>
<div class="q-pa-md col-12 text-weight-medium"
style="
padding-left: 0px;
padding-right: 0px;
padding-top: 0px;
">
<q-expansion-item
class="shadow-1 overflow-hidden"
style="border-radius: 8px"
icon="mdi-alert"
label="การตรวจสอบและแก้ไขปัญหา"
header-class="bg-blue-grey-6 text-white "
expand-icon-class="text-white"
>
<q-card>
<q-card-section>
<div style="margin-bottom: 10px;">
1. เมอพบว server การตอบสนองชาลง งอาจจะเปนไดจากการท RAM ของ Server ไมพอ หรอมการใชงาน Memory ดปกต สามารถเขาไปตรวจสอบได Grafana Dashboard
</div>
<q-card class="card1 text-weight-regular" >
<ul>
<li>
<a href="https://bma-dashboard.frappet.synology.me/d/fnX_0dPVk/docker-and-system-monitoring?orgId=1&refresh=5m" target="_blank">
https://bma-dashboard.frappet.synology.me/d/fnX_0dPVk/docker-and-system-monitoring?orgId=1&refresh=5m
</a>
</li>
</ul>
</q-card>
<q-img
src="@/assets/a3.png"
style="
display: block;
margin: 0 auto;
margin-top: 20px;
width: 80%;
"
/>
<div class="col-12" style="margin-top: 30px; margin-bottom: 30px; "><q-separator color="grey-4" /></div>
<div class="d-flex justify-center">
2. เมอเขามาแลวจะเจอหน dashboard ใหไปดในสวนของ Memory Consume
<q-img
src="@/assets/a1.png"
style="
display: block;
margin: 0 auto;
margin-top: 20px;
width: 50%;
"
/>
</div>
<div class="col-12" style="margin-top: 30px; margin-bottom: 30px; "><q-separator color="grey-4" /></div>
<div style="margin-bottom: 10px;">
3. เมอพบวาม container วใดทการใช memory มากผดปกต เราจะเขาไปทำการ stop continer หรอทำการ restart Container ใหม โดย ssh เขาไปทเครอง server
</div>
<q-card class="card1 text-weight-regular" >
<ul>
<li>
ssh frappet@frappet.com
</li>
</ul>
</q-card>
<div class="col-12" style="margin-top: 30px; margin-bottom: 30px; "><q-separator color="grey-4" /></div>
<div style="margin-bottom: 10px;">
4. ทำการใส password หลงจากนนระบบจะ ssh ไปทเครอง server
</div>
<div class="col-12" style="margin-top: 30px; margin-bottom: 30px; "><q-separator color="grey-4" /></div>
<div style="margin-bottom: 10px;">
5. ทำการ Change Directory ไปย folder ดต Docker
</div>
<q-card class="card1 text-weight-regular" >
<ul>
<li>
frappet@dockerserver:~$ cd docker
</li>
</ul>
</q-card>
<div class="col-12" style="margin-top: 30px; margin-bottom: 30px; "><q-separator color="grey-4" /></div>
<div style="margin-bottom: 10px;">
6. หลงจากนนทำการลสตรายการ Container Run อย เพอทจะทำการ Stop หร Restart Container องการ โดยใชคำส
</div>
<q-card class="card1 text-weight-regular" >
<ul>
<li>
frappet@dockerserver:~/docker$ docker ps
</li>
</ul>
</q-card>
<div class="col-12" style="margin-top: 30px; margin-bottom: 30px; "><q-separator color="grey-4" /></div>
<div style="margin-bottom: 10px;">
7. ระบบจะแสดงรายช Container ทำงานอยนมา
</div>
<div class="col-12" style="margin-top: 30px; margin-bottom: 30px; "><q-separator color="grey-4" /></div>
<div style="margin-bottom: 10px;">
8. ทำการ Stop Container องการ โดยใชคำส
</div>
<q-card class="card1 text-weight-regular" >
<ul>
<li>
frappet@dockerserver:~/docker$ docker stop container_name
</li>
</ul>
</q-card>
<div class="col-12" style="margin-top: 30px; margin-bottom: 30px; "><q-separator color="grey-4" /></div>
<div style="margin-bottom: 10px;">
9. หลงจากนนทำการ Start Container องการขนมาอกคร โดยการใชคำส
</div>
<q-card class="card1 text-weight-regular" >
<ul>
<li>
frappet@dockerserver:~/docker$ docker start container_name
</li>
</ul>
</q-card>
</q-card-section>
</q-card>
</q-expansion-item>
</div>
</template>
<style>
@ -175,4 +254,10 @@
color: black;
font-size :14px;
}
.card1{
background-color: #e2e2e268;
}
</style>

View file

@ -137,49 +137,11 @@
</div>
<div class="col-12 row">
<q-icon class="iconQA" name="mdi-cloud-question"/>
<div class="text-weight-medium" style="color: #016987;">การโจมตหรอความเสยงดานความปลอดภยทองระวงหรอไม ?</div>
<div class="col-12 row">
<ul>
<li>
เรามการตรวจสอบความเสถยรของระบบอยางสมำเสมอ และมแผนการทจะดำเนนการแกไขทนทหากมญหา
</li>
</ul>
</div>
</div>
<div class="col-12 row">
<q-icon class="iconQA" name="mdi-cloud-question"/>
<div class="text-weight-medium" style="color: #016987;">เมอพบขอผดพลาดทเกยวของกบระบบทำงาน เช ระบบคางหรอขอมลไมพเดต องทำยงไง ?</div>
<div class="col-12 row">
<ul>
<li>
ลองรเซตระบบหรอแอปพลเคชนทญหาเพอดาปญหาจะถกแกไขหรอไม
</li>
<li>
หากการรเซตระบบไมวยแกไขปญหาสามารถตดตอฝายสนบสนนเทคน
<span
style="
background-color: #016987;
border: 1px solid #016987;
color: white;
font-size: 12px;
text-align: center;
display: inline-block;
padding: 2px 5px;
border-radius: 2px;
margin: 0px 5px 0px 5px;
"
>
ดตอเรา
</span> เพอขอความชวยเหล
</li>
</ul>
</div>
</div>
</q-card>
</q-card-section>

View file

@ -278,7 +278,7 @@
<div class="col-12 row">
<!-- <div class="col-12 row">
<q-icon class="iconQA" name="mdi-cloud-question"/>
<div class="text-weight-medium" style="color: #016987;">หากตองการเชอมโครงสรางอยางไร ในระบบโครงสรางอตรากำลงตองทำอยางไร ?</div>
<br>
@ -307,8 +307,8 @@
<q-icon class="iconQA" name="mdi-cloud-question"/>
<div class="text-weight-medium" style="color: #016987;">
าตวเลขสดำ แดง างกนอยางไร ?</div>
<!-- <ul>
<ul>
<li>
<span
style="color: #ff0000;
@ -322,42 +322,11 @@
</span>
แดง อจำนวนคนทงหมดขององคกร
</li>
</ul>-->
</div>
<div class="col-12 row">
<q-icon class="iconQA" name="mdi-cloud-question"/>
<div class="text-weight-medium" style="color: #016987;">อมลทแสดงในระบบไมกตอง อมลผดพลาด ควรแกไขยงไง</div>
<br>
<ul>
<li>
หากคณเปนผใชพบขอมลผดพลาด ควรรายงานขอผดพลาดใหบทมทรพยากรบคคลหรอทมทบผดชอบในการดแลระบบทราบถงปญหา และระบรายงานวาพบขอมลผดพลาดทไหน กษณะของขอผดพลาด
</li>
<li>
ลองรเซตระบบหรอแอปพลเคชนทญหาเพอดกครงวาปญหาทเกดขนถกแกไขหรอไม
</li>
<li>
สามารถตดตอสอบถามเจาหนาท
<span
style="
background-color: #016987;
border: 1px solid #016987;
color: white;
font-size: 12px;
text-align: center;
display: inline-block;
padding: 1px 5px;
border-radius: 2px;
margin: 0px 5px 0px 5px;
"
>
ดตอเรา
</span> เพอแจงใหทราบถงปญหา
</li>
</ul>
</div>
-->
<div class="col-12 row">

View file

@ -25,7 +25,6 @@ const tabManu2 = [
{name: '9',label:'เครื่องราชฯ',path: ''},
{name: '10',label:'การลา',path: ''},
{name: '11',label:'วินัย',path: ''},
{name: '12',label:'Maintenance',path: 'maintenance'},
];
const mainmenu = [
@ -63,6 +62,7 @@ const clickMain = (val: string) => {
const clickTab= (val2: string) => {
router.push(val2)
window.scrollTo({ top: 0, left: 0, behavior: 'smooth' });
currentRoute.value = val2
};
const goHome = () => {
@ -114,7 +114,7 @@ const onScroll = (info: any) => { scrollInfo.value = info}
<q-space></q-space>
<div class="row q-col-gutter-x-sm">
<div><q-btn class="text-weight-medium" flat color="white" label="หน้าแรก" @click="goHome"/></div>
<div><q-btn color="secondary" text-color="white" label="ติดต่อเรา" @click="click()"/></div>
<div><q-btn class="text-weight-medium" flat color="white" label="ติดต่อเรา" @click="click()"/></div>
</div>
</q-toolbar>
</q-header>
@ -140,12 +140,12 @@ const onScroll = (info: any) => { scrollInfo.value = info}
<div class="col-12">
<div class="col-12 row q-col-gutter-lg">
<div class="col-xs-12 col-sm-4"
<div class="icon_1 col-xs-12 col-sm-4"
v-for="(menu , index) in mainmenu"
:key="index"
>
<q-card class="q-pa-md row justify-center text-dark cursor-pointer cardmenu" @click="clickMain(menu.path)" ><!-- router.push({ name: `${}`}) -->
<q-icon class="col-12 items-center" size="25px" :name="`${menu.icon}`"/>
<q-card class="connn q-pa-md row justify-center text-dark cursor-pointer cardmenu" @click="clickMain(menu.path)" ><!-- router.push({ name: `${}`}) -->
<q-icon class="col-12 items-center" size="40px" :name="`${menu.icon}`"/>
<div class="q-pt-md">{{ menu.text }} </div>
</q-card>
</div>
@ -167,7 +167,7 @@ const onScroll = (info: any) => { scrollInfo.value = info}
>
<q-card class="q-pa-md row justify-center text-dark cursor-pointer cardmenu" @click="redirectToManual" ><!-- router.push({ name: `${}`}) -->
<q-icon class="col-12 items-center" size="25px" :name="`${menu.icon}`"/>
<q-icon class="col-12 items-center" size="40px" :name="`${menu.icon}`"/>
<div class="q-pt-md">อการใชงาน</div>
</q-card>
</div>
@ -180,7 +180,7 @@ const onScroll = (info: any) => { scrollInfo.value = info}
<div class="col-xs-10 col-md-8 row q-col-gutter-md" style=" margin-top: 80px;" v-if="currentRoute == 'home'">
<div class="col-12 row justify-center text-h6 text-dark">Maintenant</div>
<div class="col-12 row justify-center text-h6 text-dark">แลรกษาระบบ</div>
<div class="col-12"><q-separator color="grey-4" /></div>
<div class="col-12">
<div class="col-12 row q-col-gutter-lg">
@ -190,9 +190,9 @@ const onScroll = (info: any) => { scrollInfo.value = info}
:key="index"
>
<q-card class="q-pa-md row justify-center text-dark cursor-pointer cardmenu" @click="clickMain(menu.path)" ><!-- router.push({ name: `${}`}) -->
<q-icon class="col-12 items-center" size="25px" :name="`${menu.icon}`"/>
<div class="q-pt-md">Maintenance</div>
<q-card class="q-pa-md row justify-center text-dark cursor-pointer cardmenu" @click="clickmainte(menu.path)" ><!-- router.push({ name: `${}`}) -->
<q-icon class="col-12 items-center" size="40px" :name="`${menu.icon}`"/>
<div class="q-pt-md">แลรกษาระบบ</div>
</q-card>
</div>
</div>
@ -212,7 +212,8 @@ const onScroll = (info: any) => { scrollInfo.value = info}
<router-view :key="$route.fullPath" />
</div>
<div class="col-12 row justify-center q-mt-lg" style="margin-top: 50px;" v-if="currentRoute != 'contact'">
<div class="col-12 row justify-center q-mt-lg" style="margin-top: 50px;"
v-if="currentRoute != 'contact' && currentRoute != 'maintenance'">
<q-tabs
v-model="tab"
class="text-grey-8" dense
@ -317,6 +318,9 @@ const onScroll = (info: any) => { scrollInfo.value = info}
.cardmenu{
padding: 35px; /* ปรับขนาด padding ตามที่คุณต้องการ */
box-shadow: 3px 3px 10px 1px rgba(4, 4, 4, 0.075) !important;
background-color: #F0F2F5;
;
}
@ -329,4 +333,8 @@ const onScroll = (info: any) => { scrollInfo.value = info}
background: #1e2234e5;
}
.icon_1{
color: #02A998;
}
</style>