|
|
|
@ -12,11 +12,11 @@
|
|
|
|
|
<span class="ti-tag">{{ setTagName(1) }}</span> |
|
|
|
|
<div class="searchBox"> |
|
|
|
|
<el-tag |
|
|
|
|
@close="closeTag(item,index)" |
|
|
|
|
v-for="(item,index) in searchTag" |
|
|
|
|
:key="index" |
|
|
|
|
closable> |
|
|
|
|
{{item}} |
|
|
|
|
@close="closeTag(item,index)" |
|
|
|
|
v-for="(item,index) in searchTag" |
|
|
|
|
:key="index" |
|
|
|
|
closable> |
|
|
|
|
{{ item }} |
|
|
|
|
</el-tag> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
@ -24,134 +24,134 @@
|
|
|
|
|
<el-form style="margin-top: 40px;" :inline="true" :model="searchForm" class="demo-form-inline"> |
|
|
|
|
<el-form-item label="公告序号:"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="searchForm.annoId" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
v-model="searchForm.annoId" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="地块编号:"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="searchForm.landCode" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
v-model="searchForm.landCode" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="土地用途:"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="searchForm.landUsage" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
v-model="searchForm.landUsage" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="公告日期:" prop="annoDate"> |
|
|
|
|
<el-date-picker |
|
|
|
|
type="date" |
|
|
|
|
placeholder="选择公告日期" |
|
|
|
|
v-model="searchForm.annoDate" |
|
|
|
|
value-format="yyyy-MM-dd" |
|
|
|
|
format="yyyy-MM-dd" |
|
|
|
|
type="date" |
|
|
|
|
placeholder="选择公告日期" |
|
|
|
|
v-model="searchForm.annoDate" |
|
|
|
|
value-format="yyyy-MM-dd" |
|
|
|
|
format="yyyy-MM-dd" |
|
|
|
|
></el-date-picker> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="拍卖日期:" prop="auctionDate"> |
|
|
|
|
<el-date-picker |
|
|
|
|
type="date" |
|
|
|
|
placeholder="选择拍卖日期" |
|
|
|
|
v-model="searchForm.auctionDate" |
|
|
|
|
value-format="yyyy-MM-dd" |
|
|
|
|
format="yyyy-MM-dd" |
|
|
|
|
type="date" |
|
|
|
|
placeholder="选择拍卖日期" |
|
|
|
|
v-model="searchForm.auctionDate" |
|
|
|
|
value-format="yyyy-MM-dd" |
|
|
|
|
format="yyyy-MM-dd" |
|
|
|
|
></el-date-picker> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="地质灾害:"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="searchForm.geologicHazard" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
v-model="searchForm.geologicHazard" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="人防还建:"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="searchForm.civilAirDefence" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
v-model="searchForm.civilAirDefence" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="特殊规划:"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="searchForm.specialPlan" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
v-model="searchForm.specialPlan" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="勾地形式:"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="searchForm.hookForm" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
v-model="searchForm.hookForm" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="勾地企业:"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="searchForm.landEnterprises" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
v-model="searchForm.landEnterprises" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="城市:"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="searchForm.city" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-input |
|
|
|
|
v-model="searchForm.city" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="行政区:"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="searchForm.canton" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
v-model="searchForm.canton" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="大组团:"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="searchForm.bigGroup" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
v-model="searchForm.bigGroup" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="小组团:"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="searchForm.smallGroup" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-input |
|
|
|
|
v-model="searchForm.smallGroup" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="受让单位:"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="searchForm.assignee" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
v-model="searchForm.assignee" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="拿地企业简称:"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="searchForm.landEnterpriseShort" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
v-model="searchForm.landEnterpriseShort" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="参拍企业:"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="searchForm.participatingEnterprises" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
v-model="searchForm.participatingEnterprises" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="项目状态:"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="searchForm.projectStatus" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
v-model="searchForm.projectStatus" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="楼盘名称:"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="searchForm.buildingName" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
v-model="searchForm.buildingName" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="操盘企业:"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="searchForm.tradingEnterprises" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
v-model="searchForm.tradingEnterprises" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="经营企业:"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="searchForm.conductEnterprise" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
v-model="searchForm.conductEnterprise" |
|
|
|
|
placeholder="请输入" |
|
|
|
|
></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
@ -163,8 +163,8 @@
|
|
|
|
|
</el-collapse-item> |
|
|
|
|
</el-collapse> |
|
|
|
|
<div class="btnGp"> |
|
|
|
|
<el-button type="primary" @click="onSubmit">查询</el-button> |
|
|
|
|
<el-button @click="onReset">重置</el-button> |
|
|
|
|
<el-button type="primary" @click="onSubmit">查询</el-button> |
|
|
|
|
<el-button @click="onReset">重置</el-button> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
@ -174,7 +174,7 @@
|
|
|
|
|
<div class="page_content_head_left"> |
|
|
|
|
<div>已挂牌地块列表</div> |
|
|
|
|
<div style="margin-left: 10px"> |
|
|
|
|
<img src="@public/img/land/u1343.png" /> |
|
|
|
|
<img src="@public/img/land/u1343.png"/> |
|
|
|
|
</div> |
|
|
|
|
<div style="margin-left: 10px"> |
|
|
|
|
<span>已选择{{ selectedData.length }}项</span> |
|
|
|
@ -186,38 +186,41 @@
|
|
|
|
|
<div class="page_content_head_right"> |
|
|
|
|
<div> |
|
|
|
|
<el-button @click="exportData" v-show="hasSelectData" |
|
|
|
|
><img style="margin-right: 5px;" 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 style="margin-right: 5px;" src="@public/img/land/u1340.png" />批量删除</el-button |
|
|
|
|
><img style="margin-right: 5px;" src="@public/img/land/u1340.png"/>批量删除 |
|
|
|
|
</el-button |
|
|
|
|
> |
|
|
|
|
</div> |
|
|
|
|
<div> |
|
|
|
|
<el-upload |
|
|
|
|
class="upload-demo" |
|
|
|
|
action="" |
|
|
|
|
:before-upload="importData" |
|
|
|
|
class="upload-demo" |
|
|
|
|
action="" |
|
|
|
|
:before-upload="importData" |
|
|
|
|
> |
|
|
|
|
<el-button size="medium" type="primary">导入数据</el-button> |
|
|
|
|
</el-upload> |
|
|
|
|
</div> |
|
|
|
|
<div> |
|
|
|
|
<el-tooltip |
|
|
|
|
class="item" |
|
|
|
|
effect="dark" |
|
|
|
|
content="点击此处下载模版" |
|
|
|
|
placement="bottom" |
|
|
|
|
class="item" |
|
|
|
|
effect="dark" |
|
|
|
|
content="点击此处下载模版" |
|
|
|
|
placement="bottom" |
|
|
|
|
> |
|
|
|
|
<el-button @click="downloadTemplate" |
|
|
|
|
><i class="el-icon-download"></i |
|
|
|
|
><i class="el-icon-download"></i |
|
|
|
|
></el-button> |
|
|
|
|
</el-tooltip> |
|
|
|
|
</div> |
|
|
|
|
<div style="margin-right: 0;"> |
|
|
|
|
<el-button @click="newItem" type="primary" |
|
|
|
|
><i class="el-icon-plus"></i>新建</el-button |
|
|
|
|
><i class="el-icon-plus"></i>新建 |
|
|
|
|
</el-button |
|
|
|
|
> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
@ -225,134 +228,137 @@
|
|
|
|
|
</div> |
|
|
|
|
<div class="page_content_table"> |
|
|
|
|
<el-table |
|
|
|
|
:data="tableData" |
|
|
|
|
border |
|
|
|
|
@selection-change="handleSelectionChange" |
|
|
|
|
style="width: 100%" |
|
|
|
|
max-height="630" |
|
|
|
|
ref="multipleTable" |
|
|
|
|
v-loading="loading" |
|
|
|
|
:data="tableData" |
|
|
|
|
border |
|
|
|
|
@selection-change="handleSelectionChange" |
|
|
|
|
style="width: 100%" |
|
|
|
|
max-height="630" |
|
|
|
|
ref="multipleTable" |
|
|
|
|
v-loading="loading" |
|
|
|
|
> |
|
|
|
|
<el-table-column fixed type="selection" width="55"> </el-table-column> |
|
|
|
|
<el-table-column fixed type="selection" width="55"></el-table-column> |
|
|
|
|
<el-table-column label="公告信息"> |
|
|
|
|
<el-table-column |
|
|
|
|
v-for="(item, index) in cols.slice(0,20)" |
|
|
|
|
:key="index" |
|
|
|
|
:label="item.label" |
|
|
|
|
:prop="item.prop" |
|
|
|
|
:width="item.width" |
|
|
|
|
:fixed="item.fixed" |
|
|
|
|
show-overflow-tooltip |
|
|
|
|
> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column |
|
|
|
|
v-for="(item, index) in cols.slice(0,20)" |
|
|
|
|
:key="index" |
|
|
|
|
:label="item.label" |
|
|
|
|
:prop="item.prop" |
|
|
|
|
:width="item.width" |
|
|
|
|
:fixed="item.fixed" |
|
|
|
|
show-overflow-tooltip |
|
|
|
|
> |
|
|
|
|
</el-table-column> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="规划条件"> |
|
|
|
|
<el-table-column |
|
|
|
|
v-for="(item, index) in cols.slice(20,24)" |
|
|
|
|
:key="index" |
|
|
|
|
:prop="item.prop" |
|
|
|
|
:label="item.label" |
|
|
|
|
:width="item.width" |
|
|
|
|
:fixed="item.fixed" |
|
|
|
|
show-overflow-tooltip |
|
|
|
|
v-for="(item, index) in cols.slice(20,24)" |
|
|
|
|
:key="index" |
|
|
|
|
:prop="item.prop" |
|
|
|
|
:label="item.label" |
|
|
|
|
:width="item.width" |
|
|
|
|
:fixed="item.fixed" |
|
|
|
|
show-overflow-tooltip |
|
|
|
|
> |
|
|
|
|
</el-table-column> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="建设条件"> |
|
|
|
|
<el-table-column |
|
|
|
|
v-for="(item, index) in cols.slice(24,31)" |
|
|
|
|
:key="index" |
|
|
|
|
:label="item.label" |
|
|
|
|
:prop="item.prop" |
|
|
|
|
:width="item.width" |
|
|
|
|
:fixed="item.fixed" |
|
|
|
|
show-overflow-tooltip |
|
|
|
|
v-for="(item, index) in cols.slice(24,31)" |
|
|
|
|
:key="index" |
|
|
|
|
:label="item.label" |
|
|
|
|
:prop="item.prop" |
|
|
|
|
:width="item.width" |
|
|
|
|
:fixed="item.fixed" |
|
|
|
|
show-overflow-tooltip |
|
|
|
|
> |
|
|
|
|
</el-table-column> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="竞买条件"> |
|
|
|
|
<el-table-column |
|
|
|
|
v-for="(item, index) in cols.slice(31,37)" |
|
|
|
|
:key="index" |
|
|
|
|
:label="item.label" |
|
|
|
|
:prop="item.prop" |
|
|
|
|
:width="item.width" |
|
|
|
|
:fixed="item.fixed" |
|
|
|
|
show-overflow-tooltip |
|
|
|
|
v-for="(item, index) in cols.slice(31,37)" |
|
|
|
|
:key="index" |
|
|
|
|
:label="item.label" |
|
|
|
|
:prop="item.prop" |
|
|
|
|
:width="item.width" |
|
|
|
|
:fixed="item.fixed" |
|
|
|
|
show-overflow-tooltip |
|
|
|
|
> |
|
|
|
|
</el-table-column> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="地理信息"> |
|
|
|
|
<el-table-column |
|
|
|
|
v-for="(item, index) in cols.slice(37,45)" |
|
|
|
|
:key="index" |
|
|
|
|
:label="item.label" |
|
|
|
|
:prop="item.prop" |
|
|
|
|
:width="item.width" |
|
|
|
|
:fixed="item.fixed" |
|
|
|
|
show-overflow-tooltip |
|
|
|
|
v-for="(item, index) in cols.slice(37,45)" |
|
|
|
|
:key="index" |
|
|
|
|
:label="item.label" |
|
|
|
|
:prop="item.prop" |
|
|
|
|
:width="item.width" |
|
|
|
|
:fixed="item.fixed" |
|
|
|
|
show-overflow-tooltip |
|
|
|
|
> |
|
|
|
|
</el-table-column> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="成交信息"> |
|
|
|
|
<el-table-column |
|
|
|
|
v-for="(item, index) in cols.slice(45,57)" |
|
|
|
|
:key="index" |
|
|
|
|
:label="item.label" |
|
|
|
|
:prop="item.prop" |
|
|
|
|
:width="item.width" |
|
|
|
|
:fixed="item.fixed" |
|
|
|
|
show-overflow-tooltip |
|
|
|
|
v-for="(item, index) in cols.slice(45,57)" |
|
|
|
|
:key="index" |
|
|
|
|
:label="item.label" |
|
|
|
|
:prop="item.prop" |
|
|
|
|
:width="item.width" |
|
|
|
|
:fixed="item.fixed" |
|
|
|
|
show-overflow-tooltip |
|
|
|
|
> |
|
|
|
|
</el-table-column> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="项目开发"> |
|
|
|
|
<el-table-column |
|
|
|
|
v-for="(item, index) in cols.slice(57,65)" |
|
|
|
|
:key="index" |
|
|
|
|
:label="item.label" |
|
|
|
|
:prop="item.prop" |
|
|
|
|
:width="item.width" |
|
|
|
|
:fixed="item.fixed" |
|
|
|
|
show-overflow-tooltip |
|
|
|
|
v-for="(item, index) in cols.slice(57,65)" |
|
|
|
|
:key="index" |
|
|
|
|
:label="item.label" |
|
|
|
|
:prop="item.prop" |
|
|
|
|
:width="item.width" |
|
|
|
|
:fixed="item.fixed" |
|
|
|
|
show-overflow-tooltip |
|
|
|
|
> |
|
|
|
|
</el-table-column> |
|
|
|
|
</el-table-column> |
|
|
|
|
<!-- <el-table-column label="项目资料">--> |
|
|
|
|
<!-- <el-table-column--> |
|
|
|
|
<!-- v-for="(item, index) in cols.slice(65,74)"--> |
|
|
|
|
<!-- :key="index"--> |
|
|
|
|
<!-- :label="item.label"--> |
|
|
|
|
<!-- :prop="item.prop"--> |
|
|
|
|
<!-- :width="item.width"--> |
|
|
|
|
<!-- :fixed="item.fixed"--> |
|
|
|
|
<!-- show-overflow-tooltip--> |
|
|
|
|
<!-- >--> |
|
|
|
|
<!-- </el-table-column>--> |
|
|
|
|
<!-- </el-table-column>--> |
|
|
|
|
<!-- <el-table-column label="项目资料">--> |
|
|
|
|
<!-- <el-table-column--> |
|
|
|
|
<!-- v-for="(item, index) in cols.slice(65,74)"--> |
|
|
|
|
<!-- :key="index"--> |
|
|
|
|
<!-- :label="item.label"--> |
|
|
|
|
<!-- :prop="item.prop"--> |
|
|
|
|
<!-- :width="item.width"--> |
|
|
|
|
<!-- :fixed="item.fixed"--> |
|
|
|
|
<!-- show-overflow-tooltip--> |
|
|
|
|
<!-- >--> |
|
|
|
|
<!-- </el-table-column>--> |
|
|
|
|
<!-- </el-table-column>--> |
|
|
|
|
<el-table-column fixed="right" label="操作" width="200"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<el-button title="111" type="text" size="small" @click="viewItem(scope.row)" |
|
|
|
|
>详情</el-button |
|
|
|
|
>详情 |
|
|
|
|
</el-button |
|
|
|
|
> |
|
|
|
|
<el-button type="text" size="small" @click="editItem(scope.row)" |
|
|
|
|
>编辑</el-button |
|
|
|
|
>编辑 |
|
|
|
|
</el-button |
|
|
|
|
> |
|
|
|
|
<el-button type="text" size="small" @click="delItem(scope.row)" |
|
|
|
|
>删除</el-button |
|
|
|
|
>删除 |
|
|
|
|
</el-button |
|
|
|
|
> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
</el-table> |
|
|
|
|
<div class="page_page"> |
|
|
|
|
<el-pagination |
|
|
|
|
@size-change="handleSizeChange" |
|
|
|
|
@current-change="handleCurrentChange" |
|
|
|
|
:current-page="page.currentPage" |
|
|
|
|
:page-sizes="[10, 20, 30, 40]" |
|
|
|
|
:page-size="page.pageSize" |
|
|
|
|
layout="total, sizes, prev, pager, next, jumper" |
|
|
|
|
:total="page.total" |
|
|
|
|
@size-change="handleSizeChange" |
|
|
|
|
@current-change="handleCurrentChange" |
|
|
|
|
:current-page="page.currentPage" |
|
|
|
|
:page-sizes="[10, 20, 30, 40]" |
|
|
|
|
:page-size="page.pageSize" |
|
|
|
|
layout="total, sizes, prev, pager, next, jumper" |
|
|
|
|
:total="page.total" |
|
|
|
|
> |
|
|
|
|
</el-pagination> |
|
|
|
|
</div> |
|
|
|
@ -383,8 +389,8 @@ import {
|
|
|
|
|
queryRecord, |
|
|
|
|
deleteRecord, |
|
|
|
|
} from "@/views/land/api/land"; |
|
|
|
|
import { uploadFile } from "@/views/api/api"; |
|
|
|
|
import { downUrlFile } from "@/util/file"; |
|
|
|
|
import {uploadFile} from "@/views/api/api"; |
|
|
|
|
import {downUrlFile} from "@/util/file"; |
|
|
|
|
import fileDownload from "js-file-download"; |
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
@ -401,50 +407,50 @@ export default {
|
|
|
|
|
landUsage: "", |
|
|
|
|
// 公告日期 |
|
|
|
|
annoDate: "", |
|
|
|
|
auctionDate:"",//拍卖日期 |
|
|
|
|
geologicHazard:"",//地质灾害 |
|
|
|
|
civilAirDefence:"",//人防还建 |
|
|
|
|
specialPlan:"",//特殊规划 |
|
|
|
|
hookForm:"",//勾地形式 |
|
|
|
|
landEnterprises:"",//勾地企业 |
|
|
|
|
city:"",//城市 |
|
|
|
|
canton:"",//行政区 |
|
|
|
|
bigGroup:"",//大组团 |
|
|
|
|
smallGroup:"",//小组团 |
|
|
|
|
assignee:"",//受让单位 |
|
|
|
|
landEnterpriseShort:"",//拿地企业简称 |
|
|
|
|
participatingEnterprises:"",//参拍企业 |
|
|
|
|
projectStatus:"",//项目状态 |
|
|
|
|
buildingName:"",//楼盘名称 |
|
|
|
|
tradingEnterprises:"",//操盘企业 |
|
|
|
|
conductEnterprise:"",//经营企业 |
|
|
|
|
auctionDate: "",//拍卖日期 |
|
|
|
|
geologicHazard: "",//地质灾害 |
|
|
|
|
civilAirDefence: "",//人防还建 |
|
|
|
|
specialPlan: "",//特殊规划 |
|
|
|
|
hookForm: "",//勾地形式 |
|
|
|
|
landEnterprises: "",//勾地企业 |
|
|
|
|
city: "",//城市 |
|
|
|
|
canton: "",//行政区 |
|
|
|
|
bigGroup: "",//大组团 |
|
|
|
|
smallGroup: "",//小组团 |
|
|
|
|
assignee: "",//受让单位 |
|
|
|
|
landEnterpriseShort: "",//拿地企业简称 |
|
|
|
|
participatingEnterprises: "",//参拍企业 |
|
|
|
|
projectStatus: "",//项目状态 |
|
|
|
|
buildingName: "",//楼盘名称 |
|
|
|
|
tradingEnterprises: "",//操盘企业 |
|
|
|
|
conductEnterprise: "",//经营企业 |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
searchDict:[ |
|
|
|
|
{code:'annoId',label:'公告序号'}, |
|
|
|
|
{code:'landCode',label:'地块编号'}, |
|
|
|
|
{code:'landUsage',label:'土地用途'}, |
|
|
|
|
{code:'annoDate',label:'公告日期'}, |
|
|
|
|
{code:'auctionDate',label:'拍卖日期'}, |
|
|
|
|
searchDict: [ |
|
|
|
|
{code: 'annoId', label: '公告序号'}, |
|
|
|
|
{code: 'landCode', label: '地块编号'}, |
|
|
|
|
{code: 'landUsage', label: '土地用途'}, |
|
|
|
|
{code: 'annoDate', label: '公告日期'}, |
|
|
|
|
{code: 'auctionDate', label: '拍卖日期'}, |
|
|
|
|
|
|
|
|
|
{code:'geologicHazard',label:'地质灾害'}, |
|
|
|
|
{code:'civilAirDefence',label:'人防还建'}, |
|
|
|
|
{code:'specialPlan',label:'特殊规划'}, |
|
|
|
|
{code:'hookForm',label:'勾地形式'}, |
|
|
|
|
{code:'landEnterprises',label:'勾地企业'}, |
|
|
|
|
{code: 'geologicHazard', label: '地质灾害'}, |
|
|
|
|
{code: 'civilAirDefence', label: '人防还建'}, |
|
|
|
|
{code: 'specialPlan', label: '特殊规划'}, |
|
|
|
|
{code: 'hookForm', label: '勾地形式'}, |
|
|
|
|
{code: 'landEnterprises', label: '勾地企业'}, |
|
|
|
|
|
|
|
|
|
{code:'city',label:'城市'}, |
|
|
|
|
{code:'canton',label:'行政区'}, |
|
|
|
|
{code:'bigGroup',label:'大组团'}, |
|
|
|
|
{code:'smallGroup',label:'小组团'}, |
|
|
|
|
{code:'assignee',label:'受让单位'}, |
|
|
|
|
{code: 'city', label: '城市'}, |
|
|
|
|
{code: 'canton', label: '行政区'}, |
|
|
|
|
{code: 'bigGroup', label: '大组团'}, |
|
|
|
|
{code: 'smallGroup', label: '小组团'}, |
|
|
|
|
{code: 'assignee', label: '受让单位'}, |
|
|
|
|
|
|
|
|
|
{code:'landEnterpriseShort',label:'拿地企业简称'}, |
|
|
|
|
{code:'participatingEnterprises',label:'参拍企业'}, |
|
|
|
|
{code:'projectStatus',label:'项目状态'}, |
|
|
|
|
{code:'buildingName',label:'楼盘名称'}, |
|
|
|
|
{code:'tradingEnterprises',label:'操盘企业'}, |
|
|
|
|
{code:'conductEnterprise',label:'经营企业'}, |
|
|
|
|
{code: 'landEnterpriseShort', label: '拿地企业简称'}, |
|
|
|
|
{code: 'participatingEnterprises', label: '参拍企业'}, |
|
|
|
|
{code: 'projectStatus', label: '项目状态'}, |
|
|
|
|
{code: 'buildingName', label: '楼盘名称'}, |
|
|
|
|
{code: 'tradingEnterprises', label: '操盘企业'}, |
|
|
|
|
{code: 'conductEnterprise', label: '经营企业'}, |
|
|
|
|
|
|
|
|
|
], |
|
|
|
|
tableData: [], |
|
|
|
@ -784,7 +790,7 @@ export default {
|
|
|
|
|
// 编辑Form |
|
|
|
|
editForm: {}, |
|
|
|
|
activeNames: [], |
|
|
|
|
searchTag:[], |
|
|
|
|
searchTag: [], |
|
|
|
|
// 表格加载 |
|
|
|
|
loading: false, |
|
|
|
|
// 选中的数据 |
|
|
|
@ -799,13 +805,13 @@ export default {
|
|
|
|
|
uploadFiles: [], |
|
|
|
|
rules: { |
|
|
|
|
annoId: [ |
|
|
|
|
{ required: true, message: "请输入公告序号", trigger: "blur" }, |
|
|
|
|
{required: true, message: "请输入公告序号", trigger: "blur"}, |
|
|
|
|
], |
|
|
|
|
landCode: [ |
|
|
|
|
{ required: true, message: "请输入地块编号", trigger: "blur" }, |
|
|
|
|
{required: true, message: "请输入地块编号", trigger: "blur"}, |
|
|
|
|
], |
|
|
|
|
landPosition: [ |
|
|
|
|
{ required: true, message: "请输入地块位置", trigger: "blur" }, |
|
|
|
|
{required: true, message: "请输入地块位置", trigger: "blur"}, |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
isLonLatEdit: false, |
|
|
|
@ -878,26 +884,26 @@ export default {
|
|
|
|
|
setTagName(val) { |
|
|
|
|
let txt = ""; |
|
|
|
|
this.activeNames.some((item) => item == val) |
|
|
|
|
? (txt = "收起") |
|
|
|
|
: (txt = "展开"); |
|
|
|
|
? (txt = "收起") |
|
|
|
|
: (txt = "展开"); |
|
|
|
|
return txt; |
|
|
|
|
}, |
|
|
|
|
getList(page, params) { |
|
|
|
|
this.tableLoading = true; |
|
|
|
|
fetchHandLandList( |
|
|
|
|
Object.assign({ |
|
|
|
|
current: page.currentPage, |
|
|
|
|
size: page.pageSize, |
|
|
|
|
}) |
|
|
|
|
Object.assign({ |
|
|
|
|
current: page.currentPage, |
|
|
|
|
size: page.pageSize, |
|
|
|
|
}) |
|
|
|
|
) |
|
|
|
|
.then((response) => { |
|
|
|
|
this.tableData = response.data.data.records; |
|
|
|
|
this.page.total = response.data.data.total; |
|
|
|
|
this.loading = false; |
|
|
|
|
}) |
|
|
|
|
.catch(() => { |
|
|
|
|
this.loading = false; |
|
|
|
|
}); |
|
|
|
|
.then((response) => { |
|
|
|
|
this.tableData = response.data.data.records; |
|
|
|
|
this.page.total = response.data.data.total; |
|
|
|
|
this.loading = false; |
|
|
|
|
}) |
|
|
|
|
.catch(() => { |
|
|
|
|
this.loading = false; |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
// 编辑项 |
|
|
|
@ -905,36 +911,36 @@ export default {
|
|
|
|
|
console.log("editItemChange", val); |
|
|
|
|
}, |
|
|
|
|
//关闭标签 |
|
|
|
|
closeTag(data,index){ |
|
|
|
|
this.searchTag.splice(index,1); |
|
|
|
|
let name=data.split(':')[0]; |
|
|
|
|
let code=''; |
|
|
|
|
this.searchDict.map(e=>{ |
|
|
|
|
if (e.label===name){ |
|
|
|
|
code=e.code |
|
|
|
|
closeTag(data, index) { |
|
|
|
|
this.searchTag.splice(index, 1); |
|
|
|
|
let name = data.split(':')[0]; |
|
|
|
|
let code = ''; |
|
|
|
|
this.searchDict.map(e => { |
|
|
|
|
if (e.label === name) { |
|
|
|
|
code = e.code |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
for (let key in this.searchForm){ |
|
|
|
|
if (key===code){ |
|
|
|
|
this.searchForm[key]='' |
|
|
|
|
for (let key in this.searchForm) { |
|
|
|
|
if (key === code) { |
|
|
|
|
this.searchForm[key] = '' |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
this.onSubmit() |
|
|
|
|
}, |
|
|
|
|
// 确认选择查询条件 |
|
|
|
|
confirmSearch(){ |
|
|
|
|
this.activeNames=[]; |
|
|
|
|
this.searchTag=[]; |
|
|
|
|
let list=[] |
|
|
|
|
for (let key in this.searchForm){ |
|
|
|
|
if (this.searchForm[key]!=''&&this.searchForm[key]){ |
|
|
|
|
list.push({label:key,value:this.searchForm[key]}) |
|
|
|
|
confirmSearch() { |
|
|
|
|
this.activeNames = []; |
|
|
|
|
this.searchTag = []; |
|
|
|
|
let list = [] |
|
|
|
|
for (let key in this.searchForm) { |
|
|
|
|
if (this.searchForm[key] != '' && this.searchForm[key]) { |
|
|
|
|
list.push({label: key, value: this.searchForm[key]}) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
list.map(e=>{ |
|
|
|
|
this.searchDict.map(f=>{ |
|
|
|
|
if (e.label==f.code){ |
|
|
|
|
this.searchTag.push(f.label+':'+e.value) |
|
|
|
|
list.map(e => { |
|
|
|
|
this.searchDict.map(f => { |
|
|
|
|
if (e.label == f.code) { |
|
|
|
|
this.searchTag.push(f.label + ':' + e.value) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
@ -944,11 +950,11 @@ export default {
|
|
|
|
|
onSubmit() { |
|
|
|
|
this.loading = true; |
|
|
|
|
let param = Object.assign( |
|
|
|
|
{ |
|
|
|
|
current: this.page.currentPage, |
|
|
|
|
size: this.page.pageSize, |
|
|
|
|
}, |
|
|
|
|
this.searchForm |
|
|
|
|
{ |
|
|
|
|
current: this.page.currentPage, |
|
|
|
|
size: this.page.pageSize, |
|
|
|
|
}, |
|
|
|
|
this.searchForm |
|
|
|
|
); |
|
|
|
|
// for(let key in this.searchForm){ |
|
|
|
|
// if (this.searchForm[key]==''){ |
|
|
|
@ -956,14 +962,14 @@ export default {
|
|
|
|
|
// } |
|
|
|
|
// } |
|
|
|
|
fetchHandLandList(param) |
|
|
|
|
.then((response) => { |
|
|
|
|
this.tableData = response.data.data.records; |
|
|
|
|
this.page.total = response.data.data.total; |
|
|
|
|
this.loading = false; |
|
|
|
|
}) |
|
|
|
|
.catch(() => { |
|
|
|
|
this.loading = false; |
|
|
|
|
}); |
|
|
|
|
.then((response) => { |
|
|
|
|
this.tableData = response.data.data.records; |
|
|
|
|
this.page.total = response.data.data.total; |
|
|
|
|
this.loading = false; |
|
|
|
|
}) |
|
|
|
|
.catch(() => { |
|
|
|
|
this.loading = false; |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
// 重置 |
|
|
|
@ -971,7 +977,7 @@ export default {
|
|
|
|
|
for (let item in this.searchForm) { |
|
|
|
|
this.searchForm[item] = ""; |
|
|
|
|
} |
|
|
|
|
this.searchTag=[]; |
|
|
|
|
this.searchTag = []; |
|
|
|
|
this.onSubmit() |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
@ -991,7 +997,7 @@ export default {
|
|
|
|
|
exportHandLandListExcel(ids.toString()).then((res) => { |
|
|
|
|
// fileDownload(res.data, "kg.xlsx"); |
|
|
|
|
const aLink = document.createElement("a"); |
|
|
|
|
let blob = new Blob([res.data], { type: "application/vnd.ms-excel" }); |
|
|
|
|
let blob = new Blob([res.data], {type: "application/vnd.ms-excel"}); |
|
|
|
|
aLink.href = URL.createObjectURL(blob); |
|
|
|
|
aLink.setAttribute("download", "kg" + ".xls"); // 设置下载文件名称 |
|
|
|
|
aLink.click(); |
|
|
|
@ -1024,8 +1030,8 @@ export default {
|
|
|
|
|
|
|
|
|
|
// 查看 |
|
|
|
|
viewItem(row) { |
|
|
|
|
let data=row.landListedId |
|
|
|
|
this.$router.push({path:'/land/handLand/newLand',query:{readOnly:'true',isEditOr:'false',data:data}}); |
|
|
|
|
let data = row.landListedId |
|
|
|
|
this.$router.push({path: '/land/handLand/newLand', query: {readOnly: 'true', isEditOr: 'false', data: data}}); |
|
|
|
|
// this.dialogTitle = "查看数据"; |
|
|
|
|
// this.readOnly = true; |
|
|
|
|
// this.dialogFormVisible = true; |
|
|
|
@ -1037,8 +1043,8 @@ export default {
|
|
|
|
|
// this.dialogTitle = "编辑数据"; |
|
|
|
|
// this.readOnly = false; |
|
|
|
|
// this.dialogFormVisible = true; |
|
|
|
|
let data=row.landListedId |
|
|
|
|
this.$router.push({path:'/land/handLand/newLand',query:{readOnly:'false',isEditOr:'true',data:data}}); |
|
|
|
|
let data = row.landListedId |
|
|
|
|
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); |
|
|
|
@ -1056,20 +1062,21 @@ export default {
|
|
|
|
|
cancelButtonClass: "btn-custom-cancel", |
|
|
|
|
type: "warning", |
|
|
|
|
}) |
|
|
|
|
.then(function () { |
|
|
|
|
delHandLandObj(ids).then((res) => { |
|
|
|
|
if (res.data.success) { |
|
|
|
|
me.$message({ |
|
|
|
|
type: 'success', |
|
|
|
|
message: '删除成功' |
|
|
|
|
}); |
|
|
|
|
me.onSubmit(); |
|
|
|
|
} else { |
|
|
|
|
me.$message("删除失败"); |
|
|
|
|
} |
|
|
|
|
.then(function () { |
|
|
|
|
delHandLandObj(ids).then((res) => { |
|
|
|
|
if (res.data.success) { |
|
|
|
|
me.$message({ |
|
|
|
|
type: 'success', |
|
|
|
|
message: '删除成功' |
|
|
|
|
}); |
|
|
|
|
me.onSubmit(); |
|
|
|
|
} else { |
|
|
|
|
me.$message("删除失败"); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
}) |
|
|
|
|
.catch(function () { |
|
|
|
|
}); |
|
|
|
|
}) |
|
|
|
|
.catch(function () {}); |
|
|
|
|
}, |
|
|
|
|
//批量删除 |
|
|
|
|
multiDelete() { |
|
|
|
@ -1099,7 +1106,7 @@ export default {
|
|
|
|
|
|
|
|
|
|
// 新建 |
|
|
|
|
newItem() { |
|
|
|
|
this.$router.push({path:'/land/handLand/newLand',query:{readOnly:'false',isEditOr:'false',}}); |
|
|
|
|
this.$router.push({path: '/land/handLand/newLand', query: {readOnly: 'false', isEditOr: 'false',}}); |
|
|
|
|
// 从cols里面拷贝字段 |
|
|
|
|
// let newObj = {}; |
|
|
|
|
// for (let col of this.cols) { |
|
|
|
@ -1150,7 +1157,7 @@ export default {
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
queryRecordList(landListedId) { |
|
|
|
|
queryRecord({ landListedId: landListedId }).then((response) => { |
|
|
|
|
queryRecord({landListedId: landListedId}).then((response) => { |
|
|
|
|
if (response.data.success) { |
|
|
|
|
let index = 0; |
|
|
|
|
this.landRecord = response.data.data.records; |
|
|
|
@ -1430,10 +1437,10 @@ export default {
|
|
|
|
|
uploadRes(row) { |
|
|
|
|
let landListedId = this.editForm.landListedId; |
|
|
|
|
saveLandResFile( |
|
|
|
|
row.fileName, |
|
|
|
|
row.filePath, |
|
|
|
|
this.activeType, |
|
|
|
|
landListedId |
|
|
|
|
row.fileName, |
|
|
|
|
row.filePath, |
|
|
|
|
this.activeType, |
|
|
|
|
landListedId |
|
|
|
|
).then((res) => { |
|
|
|
|
if (res.data.success) { |
|
|
|
|
this.$message({ |
|
|
|
@ -1493,9 +1500,11 @@ export default {
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
|
// 公共样式 |
|
|
|
|
@import "@/styles/public.scss"; |
|
|
|
|
|
|
|
|
|
/deep/ .el-dialog { |
|
|
|
|
margin-top: 9vh !important; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/deep/ .el-dialog__body { |
|
|
|
|
padding-top: 20px; |
|
|
|
|
height: 80vh; |
|
|
|
@ -1504,9 +1513,11 @@ export default {
|
|
|
|
|
display: flex; |
|
|
|
|
flex-direction: column; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/deep/ .el-input { |
|
|
|
|
width: 90%; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/deep/ .el-collapse-item { |
|
|
|
|
margin-bottom: 10px; |
|
|
|
|
padding-left: 10px; |
|
|
|
@ -1516,14 +1527,18 @@ export default {
|
|
|
|
|
/deep/ .el-collapse-item__wrap { |
|
|
|
|
border-top: 1px solid #e8eaec; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/deep/ .upload-demo { |
|
|
|
|
text-align: center; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/deep/ .el-upload__tip { |
|
|
|
|
text-align: right; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.ti-box { |
|
|
|
|
position: relative; |
|
|
|
|
|
|
|
|
|
span { |
|
|
|
|
font-size: 1rem; |
|
|
|
|
} |
|
|
|
@ -1539,25 +1554,31 @@ export default {
|
|
|
|
|
border-top: 1px solid #e8eaec; |
|
|
|
|
padding: 5px; |
|
|
|
|
} |
|
|
|
|
/deep/ .el-collapse{ |
|
|
|
|
border: none; |
|
|
|
|
} |
|
|
|
|
/deep/ .el-form-item__content{ |
|
|
|
|
width: 202px; |
|
|
|
|
} |
|
|
|
|
.btnGp{ |
|
|
|
|
text-align: right; |
|
|
|
|
margin-top: 20px; |
|
|
|
|
} |
|
|
|
|
/deep/ .el-tag{ |
|
|
|
|
margin-right: 8px; |
|
|
|
|
} |
|
|
|
|
/deep/ .el-collapse-item__header{ |
|
|
|
|
height: 70px; |
|
|
|
|
line-height: 28px; |
|
|
|
|
} |
|
|
|
|
/deep/ .el-form-item__label{ |
|
|
|
|
width: 160px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/deep/ .el-collapse { |
|
|
|
|
border: none; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/deep/ .el-form-item__content { |
|
|
|
|
width: 202px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.btnGp { |
|
|
|
|
text-align: right; |
|
|
|
|
margin-top: 20px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/deep/ .el-tag { |
|
|
|
|
margin-right: 8px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/deep/ .el-collapse-item__header { |
|
|
|
|
height: 70px; |
|
|
|
|
line-height: 28px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/deep/ .el-form-item__label { |
|
|
|
|
width: 160px; |
|
|
|
|
} |
|
|
|
|
</style> |
|
|
|
|
|
|
|
|
|