|
@@ -11,7 +11,6 @@
|
|
<HcTooltip keys="archives_bookmark_btn_add">
|
|
<HcTooltip keys="archives_bookmark_btn_add">
|
|
<el-button hc-btn type="primary" :loading="saveLoading" @click="addModalClick(false)">保存设置</el-button>
|
|
<el-button hc-btn type="primary" :loading="saveLoading" @click="addModalClick(false)">保存设置</el-button>
|
|
</HcTooltip>
|
|
</HcTooltip>
|
|
- <el-button hc-btn type="primary" :loading="refreshLoading" @click="refreshClick(false)">刷新档号</el-button>
|
|
|
|
</template>
|
|
</template>
|
|
<template #search>
|
|
<template #search>
|
|
<el-alert :closable="false" title="提示:设置基础信息,系统可统一内置到组卷信息里面去" type="error" />
|
|
<el-alert :closable="false" title="提示:设置基础信息,系统可统一内置到组卷信息里面去" type="error" />
|
|
@@ -118,7 +117,7 @@
|
|
<script setup>
|
|
<script setup>
|
|
import { onMounted, reactive, ref, watch } from 'vue'
|
|
import { onMounted, reactive, ref, watch } from 'vue'
|
|
import { useAppStore } from '~src/store'
|
|
import { useAppStore } from '~src/store'
|
|
-import { archiveTreeDetail, archiveTreeUpdate, archiveTreeUpdate1 } from '~api/other'
|
|
|
|
|
|
+import { archiveTreeDetail, archiveTreeUpdate } from '~api/other'
|
|
import { getStoreValue, setStoreValue } from '~src/utils/storage'
|
|
import { getStoreValue, setStoreValue } from '~src/utils/storage'
|
|
import HcTree from '~src/components/tree/hc-tree.vue'
|
|
import HcTree from '~src/components/tree/hc-tree.vue'
|
|
import tasksApi from '~api/tasks/data'
|
|
import tasksApi from '~api/tasks/data'
|
|
@@ -219,27 +218,7 @@ const addModalClick = async (type) => {
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
-//刷新档号
|
|
|
|
-const refreshLoading = ref(false)
|
|
|
|
-const refreshClick = async () => {
|
|
|
|
- if (!formInline.value.id) {
|
|
|
|
- window.$message?.warning('请先点选左侧要修改信息的树节点')
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
- refreshLoading.value = true
|
|
|
|
-
|
|
|
|
- const { code, msg } = await archiveTreeUpdate1({
|
|
|
|
- id:formInline.value.id,
|
|
|
|
- fileNumberPrefix:formInline.value.fileNumberPrefix,
|
|
|
|
-
|
|
|
|
- })
|
|
|
|
- //console.log(res);
|
|
|
|
- refreshLoading.value = false
|
|
|
|
- if (code == 200) {
|
|
|
|
- window.$message?.success('修改成功')
|
|
|
|
- // window?.location?.reload() //刷新页面
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
|
|
+
|
|
const addinputItem = () => {
|
|
const addinputItem = () => {
|
|
addArray.push({ title: '' })
|
|
addArray.push({ title: '' })
|
|
}
|
|
}
|