From 3e7541914cce9120aba1288eac7b56127d94300c Mon Sep 17 00:00:00 2001 From: linwenling <3256558519@qq.com> Date: 星期二, 12 九月 2023 20:11:20 +0800 Subject: [PATCH] 个人模块的打印 --- ruoyi-ui/src/views/genealogy/index.vue | 31 +++++++++++++------------------ 1 files changed, 13 insertions(+), 18 deletions(-) diff --git a/ruoyi-ui/src/views/genealogy/index.vue b/ruoyi-ui/src/views/genealogy/index.vue index 394e113..b723ec3 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"> @@ -84,15 +81,6 @@ </el-form-item> </el-form> <div> -<!-- <div style="width: 149px;--> -<!-- height: 24px;--> -<!-- font-size: 18px;--> -<!-- font-family: Microsoft YaHei-Regular, Microsoft YaHei;--> -<!-- font-weight: 400;--> -<!-- color: #000000;--> -<!-- line-height: 21px;--> -<!-- ">寮犳皬涓�瑙堣〃</div>--> - <el-row :gutter="10" class="mb8"> <!-- <el-col :span="1.5">--> <!-- <el-button--> @@ -163,7 +151,6 @@ <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 +391,14 @@ }], }, + typeOption: [{ + value: '1', + label: '鐢�', + }, + { + value: '0', + label: '濂�', + }], typeOptions: [{ value:'1', label:'绗�1浠�' -- Gitblit v1.9.1