更新列表
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user