dev-cl
qsh 5 months ago
parent fd4e927ca6
commit b6a87197f0
  1. 15
      src/views/Pers/Employee/index.vue

@ -12,7 +12,7 @@
</el-form-item>
<el-form-item>
<el-button @click="handleQuery">搜索</el-button>
<el-button @click="handleQuery">新增</el-button>
<el-button type="primary" plain @click="handleQuery">新增</el-button>
</el-form-item>
</el-form>
@ -21,17 +21,8 @@
<el-table-column label="用户姓名" prop="nickname" />
<el-table-column label="部门" key="deptName" prop="deptName" />
<el-table-column label="手机号码" prop="mobile" width="120" />
<el-table-column label="在职状态" prop="status" />
<el-table-column label="参与考勤" width="150">
<template #default="scope">
<el-switch
v-model="scope.row.status"
:active-value="0"
:inactive-value="1"
@change="handleStatusChange(scope.row)"
/>
</template>
</el-table-column>
<el-table-column label="考勤方案" />
<el-table-column label="在职状态" prop="status" width="150" />
</el-table>
<Pagination
:total="total"

Loading…
Cancel
Save