Sfoglia il codice sorgente

🎨 修改细节问题

快乐的梦鱼 1 settimana fa
parent
commit
6a7bb4a638
2 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. 1 0
      src/pages/forms/form.vue
  2. 2 2
      src/pages/inheritor.vue

+ 1 - 0
src/pages/forms/form.vue

@@ -254,6 +254,7 @@ async function loadData() {
 }
 async function loadHistoryData(page: number, pageSize: number, dropDownValues: number[], searchText: string) {
   const res = (await InheritorContent.getCollectList(props.model, {
+    contentId: route.query.id ? Number(route.query.id) : undefined,
     collectType: 'content',
     modelId: 2,
     userId: authStore.userInfo?.id,

+ 2 - 2
src/pages/inheritor.vue

@@ -13,7 +13,7 @@
         <a-tabs v-model:activeKey="activeKey" centered>
           <a-tab-pane key="1" tab="非遗项目">
             <EmptyToRecord title="非遗项目" :model="ichData" @edit="router.push({ name: 'FormIch' })">
-              <a-alert v-if="true || ichData?.progress == -1" message="提交的信息被退回,您可以去修改" type="error" class="mt-3" showIcon>
+              <a-alert v-if="ichData?.progress == -1" message="提交的信息被退回,您可以去修改" type="error" class="mt-3" showIcon>
                 <template #action>
                   <a-button size="small" type="primary" @click="router.push({ name: 'FormIch' })">去修改</a-button>
                 </template>
@@ -225,7 +225,7 @@ onMounted(() => {
 
 function openInMessage() {
   const lastTime = new Date(parseInt('' + SettingsUtils.getSettings('inheritorShowInMessageLastTime', 0)));
-  if (new Date().getTime() - lastTime.getTime() > 1000 * 3600 * 1) {
+  if (new Date().getTime() - lastTime.getTime() > 1000 * 3600 * 48) {
     showInMessage.value = true;
   }
 }