Browse Source

企业基本信息bug处理

ljb 8 months ago
parent
commit
778f9f3b47

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

@@ -60,7 +60,7 @@ export default {
   },
   },
   data() {
   data() {
     return {
     return {
-      yearAndMonth: moment(new Date()).format('YYYY'),
+      yearAndMonth: '',
 
 
       logoForm: {},
       logoForm: {},
       logoOption: {
       logoOption: {
@@ -145,7 +145,6 @@ export default {
   },
   },
   mounted() {
   mounted() {
     this.getTenantDetailFunc(this.userInfo.tenant_id);
     this.getTenantDetailFunc(this.userInfo.tenant_id);
-    // this.getAttenDetailFunc(this.yearAndMonth)
   },
   },
   methods: {
   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],
       yearAndMonth: [String, Number],
     },
     },
     watch: {
     watch: {
-      yearAndMonth() {
+      yearAndMonth(newVal) {
         this.loadData();
         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);
       this.getEnterpriseInfoFunc(newVal);
     }
     }
   },
   },
-  mounted() {
-    this.getEnterpriseInfoFunc(this.yearAndMonth);
-  },
   methods: {
   methods: {
     // 转译高新领域
     // 转译高新领域
     formatHighTechField(id) {
     formatHighTechField(id) {

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

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