|
|
|
@ -57,12 +57,12 @@
|
|
|
|
|
<div class="page_content_head_right"> |
|
|
|
|
<div> |
|
|
|
|
<el-button @click="exportData" v-show="hasSelectData" |
|
|
|
|
><img src="@public/img/land/u1340.png" />导出</el-button |
|
|
|
|
><img style="margin-right: 5px;" src="@public/img/land/u1340.png" />导出</el-button |
|
|
|
|
> |
|
|
|
|
</div> |
|
|
|
|
<div> |
|
|
|
|
<el-button v-show="hasSelectData" @click="multiDelete" |
|
|
|
|
><img src="@public/img/land/u1340.png" />批量删除</el-button |
|
|
|
|
><img style="margin-right: 5px;" src="@public/img/land/u1340.png" />批量删除</el-button |
|
|
|
|
> |
|
|
|
|
</div> |
|
|
|
|
<div> |
|
|
|
@ -105,15 +105,41 @@
|
|
|
|
|
v-loading="loading" |
|
|
|
|
> |
|
|
|
|
<el-table-column fixed type="selection" width="55"> </el-table-column> |
|
|
|
|
<el-table-column |
|
|
|
|
v-for="(item, index) in cols" |
|
|
|
|
:key="index" |
|
|
|
|
:prop="item.prop" |
|
|
|
|
:label="item.label" |
|
|
|
|
:width="item.width" |
|
|
|
|
:fixed="item.fixed" |
|
|
|
|
:show-overflow-tooltip="item.hideMore" |
|
|
|
|
> |
|
|
|
|
<el-table-column label="公告信息"> |
|
|
|
|
<el-table-column |
|
|
|
|
v-for="(item, index) in cols.slice(0,3)" |
|
|
|
|
:key="index" |
|
|
|
|
:prop="item.prop" |
|
|
|
|
:label="item.label" |
|
|
|
|
:width="item.width" |
|
|
|
|
:fixed="item.fixed" |
|
|
|
|
:show-overflow-tooltip="item.hideMore" |
|
|
|
|
> |
|
|
|
|
</el-table-column> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="规划条件"> |
|
|
|
|
<el-table-column |
|
|
|
|
v-for="(item, index) in cols.slice(3,40)" |
|
|
|
|
:key="index" |
|
|
|
|
:prop="item.prop" |
|
|
|
|
:label="item.label" |
|
|
|
|
:width="item.width" |
|
|
|
|
:fixed="item.fixed" |
|
|
|
|
:show-overflow-tooltip="item.hideMore" |
|
|
|
|
> |
|
|
|
|
</el-table-column> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="建设条件"> |
|
|
|
|
<el-table-column |
|
|
|
|
v-for="(item, index) in cols.slice(40,62)" |
|
|
|
|
:key="index" |
|
|
|
|
:prop="item.prop" |
|
|
|
|
:label="item.label" |
|
|
|
|
:width="item.width" |
|
|
|
|
:fixed="item.fixed" |
|
|
|
|
:show-overflow-tooltip="item.hideMore" |
|
|
|
|
> |
|
|
|
|
</el-table-column> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column fixed="right" label="操作" width="200"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
@ -1274,7 +1300,6 @@ export default {
|
|
|
|
|
label: "土地用途", |
|
|
|
|
prop: "landUsage", |
|
|
|
|
width: 150, |
|
|
|
|
fixed: true, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: "土地出让面积(㎡)", |
|
|
|
@ -1647,12 +1672,12 @@ export default {
|
|
|
|
|
}, |
|
|
|
|
computed: {}, |
|
|
|
|
watch: { |
|
|
|
|
page: { |
|
|
|
|
handler(newVal, oldVal) { |
|
|
|
|
this.onSubmit(); |
|
|
|
|
}, |
|
|
|
|
deep: true, |
|
|
|
|
}, |
|
|
|
|
// page: { |
|
|
|
|
// handler(newVal, oldVal) { |
|
|
|
|
// this.onSubmit(); |
|
|
|
|
// }, |
|
|
|
|
// deep: true, |
|
|
|
|
// }, |
|
|
|
|
selectedData: { |
|
|
|
|
handler(newVal, oldVal) { |
|
|
|
|
this.hasSelectData = newVal.length > 0 ? true : false; |
|
|
|
@ -1709,6 +1734,11 @@ export default {
|
|
|
|
|
}, |
|
|
|
|
this.searchForm |
|
|
|
|
); |
|
|
|
|
// for(let key in this.searchForm){ |
|
|
|
|
// if (this.searchForm[key]==''){ |
|
|
|
|
// param.current=1 |
|
|
|
|
// } |
|
|
|
|
// } |
|
|
|
|
fetchHandLandList(param) |
|
|
|
|
.then((response) => { |
|
|
|
|
this.tableData = response.data.data.records; |
|
|
|
@ -1773,22 +1803,26 @@ export default {
|
|
|
|
|
|
|
|
|
|
// 查看 |
|
|
|
|
viewItem(row) { |
|
|
|
|
this.dialogTitle = "查看数据"; |
|
|
|
|
this.readOnly = true; |
|
|
|
|
this.dialogFormVisible = true; |
|
|
|
|
this.editForm = row; |
|
|
|
|
let data=JSON.stringify(row) |
|
|
|
|
this.$router.push({path:'/land/handLand/newLand',query:{readOnly:'true',isEditOr:'false',data:data}}); |
|
|
|
|
// this.dialogTitle = "查看数据"; |
|
|
|
|
// this.readOnly = true; |
|
|
|
|
// this.dialogFormVisible = true; |
|
|
|
|
// this.editForm = row; |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
// 编辑 |
|
|
|
|
editItem(row) { |
|
|
|
|
this.dialogTitle = "编辑数据"; |
|
|
|
|
this.readOnly = false; |
|
|
|
|
this.dialogFormVisible = true; |
|
|
|
|
this.editForm = row; |
|
|
|
|
this.onlyId = row.landListedId; |
|
|
|
|
this.queryLonLatList(row.landListedId); |
|
|
|
|
this.queryRecordList(row.landListedId); |
|
|
|
|
this.queryFileList(); |
|
|
|
|
// this.dialogTitle = "编辑数据"; |
|
|
|
|
// this.readOnly = false; |
|
|
|
|
// this.dialogFormVisible = true; |
|
|
|
|
let data=JSON.stringify(row) |
|
|
|
|
this.$router.push({path:'/land/handLand/newLand',query:{readOnly:'false',isEditOr:'true',data:data}}); |
|
|
|
|
// this.editForm = row; |
|
|
|
|
// this.onlyId = row.landListedId; |
|
|
|
|
// this.queryLonLatList(row.landListedId); |
|
|
|
|
// this.queryRecordList(row.landListedId); |
|
|
|
|
// this.queryFileList(); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
// 删除单个 |
|
|
|
@ -1838,14 +1872,15 @@ export default {
|
|
|
|
|
|
|
|
|
|
// 新建 |
|
|
|
|
newItem() { |
|
|
|
|
this.$router.push({path:'/land/handLand/newLand',query:{readOnly:'false',isEditOr:'false',}}); |
|
|
|
|
// 从cols里面拷贝字段 |
|
|
|
|
let newObj = {}; |
|
|
|
|
for (let col of this.cols) { |
|
|
|
|
newObj[col.prop] = ""; |
|
|
|
|
} |
|
|
|
|
this.editForm = newObj; |
|
|
|
|
this.readOnly = false; |
|
|
|
|
this.dialogFormVisible = true; |
|
|
|
|
// let newObj = {}; |
|
|
|
|
// for (let col of this.cols) { |
|
|
|
|
// newObj[col.prop] = ""; |
|
|
|
|
// } |
|
|
|
|
// this.editForm = newObj; |
|
|
|
|
// this.readOnly = false; |
|
|
|
|
// this.dialogFormVisible = true; |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
// 下载模板 |
|
|
|
@ -1858,10 +1893,12 @@ export default {
|
|
|
|
|
|
|
|
|
|
handleSizeChange(val) { |
|
|
|
|
this.page.pageSize = val; |
|
|
|
|
this.onSubmit(); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
handleCurrentChange(val) { |
|
|
|
|
this.page.currentPage = val; |
|
|
|
|
this.onSubmit(); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
// 清空选中 |
|
|
|
|