|
|
|
|
@ -348,14 +348,23 @@ let confinementQuery = ref({
|
|
|
|
|
* */ |
|
|
|
|
function rtuenConfinementData(val){ |
|
|
|
|
const data = getConfinementData(val) |
|
|
|
|
return data?.find(s=>s.id === val.confinementId); |
|
|
|
|
|
|
|
|
|
if(Array.isArray(data)){ |
|
|
|
|
data.find(s=>s.id === val.confinementId) |
|
|
|
|
}else{ |
|
|
|
|
return null; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
/** |
|
|
|
|
* 领导禁闭处罚 |
|
|
|
|
* */ |
|
|
|
|
function rtuenLeadConfinementData(val){ |
|
|
|
|
const data = getConfinementData(val) |
|
|
|
|
return data?.find(s=>s.id === val.leadConfinementId); |
|
|
|
|
if(Array.isArray(data)){ |
|
|
|
|
data.find(s=>s.id === val.leadConfinementId) |
|
|
|
|
}else{ |
|
|
|
|
return null; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
/** |
|
|
|
|
* 获取禁闭信息 |
|
|
|
|
|