@@ -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: {
/**
@@ -47,7 +47,7 @@ export default window.$crudCommon(
yearAndMonth: [String, Number],
watch: {
- yearAndMonth() {
+ yearAndMonth(newVal) {
this.loadData();
@@ -89,9 +89,6 @@ export default {
this.getEnterpriseInfoFunc(newVal);
}
- mounted() {
- this.getEnterpriseInfoFunc(this.yearAndMonth);
- },
// 转译高新领域
formatHighTechField(id) {
@@ -248,7 +248,7 @@ export default {
).then((res) => {
downloadXls(
res.data,
- `${this.pageTitle}.xlsx`
+ `${this.pageTitle}.doc`
);
});