|
@@ -13,18 +13,18 @@
|
|
</div>
|
|
</div>
|
|
<el-table :data='tableData' :border='true' style='width: 100%'>
|
|
<el-table :data='tableData' :border='true' style='width: 100%'>
|
|
<el-table-column type='index' label='序号' width='80'></el-table-column>
|
|
<el-table-column type='index' label='序号' width='80'></el-table-column>
|
|
- <el-table-column prop='sbjbm' label='年度' width='160'></el-table-column>
|
|
|
|
- <el-table-column prop='sbjbm' label='期数' width='160'></el-table-column>
|
|
|
|
- <el-table-column prop='lb' label='类别'></el-table-column>
|
|
|
|
- <el-table-column prop='xm' label='项目'></el-table-column>
|
|
|
|
- <el-table-column prop='sl' label='数量'></el-table-column>
|
|
|
|
- <el-table-column prop='ssfasm' label='实施方案说明'></el-table-column>
|
|
|
|
|
|
+ <el-table-column prop='sbjbm' label='年度' width='160' show-overflow-tooltip resizable></el-table-column>
|
|
|
|
+ <el-table-column prop='sbjbm' label='期数' width='160' show-overflow-tooltip resizable></el-table-column>
|
|
|
|
+ <el-table-column prop='lb' label='类别' show-overflow-tooltip resizable></el-table-column>
|
|
|
|
+ <el-table-column prop='xm' label='项目' show-overflow-tooltip resizable></el-table-column>
|
|
|
|
+ <el-table-column prop='sl' label='数量' show-overflow-tooltip resizable></el-table-column>
|
|
|
|
+ <el-table-column prop='ssfasm' label='实施方案说明' show-overflow-tooltip resizable width='200'></el-table-column>
|
|
<el-table-column prop='wzjc' label='当前阶段' show-overflow-tooltip resizable width='140'></el-table-column>
|
|
<el-table-column prop='wzjc' label='当前阶段' show-overflow-tooltip resizable width='140'></el-table-column>
|
|
- <el-table-column prop='startDate' label='立项日期'></el-table-column>
|
|
|
|
- <el-table-column prop='endDate' label='验收日期'></el-table-column>
|
|
|
|
- <el-table-column prop='status' label='验收结果'></el-table-column>
|
|
|
|
- <el-table-column prop='zfje' label='结算金额'></el-table-column>
|
|
|
|
- <el-table-column prop='zlwfwz' label='资料存放位置'></el-table-column>
|
|
|
|
|
|
+ <el-table-column prop='startDate' label='立项日期' show-overflow-tooltip resizable></el-table-column>
|
|
|
|
+ <el-table-column prop='endDate' label='验收日期' show-overflow-tooltip resizable></el-table-column>
|
|
|
|
+ <el-table-column prop='status' label='验收结果' show-overflow-tooltip resizable></el-table-column>
|
|
|
|
+ <el-table-column prop='zfje' label='结算金额' show-overflow-tooltip resizable></el-table-column>
|
|
|
|
+ <el-table-column prop='zlwfwz' label='资料存放位置' show-overflow-tooltip resizable></el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
<div class='foot'>
|
|
<div class='foot'>
|
|
<el-pagination
|
|
<el-pagination
|
|
@@ -63,7 +63,7 @@ export default {
|
|
computed: {
|
|
computed: {
|
|
...mapGetters(['floorsArr'])
|
|
...mapGetters(['floorsArr'])
|
|
},
|
|
},
|
|
- props: ['param', 'major'],
|
|
|
|
|
|
+ props: ['smsxt'],
|
|
methods: {
|
|
methods: {
|
|
pageChanged(page, size) {
|
|
pageChanged(page, size) {
|
|
this.currentPage = page
|
|
this.currentPage = page
|
|
@@ -71,19 +71,19 @@ export default {
|
|
this.getList()
|
|
this.getList()
|
|
},
|
|
},
|
|
getList() {
|
|
getList() {
|
|
- let postParams = {
|
|
|
|
- CLASSSTRUCTUREID: this.param
|
|
|
|
|
|
+ let getParams = {
|
|
|
|
+ data: {
|
|
|
|
+ smsxt: this.smsxt,
|
|
|
|
+ // tab: this.major,
|
|
|
|
+ // plazaId: this.$store.state.plazaId,
|
|
|
|
+ plazaId: '1000287',
|
|
|
|
+ page: this.currentPage,
|
|
|
|
+ size: this.size
|
|
|
|
+ }
|
|
}
|
|
}
|
|
- let data = {
|
|
|
|
- page: this.currentPage,
|
|
|
|
- size: this.size,
|
|
|
|
- plazaId: this.$store.state.plazaId,
|
|
|
|
- major: this.major
|
|
|
|
- }
|
|
|
|
- queryZw({ data, postParams }).then(res => {
|
|
|
|
- console.log(res)
|
|
|
|
- this.tableData = res.data.data
|
|
|
|
- this.total = res.data.count
|
|
|
|
|
|
+ queryZw(getParams).then(res => {
|
|
|
|
+ this.tableData = res.data || []
|
|
|
|
+ this.total = res.count
|
|
})
|
|
})
|
|
}
|
|
}
|
|
// init() {
|
|
// init() {
|
|
@@ -99,6 +99,14 @@ export default {
|
|
// }
|
|
// }
|
|
// }
|
|
// }
|
|
},
|
|
},
|
|
|
|
+ watch: {
|
|
|
|
+ smsxt(newV, oldV) {
|
|
|
|
+ if (newV !== oldV) {
|
|
|
|
+ // this.init()
|
|
|
|
+ this.getList()
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
mounted() {
|
|
mounted() {
|
|
// this.init()
|
|
// this.init()
|
|
this.getList()
|
|
this.getList()
|
|
@@ -109,6 +117,7 @@ export default {
|
|
.zw-list {
|
|
.zw-list {
|
|
.eq-list-top {
|
|
.eq-list-top {
|
|
display: flex;
|
|
display: flex;
|
|
|
|
+ margin-bottom: 20px;
|
|
}
|
|
}
|
|
.foot {
|
|
.foot {
|
|
position: absolute;
|
|
position: absolute;
|