| File was renamed from src/views/gyEmployee/index.vue |
| | |
| | | <template> |
| | | <div style="padding: 10px"> |
| | | <el-drawer title="查询" :visible.sync="searchOpen" :with-header="false" size="650px"> |
| | | <div style="padding: 50px; width: 630px"> |
| | | <div class="searchText"> |
| | | <div style="font-size: 18px">QUICK SEARCH</div> |
| | | <div>快速搜索</div> |
| | | <div class="searchImg"></div> |
| | | </div> |
| | | <el-form :model="queryParams" ref="queryForm" label-width="98px"> |
| | | <el-row> |
| | | <el-form-item label="职员代码" prop="HNumber"> |
| | | <el-input |
| | | v-model="queryParams.HNumber" |
| | | placeholder="请输入职员代码" |
| | | @keyup.enter.native="handleQuery" |
| | | class="ForFilteringSchemes" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="职员名称" prop="HName"> |
| | | <el-input |
| | | v-model="queryParams.HName" |
| | | placeholder="请输入职员名称" |
| | | @keyup.enter.native="handleQuery" |
| | | class="ForFilteringSchemes" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="组织"> |
| | | <el-select |
| | | v-model="queryParams.HOrgID" |
| | | placeholder="请选择" |
| | | class="ForFilteringSchemes" |
| | | > |
| | | <el-option |
| | | v-for="(item, index) in organizationList" |
| | | :key="index" |
| | | :label="item.Name" |
| | | :value="item.ID" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-row> |
| | | <el-form |
| | | :model="queryParams" |
| | | ref="queryForm" |
| | | label-width="98px" |
| | | :inline="true" |
| | | class="searchBox" |
| | | > |
| | | <el-row> |
| | | <el-form-item label="职员代码" prop="HNumber"> |
| | | <el-input |
| | | v-model="queryParams.HNumber" |
| | | placeholder="请输入职员代码" |
| | | @keyup.enter.native="handleQuery" |
| | | class="ForFilteringSchemes" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="职员名称" prop="HName"> |
| | | <el-input |
| | | v-model="queryParams.HName" |
| | | placeholder="请输入职员名称" |
| | | @keyup.enter.native="handleQuery" |
| | | class="ForFilteringSchemes" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="组织"> |
| | | <el-select |
| | | v-model="queryParams.HOrgID" |
| | | placeholder="请选择" |
| | | class="ForFilteringSchemes" |
| | | > |
| | | <el-option |
| | | v-for="(item, index) in organizationList" |
| | | :key="index" |
| | | :label="item.Name" |
| | | :value="item.ID" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-row> |
| | | <el-form-item label-width="78px"> |
| | | <el-button type="primary" size="small" icon="el-icon-search" @click="handleQuery"> |
| | | 搜 索</el-button |
| | | > |
| | | <el-button icon="el-icon-circle-close" size="small" @click="searchOpen = false" |
| | | >取 消</el-button |
| | | > |
| | | </el-form-item> |
| | | <el-collapse v-model="activeSeach"> |
| | | <el-collapse-item title="更多" name="1"> |
| | | <el-card class="box-card"> |
| | | <div slot="header" class="clearfix"><span>过滤</span></div> |
| | | <div> |
| | |
| | | </el-form-item> |
| | | </div> |
| | | </el-card> |
| | | <el-form-item label-width="78px" style="margin-top: 50px"> |
| | | <el-button type="primary" icon="el-icon-search" @click="handleQuery"> |
| | | 搜 索</el-button |
| | | > |
| | | <el-button icon="el-icon-circle-close" @click="searchOpen = false" |
| | | >取 消</el-button |
| | | > |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | </el-drawer> |
| | | </el-collapse-item> |
| | | </el-collapse> |
| | | </el-form> |
| | | <el-row :gutter="10" class="mb8"> |
| | | <!-- <el-col :span="1.5"> |
| | | <el-button |
| | |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="primary" |
| | | plain |
| | | icon="el-icon-plus" |
| | | size="mini" |
| | | @click="handleAddEdit((OperationType = 1))" |
| | |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="success" |
| | | plain |
| | | type="primary" |
| | | icon="el-icon-edit" |
| | | size="mini" |
| | | :disabled="single" |
| | |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="success" |
| | | plain |
| | | type="primary" |
| | | icon="el-icon-edit" |
| | | size="mini" |
| | | :disabled="single" |
| | |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="danger" |
| | | plain |
| | | type="primary" |
| | | icon="el-icon-delete" |
| | | size="mini" |
| | | :disabled="single" |
| | |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="success" |
| | | plain |
| | | type="primary" |
| | | icon="el-icon-edit" |
| | | size="mini" |
| | | :disabled="single" |
| | |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="success" |
| | | plain |
| | | type="primary" |
| | | icon="el-icon-edit" |
| | | size="mini" |
| | | :disabled="single" |
| | |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="success" |
| | | plain |
| | | type="primary" |
| | | icon="el-icon-edit" |
| | | size="mini" |
| | | :disabled="single" |
| | |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="success" |
| | | plain |
| | | type="primary" |
| | | icon="el-icon-edit" |
| | | size="mini" |
| | | :disabled="single" |
| | |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="warning" |
| | | plain |
| | | type="primary" |
| | | icon="el-icon-download" |
| | | size="mini" |
| | | @click="handleExport" |
| | |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button |
| | | type="warning" |
| | | plain |
| | | type="primary" |
| | | icon="el-icon-download" |
| | | size="mini" |
| | | @click="handleRowHide" |
| | |
| | | <script> |
| | | import axios from "axios"; |
| | | import RowSettings from "@/views/component/rowSettings"; |
| | | import Edit from "@/views/gyEmployee/edit"; |
| | | import gySource from "@/views/gySource"; |
| | | import Edit from "@/views/basic/gyEmployee/gyEmployeeEdit"; |
| | | import gySource from "@/views/basic/gySource"; |
| | | import { env } from "echarts"; |
| | | |
| | | export default { |