From c82e2f197254a13094ee3d4c7e13d4ecc8c3d4da Mon Sep 17 00:00:00 2001
From: Esacpe <1113279529@qq.com>
Date: Fri, 4 Jul 2025 10:09:13 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../ExcavationResearch/ZdryFjyp/index.vue | 5 +++--
.../ExcavationResearch/ZdryFjyp/model.vue | 19 ++++++++++---------
2 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/src/views/backOfficeSystem/ExcavationResearch/ZdryFjyp/index.vue b/src/views/backOfficeSystem/ExcavationResearch/ZdryFjyp/index.vue
index 0ffee79..0bbea48 100644
--- a/src/views/backOfficeSystem/ExcavationResearch/ZdryFjyp/index.vue
+++ b/src/views/backOfficeSystem/ExcavationResearch/ZdryFjyp/index.vue
@@ -55,7 +55,7 @@
关注: ;
布控人员: ;
- 重点人员
+ 重点人员:;
{
break;
case '是否关注':
case '移交管控':
+ if(ids.value.length == 0) return ElMessage.warning("请选择对应的数据");
+ isShow.value = true;
break;
}
}
diff --git a/src/views/backOfficeSystem/ExcavationResearch/ZdryFjyp/model.vue b/src/views/backOfficeSystem/ExcavationResearch/ZdryFjyp/model.vue
index 660f5fe..b5d476c 100644
--- a/src/views/backOfficeSystem/ExcavationResearch/ZdryFjyp/model.vue
+++ b/src/views/backOfficeSystem/ExcavationResearch/ZdryFjyp/model.vue
@@ -1,8 +1,11 @@
-
+
-
-
+
+
+
+
+
@@ -31,14 +34,11 @@ const props = defineProps({
type:String,
dic:Object
})
-const bkList = reactive([
- { label:'撤销申请布控',value:'0' },
- { label:'申请布控',value:'1' },
-])
const emits = defineEmits(["update:modelValue",'getDepValue']);
const formValidate = ref()
const rules = reactive({
- sfbk: [{ required: true, message: "请选择是布控", trigger: "change" }],
+ sfGz: [{ required: true, message: "请选择是否关注", trigger: "change" }],
+ sfZzdry: [{ required: true, message: "请选择是否移交管控", trigger: "change" }],
})
const listQuery = ref({});
@@ -47,7 +47,8 @@ const submitForm = () =>{
if (!valid) return false;
let params = { ids:props.ids, ...listQuery.value }
let url = ''
- if( props.type == '布控') url = '/mosty-gsxt/tbGsxtRqfjRy/updateBySfbkpz'
+ if( props.type == '是否关注') url = '/mosty-gsxt/tbGsxtRqfjRy/updateBySfgz'
+ if( props.type == '移交管控') url = '/mosty-gsxt/tbGsxtRqfjRy/updateByYjgk'
qcckPost(params,url).then(res=>{
ElMessage.success("成功");
emits('update:modelValue',false)