| | |
| | | </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"> |
| | | <el-form-item label="生日" prop="birth deadDay"> |
| | | <el-date-picker |
| | | v-model="dateRange" |
| | | style="width: 197px; |
| | |
| | | range-separator="-" |
| | | start-placeholder="开始日期" |
| | | end-placeholder="结束日期" |
| | | @keyup.enter.native="handleQuery" |
| | | ></el-date-picker> |
| | | |
| | | </el-form-item> |
| | |
| | | </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--> |
| | |
| | | </el-row> |
| | | </div> |
| | | |
| | | <el-table v-loading="loading" :data="listRoot" @selection-change="handleSelectionChange" :row-class-name="tableRowClassName" style="background: #FFEFF2; border-radius: 14px 14px 14px 14px;"> |
| | | <el-table v-loading="loading" :data="listRoot" :row-key="getRowId" ref="multipleTable" @selection-change="handleSelectionChange" :row-class-name="tableRowClassName" style="background: #FFEFF2; border-radius: 14px 14px 14px 14px;"> |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | <el-table-column fixed label="序号" sortable type="index" :index="(queryParams.pageNum-1)*queryParams.pageSize+1" width="80"/> |
| | | |
| | |
| | | <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" > |
| | |
| | | </el-table> |
| | | |
| | | <pagination |
| | | v-show="total>0" |
| | | :total="total" |
| | | :page.sync="queryParams.pageNum" |
| | | :limit.sync="queryParams.pageSize" |
| | |
| | | dsb:true, |
| | | btn:false, |
| | | fit:['fill'], |
| | | |
| | | uploading: false, |
| | | formDat: { |
| | | //张氏一览表 |
| | | userid:undefined, |
| | |
| | | }], |
| | | |
| | | }, |
| | | typeOption: [{ |
| | | value: '1', |
| | | label: '男', |
| | | }, |
| | | { |
| | | value: '0', |
| | | label: '女', |
| | | }], |
| | | typeOptions: [{ |
| | | value:'1', |
| | | label:'第1代' |
| | |
| | | return '其它' |
| | | } |
| | | }, |
| | | getRowId(row) |
| | | { |
| | | return row.id |
| | | }, |
| | | |
| | | handleRemove(file) { |
| | | alert(323) |