From a950b49fe4dd781817fbfa173154328d2e4bf60a Mon Sep 17 00:00:00 2001
From: 13684185576 <2731628804@qq.com>
Date: Mon, 8 Dec 2025 16:40:47 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8D=A1=E5=8F=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../checkpoint/components/editAddForm.vue | 196 +++++-------------
1 file changed, 48 insertions(+), 148 deletions(-)
diff --git a/src/views/backOfficeSystem/peopleManag/checkpoint/components/editAddForm.vue b/src/views/backOfficeSystem/peopleManag/checkpoint/components/editAddForm.vue
index 3f9112e..aeb8de7 100644
--- a/src/views/backOfficeSystem/peopleManag/checkpoint/components/editAddForm.vue
+++ b/src/views/backOfficeSystem/peopleManag/checkpoint/components/editAddForm.vue
@@ -3,185 +3,80 @@
{{ pageInfo[pageType].title }}
- 保存
+ 保存
关闭
-
+
-
+
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
-
+
- {{ item.userName }}
+ {{
+ item.userName }}
-
-
+
+
-
+
-
-
+
+
-
-
- 选择定位
+
+
+ 选择定位
@@ -191,10 +86,7 @@
-
+
@@ -209,9 +101,10 @@ import { ElMessage } from "element-plus";
const props = defineProps({
dict: {
type: Object,
- default: () => {}
+ default: () => { }
}
});
+const Single=ref(true)
const chooseUserType = ref(); //选择民警的类型
const chooseUserVisible = ref(false);
const rules = reactive({
@@ -303,6 +196,11 @@ const init = (type, row) => {
};
const openChooseUser = (val) => {
chooseUserType.value = val;
+ if (val == 'lszq') {
+ Single.value = false;
+ } else {
+ Single.value = true;
+ }
chooseUserVisible.value = true;
};
//保存
@@ -310,6 +208,7 @@ const _onSave = () => {
if (!formRef) return;
formRef.value.validate((valid, fields) => {
if (valid) {
+ listQuery.value.lszqry=JSON.stringify(lszqData.value)
if (pageType.value == "add") {
JczaddJcz(listQuery.value).then((res) => {
ElMessage({ message: "新增成功", type: "success" });
@@ -436,12 +335,12 @@ defineExpose({ init });
width: 100%;
// height: 96px;
- > .el-form--inline {
+ >.el-form--inline {
display: block;
width: 100%;
padding: 0;
- > .el-form-item--default {
+ >.el-form-item--default {
width: 31%;
}
}
@@ -492,6 +391,7 @@ defineExpose({ init });
box-sizing: border-box;
background: #000;
}
+
.ipt {
border: 1px solid #e9e9e9;
width: 100%;