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