CzRger 1 year ago
parent
commit
365788d832
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/views/staging/zby/center/index.vue

+ 3 - 3
src/views/staging/zby/center/index.vue

@@ -164,16 +164,16 @@ export default defineComponent({
     }
     const tipsCpt = computed(() => {
       let str: Array<string> = []
-      if (!store.state.app.signInfo?.id && ratherTime(store.state.app.timestamp, store.state.app.publicConfig['sign.begin.time'], store.state.app.publicConfig['sign.remind.time'])) {
+      if (store.state.app.publicConfig['sign.remind.time'] != '0' && !store.state.app.signInfo?.id && ratherTime(store.state.app.timestamp, store.state.app.publicConfig['sign.begin.time'], store.state.app.publicConfig['sign.remind.time'])) {
         str.push('未签到')
       }
       if (store.state.app.signInfo?.id && store.state.app.signInfo?.type !== '2' && ratherTime(store.state.app.timestamp, store.state.app.publicConfig['sign.end.time'], 0)) {
         str.push('未签退')
       }
-      if (!store.state.app.dailyInfo?.id && ratherTime(store.state.app.timestamp, store.state.app.publicConfig['log.submit.time'], store.state.app.publicConfig['log.remind.time'])) {
+      if (store.state.app.publicConfig['log.remind.time'] != '0' && !store.state.app.dailyInfo?.id && ratherTime(store.state.app.timestamp, store.state.app.publicConfig['log.submit.time'], store.state.app.publicConfig['log.remind.time'])) {
         str.push('未提交日志')
       }
-      if (store.getters['app/isWeeklyDay'] && !store.state.app.weeklyInfo?.id && ratherTime(store.state.app.timestamp, store.state.app.publicConfig['week.submit.time'], store.state.app.publicConfig['week.remind.time'])) {
+      if (store.state.app.publicConfig['week.remind.time'] != '0' && store.getters['app/isWeeklyDay'] && !store.state.app.weeklyInfo?.id && ratherTime(store.state.app.timestamp, store.state.app.publicConfig['week.submit.time'], store.state.app.publicConfig['week.remind.time'])) {
         str.push('未提交周报')
       }
       return str.length > 0 ? `您还${str.join('/')},请尽快完成操作` : ''