初始化
parent
522668cb98
commit
8ea2a8c90c
|
@ -99,9 +99,20 @@
|
||||||
@pagination="getList"
|
@pagination="getList"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
<el-dialog
|
||||||
|
title="提示"
|
||||||
|
:visible.sync="dialogVisible"
|
||||||
|
width="30%">
|
||||||
|
<span>{{jsonData}}</span>
|
||||||
|
<span slot="footer" class="dialog-footer">
|
||||||
|
<el-button @click="dialogVisible = false">取 消</el-button>
|
||||||
|
<el-button type="primary" @click="dialogVisible = false">确 定</el-button>
|
||||||
|
</span>
|
||||||
|
</el-dialog>
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -115,6 +126,7 @@ export default {
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
dialogVisible:false,
|
||||||
all:"全部类型",
|
all:"全部类型",
|
||||||
activeNameL:"全部类型",
|
activeNameL:"全部类型",
|
||||||
editableTabs: [],
|
editableTabs: [],
|
||||||
|
@ -153,8 +165,8 @@ export default {
|
||||||
rules: {
|
rules: {
|
||||||
},
|
},
|
||||||
pay:{
|
pay:{
|
||||||
|
|
||||||
},
|
},
|
||||||
|
jsonData:{}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
@ -165,6 +177,10 @@ export default {
|
||||||
if(customer.sysId==1){
|
if(customer.sysId==1){
|
||||||
getAirQuality(1).then(response =>{
|
getAirQuality(1).then(response =>{
|
||||||
console.log(response)
|
console.log(response)
|
||||||
|
console.log(response.result.Data)
|
||||||
|
console.log(response.result.CityInfo)
|
||||||
|
this.jsonData=response.result
|
||||||
|
this.dialogVisible=true
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue