no message
This commit is contained in:
parent
b8d0a5230c
commit
dbe81d6479
1 changed files with 37 additions and 51 deletions
|
|
@ -1331,37 +1331,47 @@ const onLazyLoad = (node: any) => {
|
|||
>
|
||||
<!--organization บรรทัดแสดงชื่อหน่วยงาน & ปุ่ม + -->
|
||||
<template v-slot:header-organization="prop">
|
||||
<div class="row items-center q-px-xs q-pt-xs q-gutter-sm">
|
||||
<!--แสดงชื่อแผนก พิมพ์ตัวหนา คลิกแล้วกาง/หุบ Tree-->
|
||||
<div class="text-weight-medium">
|
||||
{{ prop.node.organizationName }}
|
||||
</div>
|
||||
<!--แสดง Total Count PositionNum-->
|
||||
<q-badge
|
||||
rounded
|
||||
color="grey-2"
|
||||
text-color="dark"
|
||||
:label="prop.node.totalPositionCount"
|
||||
/>
|
||||
<q-badge
|
||||
v-if="prop.node.totalPositionVacant > 0"
|
||||
rounded
|
||||
color="red"
|
||||
outline
|
||||
:label="prop.node.totalPositionVacant"
|
||||
/>
|
||||
<div class="col">
|
||||
<div
|
||||
class="row items-center q-px-xs q-pt-xs q-gutter-sm"
|
||||
>
|
||||
<!--แสดงชื่อแผนก พิมพ์ตัวหนา คลิกแล้วกาง/หุบ Tree-->
|
||||
<div class="text-weight-medium">
|
||||
{{ prop.node.organizationName }}
|
||||
</div>
|
||||
|
||||
<q-space />
|
||||
<!--แสดง Total Count PositionNum-->
|
||||
<q-badge
|
||||
rounded
|
||||
color="grey-2"
|
||||
text-color="dark"
|
||||
:label="prop.node.totalPositionCount"
|
||||
/>
|
||||
<q-badge
|
||||
v-if="prop.node.totalPositionVacant > 0"
|
||||
rounded
|
||||
color="red"
|
||||
outline
|
||||
:label="prop.node.totalPositionVacant"
|
||||
/>
|
||||
|
||||
<q-space />
|
||||
</div>
|
||||
<div class="col items-center q-px-xs q-pt-xs ">
|
||||
<div class="text-weight-medium text-grey-7 ">
|
||||
{{ prop.node.governmentCode }}
|
||||
{{ prop.node.organizationShortName }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<template v-slot:header-person="prop">
|
||||
<q-item
|
||||
clickable
|
||||
:active=" clickAction === prop.node.keyId"
|
||||
:active="clickAction === prop.node.keyId"
|
||||
@click="clickAction = '1-1-3'"
|
||||
active-class="my-list-link text-primary text-weight-medium"
|
||||
class="row items-center text-dark col-12 q-py-xs q-pl-sm rounded-borders my-list"
|
||||
style="width: 100%"
|
||||
class="row items-center text-dark q-py-xs q-pl-sm rounded-borders my-list"
|
||||
>
|
||||
<img
|
||||
v-if="
|
||||
|
|
@ -1629,30 +1639,7 @@ const onLazyLoad = (node: any) => {
|
|||
) "
|
||||
/>
|
||||
</div>
|
||||
<div class="col-xs-6 col-sm-6 col-md-6">
|
||||
<selector
|
||||
:class="getClass(edit)"
|
||||
:outlined="edit"
|
||||
dense
|
||||
lazy-rules
|
||||
:readonly="!edit"
|
||||
:borderless="!edit"
|
||||
v-model="positionExecutiveId"
|
||||
:label="`${'ตำแหน่งทางการบริหาร'}`"
|
||||
@update:modelValue="clickEditRow"
|
||||
emit-value
|
||||
map-options
|
||||
option-label="name"
|
||||
:options="positionExecutiveOptions"
|
||||
option-value="id"
|
||||
hide-bottom-space
|
||||
use-input
|
||||
input-debounce="0"
|
||||
@filter="(inputValue:any,
|
||||
doneFn:Function) => filterSelector(inputValue, doneFn,'7'
|
||||
) "
|
||||
/>
|
||||
</div>
|
||||
<div class="col-xs-6 col-sm-6 col-md-6"></div>
|
||||
<div class="col-xs-4 col-sm-4 col-md-4">
|
||||
<q-input
|
||||
:class="getClass(edit)"
|
||||
|
|
@ -1884,11 +1871,10 @@ const onLazyLoad = (node: any) => {
|
|||
<style lang="scss" scoped>
|
||||
.my-list-link {
|
||||
border-radius: 5px;
|
||||
|
||||
font-weight: 600;
|
||||
border: 1px solid #00AA86;
|
||||
}
|
||||
|
||||
font-weight: 600;
|
||||
border: 1px solid #00aa86;
|
||||
}
|
||||
|
||||
.q-table p {
|
||||
margin-bottom: 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue