| | |
| | | </el-select> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="生日" prop="birth deadDay"> |
| | | <el-form-item label="生日" prop="birth"> |
| | | <el-date-picker |
| | | v-model="dateRange" |
| | | v-model="queryParams.birth" |
| | | style="width: 240px; |
| | | height: 30px; |
| | | background: #FFFFFF; |
| | |
| | | opacity: 0.5; |
| | | border: 1px solid rgba(0,0,0,0.25);" |
| | | value-format="yyyy-MM-dd" |
| | | type="daterange" |
| | | range-separator="-" |
| | | start-placeholder="开始日期" |
| | | end-placeholder="结束日期" |
| | | @keyup.enter.native="handleQuery" |
| | | ></el-date-picker> |
| | | |
| | |
| | | </el-row> |
| | | </div> |
| | | |
| | | <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 class="eltab" v-loading="loading" border :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"/> |
| | | <el-table-column label="身份" prop="identity" sortable width="100" > |
| | |
| | | <span v-else>——</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="姓名" prop="nickName" sortable :show-overflow-tooltip="true" width="100" align="center"/> |
| | | <el-table-column label="姓名" prop="nickName" sortable :show-overflow-tooltip="true" width="100" align="center"> |
| | | <template slot-scope="scope" > |
| | | |
| | | <el-button @click="handleCheck(scope.row)">{{scope.row.nickName}}</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | |
| | | <el-table-column label="性别" prop="sex" sortable width="100" align="center" > |
| | | <template slot-scope="scope"> |
| | | <span v-if="scope.row.sex===1">男</span> |
| | | <span v-if="scope.row.sex===0">女</span> |
| | | <span v-if="scope.row.sex===0">男</span> |
| | | <span v-if="scope.row.sex===1">女</span> |
| | | <span v-if="scope.row.sex== null">——</span> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | <template slot-scope="scope">{{scope.row.spouseName? scope.row.spouseName: '————'}}</template> |
| | | </el-table-column> |
| | | |
| | | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| | | <el-table-column fixed="right" label="操作" align="center" class-name="small-padding fixed-width"> |
| | | <template slot-scope="scope" v-if="scope.row.roleId !== 1"> |
| | | |
| | | |
| | |
| | | // 日期范围 |
| | | dateRange: [], |
| | | // 数据范围选项 |
| | | fot:[".jpg",".jif"], |
| | | fot:[".jpg",".jif",'.M4A'], |
| | | fileList:[], |
| | | fileListOther:[], |
| | | dsb:true, |
| | |
| | | nickName:undefined, |
| | | sex:undefined, |
| | | birth:undefined, |
| | | clanId: undefined |
| | | }, |
| | | // searchVal:"", |
| | | |
| | |
| | | |
| | | }, |
| | | typeOption: [{ |
| | | value: '1', |
| | | value: '0', |
| | | label: '男', |
| | | }, |
| | | { |
| | | value: '0', |
| | | value: '1', |
| | | label: '女', |
| | | }], |
| | | typeOptions: [{ |
| | |
| | | //alert(23) |
| | | this.queryParams.happenStartTime = this.dateRange.length > 0 && this.dateRange[0] |
| | | this.queryParams.happenEndTime = this.dateRange.length > 0 && this.dateRange[1] |
| | | |
| | | // this.queryParams.pageSize = this.pageSize; // 添加 pageSize 参数 |
| | | // this.queryParams.pageNum = this.pageNum; // 添加 pageNum 参数 |
| | | |
| | | this.queryParams.clanId = this.$store.state.user.clanId |
| | | this.listRoot = [] |
| | | // listProperty(this.addDateRange(this.queryParams, this.dateRange)).then(response => { |
| | | listUserAll(this.queryParams).then(response => { |
| | | // console.log(response.data) |
| | |
| | | deptCheckStrictly: true, |
| | | remark: undefined |
| | | }; |
| | | this.resetForm("form"); |
| | | this.resetForm("elForm"); |
| | | }, |
| | | /** 搜索按钮操作 */ |
| | | handleQuery() { |
| | |
| | | <style scoped> |
| | | .app-container{ |
| | | background-color: #FEF7FC; |
| | | background: url("../../assets/images/shuzi.png") no-repeat center center; |
| | | background-size: cover; |
| | | padding: 20px; /* 留出边距 */ |
| | | border-radius: 4px; /* 圆角匹配Element风格 */ |
| | | z-index:100 |
| | | } |
| | | |
| | | .el-table__row.statistics-warning-row { |
| | |
| | | } |
| | | |
| | | |
| | | /* 表格透明化 */ |
| | | .el-table { |
| | | background-color: transparent !important; |
| | | } |
| | | /* 表头样式调整 */ |
| | | :deep(.el-table__header th) { |
| | | background-color: rgba(0, 0, 0, 0.1) !important; |
| | | } |
| | | |
| | | </style> |