BUG 31140
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
<template slot="title">
|
<template slot="title">
|
||||||
<ai-title title="组织换届" isShowBottomBorder>
|
<ai-title title="组织换届" isShowBottomBorder>
|
||||||
<template #rightBtn>
|
<template #rightBtn>
|
||||||
<el-button size="small" type="primary" @click="toAdd(selected.id)" v-if="!hasConfig&&permissions('app_apporganizationchangeconfig')">换届设置
|
<el-button size="small" type="primary" @click="toAdd(selected.id)" v-if="hasConfig&&permissions('app_apporganizationchangeconfig')">换届设置
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
</ai-title>
|
</ai-title>
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<section class="history">
|
<section class="history">
|
||||||
|
|
||||||
<ai-search-bar>
|
<ai-search-bar>
|
||||||
<template #left>
|
<template #left>
|
||||||
<el-button type="primary" icon="iconfont iconEdit" @click="$router.push({hash:'#makeup',query:{oid}})">补录</el-button>
|
<el-button type="primary" icon="iconfont iconEdit" v-if="hasConfig" @click="$router.push({hash:'#makeup',query:{oid}})">补录</el-button>
|
||||||
</template>
|
</template>
|
||||||
<template #right>
|
<template #right>
|
||||||
<el-input size="small" placeholder="请输入届次" v-model="search.name" clearable
|
<el-input size="small" placeholder="请输入届次" v-model="search.name" clearable
|
||||||
@@ -29,6 +28,9 @@ export default {
|
|||||||
instance: {},
|
instance: {},
|
||||||
dict: {}
|
dict: {}
|
||||||
},
|
},
|
||||||
|
props: {
|
||||||
|
hasConfig: Boolean
|
||||||
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
search: {
|
search: {
|
||||||
|
|||||||
@@ -34,16 +34,6 @@ export default {
|
|||||||
totalJob: 0,
|
totalJob: 0,
|
||||||
current: 1,
|
current: 1,
|
||||||
size: 10,
|
size: 10,
|
||||||
dialogJob: false,
|
|
||||||
dialogCandidate: false,
|
|
||||||
jobForm: {
|
|
||||||
job: '',
|
|
||||||
name: '',
|
|
||||||
},
|
|
||||||
CandFrom: {
|
|
||||||
job: '',
|
|
||||||
name: '',
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@@ -72,9 +62,8 @@ export default {
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
this.detail = res.data
|
this.detail = res.data
|
||||||
this.$emit("update:hasConfig")
|
|
||||||
}
|
}
|
||||||
})
|
}).catch(() => this.detail = {}).finally(() => this.$emit("update:hasConfig", !!this.detail.id))
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
|||||||
Reference in New Issue
Block a user