初始化
parent
522668cb98
commit
8ea2a8c90c
|
@ -99,9 +99,20 @@
|
|||
@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>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -115,6 +126,7 @@ export default {
|
|||
|
||||
data() {
|
||||
return {
|
||||
dialogVisible:false,
|
||||
all:"全部类型",
|
||||
activeNameL:"全部类型",
|
||||
editableTabs: [],
|
||||
|
@ -153,8 +165,8 @@ export default {
|
|||
rules: {
|
||||
},
|
||||
pay:{
|
||||
|
||||
},
|
||||
jsonData:{}
|
||||
};
|
||||
},
|
||||
created() {
|
||||
|
@ -165,6 +177,10 @@ export default {
|
|||
if(customer.sysId==1){
|
||||
getAirQuality(1).then(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