fix load
This commit is contained in:
parent
627696ea65
commit
018e430289
5 changed files with 31 additions and 42 deletions
|
|
@ -8,8 +8,8 @@ import { useCommandDetail } from "@/modules/18_command/store/DetailStore";
|
|||
import http from "@/plugins/http";
|
||||
import config from "@/app.config";
|
||||
|
||||
import LiveView from "@/modules/18_command/components/Step/View0_Live.vue";
|
||||
import DigitalView from "@/modules/18_command/components/Step/View0_Digital.vue";
|
||||
import LiveView from "@/modules/18_command/components/Step/View0_Live.vue"; //เซ็นสด
|
||||
import DigitalView from "@/modules/18_command/components/Step/View0_Digital.vue"; //Digital Signature
|
||||
|
||||
const $q = useQuasar();
|
||||
const route = useRoute();
|
||||
|
|
@ -19,7 +19,7 @@ const { showLoader, hideLoader, messageError, dialogConfirm } =
|
|||
useCounterMixin();
|
||||
|
||||
const commandId = ref<string>(route.params.id.toString()); //ID คำสั่ง
|
||||
const step = ref<number>(1);
|
||||
const step = ref<number>(1); //สถานะของคำสั่ง
|
||||
const isStatus = ref<string>(""); //สถานะของคำสั่ง
|
||||
const signaturetype = ref<string>(""); //วิธีการลงนาม
|
||||
const isSignature = ref<boolean | null>(null);
|
||||
|
|
@ -28,6 +28,7 @@ const isDraft = ref<boolean>(false); //ทำแบบร่าง
|
|||
const isSign = ref<boolean>(false); //การลงนาม
|
||||
const isAttachment = ref<boolean>(false); //เอกสารแนบท้าย
|
||||
|
||||
/** ฟังก์ชันเรียกข้อมูลสถานะคำสั่ง*/
|
||||
async function fetchData() {
|
||||
showLoader();
|
||||
await http
|
||||
|
|
@ -55,6 +56,7 @@ async function fetchData() {
|
|||
});
|
||||
}
|
||||
|
||||
/** ฟังก์ชันยืนยันวิธีลงนาม*/
|
||||
function onConfirmSignature() {
|
||||
dialogConfirm(
|
||||
$q,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue