props type
This commit is contained in:
parent
e66a5f8258
commit
30befa38c2
6 changed files with 44 additions and 15 deletions
|
|
@ -29,6 +29,7 @@ const props = defineProps({
|
|||
type: Boolean,
|
||||
requier: true,
|
||||
},
|
||||
type: { type: String, default: "" },
|
||||
});
|
||||
|
||||
/** emit*/
|
||||
|
|
@ -394,7 +395,7 @@ async function fetchProfile(id: string) {
|
|||
label="ระดับ"
|
||||
/>
|
||||
</div>
|
||||
<div class="col-xs-6 col-md-6">
|
||||
<div class="col-xs-6 col-md-6" v-if="props.type !== 'employee'">
|
||||
<q-input
|
||||
borderless
|
||||
readonly
|
||||
|
|
@ -402,7 +403,7 @@ async function fetchProfile(id: string) {
|
|||
label="ตำแหน่งทางการบริหาร"
|
||||
/>
|
||||
</div>
|
||||
<div class="col-xs-6 col-md-6">
|
||||
<div class="col-xs-6 col-md-6" v-if="props.type !== 'employee'">
|
||||
<q-input
|
||||
borderless
|
||||
readonly
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue