|
@ -0,0 +1,49 @@ |
|
|
|
|
|
<template> |
|
|
|
|
|
<div class="app-container container-wrap"> |
|
|
|
|
|
<span class="right-top-line" /> |
|
|
|
|
|
<span class="left-bottom-line" /> |
|
|
|
|
|
<div class="head-container"> |
|
|
|
|
|
<eHeader :dict="dict" :permission="permission" /> |
|
|
|
|
|
<crudOperation :permission="permission" /> |
|
|
|
|
|
</div> |
|
|
|
|
|
档案盘点-------crud测试 |
|
|
|
|
|
</div> |
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
|
|
import eHeader from './module/header' |
|
|
|
|
|
import CRUD, { presenter } from '@crud/crud' |
|
|
|
|
|
import crudJob from '@/api/system/job' |
|
|
|
|
|
import crudOperation from '@crud/CRUD.operation' |
|
|
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
|
|
name: 'Job', |
|
|
|
|
|
components: { eHeader, crudOperation }, |
|
|
|
|
|
cruds() { |
|
|
|
|
|
return CRUD({ |
|
|
|
|
|
title: '岗位', |
|
|
|
|
|
url: 'api/job', |
|
|
|
|
|
sort: ['jobSort,asc', 'id,desc'], |
|
|
|
|
|
crudMethod: { ...crudJob } |
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
|
|
|
mixins: [presenter()], |
|
|
|
|
|
dicts: ['job_status'], |
|
|
|
|
|
|
|
|
|
|
|
data() { |
|
|
|
|
|
return { |
|
|
|
|
|
permission: { |
|
|
|
|
|
add: ['admin', 'job:add'], |
|
|
|
|
|
edit: ['admin', 'job:edit'], |
|
|
|
|
|
del: ['admin', 'job:del'] |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
|
|
.app-container { |
|
|
|
|
|
color: #fff; |
|
|
|
|
|
} |
|
|
|
|
|
</style> |