| | |
| | | <a-form layout="inline" @keyup.enter.native="searchQuery"> |
| | | <a-row :gutter="24"> |
| | | |
| | | <a-col :md="6" :sm="12"> |
| | | <a-col :md="6" :sm="8"> |
| | | <a-form-item label="账号"> |
| | | <!--<a-input placeholder="请输入账号查询" v-model="queryParam.username"></a-input>--> |
| | | <j-input placeholder="输入账号模糊查询" v-model="queryParam.username"></j-input> |
| | |
| | | </a-col> |
| | | |
| | | <a-col :md="6" :sm="8"> |
| | | <a-form-item label="性别"> |
| | | <a-select v-model="queryParam.sex" placeholder="请选择性别"> |
| | | <a-select-option value="">请选择</a-select-option> |
| | | <a-select-option value="1">男</a-select-option> |
| | | <a-select-option value="2">女</a-select-option> |
| | | </a-select> |
| | | <a-form-item label="姓名"> |
| | | <a-input placeholder="请输入姓名" v-model="queryParam.realname"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | |
| | | |
| | | <template v-if="toggleSearchStatus"> |
| | | <a-col :md="6" :sm="8"> |
| | | <a-form-item label="真实名字"> |
| | | <a-input placeholder="请输入真实名字" v-model="queryParam.realname"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | |
| | | <a-col :md="6" :sm="8"> |
| | | <a-form-item label="手机号码"> |
| | | <a-input placeholder="请输入手机号码查询" v-model="queryParam.phone"></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | |
| | | <a-col :md="6" :sm="8"> |
| | | <a-form-item label="用户状态"> |
| | | <a-select v-model="queryParam.status" placeholder="请选择"> |
| | | <a-select-option value="">请选择</a-select-option> |
| | | <a-select-option value="1">正常</a-select-option> |
| | | <a-select-option value="2">冻结</a-select-option> |
| | | </a-select> |
| | | </a-form-item> |
| | | </a-col> |
| | | </template> |
| | | <a-col :md="6" :sm="8"> |
| | | <a-form-item label="用户状态"> |
| | | <a-select v-model="queryParam.status" placeholder="请选择"> |
| | | <a-select-option value="">请选择</a-select-option> |
| | | <a-select-option value="1">正常</a-select-option> |
| | | <a-select-option value="2">冻结</a-select-option> |
| | | </a-select> |
| | | </a-form-item> |
| | | </a-col> |
| | | |
| | | <a-col :md="6" :sm="8"> |
| | | <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons"> |
| | | <a-button type="primary" @click="searchQuery" icon="search">查询</a-button> |
| | | <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button> |
| | | <a @click="handleToggleSearch" style="margin-left: 8px"> |
| | | {{ toggleSearchStatus ? '收起' : '展开' }} |
| | | <a-icon :type="toggleSearchStatus ? 'up' : 'down'"/> |
| | | </a> |
| | | </span> |
| | | </a-col> |
| | | |
| | |
| | | queryParam: {}, |
| | | recycleBinVisible: false, |
| | | columns: [ |
| | | /*{ |
| | | title: '#', |
| | | dataIndex: '', |
| | | key:'rowIndex', |
| | | width:60, |
| | | align:"center", |
| | | customRender:function (t,r,index) { |
| | | return parseInt(index)+1; |
| | | } |
| | | },*/ |
| | | { |
| | | title: '用户账号', |
| | | align: "center", |
| | |
| | | dataIndex: 'realname', |
| | | }, |
| | | { |
| | | title: '头像', |
| | | title: '工号', |
| | | align: "center", |
| | | width: 80, |
| | | dataIndex: 'avatar', |
| | | scopedSlots: {customRender: "avatarslot"} |
| | | width: 100, |
| | | dataIndex: 'workNo', |
| | | }, |
| | | |
| | | // { |
| | | // title: '性别', |
| | | // align: "center", |
| | | // width: 80, |
| | | // dataIndex: 'sex_dictText', |
| | | // sorter: true |
| | | // }, |
| | | // { |
| | | // title: '生日', |
| | | // align: "center", |
| | | // width: 100, |
| | | // dataIndex: 'birthday' |
| | | // }, |
| | | // { |
| | | // title: '手机号码', |
| | | // align: "center", |
| | | // width: 100, |
| | | // dataIndex: 'phone' |
| | | // }, |
| | | { |
| | | title: '部门', |
| | | align: "center", |
| | |
| | | dataIndex: 'realname', |
| | | }, |
| | | { |
| | | title: '头像', |
| | | title: '工号', |
| | | align: "center", |
| | | width: 80, |
| | | dataIndex: 'avatar', |
| | | scopedSlots: {customRender: "avatarslot"} |
| | | width: 100, |
| | | dataIndex: 'workNo', |
| | | }, |
| | | |
| | | // { |
| | | // title: '性别', |
| | | // align: "center", |
| | | // width: 80, |
| | | // dataIndex: 'sex_dictText', |
| | | // sorter: true |
| | | // }, |
| | | // { |
| | | // title: '生日', |
| | | // align: "center", |
| | | // width: 100, |
| | | // dataIndex: 'birthday' |
| | | // }, |
| | | // { |
| | | // title: '手机号码', |
| | | // align: "center", |
| | | // width: 100, |
| | | // dataIndex: 'phone' |
| | | // }, |
| | | { |
| | | title: '车间', |
| | | align: "center", |
| | |
| | | dataIndex: 'realname', |
| | | }, |
| | | { |
| | | title: '头像', |
| | | title: '工号', |
| | | align: "center", |
| | | width: 80, |
| | | dataIndex: 'avatar', |
| | | scopedSlots: {customRender: "avatarslot"} |
| | | width: 100, |
| | | dataIndex: 'workNo', |
| | | }, |
| | | |
| | | // { |
| | | // title: '性别', |
| | | // align: "center", |
| | | // width: 80, |
| | | // dataIndex: 'sex_dictText', |
| | | // sorter: true |
| | | // }, |
| | | // { |
| | | // title: '生日', |
| | | // align: "center", |
| | | // width: 100, |
| | | // dataIndex: 'birthday' |
| | | // }, |
| | | // { |
| | | // title: '手机号码', |
| | | // align: "center", |
| | | // width: 100, |
| | | // dataIndex: 'phone' |
| | | // }, |
| | | { |
| | | title: '部门', |
| | | align: "center", |
| | |
| | | width: 240, |
| | | dataIndex: 'productionName', |
| | | ellipsis: true, |
| | | }, |
| | | { |
| | | title: '班组', |
| | | align: "center", |
| | | width: 240, |
| | | dataIndex: 'teamId_dictText' |
| | | }, |
| | | { |
| | | title: '状态', |
| | |
| | | </script> |
| | | <style scoped> |
| | | @import '~@assets/less/common.less' |
| | | </style> |
| | | </style> |