Pman.Dialog.VerifyAccess.bjs
[Pman.Core] / Pman.Dialog.VerifyAccess.js
index 53fb50f..b6290a7 100644 (file)
@@ -263,36 +263,56 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, {
             rows : 3,
             xns : Roo.bootstrap,
             '|xns' : 'Roo.bootstrap'
-           },
+           }
+          ]
+         }
+        ]
+       },
+       {
+        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 : 'Row',
+            xtype : 'ComboBox',
+            allowBlank : false,
+            displayField : 'value',
+            editable : false,
+            hiddenName : 'status',
+            mode : 'local',
+            name : 'status_name',
+            triggerAction : 'all',
+            valueField : 'code',
             listeners : {
-             render : function (_self)
+             select : function (combo, record, index)
               {
-                  _this.row_pwd_label = _self;
+                  
               }
             },
             xns : Roo.bootstrap,
             '|xns' : 'Roo.bootstrap',
-            items  : [
-             {
-              xtype : 'Column',
-              xs : 12,
-              xns : Roo.bootstrap,
-              '|xns' : 'Roo.bootstrap',
-              items  : [
-               {
-                xtype : 'TextArea',
-                fieldLabel : _this._strings['dfb790522fdea3859af206d32916fe77'] /* User Agent */,
-                name : 'user_agent',
-                readOnly : true,
-                rows : 3,
-                xns : Roo.bootstrap,
-                '|xns' : 'Roo.bootstrap'
-               }
-              ]
-             }
-            ]
+            store : {
+             xtype : 'SimpleStore',
+             data : [
+                 ['1', 'Approve'],
+                 ['-1', 'Reject']
+             ],
+             fields : [ 'code', 'value' ],
+             xns : Roo.data,
+             '|xns' : 'Roo.data'
+            }
            }
           ]
          }