From 03c275439949875a857538df89a41696642c42b3 Mon Sep 17 00:00:00 2001
From: zhangwei <1504152376@qq.com>
Date: 星期一, 01 九月 2025 17:15:39 +0800
Subject: [PATCH] '首页公告与详情'

---
 src/views/system/aboutItem/form.vue |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/views/system/aboutItem/form.vue b/src/views/system/aboutItem/form.vue
index d189790..7ae9e8b 100644
--- a/src/views/system/aboutItem/form.vue
+++ b/src/views/system/aboutItem/form.vue
@@ -9,6 +9,7 @@
 import { getCaigoufangshiList } from "@/api/item/index";
 
 const { state } = useDept();
+let cascaderRef = ref();
 const props = withDefaults(defineProps<FormProps>(), {
   formInline: () => ({
     id: "",
@@ -21,7 +22,7 @@
     baomingfei: null, // 鎶ュ悕璐癸紙鍙�夛級
     toubiaobaozhengjin: null, // 鎶曟爣淇濊瘉閲戯紙鍙�夛級
     lianhetitoubiao: null, // 鑱斿悎浣撴姇鏍囷紙鍙�夛級
-    kaibiaofangshi: null, // 寮�鏍囨柟寮忥紙鍙�夛級
+    kaibiaofangshi: "绾歌川鏍�", // 寮�鏍囨柟寮忥紙鍙�夛級
     shifoufenbao: "false", // 鏄惁鍒嗗寘锛堝彲閫夛級
     shifoutuisongxuanchuan: "true", // 鏄惁鎺ㄩ�佸浼狅紙鍙�夛級
     caigourenmingcheng: null, // 閲囪喘浜哄悕绉帮紙鍙�夛級
@@ -54,7 +55,11 @@
   return ruleFormRef.value;
 }
 const handleChange = value => {
-  console.log(value);
+  console.log(
+    value,
+    cascaderRef.value.getCheckedNodes()[0].pathLabels.join(" / "),
+    123
+  );
 };
 defineExpose({ getRef });
 onMounted(async () => {});
@@ -140,7 +145,7 @@
         </el-form-item>
       </re-col>
       <re-col :value="6" :xs="24" :sm="24">
-        <el-form-item label="瀹氬埗瑙勫垝" prop="dingbiaoguize">
+        <el-form-item label="鎴愪氦鏂规硶" prop="dingbiaoguize">
           <!-- <el-checkbox-group
             v-model="newFormInline.dingbiaoguize"
             placeholder="璇烽�夋嫨鐘舵��"
@@ -229,6 +234,7 @@
       <re-col :value="6" :xs="24" :sm="24">
         <el-form-item label="琛屾斂鍖哄煙" prop="xingzhengquyu">
           <el-cascader
+            :ref="cascaderRef"
             v-model="newFormInline.xingzhengquyu"
             class="w-full"
             :options="state.regionList"

--
Gitblit v1.9.1