更新列表

This commit is contained in:
2025-07-03 15:13:09 +08:00
parent fe5bd8324c
commit 1d3534bcb9
3 changed files with 9 additions and 5 deletions

View File

@ -61,7 +61,10 @@ const submitForm = () =>{
formValidate.value.validate((valid) => {
if (!valid) return false;
let params = { ids:props.ids, ...listQuery.value }
let url = props.type == '指定分配' ? '/mosty-gsxt/tbGsxtRqfjRy/updateByMj':'/mosty-gsxt/tbGsxtRqfjRy/updateByFxDj'
let url = ''
if( props.type == '警种变更') '/mosty-gsxt/tbGsxtRqfjRy/updateByBm'
if( props.type == '指定分配') '/mosty-gsxt/tbGsxtRqfjRy/updateByMj'
if( props.type == '级别变更') '/mosty-gsxt/tbGsxtRqfjRy/updateByFxDj'
qcckPost(params,url).then(res=>{
ElMessage.success("修改成功");
emits('update:modelValue',false)