|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<view class="gas-report" name="gasreport">
|
|
|
<u-navbar :bgStatusImage="backPic0" :bgImage="backPic" :title="gasTitle" :safeAreaInsetTop="true"
|
|
|
- leftIcon="" > </u-navbar>
|
|
|
+ leftIcon="list" @leftClick="showPopup" > </u-navbar>
|
|
|
<view class="gas-content">
|
|
|
<component :is="loadComponent" :firstAddress="firstAddress" :secondAddress="secondAddress"
|
|
|
:firstTj="firstTj" :secondTj="secondTj"></component>
|
|
@@ -35,11 +35,11 @@ export default {
|
|
|
return {
|
|
|
backPic0: "url(/static/topnavbar0.png)",
|
|
|
backPic: "url(../../static/topnavbar.png)",
|
|
|
- gasTitle: '瓦斯日报1',//标题
|
|
|
+ gasTitle: '瓦斯日报',//标题
|
|
|
showModel: false,//是否打开弹出层
|
|
|
- // loadComponent: 'gasFill',//默认加载组件
|
|
|
+ loadComponent: 'gasFill',//默认加载组件
|
|
|
// loadComponent: 'gasImgIdentify',//默认加载组件
|
|
|
- loadComponent: 'taskBoard',//默认加载组件
|
|
|
+ // loadComponent: 'taskBoard',//默认加载组件
|
|
|
taskTj: {},
|
|
|
firstAddress: '',//一次线路
|
|
|
secondAddress: '',//二次线路
|
|
@@ -54,6 +54,9 @@ export default {
|
|
|
this.queryNowGasInfoByUser()
|
|
|
},
|
|
|
methods: {
|
|
|
+ showPopup(){
|
|
|
+ this.showModel=!this.showModel
|
|
|
+ },
|
|
|
//导航栏点击
|
|
|
handlerClick(data) {
|
|
|
let that = this
|