123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- [
- {
- "type": "MWFToolBarButton",
- "img": "close.png",
- "title": "关闭工作",
- "action": "closeWork",
- "text": "关闭",
- "id": "action_close",
- "condition": "reutrn true",
- "read": true
- },
- {
- "type": "MWFToolBarButton",
- "img": "save.png",
- "title": "保存工作",
- "action": "saveWork",
- "text": "保存",
- "control": "allowSave",
- "id": "action_saveData",
- "condition": "reutrn this.power.isEditor",
- "read": false
- },
- {
- "type": "MWFToolBarButton",
- "img": "submit.png",
- "title": "继续流转文件",
- "action": "processWork",
- "text": "继续流转",
- "control": "allowProcessing",
- "id": "action_processWork",
- "condition": "reutrn this.power.isOwner",
- "read": false
- },
- {
- "type": "MWFToolBarMenu",
- "img": "tool.png",
- "title": "管理工具",
- "action": "",
- "text": "工具",
- "id": "action_tools",
- "condition": "reutrn true",
- "read": true,
- "sub": [
- {
- "type": "MWFToolBarMenuItem",
- "img": "reroute.png",
- "title": "调度",
- "action": "rerouteWork",
- "text": "调度",
- "id": "action_reroute",
- "control": "allowReroute",
- "condition": "reutrn this.power.isManager",
- "read": true
- },
- {
- "type": "MWFToolBarMenuItem",
- "img": "reset.png",
- "title": "重置处理人",
- "action": "resetWork",
- "text": "重置处理人",
- "id": "action_reset",
- "control": "allowReset",
- "condition": "reutrn this.power.isReseter",
- "read": true
- },
- {
- "type": "MWFToolBarMenuItem",
- "img": "retract.png",
- "title": "撤回",
- "action": "retractWork",
- "text": "撤回",
- "id": "action_retract",
- "control": "allowRetract",
- "condition": "reutrn this.power.isReseter",
- "read": true
- },
- {
- "type": "MWFToolBarMenuItem",
- "img": "del.png",
- "title": "删除文件",
- "action": "deleteWork",
- "text": "删除文件",
- "id": "action_delete",
- "control": "allowDelete",
- "condition": "reutrn this.power.isDelete",
- "read": false
- },
- {
- "type": "MWFToolBarMenuItem",
- "img": "print.png",
- "title": "打印文件",
- "action": "printWork",
- "text": "打印",
- "id": "action_print",
- "control": "",
- "condition": "reutrn this.power.isPront",
- "read": true
- }
- ]
- },
- {
- "type": "MWFToolBarSeparator",
- "img": "",
- "title": "",
- "action": "",
- "text": "",
- "condition": "reutrn true",
- "read": true
- }
- ]
|