省重点年份

main
laozt 2 years ago
parent 1891d9b951
commit 9bce925628

@ -11,13 +11,13 @@
<div class="enforce-the-law-title"> <div class="enforce-the-law-title">
<div class="filtrate-condition"> <div class="filtrate-condition">
<div class="select-input"> <div class="select-input">
<div class="select-span">:</div> <div class="select-span">:</div>
<div> <div>
<el-date-picker <el-date-picker
v-model="queryParms.year" v-model="queryParms.year"
type="month" type="year"
placeholder="请选择" placeholder="请选择年份"
value-format="yyyy-MM" value-format="yyyy"
size="small" size="small"
> >
</el-date-picker> </el-date-picker>
@ -89,9 +89,9 @@
@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-MM") }} {{ $moment(new Date(scope.row.year)).format("yyyy") }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
@ -270,7 +270,7 @@
<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-MM") }} {{ $moment(new Date(details.year)).format("yyyy") }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="企业名称"> <el-descriptions-item label="企业名称">
{{ details.enterpriseName }} {{ details.enterpriseName }}
@ -295,7 +295,7 @@
</div> </div>
</template> </template>
<script> <script>
import myPagination from "@/views/components/myPagination/index.vue"; import myPagination from "@/views/components/myPagination/index.vue";
import { Loading } from "element-ui"; import { Loading } from "element-ui";
import executive from "./echarts/executive"; import executive from "./echarts/executive";
@ -640,7 +640,7 @@ export default {
}, },
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
::v-deep .el-descriptions-row th { ::v-deep .el-descriptions-row th {
width: 20% !important; width: 20% !important;
font-size: 14px; font-size: 14px;
@ -934,4 +934,3 @@ export default {
// line-height: 40px; // line-height: 40px;
} }
</style> </style>
Loading…
Cancel
Save