初始化

master
法外狂徒张三 2024-09-04 11:19:54 +08:00
parent 522668cb98
commit 8ea2a8c90c
1 changed files with 17 additions and 1 deletions

View File

@ -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
})
}
},