ปรับ width Dialog
This commit is contained in:
parent
29071e0edf
commit
d71f87a17b
2 changed files with 6 additions and 3 deletions
|
|
@ -118,7 +118,7 @@ watch(
|
|||
<template>
|
||||
<template>
|
||||
<q-dialog v-model="modal" persistent>
|
||||
<q-card style="min-width: 40vw">
|
||||
<q-card style="min-width: 70%">
|
||||
<DialogHeader
|
||||
:tittle="type == 0 ? `ประวัติหน่วยงาน` : `ประวัติส่วนราชการ`"
|
||||
:close="() => (modal = false)"
|
||||
|
|
@ -166,7 +166,10 @@ watch(
|
|||
:key="col.name"
|
||||
:props="props"
|
||||
>
|
||||
<div>
|
||||
<div class="table_ellipsis2" v-if="col.name == 'name'">
|
||||
{{ col.value ?? "-" }}
|
||||
</div>
|
||||
<div v-else>
|
||||
{{ col.value ?? "-" }}
|
||||
</div>
|
||||
</q-td>
|
||||
|
|
|
|||
|
|
@ -179,7 +179,7 @@ watch(
|
|||
</script>
|
||||
<template>
|
||||
<q-dialog v-model="modal" persistent>
|
||||
<q-card style="width: 1000px; max-width: 100vw">
|
||||
<q-card style="min-width: 80%">
|
||||
<Header
|
||||
:tittle="'ประวัติตำแหน่ง'"
|
||||
:close="
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue