From 2801f5c8ceb1b7ddb77e79d757160c5cb89ff067 Mon Sep 17 00:00:00 2001 From: zhangwei <1504152376@qq.com> Date: 星期一, 04 八月 2025 17:11:39 +0800 Subject: [PATCH] 个人资料更改 --- src/views/system/dept/form.vue | 26 ++++++++++++++++---------- 1 files changed, 16 insertions(+), 10 deletions(-) diff --git a/src/views/system/dept/form.vue b/src/views/system/dept/form.vue index 98fd3eb..de51a19 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> @@ -111,7 +113,7 @@ </el-form-item> </re-col> <re-col :value="6" :xs="24" :sm="24"> - <el-form-item label="閲囪喘鏂瑰紡"> + <el-form-item label="閲囪喘鏂瑰紡" prop="caigoufangshi"> <el-select v-model="newFormInline.caigoufangshi" placeholder="璇烽�夋嫨閲囪喘鏂瑰紡" @@ -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> @@ -345,7 +351,7 @@ </el-form-item> </re-col> <re-col :value="6" :xs="24" :sm="24"> - <el-form-item label="鑱旂郴浜轰汉" prop="dailiLianxiren"> + <el-form-item label="鑱旂郴浜�" prop="dailiLianxiren"> <el-input v-model="newFormInline.dailiLianxiren" clearable -- Gitblit v1.9.1