Browse Source

导航注释去掉,意见反馈界面完善

rainco 7 years ago
parent
commit
263105d572

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

@@ -8,34 +8,46 @@ Ext.define('saas.view.sys.feedback.FormPanel', {
     viewName: 'sys-feedback-formpanel',
     caller:'feedBack',
     
-    defaultType: 'textfield',
-        fieldDefaults: {
-            labelWidth: 60
-        },
+    layout: 'column',
+    autoScroll: true,
 
-        layout: {
-            type: 'vbox',
-            align: 'stretch'
-        },
-
-        bodyPadding: 10,
-        border: false,
+    fieldDefaults: {
+        margin: '0 0 10 0',
+        labelAlign: 'right',
+        labelWidth: 90,
+        columnWidth: 0.25,
+    },
+    bodyPadding: 10,
+    border: false,
 
     items: [{
         xtype: 'hidden',
         name: 'id',
-        fieldLabel: 'id'
+        fieldLabel: 'id',
+        readOnly:true,
+        defaultVale:saas.util.BaseUtil.getCurrentUser().id
     }, {
         xtype : "textfield", 
         name : "fb_name", 
-        fieldLabel : "姓名"
+        fieldLabel : "姓名",
+        readOnly:true,
+        defaultVale:saas.util.BaseUtil.getCurrentUser().realname
     }, {
         xtype : "textfield", 
         name : "fb_mobile", 
-        fieldLabel : "联系方式"
+        fieldLabel : "手机号",
+        widthColumn:0.5
+    }, {
+        xtype : "textfield", 
+        name : "fb_QQ", 
+        fieldLabel : "QQ"
+    }, {
+        xtype : "textfield", 
+        name : "fb_wechat", 
+        fieldLabel : "微信"
     }, {
-        xtype : "textarea", 
-        name : "fb_email", 
+        xtype : "html", 
+        name : "fb_msg", 
         fieldLabel : "反馈内容",
         flex: 1
     }],buttons: [{

+ 1 - 8
frontend/saas-web/resources/json/navigation.json

@@ -140,14 +140,7 @@
             "text": "收款单",
             "addType": "money-recbalance-formpanel",
             "viewType": "money-recbalance-querypanel"
-        }, 
-        //{
-          //  "id": "verification",
-          //  "text": "核销单",
-          //  "addType": "money-verification-formpanel",
-          //  "viewType": "money-verification-querypanel"
-       // },
-         {
+        }, {
             "id": "othReceipts",
             "text": "其它收入单",
             "addType": "money-othreceipts-formpanel",