分配成为灾害管理员问题

This commit is contained in:
遥望-倪浩天 2024-07-26 15:40:58 +08:00
parent b7e83fbf89
commit a45f000167
1 changed files with 1 additions and 3 deletions

View File

@ -202,11 +202,9 @@ const sendToLeft = (index,row) => {
}; };
const sendToRight = (index,row,type) => { const sendToRight = (index,row,type) => {
console.log(state.selectType)
if (type==0){ if (type==0){
let userStatus =row.userStatus==0?'1793193529859244033':'1123598816738675203' let userStatus =row.userStatus==0?'1793193529859244033':'1123598816738675203'
console.log(userStatus) if (state.selectData.length>0){
if (state.tableDataNew.data.length>0){
if (state.selectData.length==1){ if (state.selectData.length==1){
if (state.selectData[0].roleId==userStatus){ if (state.selectData[0].roleId==userStatus){
state.tableDataNew.data.splice(index, 1) state.tableDataNew.data.splice(index, 1)