更新
This commit is contained in:
@ -4,9 +4,6 @@
|
||||
<el-form-item prop="bkshzt" label="审核">
|
||||
<MOSTY.Select filterable v-model="listQuery.bkshzt" :dictEnum="props.dic.D_BZ_RCSHZT" width="100%" clearable placeholder="请选择是否布控" />
|
||||
</el-form-item>
|
||||
<el-form-item prop="bkshzt" label="审核部门">
|
||||
<MOSTY.Department clearable v-model="listQuery.ssbmdm" :placeholder="listQuery.ssbm ? listQuery.ssbm : ''" style="width: 100%" />
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<template #footer>
|
||||
<div class="tc">
|
||||
@ -37,7 +34,7 @@ const props = defineProps({
|
||||
}
|
||||
});
|
||||
|
||||
const emits = defineEmits(["update:modelValue", "getDepValue"]);
|
||||
const emits = defineEmits(["update:modelValue"]);
|
||||
const formValidate = ref();
|
||||
const rules = reactive({
|
||||
bkshzt: [{ required: true, message: "请选择审核状态", trigger: "change" }]
|
||||
@ -47,7 +44,7 @@ const listQuery = ref({});
|
||||
const submitForm = () => {
|
||||
formValidate.value.validate((valid) => {
|
||||
if (!valid) return false;
|
||||
let params = { ids: props.ids, ...listQuery.value };
|
||||
let params = { ids: [props.data.id], ...listQuery.value };
|
||||
qcckPost(params, "/mosty-gsxt/tbGsxtRqfjRy/updateByBksh").then((res) => {
|
||||
ElMessage.success("成功");
|
||||
emits("update:modelValue", false);
|
||||
|
Reference in New Issue
Block a user