Browse Source

导航头交互补充

rainco 7 years ago
parent
commit
390ff5530f

+ 8 - 8
frontend/saas-web/app/view/document/kind/Kind.js

@@ -213,7 +213,12 @@ Ext.define('saas.view.document.kind.Kind', {
             reqUrl:'/api/commons/number/save'
             reqUrl:'/api/commons/number/save'
         },
         },
         personpower:{
         personpower:{
-            columns: [{
+            columns: [ {
+                text : "编号", 
+                dataIndex : "code", 
+                width : 120.0, 
+                xtype : "", 
+            },{
                 text : "角色名称", 
                 text : "角色名称", 
                 width : 200.0, 
                 width : 200.0, 
                 dataIndex : "name", 
                 dataIndex : "name", 
@@ -224,13 +229,8 @@ Ext.define('saas.view.document.kind.Kind', {
                 dataIndex : "description", 
                 dataIndex : "description", 
                 width : 120.0, 
                 width : 120.0, 
                 xtype : "", 
                 xtype : "", 
-            },
-            {
-                text : "编号", 
-                dataIndex : "code", 
-                width : 120.0, 
-                xtype : "", 
-            }],
+            }
+           ],
             keyField:'id',
             keyField:'id',
             reqUrl:'/api/account/role/save',
             reqUrl:'/api/account/role/save',
             updateUrl:'/api/account/role/update',
             updateUrl:'/api/account/role/update',

+ 2 - 3
frontend/saas-web/app/view/main/MainController.js

@@ -114,15 +114,14 @@ Ext.define('saas.view.main.MainController', {
     },
     },
 
 
     feedbackMsg:function(btn){
     feedbackMsg:function(btn){
-        console.log("意见反馈!");
         var me = this,
         var me = this,
         win = Ext.getCmp("feedbackWin");
         win = Ext.getCmp("feedbackWin");
         if (!win) {
         if (!win) {
              win = Ext.create('Ext.window.Window', {
              win = Ext.create('Ext.window.Window', {
                 modal: true,
                 modal: true,
                 id:"feedbackWin",
                 id:"feedbackWin",
-                height: '60%',
-                width: '80%',
+                height: '50%',
+                width: '50%',
                 title: '意见反馈',
                 title: '意见反馈',
                 scrollable: true,
                 scrollable: true,
                 constrain: true,
                 constrain: true,

+ 3 - 3
frontend/saas-web/app/view/sys/feedback/FormPanel.js

@@ -18,7 +18,7 @@ Ext.define('saas.view.sys.feedback.FormPanel', {
             align: 'stretch'
             align: 'stretch'
         },
         },
 
 
-        bodyPadding: 5,
+        bodyPadding: 10,
         border: false,
         border: false,
 
 
     items: [{
     items: [{
@@ -39,10 +39,10 @@ Ext.define('saas.view.sys.feedback.FormPanel', {
         fieldLabel : "反馈内容",
         fieldLabel : "反馈内容",
         flex: 1
         flex: 1
     }],buttons: [{
     }],buttons: [{
-        text: 'Send',
+        text: '提交',
         handler:'onSubmit'
         handler:'onSubmit'
     },{
     },{
-        text: 'Send',
+        text: '关闭',
         handler:'onClose'
         handler:'onClose'
     }]
     }]
 });
 });

+ 2 - 4
frontend/saas-web/app/view/sys/feedback/FormPanelController.js

@@ -7,12 +7,10 @@ Ext.define('saas.view.sys.feedback.FormPanelController', {
         });
         });
     },
     },
     onSubmit:function(){
     onSubmit:function(){
-        console.log("提交成功!");
         showToast('提交成功!');
         showToast('提交成功!');
-        this.close();
-        this.destory();
+        Ext.destroy(Ext.getCmp("feedbackWin"));
     },
     },
     onClose:function(){
     onClose:function(){
-        this.close();
+        Ext.destroy(Ext.getCmp("feedbackWin"));
     }
     }
 });
 });