|
@@ -22,7 +22,6 @@
|
|
|
plain
|
|
|
icon="Plus"
|
|
|
@click="handleAdd"
|
|
|
- v-hasPermi="['emp:emp:add']"
|
|
|
>新增
|
|
|
</el-button>
|
|
|
</el-col>
|
|
@@ -33,7 +32,6 @@
|
|
|
icon="Edit"
|
|
|
:disabled="single"
|
|
|
@click="handleUpdate"
|
|
|
- v-hasPermi="['emp:emp:edit']"
|
|
|
>修改
|
|
|
</el-button>
|
|
|
</el-col>
|
|
@@ -44,26 +42,24 @@
|
|
|
icon="Delete"
|
|
|
:disabled="multiple"
|
|
|
@click="handleDelete"
|
|
|
- v-hasPermi="['emp:emp:remove']"
|
|
|
>删除
|
|
|
</el-button>
|
|
|
</el-col>
|
|
|
- <el-col :span="1.5">
|
|
|
- <el-button
|
|
|
- type="warning"
|
|
|
- plain
|
|
|
- icon="Download"
|
|
|
- @click="handleExport"
|
|
|
- v-hasPermi="['emp:emp:export']"
|
|
|
- >导出
|
|
|
- </el-button>
|
|
|
- </el-col>
|
|
|
+<!-- <el-col :span="1.5">-->
|
|
|
+<!-- <el-button-->
|
|
|
+<!-- type="warning"-->
|
|
|
+<!-- plain-->
|
|
|
+<!-- icon="Download"-->
|
|
|
+<!-- @click="handleExport"-->
|
|
|
+<!-- >导出-->
|
|
|
+<!-- </el-button>-->
|
|
|
+<!-- </el-col>-->
|
|
|
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
|
|
|
</el-row>
|
|
|
|
|
|
<el-table v-loading="loading" :data="empList" @selection-change="handleSelectionChange">
|
|
|
<el-table-column type="selection" width="55" align="center"/>
|
|
|
- <el-table-column label="排班ID" align="center" prop="empId"/>
|
|
|
+<!-- <el-table-column label="排班ID" align="center" prop="empId"/>-->
|
|
|
<el-table-column label="时间" align="center" prop="empDate" width="180">
|
|
|
<template #default="scope">
|
|
|
<span>{{ parseTime(scope.row.empDate, '{y}-{m}-{d}') }}</span>
|
|
@@ -74,10 +70,10 @@
|
|
|
<el-button link type="primary" icon="Histogram" @click="handleCalc(scope.row)">
|
|
|
统计
|
|
|
</el-button>
|
|
|
- <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['emp:emp:edit']">
|
|
|
+ <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)">
|
|
|
修改
|
|
|
</el-button>
|
|
|
- <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['emp:emp:remove']">
|
|
|
+ <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)">
|
|
|
删除
|
|
|
</el-button>
|
|
|
</template>
|