소스 검색

feature: 审核默认年份当前年份,服务下发-自营隐藏导出数据按钮

ymz 3 주 전
부모
커밋
12196ea57a

BIN
dist.zip


+ 1 - 1
src/views/admin/assignPoints/quota/taskCenter.vue

@@ -31,7 +31,7 @@
       </template>
       <template slot="menuRight">
         <el-checkbox v-model="toApproval" @change="toApprovalClick" class="checkbox">只看待审核</el-checkbox>
-        <el-button type="primary" :loading="exportFnLoading" icon="el-icon-download" size="small" @click.stop="exportFn"> 导出数据 </el-button>
+        <!-- <el-button type="primary" :loading="exportFnLoading" icon="el-icon-download" size="small" @click.stop="exportFn"> 导出数据 </el-button> -->
       </template>
 
       <template slot="scorePackageName1" slot-scope="scope">

+ 2 - 2
src/views/serviceManagement/quickReview/index.vue

@@ -434,8 +434,8 @@ export default {
         nodeId = 1;
     }
 
-    const lastYear = dayjs().subtract(1, 'year').format('YYYY');
-    this.searchFrom.year = lastYear;
+    const currYear = dayjs().format('YYYY');
+    this.searchFrom.year = currYear;
     this.nodeId = nodeId;
     this.searchFrom.nodeId = nodeId;
     this.getList();

+ 2 - 2
src/views/serviceManagement/serviceReviewed/index.vue

@@ -262,8 +262,8 @@ export default {
     this.getDict();
   },
   mounted() {
-    const lastYear = dayjs().subtract(1, 'year').format('YYYY');
-    this.searchFrom.year = lastYear;
+    const currYear = dayjs().format('YYYY');
+    this.searchFrom.year = currYear;
     this.getList();
   },
 

+ 2 - 2
src/views/serviceManagement/servicesToBeReviewed/index.vue

@@ -381,9 +381,9 @@ export default {
         nodeId = 1;
     }
 
-    const lastYear = dayjs().subtract(1, 'year').format('YYYY');
+    const currYear = dayjs().format('YYYY');
 
-    this.searchFrom.year = lastYear;
+    this.searchFrom.year = currYear;
     this.nodeId = nodeId;
     this.searchFrom.nodeId = nodeId;
     this.getList();