|
|
@@ -79,6 +79,16 @@ Ext.define('saas.view.home.Home', {
|
|
|
|
|
|
initComponent: function() {
|
|
|
this.lastTime = Ext.Date.now();
|
|
|
+ //判断当前是否未完成新手导航
|
|
|
+ saas.util.BaseUtil.request({
|
|
|
+ url: '/api/commons/init/check'
|
|
|
+ }).then(function(res) {
|
|
|
+ if(!res.data.begin){
|
|
|
+ saas.util.BaseUtil.openTab('sys-guide-formpanel', '新手导航', 'sys-guide-formpanel')
|
|
|
+ }
|
|
|
+ }).catch(function(res) {
|
|
|
+ saas.util.BaseUtil.showErrorToast(res.message);
|
|
|
+ })
|
|
|
this.callParent(arguments);
|
|
|
},
|
|
|
|