fix bug
This commit is contained in:
parent
b69228eaf3
commit
e9d68b67a4
1 changed files with 3 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ const router = useRouter();
|
|||
const mixin = useCounterMixin();
|
||||
const { success, messageError, showLoader, hideLoader, dialogConfirm } = mixin;
|
||||
|
||||
const id = ref<string>(route.params.id.toString()); //id path
|
||||
const id = ref<string>(""); //id path
|
||||
const files = ref<any>(); //ไฟล์
|
||||
const tranferOrg = ref<string>(""); //ชื่อหน่วยงานที่ขอโอนไป
|
||||
const noteReason = ref<string>(""); //เหตุผล
|
||||
|
|
@ -91,6 +91,7 @@ function fileOpen(url: string) {
|
|||
*/
|
||||
onMounted(() => {
|
||||
if (route.params.id !== undefined) {
|
||||
id.value = route.params.id.toString();
|
||||
fecthDataTransfer(id.value);
|
||||
}
|
||||
});
|
||||
|
|
@ -197,7 +198,7 @@ onMounted(() => {
|
|||
</div>
|
||||
|
||||
<!-- Workflow -->
|
||||
<div class="col-12">
|
||||
<div class="col-12" v-if="routeName != 'addTransfer'">
|
||||
<Workflow :id="id" :sys-name="`transfer`" />
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue