From 217d58da508ff0e3d9ddd126d200b6deba87114a Mon Sep 17 00:00:00 2001
From: weipengfei <2187978347@qq.com>
Date: Thu, 19 Oct 2023 18:09:50 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=B8=82=E5=9C=BA=E9=83=A8?=
=?UTF-8?q?=E9=95=BF=E4=BB=BB=E5=8A=A1=E5=AE=A1=E6=89=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/examined/components/audit_other.vue | 290 +++++++++++++++++
.../examined/components/audit_town_market.vue | 295 ++++++++++++++++++
src/views/examined/index_list.vue | 35 ++-
src/views/examined/index_list_popup.vue | 9 +-
4 files changed, 616 insertions(+), 13 deletions(-)
create mode 100644 src/views/examined/components/audit_other.vue
create mode 100644 src/views/examined/components/audit_town_market.vue
diff --git a/src/views/examined/components/audit_other.vue b/src/views/examined/components/audit_other.vue
new file mode 100644
index 0000000..b786e44
--- /dev/null
+++ b/src/views/examined/components/audit_other.vue
@@ -0,0 +1,290 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/examined/components/audit_town_market.vue b/src/views/examined/components/audit_town_market.vue
new file mode 100644
index 0000000..291e235
--- /dev/null
+++ b/src/views/examined/components/audit_town_market.vue
@@ -0,0 +1,295 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/examined/index_list.vue b/src/views/examined/index_list.vue
index 42ba5af..86702cd 100644
--- a/src/views/examined/index_list.vue
+++ b/src/views/examined/index_list.vue
@@ -116,9 +116,16 @@
-
+ >();
+const auditOtherRef = shallowRef>();
+const auditTownMarketRef =
+ shallowRef>();
// 是否显示编辑框
const showEdit = ref(false);
+const openType = ref(1);
// 查询条件
const queryParams = reactive({
name: "",
check_status: "",
- type: 1,
+ type: [1, 4],
});
const checkStatusList = ref([
@@ -181,15 +192,21 @@ const { pager, getLists, resetParams, resetPage } = usePaging({
const handleAdd = async () => {
showEdit.value = true;
await nextTick();
- editRef.value?.open("add");
+ auditOtherRef.value?.open("add");
};
// 编辑
const handleEdit = async (data: any, type = "edit") => {
+ openType.value = data.type;
showEdit.value = true;
await nextTick();
- editRef.value?.open(type);
- editRef.value?.setFormData(data);
+ if (data.type == 1) {
+ auditOtherRef.value?.open(type);
+ auditOtherRef.value?.setFormData(data);
+ } else if (data.type == 4) {
+ auditTownMarketRef.value?.open(type);
+ auditTownMarketRef.value?.setFormData(data);
+ }
};
// 删除
diff --git a/src/views/examined/index_list_popup.vue b/src/views/examined/index_list_popup.vue
index 3fc1a8c..306837a 100644
--- a/src/views/examined/index_list_popup.vue
+++ b/src/views/examined/index_list_popup.vue
@@ -64,7 +64,7 @@
@@ -74,10 +74,10 @@
@@ -88,7 +88,8 @@