From 512d5d7e79e0a64b36e24cbe5d7c5f8d0adc0b94 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期四, 26 九月 2024 17:46:48 +0800 Subject: [PATCH] 1.升级了element-plus版本 2.对外支持模块新设备匹配工地功能完成 3.新增设备匹配模块单挑匹配记录编辑功能(未完成) --- src/components/search-option/FYOptionUserType.vue | 20 +++++++++----------- 1 files changed, 9 insertions(+), 11 deletions(-) diff --git a/src/components/search-option/FYOptionUserType.vue b/src/components/search-option/FYOptionUserType.vue index e274241..050f772 100644 --- a/src/components/search-option/FYOptionUserType.vue +++ b/src/components/search-option/FYOptionUserType.vue @@ -6,12 +6,7 @@ placeholder="鐢ㄦ埛绫诲瀷" style="width: 150px" > - <el-option - v-for="s in userTypes" - :key="s.value" - :label="s.label" - :value="s" - /> + <el-option v-for="s in userTypes" :key="s.value" :label="s.label" :value="s" /> </el-select> </el-form-item> </template> @@ -24,21 +19,24 @@ // 鏄惁鍦ㄩ閫夐」澶勬坊鍔犫�滃叏閮ㄢ�濋�夐」 allOption: { type: Boolean, - default: true, + default: true }, // 杩斿洖缁撴灉 value: Object, // 鏄惁榛樿杩斿洖鍒濆閫夐」 initValue: { type: Boolean, - default: true, + default: true }, - prop: String + prop: { + type: String, + default: '_usertype' + } }, emits: ['update:value'], data() { return { - userTypes: enumUser(this.allOption), + userTypes: enumUser(this.allOption) }; }, methods: { @@ -50,6 +48,6 @@ if (this.initValue) { this.handleChange(this.userTypes[0]); } - }, + } }; </script> -- Gitblit v1.9.3