@@ -29,11 +29,14 @@ const props = defineProps({
type:Object,
default:{}
},
+ modelValue:{
+ type:Boolean,
+ default:false
+ }
})
const chooseMarksVisible = ref(false)
const roleIds = ref([])
const elform = ref()
-const showDialog = ref(false)
const emit = defineEmits(['change'])
const listQuery = ref({})
const formData = ref([
@@ -41,7 +44,7 @@ const formData = ref([
{ label: "性别", prop: "xb", type: "select",options:props.dic.D_BZ_XB ,width:'48%'},
{ label: "身份证号", prop: "sfzh", type: "input" ,width:'48%'},
{ label: "户籍地", prop: "hjdz", type: "input",width:'48%' },
- { label: "户籍地派出所", prop: "hjdpcsdm", type: "department" ,width:'48%'},
+ { label: "户籍地派出所", prop: "hjdpcsdm",depMc:'hjdpcs', type: "department" ,width:'48%'},
{ label: "标签", prop: "bqList", type: "slot",width:'100%' },
{ label: "是否挑头人", prop: "sfttr", type: "select",options:props.dic.D_BZ_SF ,width:'48%'},
{ label: "是否响应人", prop: "sfxyr", type: "select" ,options:props.dic.D_BZ_SF,width:'48%' },
@@ -60,7 +63,6 @@ const order = ref(null)
const init = (type,row,index) =>{
title.value = type == 'add' ? '新增' :'编辑';
order.value = index;
- showDialog.value = true;
if(row) listQuery.value = {...row};
}
@@ -82,13 +84,13 @@ const submitForm = () =>{
elform.value.submit((val)=>{
let obj = { data:val,type:title.value ,index:order.value}
emit('change',obj)
- showDialog.value = false;
+ emit('update:modelValue',false)
})
}
const close = () =>{
elform.value.reset();
- showDialog.value = false;
+ emit('update:modelValue',false)
}
defineExpose({init})
diff --git a/src/views/backOfficeSystem/ResearchJudgment/MoralAnalysis/components/addPeo.vue b/src/views/backOfficeSystem/ResearchJudgment/MoralAnalysis/components/addPeo.vue
deleted file mode 100644
index bdc58e3..0000000
--- a/src/views/backOfficeSystem/ResearchJudgment/MoralAnalysis/components/addPeo.vue
+++ /dev/null
@@ -1,108 +0,0 @@
-
-
-
-
-
- 请选择标签
-
- {{ it.bqMc }}
-
-
-
-
-
-
- 取消
- 确认
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/views/backOfficeSystem/ResearchJudgment/MoralAnalysis/components/detail.vue b/src/views/backOfficeSystem/ResearchJudgment/MoralAnalysis/components/detail.vue
index 2ca7e12..fdedcc1 100644
--- a/src/views/backOfficeSystem/ResearchJudgment/MoralAnalysis/components/detail.vue
+++ b/src/views/backOfficeSystem/ResearchJudgment/MoralAnalysis/components/detail.vue
@@ -57,7 +57,7 @@