|
|
|
@ -16,7 +16,28 @@
|
|
|
|
|
</div>
|
|
|
|
|
<img src="@/assets/images/close.png" alt="" @click="Close" />
|
|
|
|
|
</div>
|
|
|
|
|
<div></div>
|
|
|
|
|
<div class="planInfo">
|
|
|
|
|
<div class="plan-title">
|
|
|
|
|
<div class="item">
|
|
|
|
|
<div>计划标题:</div>
|
|
|
|
|
<div class="content">{{ title }}</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="item">
|
|
|
|
|
<div>计划月份:</div>
|
|
|
|
|
<div class="content">{{ year }}</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="plan-content">
|
|
|
|
|
<div class="item-two">
|
|
|
|
|
<div>计划内容:</div>
|
|
|
|
|
<div class="content">{{ content }}</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="item-two">
|
|
|
|
|
<div>备注:</div>
|
|
|
|
|
<div class="content">{{ remark }}</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="tables" v-loading="loading">
|
|
|
|
|
<el-table
|
|
|
|
|
:data="tableData"
|
|
|
|
@ -24,17 +45,8 @@
|
|
|
|
|
:border="false"
|
|
|
|
|
ref="multipleTable"
|
|
|
|
|
tooltip-effect="light"
|
|
|
|
|
@selection-change="handleSelectionChange"
|
|
|
|
|
row-key="id"
|
|
|
|
|
:row-class-name="tableRowClassName"
|
|
|
|
|
>
|
|
|
|
|
<el-table-column
|
|
|
|
|
type="selection"
|
|
|
|
|
reserve-selection
|
|
|
|
|
width="55"
|
|
|
|
|
header-align="center"
|
|
|
|
|
>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
prop="entprName"
|
|
|
|
|
label="企业名称"
|
|
|
|
@ -50,13 +62,13 @@
|
|
|
|
|
header-align="center"
|
|
|
|
|
>
|
|
|
|
|
</el-table-column> -->
|
|
|
|
|
<el-table-column
|
|
|
|
|
<!-- <el-table-column
|
|
|
|
|
prop="address"
|
|
|
|
|
label="企业类型"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
header-align="center"
|
|
|
|
|
>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table-column> -->
|
|
|
|
|
<el-table-column
|
|
|
|
|
prop="uscCode"
|
|
|
|
|
label="统一社会信用代码"
|
|
|
|
@ -75,18 +87,11 @@
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<!-- <el-table-column prop="" label="选择" header-align="center">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<div class="look" @click="chec(scope.row)">
|
|
|
|
|
<el-checkbox v-model="scope.row.is"></el-checkbox>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column> -->
|
|
|
|
|
</el-table>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="pagination">
|
|
|
|
|
<my-pagination
|
|
|
|
|
:total="total"
|
|
|
|
|
:total="tableData.length"
|
|
|
|
|
@pagesChange="pagesChange"
|
|
|
|
|
></my-pagination>
|
|
|
|
|
</div>
|
|
|
|
@ -100,95 +105,42 @@ export default {
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
dialogVisible: false,
|
|
|
|
|
tableData: [
|
|
|
|
|
{
|
|
|
|
|
date: "2016-05-03",
|
|
|
|
|
name: "王小虎",
|
|
|
|
|
address: "上海市普陀区金沙江路 1518 弄",
|
|
|
|
|
is: 1,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
date: "2016-05-02",
|
|
|
|
|
name: "王小虎",
|
|
|
|
|
address: "上海市普陀区金沙江路 1518 弄",
|
|
|
|
|
is: 1,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
date: "2016-05-04",
|
|
|
|
|
name: "王小虎",
|
|
|
|
|
address: "上海市普陀区金沙江路 1518 弄",
|
|
|
|
|
is: 1,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
date: "2016-05-01",
|
|
|
|
|
name: "王小虎",
|
|
|
|
|
address: "上海市普陀区金沙江路 1518 弄",
|
|
|
|
|
is: 1,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
date: "2016-05-08",
|
|
|
|
|
name: "王小虎",
|
|
|
|
|
address: "上海市普陀区金沙江路 1518 弄",
|
|
|
|
|
is: 2,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
date: "2016-05-06",
|
|
|
|
|
name: "王小虎",
|
|
|
|
|
address: "上海市普陀区金沙江路 1518 弄",
|
|
|
|
|
is: 2,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
date: "2016-05-07",
|
|
|
|
|
name: "王小虎",
|
|
|
|
|
is: 2,
|
|
|
|
|
address: "上海市普陀区金沙江路 1518 弄",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
date: "2016-05-08",
|
|
|
|
|
name: "王小虎",
|
|
|
|
|
is: 2,
|
|
|
|
|
address: "上海市普陀区金沙江路 1518 弄",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
date: "2016-05-06",
|
|
|
|
|
name: "王小虎",
|
|
|
|
|
is: 2,
|
|
|
|
|
address: "上海市普陀区金沙江路 1518 弄",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
date: "2016-05-07",
|
|
|
|
|
name: "王小虎",
|
|
|
|
|
is: 2,
|
|
|
|
|
address: "上海市普陀区金沙江路 1518 弄",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
multipleSelection: [],
|
|
|
|
|
tableData: [],
|
|
|
|
|
total:0,
|
|
|
|
|
pages:{
|
|
|
|
|
pageNum:1,
|
|
|
|
|
pageSize:10,
|
|
|
|
|
},
|
|
|
|
|
loading:false,
|
|
|
|
|
year:'',
|
|
|
|
|
title:'',
|
|
|
|
|
content:'',
|
|
|
|
|
remark:''
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
async open() {
|
|
|
|
|
async open(item) {
|
|
|
|
|
this.dialogVisible = true;
|
|
|
|
|
this.getList(item);
|
|
|
|
|
},
|
|
|
|
|
Close() {
|
|
|
|
|
this.dialogVisible = false;
|
|
|
|
|
this.pages.pageNum = 1;
|
|
|
|
|
this.pages.pageSize = 10;
|
|
|
|
|
},
|
|
|
|
|
async getList(item){
|
|
|
|
|
let data = await this.$api.yingji.bPlanManageTwo(item.id);
|
|
|
|
|
this.year = data.data.plannedYear;
|
|
|
|
|
this.title = data.data.planName;
|
|
|
|
|
this.content = data.data.planContent;
|
|
|
|
|
this.remark = data.data.remark;
|
|
|
|
|
this.tableData = data.data.list;
|
|
|
|
|
},
|
|
|
|
|
// 页码,当前页切换事件
|
|
|
|
|
pagesChange(pages) {
|
|
|
|
|
this.getTable(pages);
|
|
|
|
|
this.pages = pages;
|
|
|
|
|
},
|
|
|
|
|
// 选中的数据
|
|
|
|
|
handleSelectionChange(val) {
|
|
|
|
|
this.multipleSelection = val;
|
|
|
|
|
},
|
|
|
|
|
tableRowClassName({ row, rowIndex }) {
|
|
|
|
|
if (rowIndex % 2 !== 0) {
|
|
|
|
|
return "success-row";
|
|
|
|
@ -239,46 +191,102 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.content {
|
|
|
|
|
// padding: 15px 10px;
|
|
|
|
|
.tables {
|
|
|
|
|
background-color: #eaf2fd;
|
|
|
|
|
::v-deep .el-table {
|
|
|
|
|
.success-row {
|
|
|
|
|
background-color: rgba(234, 242, 253, 0.25);
|
|
|
|
|
}
|
|
|
|
|
td {
|
|
|
|
|
height: 30px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
.planInfo {
|
|
|
|
|
padding: 10px 30px;
|
|
|
|
|
.plan-title {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
.item {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex: 1;
|
|
|
|
|
align-items: center;
|
|
|
|
|
div {
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
font-family: "Alibaba PuHuiTi";
|
|
|
|
|
font-family: 'Alibaba PuHuiTi';
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #525966;
|
|
|
|
|
|
|
|
|
|
&:nth-child(1) {
|
|
|
|
|
width: 80px;
|
|
|
|
|
text-align: right;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
font-family: 'Alibaba PuHuiTi';
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #525966;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.content {
|
|
|
|
|
flex: 1;
|
|
|
|
|
}
|
|
|
|
|
th {
|
|
|
|
|
height: 30px;
|
|
|
|
|
background-color: #eaf2fd;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
font-family: "Alibaba PuHuiTi";
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.plan-content {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
.item-two {
|
|
|
|
|
flex: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
div {
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
font-family: 'Alibaba PuHuiTi';
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #525966;
|
|
|
|
|
.el-checkbox {
|
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
|
|
&:nth-child(1) {
|
|
|
|
|
text-align: right;
|
|
|
|
|
width: 80px;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
font-family: 'Alibaba PuHuiTi';
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #525966;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.el-table__body-wrapper {
|
|
|
|
|
height: 448px !important;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
.content {
|
|
|
|
|
flex: 1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.tables {
|
|
|
|
|
margin-top: 20px;
|
|
|
|
|
background-color: #eaf2fd;
|
|
|
|
|
::v-deep .el-table {
|
|
|
|
|
.success-row {
|
|
|
|
|
background-color: rgba(234, 242, 253, 0.25);
|
|
|
|
|
}
|
|
|
|
|
td {
|
|
|
|
|
height: 30px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-size: 15px;
|
|
|
|
|
font-family: "Alibaba PuHuiTi";
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #525966;
|
|
|
|
|
}
|
|
|
|
|
th {
|
|
|
|
|
height: 30px;
|
|
|
|
|
background-color: #eaf2fd;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
font-family: "Alibaba PuHuiTi";
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
color: #525966;
|
|
|
|
|
.el-checkbox {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
::v-deep .el-table::before {
|
|
|
|
|
height: 0;
|
|
|
|
|
.el-table__body-wrapper {
|
|
|
|
|
height: 448px !important;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.pagination {
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
::v-deep .el-table::before {
|
|
|
|
|
height: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.pagination {
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
::v-deep .el-dialog__body {
|
|
|
|
|
padding: 30px 15px;
|
|
|
|
|