|
|
@ -3,8 +3,8 @@
|
|
|
|
* @version:
|
|
|
|
* @version:
|
|
|
|
* @Author: JC9527
|
|
|
|
* @Author: JC9527
|
|
|
|
* @Date: 2023-09-04 10:20:06
|
|
|
|
* @Date: 2023-09-04 10:20:06
|
|
|
|
* @LastEditors: 张涛
|
|
|
|
* @LastEditors: laozt 2721205210@qq.com
|
|
|
|
* @LastEditTime: 2023-10-12 13:33:22
|
|
|
|
* @LastEditTime: 2023-12-13 09:50:24
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<div class="container-main" ref="main">
|
|
|
|
<div class="container-main" ref="main">
|
|
|
@ -82,7 +82,7 @@
|
|
|
|
@selection-change="handleSelectionChange"
|
|
|
|
@selection-change="handleSelectionChange"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-table-column type="selection" width="55"></el-table-column>
|
|
|
|
<el-table-column type="selection" width="55"></el-table-column>
|
|
|
|
<el-table-column prop="year" label="计划年份" header-align="center">
|
|
|
|
<el-table-column prop="year" label="年份" header-align="center">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
{{ $moment(new Date(scope.row.year)).format("yyyy") }}
|
|
|
|
{{ $moment(new Date(scope.row.year)).format("yyyy") }}
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
@ -235,7 +235,7 @@
|
|
|
|
<div class="content">
|
|
|
|
<div class="content">
|
|
|
|
<div class="filtrate">
|
|
|
|
<div class="filtrate">
|
|
|
|
<el-descriptions :column="2" border>
|
|
|
|
<el-descriptions :column="2" border>
|
|
|
|
<el-descriptions-item label="计划年份">
|
|
|
|
<el-descriptions-item label="年份">
|
|
|
|
{{ $moment(new Date(details.year)).format("yyyy") }}
|
|
|
|
{{ $moment(new Date(details.year)).format("yyyy") }}
|
|
|
|
</el-descriptions-item>
|
|
|
|
</el-descriptions-item>
|
|
|
|
<el-descriptions-item label="企业名称">
|
|
|
|
<el-descriptions-item label="企业名称">
|
|
|
@ -304,7 +304,6 @@ import {
|
|
|
|
deleteEnterprise,
|
|
|
|
deleteEnterprise,
|
|
|
|
exportEnterprise,
|
|
|
|
exportEnterprise,
|
|
|
|
getEnterprise,
|
|
|
|
getEnterprise,
|
|
|
|
// xzTree,
|
|
|
|
|
|
|
|
} from "@/api/yingji/keyEnterprise.js";
|
|
|
|
} from "@/api/yingji/keyEnterprise.js";
|
|
|
|
// import { mapState } from "vuex";
|
|
|
|
// import { mapState } from "vuex";
|
|
|
|
import { getToken } from "@/utils/auth";
|
|
|
|
import { getToken } from "@/utils/auth";
|
|
|
@ -425,7 +424,8 @@ export default {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
created() {
|
|
|
|
created() {
|
|
|
|
// this.getTreeList();
|
|
|
|
this.queryParms.year = this.$moment(new Date()).format("yyyy")
|
|
|
|
|
|
|
|
this.searchBefore = { ...this.searchBefore, ...this.queryParms };
|
|
|
|
this.getList();
|
|
|
|
this.getList();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// computed: {
|
|
|
|
// computed: {
|
|
|
@ -501,7 +501,6 @@ export default {
|
|
|
|
//获取列表
|
|
|
|
//获取列表
|
|
|
|
getList() {
|
|
|
|
getList() {
|
|
|
|
this.loading = true;
|
|
|
|
this.loading = true;
|
|
|
|
// console.log(this.searchBefore);
|
|
|
|
|
|
|
|
listEnterprise(this.searchBefore).then((res) => {
|
|
|
|
listEnterprise(this.searchBefore).then((res) => {
|
|
|
|
// console.log(res);
|
|
|
|
// console.log(res);
|
|
|
|
this.tableData = res.data.list;
|
|
|
|
this.tableData = res.data.list;
|
|
|
|