Merge branch 'develop' into dev
This commit is contained in:
commit
49e29633f3
2 changed files with 1 additions and 2 deletions
|
|
@ -191,7 +191,6 @@ async function uploadFileDoc(
|
||||||
* @param group ประเภพไฟล์ "คำสั่ง","แนบท้าย"
|
* @param group ประเภพไฟล์ "คำสั่ง","แนบท้าย"
|
||||||
*/
|
*/
|
||||||
async function fetchDoc(group: string) {
|
async function fetchDoc(group: string) {
|
||||||
showLoader();
|
|
||||||
let type = group === "order" ? "คำสั่ง" : "แนบท้าย";
|
let type = group === "order" ? "คำสั่ง" : "แนบท้าย";
|
||||||
if (group === "order") {
|
if (group === "order") {
|
||||||
await fetchDocOrder(type);
|
await fetchDocOrder(type);
|
||||||
|
|
|
||||||
|
|
@ -109,8 +109,8 @@ async function fetchCheckIdofficer() {
|
||||||
* กำหนดค่า `store.readonly` เมื่อ route.name เป็น "commandViewDetailPage" จะอ่านข้อมูลได้อย่างเดียว
|
* กำหนดค่า `store.readonly` เมื่อ route.name เป็น "commandViewDetailPage" จะอ่านข้อมูลได้อย่างเดียว
|
||||||
*/
|
*/
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
await fetchDataCommandList();
|
|
||||||
await fetchCheckIdofficer();
|
await fetchCheckIdofficer();
|
||||||
|
await fetchDataCommandList();
|
||||||
store.readonly =
|
store.readonly =
|
||||||
route.name === "commandViewDetailPage" ||
|
route.name === "commandViewDetailPage" ||
|
||||||
formCommandList.status === "REPORTED" ||
|
formCommandList.status === "REPORTED" ||
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue