| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149 |
- {
- "viewSetting": {
- "html": "<table width='100%' border='0' cellpadding='5' cellspacing='0' styles='editTable'></table>"
- },
- "headSetting": {
- "html": "<tr styles='viewHeadNode'></tr>"
- },
- "documentSetting": {
- "html": "<tr styles='documentDeployNode'></tr>",
- //"mouseoverStyles": "documentNode_over",
- "action": "open"
- },
- "items": [
- {
- "name": "subject",
- "head": {
- "html": "<th styles='normalThNode' lable='shortWorkDetail'></th>",
- "width": "40%"
- },
- "content": {
- "html": "<td styles='parentWorkTdNode' subStyles='subWorkTdNode'>" +
- " <div item='workDetail' title='workDetail'></div>" +
- "</td>",
- "items": {
- "title": {"value" : "function(d){ return d.workOrCenter=='CENTER'?d.centerTitle:d.title }"},
- "workDetail": {"value" : "function(d){ return d.workOrCenter=='CENTER'?d.centerTitle:d.title }"},
- "centerTitle":{}
- }
- }
- },
- {
- "name": "relativeDepartment",
- "head": {
- "html": "<th styles='normalThNode' lable='relativeDepartment'></th>",
- "width": "20%"
- },
- "content": {
- "html": "<td styles='normalTdNode' width='20%'>" +
- " <div styles='itemBlock'><div styles='itemInLine' lable='dutyDepartent' colon='true'></div><div styles='itemInLine' item='responsibilityUnitName'></div></div>" +
- " <div styles='itemBlock'><div styles='itemInLine' lable='doDepartment' colon='true'></div><div styles='itemInLine' item='deployerUnitName'></div></div>" +
- " <div styles='itemBlock'><div styles='itemInLine' lable='secondDepartment' colon='true'></div><div styles='itemInLine' item='cooperateUnitNameList'></div></div>" +
- "</td>",
- "items": {
- "responsibilityUnitName": {
- },
- "deployerUnitName": {
- },
- "cooperateUnitNameList": {
- }
- }
- }
- },
- {
- "name": "relativePerson",
- "head": {
- "html": "<th styles='normalThNode' lable='relativePerson'></th>",
- "width": "15%"
- },
- "content": {
- "html": "<td styles='normalTdNode' width='15%'>" +
- " <div styles='itemBlock'><div styles='itemInLine' lable='dutyPerson' colon='true'></div><div styles='itemInLine' item='responsibilityEmployeeName'></div></div>" +
- " <div styles='itemBlock'><div styles='itemInLine' lable='doPerson' colon='true'></div><div styles='itemInLine' item='deployerName'></div></div>" +
- " <div styles='itemBlock'><div styles='itemInLine' lable='secondPerson' colon='true'></div><div styles='itemInLine' item='cooperateEmployeeNameList'></div></div>" +
- "</td>",
- "items": {
- "responsibilityEmployeeName": {
- //"value":"function(d){return '2222222222222222'}"
- },
- "deployerName": {
- //"value":"function(d){return d.deployerName.split('@')[0]}"
- },
- "cooperateEmployeeNameList": {
- }
- }
- }
- },
- {
- "name": "timeLimit",
- "head": {
- "html": "<th styles='normalThNode' lable='timeLimit'></th>",
- "width": "15%"
- },
- "content": {
- "html": "<td styles='normalTdCenterNode' item='completeDateLimitStr' width='15%'></td>",
- "items": {
- "completeDateLimitStr" : {}
- }
- }
- },
- {
- "name": "action",
- "head": {
- "html": "<th styles='normalThNode' lable='action'></th>",
- "width": "10%"
- },
- "content": {
- "html": "<td styles='normalTdCenterNode' width='10%' actionTd='yes'>" +
- // " <span styles='documentActionNode' lable='action_view' item='action_view'></span>" +
- // " <span styles='documentActionNode' lable='action_edit' item='action_edit'></span>" +
- // " <span styles='documentActionNode' lable='action_delete' item='action_delete'></span>" +
- "</td>",
- "items": {
- "action_view": {
- //"access": "admin",
- "title": "action_view",
- "text": "action_view",
- "action": "action_view",
- "condition": "function( d ){ return this.editActionReturn(d) }",
- "styles": "documentActionNode",
- "mouseoverStyles": "documentActionNode_over",
- "mousedownStyles": "documentActionNode_down"
- },
- "action_edit": {
- //"access": "admin",
- "title": "action_edit",
- "text": "action_edit",
- "action": "action_edit",
- "condition": "function( d ){ return this.editActionReturn(d) }",
- "styles": "documentActionNode",
- "mouseoverStyles": "documentActionNode_over",
- "mousedownStyles": "documentActionNode_down"
- },
- "action_archive": {
- "title": "action_archive",
- "text": "action_archive",
- "action": "action_archive",
- "condition": "function( d ){ return this.archiveActionReturn(d) }",
- "styles": "documentActionNode",
- "mouseoverStyles": "documentActionNode_over",
- "mousedownStyles": "documentActionNode_down"
- },
- "action_delete": {
- "title": "action_delete",
- "text": "action_delete",
- "action": "action_delete",
- "condition": "function( d ){ return this.removeActionReturn(d) }",
- "styles": "documentActionNode",
- "mouseoverStyles": "documentActionNode_over",
- "mousedownStyles": "documentActionNode_down"
- }
- }
- }
- }
- ]
- }
|