ljb месяцев назад: 8
Родитель
Сommit
778f9f3b47

+ 1 - 2
src/views/basic-resource/comp-basic-info/comp-info-setting.vue

@@ -60,7 +60,7 @@ export default {
   },
   data() {
     return {
-      yearAndMonth: moment(new Date()).format('YYYY'),
+      yearAndMonth: '',
 
       logoForm: {},
       logoOption: {
@@ -145,7 +145,6 @@ export default {
   },
   mounted() {
     this.getTenantDetailFunc(this.userInfo.tenant_id);
-    // this.getAttenDetailFunc(this.yearAndMonth)
   },
   methods: {
     /**

+ 1 - 1
src/views/basic-resource/comp-basic-info/components/comp-dept-list.vue

@@ -47,7 +47,7 @@ export default window.$crudCommon(
       yearAndMonth: [String, Number],
     },
     watch: {
-      yearAndMonth() {
+      yearAndMonth(newVal) {
         this.loadData();
       },
     },

+ 0 - 3
src/views/basic-resource/comp-basic-info/components/comp-info-table.vue

@@ -89,9 +89,6 @@ export default {
       this.getEnterpriseInfoFunc(newVal);
     }
   },
-  mounted() {
-    this.getEnterpriseInfoFunc(this.yearAndMonth);
-  },
   methods: {
     // 转译高新领域
     formatHighTechField(id) {

+ 1 - 1
src/views/external-reports/external-manage/high-comp-annual-report.vue

@@ -248,7 +248,7 @@ export default {
       ).then((res) => {
         downloadXls(
           res.data,
-          `${this.pageTitle}.xlsx`
+          `${this.pageTitle}.doc`
         );
       });
     },