diff --git a/src/views/evaluation/evaluationUpload.vue b/src/views/evaluation/evaluationUpload.vue index f756f9b1..e795e15c 100644 --- a/src/views/evaluation/evaluationUpload.vue +++ b/src/views/evaluation/evaluationUpload.vue @@ -878,6 +878,7 @@ import {downLoadZip} from "@/utils/zipdownload"; bg_remarks: false, checkclick: [], permissionId:'', + perWorkNum: '', filesList:[], tableData:[], tableData1:[], @@ -1289,6 +1290,7 @@ import {downLoadZip} from "@/utils/zipdownload"; listData() } }) + getByUserIds(record.workNum) } const textDelete = (record) => { dialog({ @@ -1301,12 +1303,14 @@ import {downLoadZip} from "@/utils/zipdownload"; listData() } }) + getByUserIds(record.workNum) } }) } const updateAuthority = (record) => { state.bg_power = true state.permissionId = record.id + state.perWorkNum = record.workNum if(record.permission){ state.checkclick = record.permission.split(',') } @@ -1725,11 +1729,14 @@ import {downLoadZip} from "@/utils/zipdownload"; state.bg_power2 = false state.powerStatus = {} state.permissionId = '' + state.perWorkNum = '' state.checkclick = [] } - const getByUserId = async () => { - await getByUserId().then(res=>{ - + const getByUserIds = async (workNum) => { + await getByUserId({workNum,}).then(res=>{ + // if(res.code == 200){ + // console.log(res.data,'workUnum') + // } }) } const powerTrue = async () => { @@ -1737,6 +1744,7 @@ import {downLoadZip} from "@/utils/zipdownload"; if(state.permissionId){ await updateStatus({id:state.permissionId,permission:state.checkclick.join(",")}).then((res)=>{ saveListItem() + getByUserIds(state.perWorkNum) }) } listData() @@ -1750,6 +1758,7 @@ import {downLoadZip} from "@/utils/zipdownload"; saveListItem() } }) + getByUserIds(record.workNum) } const textEnableAdd = async (record) => { record.statusList = 0 @@ -1785,7 +1794,7 @@ import {downLoadZip} from "@/utils/zipdownload"; powerSetting, of_power, powerTrue, - getByUserId, + getByUserIds, textDeleteAdd, searchStatusVal2, serchList,