| | |
| | | <el-table-column label="岗位编号" align="center" prop="postId" />
|
| | | <el-table-column label="岗位编码" align="center" prop="postCode" />
|
| | | <el-table-column label="岗位名称" align="center" prop="postName" />
|
| | | <el-table-column label="岗位排序" align="center" prop="postSort" />
|
| | | <!-- <el-table-column label="岗位排序" align="center" prop="postSort" /> -->
|
| | | <el-table-column label="状态" align="center" prop="status">
|
| | | <template #default="scope">
|
| | | <dict-tag :options="sys_normal_disable" :value="scope.row.status" />
|
| | |
| | | </el-table-column>
|
| | | <el-table-column label="创建时间" align="center" prop="createTime" width="180">
|
| | | <template #default="scope">
|
| | | <span>{{ parseTime(scope.row.createTime) }}</span>
|
| | | <span>{{ parseTime(scope.row.createTime,'{y}-{m}-{d}') }}</span>
|
| | | </template>
|
| | | </el-table-column>
|
| | | <el-table-column label="操作" width="180" align="center" class-name="small-padding fixed-width">
|
| | |
| | |
|
| | | <script setup name="Post">
|
| | | import { listPost, addPost, delPost, getPost, updatePost } from "@/api/system/post"
|
| | | import {onMounted} from "vue";
|
| | |
|
| | | const { proxy } = getCurrentInstance()
|
| | | const { sys_normal_disable } = proxy.useDict("sys_normal_disable")
|
| | |
| | | }, `post_${new Date().getTime()}.xlsx`)
|
| | | }
|
| | |
|
| | | getList()
|
| | | onMounted(() => {
|
| | | getList();
|
| | | });
|
| | | </script>
|