From 2aa2da6ff94c0e88e7ba0638606881a3c04cf579 Mon Sep 17 00:00:00 2001
From: zhangwei <1504152376@qq.com>
Date: 星期二, 29 七月 2025 16:25:06 +0800
Subject: [PATCH] '-'

---
 src/views/system/dept/form.vue |   22 ++++++++++++++--------
 1 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/src/views/system/dept/form.vue b/src/views/system/dept/form.vue
index 98fd3eb..d652539 100644
--- a/src/views/system/dept/form.vue
+++ b/src/views/system/dept/form.vue
@@ -24,7 +24,7 @@
     shifoufenbao: "false", // 鏄惁鍒嗗寘锛堝彲閫夛級
     shifoutuisongxuanchuan: "true", // 鏄惁鎺ㄩ�佸浼狅紙鍙�夛級
     caigourenmingcheng: null, // 閲囪喘浜哄悕绉帮紙鍙�夛級
-    xingzhengquyu: null, // 琛屾斂鍖哄煙锛堝彲閫夛級
+    xingzhengquyu: [], // 琛屾斂鍖哄煙锛堝彲閫夛級
     xingzhengquyuName: null, // 琛屾斂鍖哄煙鍚嶇О锛堝彲閫夛級
     jigoudaima: null, // 鏈烘瀯浠g爜锛堝彲閫夛級
     daimaleixing: null, // 浠g爜绫诲瀷锛堝彲閫夛級
@@ -52,7 +52,9 @@
 function getRef() {
   return ruleFormRef.value;
 }
-
+const handleChange = value => {
+  console.log(value);
+};
 defineExpose({ getRef });
 onMounted(async () => {});
 </script>
@@ -138,15 +140,19 @@
       </re-col>
       <re-col :value="6" :xs="24" :sm="24">
         <el-form-item label="瀹氬埗瑙勫垝" prop="dingbiaoguize">
-          <el-checkbox-group
+          <!-- <el-checkbox-group
             v-model="newFormInline.dingbiaoguize"
             placeholder="璇烽�夋嫨鐘舵��"
             clearable
             class="w-[100%]!"
           >
-            <el-checkbox label="鏈�浣庝环" :value="1" />
-            <el-checkbox label="缁煎悎璇勫垎" :value="0" />
-          </el-checkbox-group>
+            <el-checkbox label="鏈�浣庝环" value="鏈�浣庝环" />
+            <el-checkbox label="缁煎悎璇勫垎" value="缁煎悎璇勫垎" />
+          </el-checkbox-group> -->
+          <el-radio-group v-model="newFormInline.dingbiaoguize">
+            <el-radio value="鏈�浣庝环">鏈�浣庝环</el-radio>
+            <el-radio value="缁煎悎璇勫垎">缁煎悎璇勫垎</el-radio>
+          </el-radio-group>
         </el-form-item>
       </re-col>
       <re-col :value="6" :xs="24" :sm="24">
@@ -226,14 +232,14 @@
             class="w-full"
             :options="state.regionList"
             :props="{
-              value: 'id',
+              value: 'code',
               label: 'name',
-              emitPath: false,
               children: 'regions'
             }"
             clearable
             filterable
             placeholder="璇烽�夋嫨鍖哄煙"
+            @change="handleChange"
           />
         </el-form-item>
       </re-col>

--
Gitblit v1.9.1