|
@@ -27,6 +27,11 @@
|
|
</template>
|
|
</template>
|
|
<template #extra>
|
|
<template #extra>
|
|
<!-- transfer_initial_expert_btn_sampling -->
|
|
<!-- transfer_initial_expert_btn_sampling -->
|
|
|
|
+ <HcTooltip keys="archives_tuning_btn_combine">
|
|
|
|
+ <el-button :loading="combinationClickLoading" hc-btn :disabled="tableCheckedKeys.length <= 0" @click="combinationClick">
|
|
|
|
+ 并卷
|
|
|
|
+ </el-button>
|
|
|
|
+ </HcTooltip>
|
|
<HcTooltip keys="archives_tuning_btn_num">
|
|
<HcTooltip keys="archives_tuning_btn_num">
|
|
<el-button :loading="refreshFileNumberLoading" hc-btn @click="refreshFileNumberClick">
|
|
<el-button :loading="refreshFileNumberLoading" hc-btn @click="refreshFileNumberClick">
|
|
档号整理
|
|
档号整理
|
|
@@ -1090,6 +1095,24 @@ const saveReplace = async ()=>{
|
|
window.$message?.warning(msg)
|
|
window.$message?.warning(msg)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+//并卷
|
|
|
|
+const combinationClickLoading = ref(false)
|
|
|
|
+const combinationClick = async ()=>{
|
|
|
|
+ combinationClickLoading.value = true
|
|
|
|
+ let ids = ''
|
|
|
|
+ const rows = tableCheckedKeys.value
|
|
|
|
+ ids = rowsToId(rows)
|
|
|
|
+ const { error, code, data, msg } = await tuningApi.reCreateArchiveAuto({
|
|
|
|
+ ids: ids,
|
|
|
|
+ })
|
|
|
|
+ combinationClickLoading.value = false
|
|
|
|
+ if (!error && code === 200) {
|
|
|
|
+ window.$message?.success(msg)
|
|
|
|
+ getTableData()
|
|
|
|
+ } else {
|
|
|
|
+ window.$message?.warning(msg)
|
|
|
|
+ }
|
|
|
|
+}
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|