|
|
|
|
@ -41,6 +41,7 @@
|
|
|
|
|
:req-opt="select"
|
|
|
|
|
:action="index"
|
|
|
|
|
:destroy-action="destroy"
|
|
|
|
|
:btn-width="280"
|
|
|
|
|
:table-item="table"
|
|
|
|
|
:auths="auths_auth_mixin"
|
|
|
|
|
@editor="
|
|
|
|
|
@ -65,6 +66,16 @@
|
|
|
|
|
>模版设置</Button
|
|
|
|
|
>
|
|
|
|
|
</template>
|
|
|
|
|
<template #clone="{row}">
|
|
|
|
|
<Button
|
|
|
|
|
size="small"
|
|
|
|
|
type="primary"
|
|
|
|
|
ghost
|
|
|
|
|
style="margin-left: 6px;"
|
|
|
|
|
@click="clone(row)"
|
|
|
|
|
>模版克隆</Button
|
|
|
|
|
>
|
|
|
|
|
</template>
|
|
|
|
|
</xy-table>
|
|
|
|
|
|
|
|
|
|
<addTemplate
|
|
|
|
|
@ -77,7 +88,7 @@
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import { index, destroy } from "@/api/unifiedRecruitment/template";
|
|
|
|
|
import { index, destroy, clone } from "@/api/unifiedRecruitment/template";
|
|
|
|
|
import { save } from "@/api/unifiedRecruitment/templateItem"
|
|
|
|
|
import { authMixin } from "@/mixin/authMixin";
|
|
|
|
|
import { getConst } from "@/const";
|
|
|
|
|
@ -163,6 +174,15 @@ export default {
|
|
|
|
|
index,
|
|
|
|
|
destroy,
|
|
|
|
|
getConst,
|
|
|
|
|
clone(row) {
|
|
|
|
|
this.$confirm('确认操作?','提示', {
|
|
|
|
|
showCancelButton: true
|
|
|
|
|
}).then(_ => {
|
|
|
|
|
clone({
|
|
|
|
|
id: row.id
|
|
|
|
|
}).then(_ => this.$refs['xyTable'].getTableData(true))
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
computed: {
|
|
|
|
|
getTitleName(){
|
|
|
|
|
|