Browse Source

ai题名修改

duy 3 months ago
parent
commit
b57d3511cb
1 changed files with 7 additions and 8 deletions
  1. 7 8
      src/views/archives/manage/tuning.vue

+ 7 - 8
src/views/archives/manage/tuning.vue

@@ -26,11 +26,6 @@
                 </div>
             </template>
             <template #extra>
-                <!-- <HcTooltip keys="archives_tuning_btn_ai">
-                    <el-button hc-btn :disabled="tableCheckedKeys.length <= 0" @click="AiClick">
-                        AI题名
-                    </el-button>
-                </HcTooltip> -->
                 <el-tooltip
                     class="box-item"
                     effect="light"
@@ -366,7 +361,7 @@
             <el-input v-model="mergeInput" placeholder="请输入并卷后题名" type="textarea" class="blue-text" :autosize="{ minRows: 4, maxRows: 8 }" />
         </hc-new-dialog>
         <!-- 档案整理弹窗 -->
-        <hc-new-dialog v-model="fileNumberModal" :loading="refreshFileNumberLoading" widths="50vw" @close="fileModalClose" @save="refreshFileNumberClick">
+        <hc-new-dialog v-model="fileNumberModal" :loading="refreshFileNumberLoading" widths="30vw" @close="fileModalClose" @save="refreshFileNumberClick">
             <template #header>
                 <div class="text-1xl mt-2 text-center font-bold">
                     起始流水号
@@ -379,7 +374,7 @@
 </template>
 
 <script setup>
-import { nextTick, onMounted, ref, watch } from 'vue'
+import { nextTick, onActivated, onMounted, ref, watch } from 'vue'
 import { useAppStore } from '~src/store'
 import HcTree from '~src/components/tree/hc-tree.vue'
 import { arrToId, deepClone, getArrValue } from 'js-fast-way'
@@ -410,7 +405,10 @@ watch(() => [
 ], ([Collapse]) => {
     isCollapse.value = Collapse
 })
-
+onActivated(() => {
+   
+  taskListVisible.value = false
+})
 //渲染完成
 onMounted(() => {
     // getClassIfyList()
@@ -1322,6 +1320,7 @@ const AiClick = async ()=>{
 const taskInfoList = ref([])
 const getInfoDetailClick = (item)=>{
     console.log('详情')
+   
     const { status } = item
     if (status === 1) return