From 147db159fbdef9579c09c3a6209e054479b303e0 Mon Sep 17 00:00:00 2001 From: Tcsm <1377977403@qq.com> Date: 星期二, 15 八月 2023 21:40:22 +0800 Subject: [PATCH] 完善荣誉证书模块的类别和名称的选择输入功能;家根网可以按照身份、姓名搜索;成长经历阅历的各个小模块的时间在修改时变成可选形式 --- ruoyi-ui/src/views/genealogy/index.vue | 23 ++++++++++++++--------- 1 files changed, 14 insertions(+), 9 deletions(-) diff --git a/ruoyi-ui/src/views/genealogy/index.vue b/ruoyi-ui/src/views/genealogy/index.vue index 394e113..bef28ea 100644 --- a/ruoyi-ui/src/views/genealogy/index.vue +++ b/ruoyi-ui/src/views/genealogy/index.vue @@ -48,14 +48,11 @@ </el-form-item> <el-form-item label="鎬у埆" prop="sex"> - <el-input - v-model="queryParams.sex" - placeholder="璇疯緭鍏ユ�у埆" - clearable - style="width: 240px" - @keyup.enter.native="handleQuery"> - <i slot="prefix" class="el-input__icon el-icon-search"></i> - </el-input> + <el-select v-model="queryParams.sex" placeholder="璇烽�夋嫨鎬у埆" clearable + style="width: 240px" @keyup.enter.native="handleQuery"> + <el-option v-for="item in typeOption" + :key="item.value" :label="item.label" :value="item.value"/> + </el-select> </el-form-item> <el-form-item label="鐢熸棩" prop="birth"> @@ -163,7 +160,7 @@ <span v-if="scope.row.isMyFamily==1">绗瑊{scope.row.identity}}浠�</span> <span v-else>鈥斺��</span> </template> -<!-- <template slot-scope="scope">{{ getSrc(scope.row.identity) }}</template>--> + </el-table-column> <el-table-column label="濮撳悕" prop="nickName" sortable :show-overflow-tooltip="true" width="100" align="center"/> <el-table-column label="鎬у埆" prop="sex" sortable width="100" align="center" > @@ -404,6 +401,14 @@ }], }, + typeOption: [{ + value: '1', + label: '鐢�', + }, + { + value: '0', + label: '濂�', + }], typeOptions: [{ value:'1', label:'绗�1浠�' -- Gitblit v1.9.1