|
|
|
@ -104,8 +104,7 @@ class _HomeReportPageState extends State<HomeReportPage> with SingleTickerProvid
|
|
|
|
),
|
|
|
|
),
|
|
|
|
if (model.user != null)
|
|
|
|
if (model.user != null)
|
|
|
|
Expanded(
|
|
|
|
Expanded(
|
|
|
|
child:
|
|
|
|
child: TabBarView(
|
|
|
|
TabBarView(
|
|
|
|
|
|
|
|
physics: BouncingScrollPhysics(),
|
|
|
|
physics: BouncingScrollPhysics(),
|
|
|
|
controller: _tabController_new,
|
|
|
|
controller: _tabController_new,
|
|
|
|
children: <Widget>[
|
|
|
|
children: <Widget>[
|
|
|
|
@ -249,6 +248,7 @@ class _HomeReportPageState extends State<HomeReportPage> with SingleTickerProvid
|
|
|
|
if (projectViewModel.havePrivilege(21)
|
|
|
|
if (projectViewModel.havePrivilege(21)
|
|
|
|
// && _tabController_new.index == 0
|
|
|
|
// && _tabController_new.index == 0
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
if (_tabController_new.index == 0)
|
|
|
|
Padding(
|
|
|
|
Padding(
|
|
|
|
padding: EdgeInsets.only(top: 16, bottom: 16, right: 21, left: 21),
|
|
|
|
padding: EdgeInsets.only(top: 16, bottom: 16, right: 21, left: 21),
|
|
|
|
child: DefaultButton(
|
|
|
|
child: DefaultButton(
|
|
|
|
|