|
|
|
@ -214,6 +214,8 @@
|
|
|
|
|
<el-select |
|
|
|
|
v-model="params.largeFormat" |
|
|
|
|
placeholder="请选择大业态" |
|
|
|
|
clearable |
|
|
|
|
@change="getYe" |
|
|
|
|
style="width: 100%" |
|
|
|
|
> |
|
|
|
|
<el-option |
|
|
|
@ -231,6 +233,7 @@
|
|
|
|
|
<el-select |
|
|
|
|
v-model="params.format" |
|
|
|
|
placeholder="请选择业态" |
|
|
|
|
:disabled="!params.largeFormat" |
|
|
|
|
style="width: 100%" |
|
|
|
|
> |
|
|
|
|
<el-option |
|
|
|
@ -438,9 +441,9 @@ export default {
|
|
|
|
|
api.getDict('property_types').then(res=>{ |
|
|
|
|
this.wuyeType=res.data.data |
|
|
|
|
}) |
|
|
|
|
api.getDict('format').then(res=>{ |
|
|
|
|
this.ye=res.data.data |
|
|
|
|
}) |
|
|
|
|
// api.getDict('format').then(res=>{ |
|
|
|
|
// this.ye=res.data.data |
|
|
|
|
// }) |
|
|
|
|
api.getDict('largeFormat').then(res=>{ |
|
|
|
|
this.Bigye=res.data.data |
|
|
|
|
}) |
|
|
|
@ -470,6 +473,24 @@ export default {
|
|
|
|
|
// }, |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
// 获取业态 |
|
|
|
|
getYe(){ |
|
|
|
|
if (!this.params.largeFormat){ |
|
|
|
|
return false |
|
|
|
|
} |
|
|
|
|
this.params.format=''; |
|
|
|
|
this.dialogLoad=true; |
|
|
|
|
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.dialogLoad=false; |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
//提交 |
|
|
|
|
submitForm(formName) { |
|
|
|
|
for (let i=0;i<this.nameList.length;i++){ |
|
|
|
@ -505,6 +526,8 @@ export default {
|
|
|
|
|
}, |
|
|
|
|
//立即处理 |
|
|
|
|
handle(item) { |
|
|
|
|
this.ruleForm={}; |
|
|
|
|
this.params={} |
|
|
|
|
//查询楼盘名称 |
|
|
|
|
api.getNameList({current:1,size:50}).then(res=>{ |
|
|
|
|
if (res.data.data){ |
|
|
|
@ -515,6 +538,20 @@ export default {
|
|
|
|
|
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;}) |
|
|
|
@ -534,6 +571,7 @@ export default {
|
|
|
|
|
Object.assign({ |
|
|
|
|
current: page.currentPage, |
|
|
|
|
size: page.pageSize, |
|
|
|
|
statusCd:'0' |
|
|
|
|
}) |
|
|
|
|
) |
|
|
|
|
.then((response) => { |
|
|
|
@ -558,6 +596,7 @@ export default {
|
|
|
|
|
{ |
|
|
|
|
current: this.page.currentPage, |
|
|
|
|
size: this.page.pageSize, |
|
|
|
|
statusCd:'0' |
|
|
|
|
}, |
|
|
|
|
this.searchForm |
|
|
|
|
); |
|
|
|
|