From 2c0430b365a50ed29c49a071618f777f1c7e375f Mon Sep 17 00:00:00 2001 From: zjf <1799650030@qq.com> Date: Tue, 25 Mar 2025 15:07:20 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=E5=B7=A5=E4=BD=9C=E6=B5=81=E5=BC=95?= =?UTF-8?q?=E5=85=A5=E8=AF=A6=E6=83=85=E8=B7=AF=E7=94=B1=E5=AD=97=E6=AE=B5?= =?UTF-8?q?,=E9=A3=9F=E5=A0=82=E6=96=B0=E5=A2=9E=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E6=98=AF=E5=90=A6=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/canteen/canteenSpu/form.vue | 12 ++++++++++-- src/views/flow/create/all.vue | 2 +- src/views/flow/create/step1.vue | 6 +++--- src/views/flow/group/index.vue | 10 +++++----- 4 files changed, 19 insertions(+), 11 deletions(-) diff --git a/src/views/canteen/canteenSpu/form.vue b/src/views/canteen/canteenSpu/form.vue index 508eb00..9b9ddd4 100644 --- a/src/views/canteen/canteenSpu/form.vue +++ b/src/views/canteen/canteenSpu/form.vue @@ -48,7 +48,14 @@ - + + + + {{ item.label }} + + + + @@ -97,7 +104,7 @@ const dataFormRef = ref() const visible = ref(false) const loading = ref(false) // 定义字典 -const { spu_status } = useDict("spu_status") +const { spu_status,is_show } = useDict("spu_status","is_show") // 提交表单数据 const form = reactive({ @@ -120,6 +127,7 @@ const form = reactive({ virtualSalesCount: "", browseCount: "", deptId: "", + isShow: "0", }) // 定义校验规则 diff --git a/src/views/flow/create/all.vue b/src/views/flow/create/all.vue index 04bf5be..8f9c035 100644 --- a/src/views/flow/create/all.vue +++ b/src/views/flow/create/all.vue @@ -139,7 +139,7 @@ onMounted(() => { store.step1.remark = data.remark store.step1.groupId = data.groupId store.step1.businessKey = data.businessKey - // store.step1.formDetail = data.formDetail + store.step1.formDetail = data.formDetail store.setStep2(JSON.parse(data.formItems)) step3NodeConfig = JSON.parse(data.process) }) diff --git a/src/views/flow/create/step1.vue b/src/views/flow/create/step1.vue index eca8975..43d88a4 100644 --- a/src/views/flow/create/step1.vue +++ b/src/views/flow/create/step1.vue @@ -19,9 +19,9 @@ - - - + + + diff --git a/src/views/flow/group/index.vue b/src/views/flow/group/index.vue index 541e10a..0b86824 100644 --- a/src/views/flow/group/index.vue +++ b/src/views/flow/group/index.vue @@ -51,11 +51,11 @@ {{ row.businessKey }} - - - - - + + + + + +