diff --git a/src/components/data/gab-replenish.vue b/src/components/data/gab-replenish.vue
index 94ec620..19a69eb 100644
--- a/src/components/data/gab-replenish.vue
+++ b/src/components/data/gab-replenish.vue
@@ -4,8 +4,25 @@ import {replenishExcelGab} from "@/api/data/petitionComplaint";
import feedback from "@/utils/feedback";
let fileList = ref([])
let loading =ref(false)
+const dialogTitle = ref("公安部信访集访导入")
+const {replenishType} = defineProps({
+ replenishType:{
+ type: String,
+ defalut: 1
+ }
+})
const emit=defineEmits(['success','close'])
+//监听导入类型
+watch(()=>replenishType,()=>{
+ fileList.value=[]
+ if (replenishType == 1){
+ dialogTitle.value='公安部信访集访导入'
+ }else{
+ dialogTitle.value='公安部信访领导接访导入'
+ }
+})
+
/**
* 上传文件
* */
@@ -15,7 +32,7 @@ const handleNext = async ()=>{
formData.append("file", fileList.value[fileList.value.length - 1].raw);
loading.value = true;
try {
- const res = await replenishExcelGab(formData);
+ await replenishExcelGab(formData);
feedback.msgSuccess("操作成功");
emit("success")
} catch (e) {
@@ -29,7 +46,7 @@ const handleNext = async ()=>{
-