Pman.Dialog.VerifyAccess.bjs
authoredward <edward@roojs.com>
Thu, 15 Feb 2018 04:53:08 +0000 (12:53 +0800)
committeredward <edward@roojs.com>
Thu, 15 Feb 2018 04:53:08 +0000 (12:53 +0800)
Pman.Dialog.VerifyAccess.js

Pman.Dialog.VerifyAccess.bjs
Pman.Dialog.VerifyAccess.js

index ac38e51..1b23d9a 100644 (file)
          "$ xns" : "Roo.bootstrap",
          "items" : [
           {
-           "listeners" : {
-            "select" : "function (combo, record, index)\n{\n    \n}"
-           },
-           "Boolean allowBlank" : false,
-           "Boolean selectOnFocus" : true,
-           "String name" : "status_name",
-           "String mode" : "local",
-           "String valueField" : "code",
-           "Boolean editable" : false,
-           "xtype" : "ComboBox",
-           "String triggerAction" : "all",
-           "string fieldLabel" : "Action",
-           "Boolean alwaysQuery" : true,
-           "$ xns" : "Roo.bootstrap",
-           "String/Roo.Template tpl" : "<div class=\"roo-select2-result\"><b>{value}</b></div>",
-           "String hiddenName" : "status",
-           "String displayField" : "value",
-           "String indicatorpos" : "right",
-           "Boolean forceSelection" : true,
-           "items" : [
-            {
-             "$ string data" : "[\n    ['1', 'Approve'],\n    ['-2', 'Temporary'],\n    ['-1', 'Reject']\n] ",
-             "xtype" : "SimpleStore",
-             "$ xns" : "Roo.data",
-             "$ fields" : "[ 'code', 'value' ]",
-             "* prop" : "store"
-            }
-           ]
+           "xtype" : "DateField",
+           "$ xns" : "Roo.bootstrap"
           }
          ]
         }
index d90f2a5..c2ef85e 100644 (file)
@@ -253,40 +253,9 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, {
           '|xns' : 'Roo.bootstrap',
           items  : [
            {
-            xtype : 'ComboBox',
-            allowBlank : false,
-            alwaysQuery : true,
-            displayField : 'value',
-            editable : false,
-            fieldLabel : _this._strings['004bf6c9a40003140292e97330236c53'] /* Action */,
-            forceSelection : true,
-            hiddenName : 'status',
-            indicatorpos : 'right',
-            mode : 'local',
-            name : 'status_name',
-            selectOnFocus : true,
-            tpl : '<div class=\"roo-select2-result\"><b>{value}</b></div>',
-            triggerAction : 'all',
-            valueField : 'code',
-            listeners : {
-             select : function (combo, record, index)
-              {
-                  
-              }
-            },
+            xtype : 'DateField',
             xns : Roo.bootstrap,
-            '|xns' : 'Roo.bootstrap',
-            store : {
-             xtype : 'SimpleStore',
-             data : [
-                 ['1', 'Approve'],
-                 ['-2', 'Temporary'],
-                 ['-1', 'Reject']
-             ],
-             fields : [ 'code', 'value' ],
-             xns : Roo.data,
-             '|xns' : 'Roo.data'
-            }
+            '|xns' : 'Roo.bootstrap'
            }
           ]
          }