123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- {
- "viewSetting": {
- "html": "<table width='100%' border='0' cellpadding='5' cellspacing='0' styles='editTable'></table>"
- },
- "headSetting": {
- "html": "<tr styles='viewHeadNode'></tr>"
- },
- "documentSetting": {
- "html": "<tr styles='documentNode'></tr>",
- "mouseoverStyles": "documentNode_over",
- "action": "open"
- },
- "items": [
- // {
- // "name": "$checkbox",
- // "head": {
- // "html": "<th styles='normalThNode'></th>",
- // "width": "5%"
- // },
- // "content": {
- // "html": "<td styles='normalTdNode'></td>",
- // //"condition": "function(d){ return d.status==0 ? true : false }",
- // "value": ""
- // }
- // },
- {
- "name": "roleType",
- "head": {
- "html": "<th styles='normalThNode' lable='roleType'></th>",
- "width": "10%"
- },
- "content": {
- "html": "<td styles='normalTdCenterNode' item='roleType'></td>",
- "items": {
- "roleType" : {}
- }
- }
- },
- {
- "name": "roleName",
- "head": {
- "html": "<th styles='normalThNode' lable='roleName'></th>",
- "width": "20%"
- },
- "content": {
- "html": "<td styles='normalTdCenterNode' item='roleName'></td>",
- "items": {
- "roleName" : {}
- }
- }
- },
- {
- "name": "roleCode",
- "head": {
- "html": "<th styles='normalThNode' lable='roleCode'></th>",
- "width": "20%"
- },
- "content": {
- "html": "<td styles='normalTdCenterNode' item='roleCode'></td>",
- "items": {
- "roleCode" : {}
- }
- }
- },
- {
- "name": "description",
- "head": {
- "html": "<th styles='normalThNode' lable='description'></th>",
- "width": "40%"
- },
- "content": {
- "html": "<td styles='normalTdCenterNode' item='description'></td>",
- "items": {
- "description" : {}
- }
- }
- },
- {
- //"access": "admin",
- "head": {
- "html": "<th styles='normalThNode' lable='action'></th>",
- "width": "20%"
- },
- "content": {
- "html": "<td styles='normalTdCenterNode'>" +
- " <span styles='documentActionNode' item='action_comfirm'></span>" +
- " <span styles='documentActionNode' item='remove'></span>" +
- "</td>",
- "items": {
- "action_edit": {
- //"access": "admin",
- "title": "edit",
- "text": "edit",
- "action": "action_edit",
- "styles": "documentActionNode",
- "mouseoverStyles": "documentActionNode_over",
- "mousedownStyles": "documentActionNode_down"
- },
- "remove": {
- "title": "remove",
- "text": "remove",
- "action": "remove",
- "condition": "function( d ){ return true }",
- "styles": "documentActionNode",
- "mouseoverStyles": "documentActionNode_over",
- "mousedownStyles": "documentActionNode_down"
- }
- }
- }
- }
- ]
- }
|