|
@@ -72,7 +72,7 @@
|
|
|
<Loading :visible="loading"></Loading>
|
|
|
|
|
|
<CtDialog :visible="showExpire" :widthType="2" titleClass="text-h6" title="修改职位到期时间" @close="showExpire = false; expireTimeId = null" @submit="handleSubmit">
|
|
|
- <CtForm v-if="showExpire" ref="CtFormRef" :items="formItem" style="height: 100px;"></CtForm>
|
|
|
+ <CtForm v-if="showExpire" ref="CtFormRef" :items="formItem"></CtForm>
|
|
|
</CtDialog>
|
|
|
</template>
|
|
|
|
|
@@ -112,7 +112,8 @@ const formItem = ref({
|
|
|
format: 'YYYY-MM-DD',
|
|
|
label: '到期时间 *',
|
|
|
labelWidth: 110,
|
|
|
- disabledDates: true,
|
|
|
+ teleported: true,
|
|
|
+ disabledDates: true
|
|
|
}
|
|
|
]
|
|
|
})
|
|
@@ -168,7 +169,7 @@ const apiList = [closeJobAdvertised, enableJobAdvertised, refreshJobAdvertised,
|
|
|
const handleAction = async (index, type, { id }) => {
|
|
|
// 激活职位时查询是否有可发布职位数
|
|
|
if (index === 1) {
|
|
|
- await store.getEnterpriseInfo()
|
|
|
+ await store.getEnterpriseInfo(true)
|
|
|
if (baseInfo.value?.entitlement.publishJobCount <= 0) return Snackbar.warning('可发布职位数不足,请联系平台管理员')
|
|
|
}
|
|
|
const ids = type ? props.items.filter(e => e.select).map(k => k.id) : [id]
|