เพิ่มแสดงตำแหน่งติดเงื่อนไข
This commit is contained in:
parent
df29a5b02a
commit
f9ff464e7e
8 changed files with 42 additions and 20 deletions
|
|
@ -267,11 +267,14 @@ async function getDataTable(id: string, level: number = 0) {
|
|||
positionName: e.positionName,
|
||||
posTypeName: e.posTypeName,
|
||||
posLevelName: e.posLevelName,
|
||||
positionIsSelected: e.fullNameCurrentHolder,
|
||||
positionIsSelected: e.fullNameCurrentHolder
|
||||
? e.fullNameCurrentHolder
|
||||
: "-",
|
||||
isSit: e.isSit,
|
||||
positions: e.positions,
|
||||
node: e.node,
|
||||
nodeId: e.nodeId,
|
||||
isCondition: e.isCondition,
|
||||
}));
|
||||
|
||||
positionNo.value = listPosNo;
|
||||
|
|
@ -666,11 +669,10 @@ onMounted(() => {
|
|||
:key="col.name"
|
||||
:props="props"
|
||||
@click="onClickSelectPos(props.row.id)"
|
||||
:class="
|
||||
props.row.id === positionId
|
||||
? 'bg-blue-2'
|
||||
: ''
|
||||
"
|
||||
:class="{
|
||||
'text-red': props.row.isCondition === true,
|
||||
'bg-blue-2': props.row.id === positionId,
|
||||
}"
|
||||
>
|
||||
<div v-if="col.name == 'no'">
|
||||
{{ props.rowIndex + 1 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue