Pman.Dialog.VerifyAccess.bjs
[Pman.Core] / Pman.Dialog.VerifyAccess.js
index 9bb82f3..b6290a7 100644 (file)
@@ -63,8 +63,6 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, {
                   _to_data : 1
               }, 
               success : function(res) {
-                  Roo.log(res);
-                  return;
                   _this.form.setValues(res.data);
                   return;
               },
@@ -270,6 +268,56 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, {
          }
         ]
        },
+       {
+        xtype : 'Row',
+        listeners : {
+         render : function (_self)
+          {
+              _this.row_pwd_label = _self;
+          }
+        },
+        xns : Roo.bootstrap,
+        '|xns' : 'Roo.bootstrap',
+        items  : [
+         {
+          xtype : 'Column',
+          xs : 12,
+          xns : Roo.bootstrap,
+          '|xns' : 'Roo.bootstrap',
+          items  : [
+           {
+            xtype : 'ComboBox',
+            allowBlank : false,
+            displayField : 'value',
+            editable : false,
+            hiddenName : 'status',
+            mode : 'local',
+            name : 'status_name',
+            triggerAction : 'all',
+            valueField : 'code',
+            listeners : {
+             select : function (combo, record, index)
+              {
+                  
+              }
+            },
+            xns : Roo.bootstrap,
+            '|xns' : 'Roo.bootstrap',
+            store : {
+             xtype : 'SimpleStore',
+             data : [
+                 ['1', 'Approve'],
+                 ['-1', 'Reject']
+             ],
+             fields : [ 'code', 'value' ],
+             xns : Roo.data,
+             '|xns' : 'Roo.data'
+            }
+           }
+          ]
+         }
+        ]
+       },
        {
         xtype : 'Row',
         xns : Roo.bootstrap,
@@ -277,7 +325,7 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, {
         items  : [
          {
           xtype : 'Column',
-          xs : 8,
+          xs : 12,
           xns : Roo.bootstrap,
           '|xns' : 'Roo.bootstrap',
           items  : [