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 บรรทัดแสดงชื่อหน่วยงาน & ปุ่ม + -->
|
<!--organization บรรทัดแสดงชื่อหน่วยงาน & ปุ่ม + -->
|
||||||
<template v-slot:header-organization="prop">
|
<template v-slot:header-organization="prop">
|
||||||
<div class="row items-center q-px-xs q-pt-xs q-gutter-sm">
|
<div class="col">
|
||||||
<!--แสดงชื่อแผนก พิมพ์ตัวหนา คลิกแล้วกาง/หุบ Tree-->
|
<div
|
||||||
<div class="text-weight-medium">
|
class="row items-center q-px-xs q-pt-xs q-gutter-sm"
|
||||||
{{ prop.node.organizationName }}
|
>
|
||||||
</div>
|
<!--แสดงชื่อแผนก พิมพ์ตัวหนา คลิกแล้วกาง/หุบ Tree-->
|
||||||
<!--แสดง Total Count PositionNum-->
|
<div class="text-weight-medium">
|
||||||
<q-badge
|
{{ prop.node.organizationName }}
|
||||||
rounded
|
</div>
|
||||||
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 />
|
<!--แสดง 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>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:header-person="prop">
|
<template v-slot:header-person="prop">
|
||||||
<q-item
|
<q-item
|
||||||
clickable
|
clickable
|
||||||
:active=" clickAction === prop.node.keyId"
|
:active="clickAction === prop.node.keyId"
|
||||||
@click="clickAction = '1-1-3'"
|
@click="clickAction = '1-1-3'"
|
||||||
active-class="my-list-link text-primary text-weight-medium"
|
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"
|
class="row items-center text-dark q-py-xs q-pl-sm rounded-borders my-list"
|
||||||
style="width: 100%"
|
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
v-if="
|
v-if="
|
||||||
|
|
@ -1629,30 +1639,7 @@ const onLazyLoad = (node: any) => {
|
||||||
) "
|
) "
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xs-6 col-sm-6 col-md-6">
|
<div class="col-xs-6 col-sm-6 col-md-6"></div>
|
||||||
<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-4 col-sm-4 col-md-4">
|
<div class="col-xs-4 col-sm-4 col-md-4">
|
||||||
<q-input
|
<q-input
|
||||||
:class="getClass(edit)"
|
:class="getClass(edit)"
|
||||||
|
|
@ -1884,11 +1871,10 @@ const onLazyLoad = (node: any) => {
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.my-list-link {
|
.my-list-link {
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
|
|
||||||
font-weight: 600;
|
|
||||||
border: 1px solid #00AA86;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
font-weight: 600;
|
||||||
|
border: 1px solid #00aa86;
|
||||||
|
}
|
||||||
|
|
||||||
.q-table p {
|
.q-table p {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue