|
|
|
@ -94,7 +94,7 @@
|
|
|
|
|
v-loading="loading" |
|
|
|
|
> |
|
|
|
|
<el-table-column |
|
|
|
|
v-for="(item, index) in cols.slice(0,3)" |
|
|
|
|
v-for="(item, index) in cols.slice(0, 3)" |
|
|
|
|
:key="index" |
|
|
|
|
:prop="item.prop" |
|
|
|
|
:label="item.label" |
|
|
|
@ -103,20 +103,21 @@
|
|
|
|
|
show-overflow-tooltip |
|
|
|
|
> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column |
|
|
|
|
label="楼栋" show-overflow-tooltip> |
|
|
|
|
<el-table-column label="楼栋" show-overflow-tooltip> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<span style="cursor: pointer" @click="handleBuild(scope.row)">{{scope.row.buildingNo}}</span> |
|
|
|
|
<span style="cursor: pointer" @click="handleBuild(scope.row)">{{ |
|
|
|
|
scope.row.buildingNo |
|
|
|
|
}}</span> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column |
|
|
|
|
label="爬取时间" show-overflow-tooltip> |
|
|
|
|
<el-table-column label="爬取时间" show-overflow-tooltip> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<span>{{scope.row.createDate?scope.row.createDate.split(' ')[0]:''}}</span> |
|
|
|
|
<span>{{ |
|
|
|
|
scope.row.createDate ? scope.row.createDate.split(" ")[0] : "" |
|
|
|
|
}}</span> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column |
|
|
|
|
label="状态"> |
|
|
|
|
<el-table-column label="状态"> |
|
|
|
|
<template> |
|
|
|
|
<span>待处理</span> |
|
|
|
|
</template> |
|
|
|
@ -160,24 +161,24 @@
|
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="12"> |
|
|
|
|
<el-form-item label="预售许可证号/房产证号:"> |
|
|
|
|
<span>{{ruleForm.preSaleLicenseNo}}</span> |
|
|
|
|
<span>{{ ruleForm.preSaleLicenseNo }}</span> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="12"> |
|
|
|
|
<el-form-item label="315楼盘名称:"> |
|
|
|
|
<span>{{ruleForm.netName}}</span> |
|
|
|
|
<span>{{ ruleForm.netName }}</span> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="12"> |
|
|
|
|
<el-form-item label="楼栋:"> |
|
|
|
|
<span>{{ruleForm.buildingNo}}</span> |
|
|
|
|
<span>{{ ruleForm.buildingNo }}</span> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="12"> |
|
|
|
|
<el-form-item label="业态:"> |
|
|
|
|
<span>{{ruleForm.buildingNo}}</span> |
|
|
|
|
<span>{{ ruleForm.buildingNo }}</span> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
@ -201,8 +202,6 @@
|
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="12"> |
|
|
|
|
<el-form-item label="公告编号:"> |
|
|
|
|
<el-input |
|
|
|
@ -211,48 +210,42 @@
|
|
|
|
|
></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="12"> |
|
|
|
|
<el-form-item label="其它编号:"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="ruleForm.otherNo" |
|
|
|
|
placeholder="请输入其它编号" |
|
|
|
|
></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="12"> |
|
|
|
|
<el-form-item label="大业态:"> |
|
|
|
|
<el-form-item label="物业类型:"> |
|
|
|
|
<el-select |
|
|
|
|
v-model="params.largeFormat" |
|
|
|
|
placeholder="请选择大业态" |
|
|
|
|
v-model="params.propertyType" |
|
|
|
|
placeholder="请选择大物业类型" |
|
|
|
|
clearable |
|
|
|
|
@change="getYe" |
|
|
|
|
@change="getBigye" |
|
|
|
|
style="width: 100%" |
|
|
|
|
> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in Bigye" |
|
|
|
|
:key="item.value" |
|
|
|
|
:label="item.label" |
|
|
|
|
:value="item.value" |
|
|
|
|
v-for="item in wuyeType" |
|
|
|
|
:key="item" |
|
|
|
|
:label="item" |
|
|
|
|
:value="item" |
|
|
|
|
> |
|
|
|
|
</el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="12"> |
|
|
|
|
<el-form-item label="业态:"> |
|
|
|
|
<el-form-item label="大业态:"> |
|
|
|
|
<el-select |
|
|
|
|
v-model="params.format" |
|
|
|
|
placeholder="请选择业态" |
|
|
|
|
:disabled="!params.largeFormat" |
|
|
|
|
v-model="params.largeFormat" |
|
|
|
|
placeholder="请选择大业态" |
|
|
|
|
:disabled="!params.propertyType" |
|
|
|
|
clearable |
|
|
|
|
@change="getYe" |
|
|
|
|
style="width: 100%" |
|
|
|
|
> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in ye" |
|
|
|
|
:key="item.value" |
|
|
|
|
:label="item.label" |
|
|
|
|
:value="item.value" |
|
|
|
|
v-for="item in Bigye" |
|
|
|
|
:key="item" |
|
|
|
|
:label="item" |
|
|
|
|
:value="item" |
|
|
|
|
> |
|
|
|
|
</el-option> |
|
|
|
|
</el-select> |
|
|
|
@ -261,17 +254,18 @@
|
|
|
|
|
</el-row> |
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="12"> |
|
|
|
|
<el-form-item label="物业类型:"> |
|
|
|
|
<el-form-item label="业态:"> |
|
|
|
|
<el-select |
|
|
|
|
v-model="params.propertyType" |
|
|
|
|
placeholder="请选择大物业类型" |
|
|
|
|
v-model="params.format" |
|
|
|
|
placeholder="请选择业态" |
|
|
|
|
:disabled="!params.largeFormat" |
|
|
|
|
style="width: 100%" |
|
|
|
|
> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in wuyeType" |
|
|
|
|
:key="item.value" |
|
|
|
|
:label="item.label" |
|
|
|
|
:value="item.value" |
|
|
|
|
v-for="item in ye" |
|
|
|
|
:key="item" |
|
|
|
|
:label="item" |
|
|
|
|
:value="item" |
|
|
|
|
> |
|
|
|
|
</el-option> |
|
|
|
|
</el-select> |
|
|
|
@ -279,7 +273,7 @@
|
|
|
|
|
</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="12" style="float:right"> |
|
|
|
|
<el-col :span="12" style="float: right"> |
|
|
|
|
<el-form-item> |
|
|
|
|
<el-button type="primary" @click="submitForm('ruleForm')" |
|
|
|
|
>提交</el-button |
|
|
|
@ -308,7 +302,7 @@ import {
|
|
|
|
|
delLandResFile, |
|
|
|
|
updateLonLat, |
|
|
|
|
} from "@/views/land/api/land"; |
|
|
|
|
import * as api from "../sale/api/index" |
|
|
|
|
import * as api from "../sale/api/index"; |
|
|
|
|
import { uploadFile } from "@/views/api/api"; |
|
|
|
|
import { downUrlFile } from "@/util/file"; |
|
|
|
|
import fileDownload from "js-file-download"; |
|
|
|
@ -334,7 +328,7 @@ export default {
|
|
|
|
|
}, |
|
|
|
|
// 编辑或新增窗口 |
|
|
|
|
dialogFormVisible: false, |
|
|
|
|
dialogLoad:false, |
|
|
|
|
dialogLoad: false, |
|
|
|
|
// 列 |
|
|
|
|
cols: [ |
|
|
|
|
{ |
|
|
|
@ -415,50 +409,41 @@ export default {
|
|
|
|
|
], |
|
|
|
|
desc: [{ required: true, message: "请填写活动形式", trigger: "blur" }], |
|
|
|
|
}, |
|
|
|
|
nameList:[], |
|
|
|
|
Bigye:[], |
|
|
|
|
ye:[], |
|
|
|
|
wuyeType:[], |
|
|
|
|
params:{ |
|
|
|
|
format:'', |
|
|
|
|
largeFormat:'', |
|
|
|
|
propertyType:'' |
|
|
|
|
}, |
|
|
|
|
options: [ |
|
|
|
|
{ |
|
|
|
|
value: "选项1", |
|
|
|
|
label: "黄金糕", |
|
|
|
|
nameList: [], |
|
|
|
|
initData: { |
|
|
|
|
住宅: { |
|
|
|
|
高层: ["高层", "小高层"], |
|
|
|
|
洋房: ["洋楼", "洋房"], |
|
|
|
|
别墅: ["叠拼", "联排", "独栋"], |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
value: "选项2", |
|
|
|
|
label: "双皮奶", |
|
|
|
|
商务: { |
|
|
|
|
商务: ["商务"], |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
value: "选项3", |
|
|
|
|
label: "蚵仔煎", |
|
|
|
|
商业: { |
|
|
|
|
商墅: ["商墅"], |
|
|
|
|
商铺: ["商铺"], |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
value: "选项4", |
|
|
|
|
label: "龙须面", |
|
|
|
|
车库: { |
|
|
|
|
车库: ["车库"], |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
value: "选项5", |
|
|
|
|
label: "北京烤鸭", |
|
|
|
|
其他: { |
|
|
|
|
其他: ["其他"], |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}, |
|
|
|
|
wuyeType: [], |
|
|
|
|
Bigye: [], |
|
|
|
|
ye: [], |
|
|
|
|
params: { |
|
|
|
|
format: "", |
|
|
|
|
largeFormat: "", |
|
|
|
|
propertyType: "", |
|
|
|
|
}, |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|
created() { |
|
|
|
|
//查询字典 |
|
|
|
|
api.getDict('property_types').then(res=>{ |
|
|
|
|
this.wuyeType=res.data.data |
|
|
|
|
}) |
|
|
|
|
// api.getDict('format').then(res=>{ |
|
|
|
|
// this.ye=res.data.data |
|
|
|
|
// }) |
|
|
|
|
api.getDict('largeFormat').then(res=>{ |
|
|
|
|
this.Bigye=res.data.data |
|
|
|
|
}) |
|
|
|
|
for (var key in this.initData) { |
|
|
|
|
this.wuyeType.push(key); |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
mounted: function () { |
|
|
|
|
this.onSubmit(); |
|
|
|
@ -485,47 +470,59 @@ export default {
|
|
|
|
|
// }, |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
getBigye() { |
|
|
|
|
if (!this.params.propertyType) { |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
var temp = this.initData[this.params.propertyType]; |
|
|
|
|
for (var key in temp) { |
|
|
|
|
this.Bigye.push(key); |
|
|
|
|
} |
|
|
|
|
this.$set(this.params, "largeFormat", ""); |
|
|
|
|
}, |
|
|
|
|
// 获取业态 |
|
|
|
|
getYe(){ |
|
|
|
|
if (!this.params.largeFormat){ |
|
|
|
|
return false |
|
|
|
|
} |
|
|
|
|
let name=''; |
|
|
|
|
this.Bigye.map(e=>{ |
|
|
|
|
if (e.value===this.params.largeFormat){ |
|
|
|
|
name=e.description |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
api.getDict(name).then(res=>{ |
|
|
|
|
this.ye=res.data.data; |
|
|
|
|
// this.params.format=''; |
|
|
|
|
this.$set(this.params,'format','') |
|
|
|
|
}) |
|
|
|
|
getYe() { |
|
|
|
|
if (!this.params.propertyType && !this.params.largeFormat) { |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
var temp = |
|
|
|
|
this.initData[this.params.propertyType][this.params.largeFormat]; |
|
|
|
|
this.ye = temp; |
|
|
|
|
this.$set(this.params, "format", ""); |
|
|
|
|
}, |
|
|
|
|
//提交 |
|
|
|
|
submitForm(formName) { |
|
|
|
|
for (let i=0;i<this.nameList.length;i++){ |
|
|
|
|
if (this.ruleForm.name==this.nameList[i].name){ |
|
|
|
|
this.$set(this.params,'housingEstateId',this.nameList[i].housingEstateId) |
|
|
|
|
for (let i = 0; i < this.nameList.length; i++) { |
|
|
|
|
if (this.ruleForm.name == this.nameList[i].name) { |
|
|
|
|
this.$set( |
|
|
|
|
this.params, |
|
|
|
|
"housingEstateId", |
|
|
|
|
this.nameList[i].housingEstateId |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
this.$set(this.params,'name',this.ruleForm.name) |
|
|
|
|
this.$set(this.params,'blockId',this.ruleForm.blockId) |
|
|
|
|
this.$set(this.params,'annoId',this.ruleForm.annoId) |
|
|
|
|
this.$set(this.params,'statusCd',"0"); |
|
|
|
|
this.dialogLoad=true; |
|
|
|
|
this.$set(this.params, "name", this.ruleForm.name); |
|
|
|
|
this.$set(this.params, "blockId", this.ruleForm.blockId); |
|
|
|
|
this.$set(this.params, "annoId", this.ruleForm.annoId); |
|
|
|
|
this.$set(this.params, "statusCd", "0"); |
|
|
|
|
this.dialogLoad = true; |
|
|
|
|
this.$refs[formName].validate((valid) => { |
|
|
|
|
if (valid) { |
|
|
|
|
// console.log(this.params); |
|
|
|
|
api.changeHouse(this.params).then(res=>{ |
|
|
|
|
if (res.data.data){ |
|
|
|
|
this.dialogLoad=false; |
|
|
|
|
this.dialogFormVisible=false; |
|
|
|
|
this.params={}; |
|
|
|
|
this.$alert('保存成功') |
|
|
|
|
this.onSubmit() |
|
|
|
|
} |
|
|
|
|
}).catch((e)=>{this.dialogLoad=false;}) |
|
|
|
|
api |
|
|
|
|
.changeHouse(this.params) |
|
|
|
|
.then((res) => { |
|
|
|
|
if (res.data.data) { |
|
|
|
|
this.dialogLoad = false; |
|
|
|
|
this.dialogFormVisible = false; |
|
|
|
|
this.params = {}; |
|
|
|
|
this.$alert("保存成功"); |
|
|
|
|
this.onSubmit(); |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
.catch((e) => { |
|
|
|
|
this.dialogLoad = false; |
|
|
|
|
}); |
|
|
|
|
} else { |
|
|
|
|
console.log("error submit!!"); |
|
|
|
|
return false; |
|
|
|
@ -535,40 +532,54 @@ export default {
|
|
|
|
|
resetForm(formName) { |
|
|
|
|
this.$refs[formName].resetFields(); |
|
|
|
|
}, |
|
|
|
|
handleBuild(data){ |
|
|
|
|
window.open('http://www.cq315house.com/HtmlPage/ShowRooms.html?buildingid='+data.dataId) |
|
|
|
|
handleBuild(data) { |
|
|
|
|
window.open( |
|
|
|
|
"http://www.cq315house.com/HtmlPage/ShowRooms.html?buildingid=" + |
|
|
|
|
data.dataId |
|
|
|
|
); |
|
|
|
|
}, |
|
|
|
|
//立即处理 |
|
|
|
|
handle(item) { |
|
|
|
|
this.ruleForm={}; |
|
|
|
|
this.params={} |
|
|
|
|
this.ruleForm = {}; |
|
|
|
|
this.params = {}; |
|
|
|
|
//查询楼盘名称 |
|
|
|
|
api.getNameList({current:1,size:50}).then(res=>{ |
|
|
|
|
if (res.data.data){ |
|
|
|
|
this.nameList=res.data.data.records |
|
|
|
|
api.getNameList({ current: 1, size: 50 }).then((res) => { |
|
|
|
|
if (res.data.data) { |
|
|
|
|
this.nameList = res.data.data.records; |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
this.dialogFormVisible = true; |
|
|
|
|
this.dialogLoad=true; |
|
|
|
|
api.getSaleId(item.blockId).then(res=>{ |
|
|
|
|
this.ruleForm = res.data.data; |
|
|
|
|
this.ruleForm.propertyType?this.params.propertyType=this.ruleForm.propertyType:false; |
|
|
|
|
this.ruleForm.largeFormat?this.params.largeFormat=this.ruleForm.largeFormat:false; |
|
|
|
|
if (this.params.largeFormat){ |
|
|
|
|
let name=''; |
|
|
|
|
this.Bigye.map(e=>{ |
|
|
|
|
if (e.value===this.params.largeFormat){ |
|
|
|
|
name=e.description |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
api.getDict(name).then(res=>{ |
|
|
|
|
this.ye=res.data.data; |
|
|
|
|
this.ruleForm.format?this.params.format=this.ruleForm.format:false; |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
delete this.ruleForm.createDate |
|
|
|
|
this.dialogLoad=false; |
|
|
|
|
}).catch((e)=>{this.dialogLoad=false;}) |
|
|
|
|
this.dialogLoad = true; |
|
|
|
|
api |
|
|
|
|
.getSaleId(item.blockId) |
|
|
|
|
.then((res) => { |
|
|
|
|
this.ruleForm = res.data.data; |
|
|
|
|
this.ruleForm.propertyType |
|
|
|
|
? (this.params.propertyType = this.ruleForm.propertyType) |
|
|
|
|
: false; |
|
|
|
|
this.ruleForm.largeFormat |
|
|
|
|
? (this.params.largeFormat = this.ruleForm.largeFormat) |
|
|
|
|
: false; |
|
|
|
|
if (this.params.largeFormat) { |
|
|
|
|
let name = ""; |
|
|
|
|
this.Bigye.map((e) => { |
|
|
|
|
if (e.value === this.params.largeFormat) { |
|
|
|
|
name = e.description; |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
api.getDict(name).then((res) => { |
|
|
|
|
this.ye = res.data.data; |
|
|
|
|
this.ruleForm.format |
|
|
|
|
? (this.params.format = this.ruleForm.format) |
|
|
|
|
: false; |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
delete this.ruleForm.createDate; |
|
|
|
|
this.dialogLoad = false; |
|
|
|
|
}) |
|
|
|
|
.catch((e) => { |
|
|
|
|
this.dialogLoad = false; |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
setTagName(val) { |
|
|
|
|
let txt = ""; |
|
|
|
@ -581,13 +592,14 @@ export default {
|
|
|
|
|
this.tableLoading = true; |
|
|
|
|
console.debug(page); |
|
|
|
|
console.debug(params); |
|
|
|
|
api.getSaleList( |
|
|
|
|
Object.assign({ |
|
|
|
|
current: page.currentPage, |
|
|
|
|
size: page.pageSize, |
|
|
|
|
statusCd:'0' |
|
|
|
|
}) |
|
|
|
|
) |
|
|
|
|
api |
|
|
|
|
.getSaleList( |
|
|
|
|
Object.assign({ |
|
|
|
|
current: page.currentPage, |
|
|
|
|
size: page.pageSize, |
|
|
|
|
statusCd: "0", |
|
|
|
|
}) |
|
|
|
|
) |
|
|
|
|
.then((response) => { |
|
|
|
|
this.tableData = response.data.data.records; |
|
|
|
|
this.page.total = response.data.data.total; |
|
|
|
@ -610,17 +622,18 @@ export default {
|
|
|
|
|
{ |
|
|
|
|
current: this.page.currentPage, |
|
|
|
|
size: this.page.pageSize, |
|
|
|
|
statusCd:'0' |
|
|
|
|
statusCd: "0", |
|
|
|
|
}, |
|
|
|
|
this.searchForm |
|
|
|
|
); |
|
|
|
|
api.getSaleList(param) |
|
|
|
|
api |
|
|
|
|
.getSaleList(param) |
|
|
|
|
.then((response) => { |
|
|
|
|
this.tableData=[]; |
|
|
|
|
this.tableData = []; |
|
|
|
|
// this.tableData = response.data.data.records; |
|
|
|
|
for (let i=0;i<response.data.data.records.length;i++){ |
|
|
|
|
if (response.data.data.records[i].statusCd=='0'){ |
|
|
|
|
this.tableData.push(response.data.data.records[i]) |
|
|
|
|
for (let i = 0; i < response.data.data.records.length; i++) { |
|
|
|
|
if (response.data.data.records[i].statusCd == "0") { |
|
|
|
|
this.tableData.push(response.data.data.records[i]); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
this.page.total = response.data.data.total; |
|
|
|
@ -726,12 +739,12 @@ export default {
|
|
|
|
|
|
|
|
|
|
handleSizeChange(val) { |
|
|
|
|
this.page.pageSize = val; |
|
|
|
|
this.onSubmit() |
|
|
|
|
this.onSubmit(); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
handleCurrentChange(val) { |
|
|
|
|
this.page.currentPage = val; |
|
|
|
|
this.onSubmit() |
|
|
|
|
this.onSubmit(); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
// 清空选中 |
|
|
|
@ -761,8 +774,8 @@ export default {
|
|
|
|
|
saveHandLandList(JSON.stringify(this.editForm)).then((res) => { |
|
|
|
|
if (res.data.success) { |
|
|
|
|
this.$message({ |
|
|
|
|
type: 'success', |
|
|
|
|
message: '保存成功' |
|
|
|
|
type: "success", |
|
|
|
|
message: "保存成功", |
|
|
|
|
}); |
|
|
|
|
this.dialogFormVisible = false; |
|
|
|
|
this.onSubmit(); |
|
|
|
@ -801,8 +814,8 @@ export default {
|
|
|
|
|
delLandLonLat(row.landListedId, row.landCode).then((res) => { |
|
|
|
|
if (res.data.success) { |
|
|
|
|
this.$message({ |
|
|
|
|
type: 'success', |
|
|
|
|
message: '删除成功' |
|
|
|
|
type: "success", |
|
|
|
|
message: "删除成功", |
|
|
|
|
}); |
|
|
|
|
this.queryLonLatList(row.landListedId); |
|
|
|
|
} else { |
|
|
|
@ -818,8 +831,8 @@ export default {
|
|
|
|
|
updateLonLat(row).then((res) => { |
|
|
|
|
if (res.data.success) { |
|
|
|
|
this.$message({ |
|
|
|
|
type: 'success', |
|
|
|
|
message: '保存成功' |
|
|
|
|
type: "success", |
|
|
|
|
message: "保存成功", |
|
|
|
|
}); |
|
|
|
|
this.queryLonLatList(row.landListedId); |
|
|
|
|
} else { |
|
|
|
@ -830,8 +843,8 @@ export default {
|
|
|
|
|
addLonLat(row).then((res) => { |
|
|
|
|
if (res.data.success) { |
|
|
|
|
this.$message({ |
|
|
|
|
type: 'success', |
|
|
|
|
message: '保存成功' |
|
|
|
|
type: "success", |
|
|
|
|
message: "保存成功", |
|
|
|
|
}); |
|
|
|
|
this.queryLonLatList(row.landListedId); |
|
|
|
|
} else { |
|
|
|
@ -914,8 +927,8 @@ export default {
|
|
|
|
|
).then((res) => { |
|
|
|
|
if (res.data.success) { |
|
|
|
|
this.$message({ |
|
|
|
|
type: 'success', |
|
|
|
|
message: '上传成功' |
|
|
|
|
type: "success", |
|
|
|
|
message: "上传成功", |
|
|
|
|
}); |
|
|
|
|
this.queryFileList(); |
|
|
|
|
} else { |
|
|
|
@ -929,8 +942,8 @@ export default {
|
|
|
|
|
delLandResFile(row.id).then((res) => { |
|
|
|
|
if (res.data.success) { |
|
|
|
|
this.$message({ |
|
|
|
|
type: 'success', |
|
|
|
|
message: '删除成功' |
|
|
|
|
type: "success", |
|
|
|
|
message: "删除成功", |
|
|
|
|
}); |
|
|
|
|
this.queryFileList(); |
|
|
|
|
} else { |
|
|
|
|