|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div class="detail">
|
|
|
<Header>
|
|
|
- <edit position="detail" @getDetail="getDetail" :data="{data:detail}"></edit>
|
|
|
+ <edit position="detail" @getDetail="getDetail" :arealist="arealist" :data="{data:detail}"></edit>
|
|
|
<follow :data="{data:detail}" @getDetail="getDetail" position="detail"></follow>
|
|
|
</Header>
|
|
|
<div class="normal-card">
|
|
@@ -59,7 +59,8 @@ export default {
|
|
|
'已成交':'#333333',
|
|
|
'已过期':'#999999'
|
|
|
},
|
|
|
- detail: ''
|
|
|
+ detail: '',
|
|
|
+ arealist:[]
|
|
|
};
|
|
|
},
|
|
|
components:{ Header , followDetail , edit , follow },
|
|
@@ -69,6 +70,7 @@ export default {
|
|
|
},
|
|
|
created() {
|
|
|
this.getDetail()
|
|
|
+ this.query_arealist()
|
|
|
},
|
|
|
methods: {
|
|
|
async getDetail() {
|
|
@@ -78,6 +80,15 @@ export default {
|
|
|
this.param.content.sat_orderclueid = this.$route.query.id
|
|
|
let res = await this.$api.requested(this.param)
|
|
|
this.detail = res.data
|
|
|
+ },
|
|
|
+ async query_arealist() {
|
|
|
+ const res = await this.$api.requested({
|
|
|
+ "classname": "system.tools",
|
|
|
+ "method": "query_arealist",
|
|
|
+ "content": {
|
|
|
+ }
|
|
|
+ })
|
|
|
+ this.arealist = this.tool.createMenu(res.data)
|
|
|
}
|
|
|
},
|
|
|
};
|