แก้ เพิ่มข้อมูลตำแหน่ง
This commit is contained in:
parent
db23dbfd1c
commit
0e63ea42bb
1 changed files with 25 additions and 16 deletions
|
|
@ -62,7 +62,16 @@ const executiveOpsMain = ref<DataOption[]>([]);
|
|||
const executiveOps = ref<DataOption[]>([]);
|
||||
const typeOps = ref<DataOption[]>([]);
|
||||
const levelOps = ref<DataOption[]>([]);
|
||||
|
||||
const shapeOp = ref<DataOption[]>([
|
||||
{
|
||||
id:'false',
|
||||
name:'เลือกจากรายการ'
|
||||
}
|
||||
, {
|
||||
id:'true',
|
||||
name:'เพิ่มใหม่'
|
||||
}
|
||||
])
|
||||
const formPositionSelect = reactive<FormPositionSelect>({
|
||||
positionId: "",
|
||||
positionName: "",
|
||||
|
|
@ -421,24 +430,24 @@ watch(
|
|||
"
|
||||
/>
|
||||
</div>
|
||||
<div class="col-12 self-center">
|
||||
<q-radio
|
||||
<div class="col-2">
|
||||
<q-select
|
||||
ref="positionExecutiveRef"
|
||||
:class="inputEdit(isReadonly)"
|
||||
label="ตัวเลือกตำแหน่ง"
|
||||
v-model="shape"
|
||||
checked-icon="task_alt"
|
||||
unchecked-icon="panorama_fish_eye"
|
||||
val="false"
|
||||
label="เลือกจากรายการ"
|
||||
/>
|
||||
<q-radio
|
||||
v-model="shape"
|
||||
checked-icon="task_alt"
|
||||
w
|
||||
unchecked-icon="panorama_fish_eye"
|
||||
val="true"
|
||||
label="เพิ่มใหม่"
|
||||
:options="shapeOp"
|
||||
emit-value
|
||||
dense
|
||||
map-options
|
||||
outlined
|
||||
option-label="name"
|
||||
option-value="id"
|
||||
lazy-rules
|
||||
hide-bottom-space
|
||||
/>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<div class="col-4">
|
||||
<q-select
|
||||
v-if="shape == 'false'"
|
||||
ref="positionExecutiveRef"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue