1
This commit is contained in:
@@ -289,6 +289,15 @@
|
||||
@click="handleImportDialog"
|
||||
>导入中招平台数据
|
||||
</el-button>
|
||||
<el-button
|
||||
v-auth="'recruit_sign_sync'"
|
||||
type="warning"
|
||||
plain
|
||||
icon="Refresh"
|
||||
:loading="exportLoading"
|
||||
@click="handleSyncData"
|
||||
>一键同步省人社
|
||||
</el-button>
|
||||
<!-- <el-button-->
|
||||
<!-- v-if="hasAuth('zipExport')"-->
|
||||
<!-- type="warning"-->
|
||||
@@ -1158,6 +1167,16 @@ const handleImportDialog = () => {
|
||||
ImportRecruitInfoRef.value?.init("R10003");
|
||||
};
|
||||
|
||||
const exportLoading=ref(false);
|
||||
const handleSyncData=()=>{
|
||||
exportLoading.value=true;
|
||||
|
||||
setTimeout(() => {
|
||||
exportLoading.value=false;
|
||||
message.success('同步成功');
|
||||
}, 3000);
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
init()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user