更新列表
This commit is contained in:
@ -73,7 +73,7 @@ const props = defineProps({
|
||||
default: () => []
|
||||
}
|
||||
});
|
||||
const emit = defineEmits(['onSearch'])
|
||||
const emit = defineEmits(['upadate'])
|
||||
const dialogVisible = ref(false);
|
||||
const pageData = reactive({
|
||||
dtoList: [],
|
||||
@ -150,7 +150,7 @@ const submitData = () => {
|
||||
qcckPost(validData, "/mosty-gsxt/tbGsxtRqfjRy/saveList").then((res) => {
|
||||
ElMessage.success("新增成功");
|
||||
dialogVisible.value = false;
|
||||
emit("onSearch");
|
||||
emit("upadate");
|
||||
close();
|
||||
})
|
||||
};
|
||||
|
@ -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)
|
||||
|
@ -99,8 +99,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<!-- 弹窗智能分析 -->
|
||||
<IntelligentParsing :tableData="pageData.tableData" ref="IntelligentParsingRef" />
|
||||
<addForm ref="addFormDiloag" @onSearch="getModelList" />
|
||||
<IntelligentParsing :tableData="pageData.tableData" ref="IntelligentParsingRef" @upadate="getModelList" />
|
||||
<addForm ref="addFormDiloag" @onSearch="onSearch" />
|
||||
<Jbbg v-model="isShow" :type="chooselx" :ids="ids" @change="getModelList" :dic="{D_GS_RQFJ_FXDJ}"></Jbbg>
|
||||
</div>
|
||||
</template>
|
||||
@ -171,6 +171,7 @@ const pageData = reactive({
|
||||
{ label: "现住地址", prop: "ryXzdz" ,showOverflowTooltip:true},
|
||||
{ label: "附件照片", prop: "ryFjZp" ,showOverflowTooltip:true},
|
||||
{ label: "管辖单位", prop: "gxDwDm" ,showOverflowTooltip:true},
|
||||
{ label: "户籍地址", prop: "ssbm",showOverflowTooltip:true},
|
||||
{ label: "风险等级", prop: "fxDj",showOverflowTooltip:true, showSolt: true },
|
||||
{ label: "风险类别", prop: "fxLb",showOverflowTooltip:true, showSolt: true },
|
||||
{ label: "是否关注", prop: "sfGz",showOverflowTooltip:true, showSolt: true },
|
||||
|
Reference in New Issue
Block a user