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%;