stereo720712 / 2017_frontend_js-flowchart-demo Goto Github PK
View Code? Open in Web Editor NEWtest
test
JsonTemplate:
{
"nodeList": [
{
"nodeID": "n309",
"title": "开始",
"typeCode": "C001",
"fCode": ""
},
{
"nodeID": "n307",
"title": "用户取消",
"typeCode": "C007",
"fCode": ""
},
{
"nodeID": "n306",
"title": "SW部级终止",
"typeCode": "C002",
"fCode": ""
},
{
"nodeID": "n305",
"title": "SW课级终止",
"typeCode": "C002",
"fCode": ""
},
{
"nodeID": "n304",
"title": "EPM终止",
"typeCode": "C002",
"fCode": ""
},
{
"nodeID": "n303",
"title": "EPM_FAS终止",
"typeCode": "C002",
"fCode": ""
},
{
"nodeID": "n302",
"title": "EPM_IBQS终止",
"typeCode": "C002",
"fCode": ""
},
{
"nodeID": "n301",
"title": "部级终止",
"typeCode": "C002",
"fCode": ""
},
{
"nodeID": "n300",
"title": "课级终止",
"typeCode": "C002",
"fCode": ""
},
{
"nodeID": "n299",
"title": "结束",
"typeCode": "C006",
"fCode": ""
},
{
"nodeID": "n298",
"title": "SW经办",
"typeCode": "C005",
"fCode": ""
},
{
"nodeID": "n297",
"title": "SW部级签核",
"typeCode": "C003",
"fCode": ""
},
{
"nodeID": "n296",
"title": "SW课级签核",
"typeCode": "C003",
"fCode": ""
},
{
"nodeID": "n295",
"title": "EPM择签",
"typeCode": "C003",
"fCode": ""
},
{
"nodeID": "n294",
"title": "EPM_FAS签核",
"typeCode": "C003",
"fCode": ""
},
{
"nodeID": "n293",
"title": "EPM_IBQS签核",
"typeCode": "C003",
"fCode": ""
},
{
"nodeID": "n292",
"title": "系统判断",
"typeCode": "C004",
"fCode": ""
},
{
"nodeID": "n291",
"title": "部级签核",
"typeCode": "C003",
"fCode": ""
},
{
"nodeID": "n290",
"title": "课级签核",
"typeCode": "C003",
"fCode": ""
}
],
"pathList": [
{
"linkID": "397",
"fromOperator": "297",
"toOperator": "306",
"fCondition": "拒绝"
},
{
"linkID": "396",
"fromOperator": "296",
"toOperator": "305",
"fCondition": "拒绝"
},
{
"linkID": "395",
"fromOperator": "295",
"toOperator": "304",
"fCondition": "拒绝"
},
{
"linkID": "394",
"fromOperator": "294",
"toOperator": "303",
"fCondition": "拒绝"
},
{
"linkID": "393",
"fromOperator": "293",
"toOperator": "302",
"fCondition": "拒绝"
},
{
"linkID": "392",
"fromOperator": "291",
"toOperator": "301",
"fCondition": "拒绝"
},
{
"linkID": "391",
"fromOperator": "290",
"toOperator": "300",
"fCondition": "拒绝"
},
{
"linkID": "390",
"fromOperator": "298",
"toOperator": "299",
"fCondition": "完成"
},
{
"linkID": "389",
"fromOperator": "297",
"toOperator": "298",
"fCondition": "同意"
},
{
"linkID": "388",
"fromOperator": "296",
"toOperator": "297",
"fCondition": "同意"
},
{
"linkID": "387",
"fromOperator": "295",
"toOperator": "296",
"fCondition": "同意"
},
{
"linkID": "386",
"fromOperator": "294",
"toOperator": "296",
"fCondition": "同意"
},
{
"linkID": "385",
"fromOperator": "293",
"toOperator": "296",
"fCondition": "同意"
},
{
"linkID": "384",
"fromOperator": "292",
"toOperator": "295",
"fCondition": "Others"
},
{
"linkID": "383",
"fromOperator": "292",
"toOperator": "294",
"fCondition": "FAS"
},
{
"linkID": "382",
"fromOperator": "292",
"toOperator": "293",
"fCondition": "IBQS"
},
{
"linkID": "381",
"fromOperator": "291",
"toOperator": "292",
"fCondition": "同意"
},
{
"linkID": "380",
"fromOperator": "290",
"toOperator": "291",
"fCondition": "同意"
},
{
"linkID": "379",
"fromOperator": "309",
"toOperator": "290",
"fCondition": "发起"
}
],
"result": "success"
}
"{
"result": "success",
"nodeList": [
{
"nodeID": "n426",
"title": "结束",
"typeCode": "C006",
"fCode": ""
},
{
"nodeID": "n425",
"title": "SW经办",
"typeCode": "C005",
"fCode": ""
},
{
"nodeID": "n424",
"title": "SW处级终止",
"typeCode": "C002",
"fCode": ""
},
{
"nodeID": "n423",
"title": "SW处级签核",
"typeCode": "C003",
"fCode": ""
},
{
"nodeID": "n422",
"title": "系统判定(外部流程)",
"typeCode": "C004",
"fCode": ""
},
{
"nodeID": "n421",
"title": "是否为内部流程(内部判断)",
"typeCode": "C004",
"fCode": ""
},
{
"nodeID": "n420",
"title": "SW部级终止",
"typeCode": "C002",
"fCode": ""
},
{
"nodeID": "n419",
"title": "SW部级签核",
"typeCode": "C003",
"fCode": ""
},
{
"nodeID": "n418",
"title": "SW课级终止",
"typeCode": "C002",
"fCode": ""
},
{
"nodeID": "n417",
"title": "SW课级签核",
"typeCode": "C003",
"fCode": ""
},
{
"nodeID": "n416",
"title": "SW PM/SW运维Leader终止",
"typeCode": "C002",
"fCode": ""
},
{
"nodeID": "n415",
"title": "SW PM/SW运维Leader签核",
"typeCode": "C003",
"fCode": ""
},
{
"nodeID": "n414",
"title": "NewXSign & XSign专案DRI终止",
"typeCode": "C002",
"fCode": ""
},
{
"nodeID": "n413",
"title": "NewXSign & XSign专案DRI签核",
"typeCode": "C003",
"fCode": ""
},
{
"nodeID": "n412",
"title": "NPITS专案DRI终止",
"typeCode": "C002",
"fCode": ""
},
{
"nodeID": "n411",
"title": "NPITS专案DRI签核",
"typeCode": "C003",
"fCode": ""
},
{
"nodeID": "n410",
"title": "Diag主管终止",
"typeCode": "C002",
"fCode": ""
},
{
"nodeID": "n409",
"title": "Diag主管签核",
"typeCode": "C003",
"fCode": ""
},
{
"nodeID": "n408",
"title": "Diag DRI终止",
"typeCode": "C002",
"fCode": ""
},
{
"nodeID": "n407",
"title": "Diag DRI签核",
"typeCode": "C003",
"fCode": ""
},
{
"nodeID": "n406",
"title": "IPS专案主管终止",
"typeCode": "C002",
"fCode": ""
},
{
"nodeID": "n405",
"title": "IPS专案主管签核",
"typeCode": "C003",
"fCode": ""
},
{
"nodeID": "n404",
"title": "IPS专案DRI终止",
"typeCode": "C002",
"fCode": ""
},
{
"nodeID": "n403",
"title": "IPS专案DRI签核",
"typeCode": "C003",
"fCode": ""
},
{
"nodeID": "n402",
"title": "TCMS专案主管终止",
"typeCode": "C002",
"fCode": ""
},
{
"nodeID": "n401",
"title": "TCMS专案主管签核",
"typeCode": "C003",
"fCode": ""
},
{
"nodeID": "n400",
"title": "TCMS专案DRI终止",
"typeCode": "C002",
"fCode": ""
},
{
"nodeID": "n399",
"title": "TCMS专案DRI签核",
"typeCode": "C003",
"fCode": ""
},
{
"nodeID": "n398",
"title": "IBQS专案主管终止",
"typeCode": "C002",
"fCode": ""
},
{
"nodeID": "n397",
"title": "IBQS专案主管签核",
"typeCode": "C003",
"fCode": ""
},
{
"nodeID": "n396",
"title": "IBQS专案DRI终止",
"typeCode": "C002",
"fCode": ""
},
{
"nodeID": "n395",
"title": "IBQS专案DRI择签",
"typeCode": "C003",
"fCode": ""
},
{
"nodeID": "n394",
"title": "PLAS专案主管终止",
"typeCode": "C002",
"fCode": ""
},
{
"nodeID": "n393",
"title": "PLAS专案主管签核",
"typeCode": "C003",
"fCode": ""
},
{
"nodeID": "n392",
"title": "PLAS专案DRI终止",
"typeCode": "C002",
"fCode": ""
},
{
"nodeID": "n391",
"title": "PLAS专案DRI择签",
"typeCode": "C003",
"fCode": ""
},
{
"nodeID": "n390",
"title": "NMFAS专案主管终止",
"typeCode": "C002",
"fCode": ""
},
{
"nodeID": "n389",
"title": "NMFAS专案主管签核",
"typeCode": "C003",
"fCode": ""
},
{
"nodeID": "n388",
"title": "NMFAS专案DRI终止",
"typeCode": "C002",
"fCode": ""
},
{
"nodeID": "n387",
"title": "NMFAS专案DRI择签",
"typeCode": "C003",
"fCode": ""
},
{
"nodeID": "n386",
"title": "NPFAS专案主管终止",
"typeCode": "C002",
"fCode": ""
},
{
"nodeID": "n385",
"title": "NPFAS专案主管签核",
"typeCode": "C003",
"fCode": ""
},
{
"nodeID": "n384",
"title": "NPFAS专案DRI终止",
"typeCode": "C002",
"fCode": ""
},
{
"nodeID": "n383",
"title": "NPFAS专案DRI择签",
"typeCode": "C003",
"fCode": ""
},
{
"nodeID": "n382",
"title": "SLFAS专案主管终止",
"typeCode": "C002",
"fCode": ""
},
{
"nodeID": "n381",
"title": "SLFAS专案主管签核",
"typeCode": "C003",
"fCode": ""
},
{
"nodeID": "n380",
"title": "SLFAS专案DRI终止",
"typeCode": "C002",
"fCode": ""
},
{
"nodeID": "n379",
"title": "SLFAS专案DRI择签",
"typeCode": "C003",
"fCode": ""
},
{
"nodeID": "n378",
"title": "系统应用判定",
"typeCode": "C004",
"fCode": ""
},
{
"nodeID": "n377",
"title": "处级终止",
"typeCode": "C002",
"fCode": ""
},
{
"nodeID": "n376",
"title": "处级签核",
"typeCode": "C003",
"fCode": ""
},
{
"nodeID": "n375",
"title": "是否为内部流程(外部判断)",
"typeCode": "C004",
"fCode": ""
},
{
"nodeID": "n374",
"title": "部级终止",
"typeCode": "C002",
"fCode": ""
},
{
"nodeID": "n373",
"title": "部级签核",
"typeCode": "C003",
"fCode": ""
},
{
"nodeID": "n372",
"title": "课级终止",
"typeCode": "C002",
"fCode": ""
},
{
"nodeID": "n371",
"title": "课级签核",
"typeCode": "C003",
"fCode": ""
},
{
"nodeID": "n370",
"title": "开始",
"typeCode": "C001",
"fCode": ""
}
],
"pathList": [
{
"linkID": "493",
"fromOperator": "423",
"toOperator": "424",
"fCondition": "拒绝"
},
{
"linkID": "492",
"fromOperator": "422",
"toOperator": "423",
"fCondition": "Other"
},
{
"linkID": "491",
"fromOperator": "421",
"toOperator": "422",
"fCondition": "跨处"
},
{
"linkID": "490",
"fromOperator": "419",
"toOperator": "420",
"fCondition": "拒绝"
},
{
"linkID": "489",
"fromOperator": "419",
"toOperator": "421",
"fCondition": "同意"
},
{
"linkID": "488",
"fromOperator": "417",
"toOperator": "418",
"fCondition": "拒绝"
},
{
"linkID": "487",
"fromOperator": "417",
"toOperator": "419",
"fCondition": "同意"
},
{
"linkID": "486",
"fromOperator": "415",
"toOperator": "416",
"fCondition": "拒绝"
},
{
"linkID": "485",
"fromOperator": "415",
"toOperator": "417",
"fCondition": "同意"
},
{
"linkID": "484",
"fromOperator": "413",
"toOperator": "414",
"fCondition": "拒绝"
},
{
"linkID": "483",
"fromOperator": "413",
"toOperator": "415",
"fCondition": "同意"
},
{
"linkID": "482",
"fromOperator": "378",
"toOperator": "413",
"fCondition": "NEWXSIGN"
},
{
"linkID": "481",
"fromOperator": "378",
"toOperator": "413",
"fCondition": "XSIGN"
},
{
"linkID": "480",
"fromOperator": "409",
"toOperator": "410",
"fCondition": "拒绝"
},
{
"linkID": "479",
"fromOperator": "409",
"toOperator": "415",
"fCondition": "同意"
},
{
"linkID": "478",
"fromOperator": "407",
"toOperator": "409",
"fCondition": "同意"
},
{
"linkID": "477",
"fromOperator": "378",
"toOperator": "407",
"fCondition": "SQAS"
},
{
"linkID": "476",
"fromOperator": "395",
"toOperator": "396",
"fCondition": "拒绝"
},
{
"linkID": "475",
"fromOperator": "378",
"toOperator": "395",
"fCondition": "IBQS"
},
{
"linkID": "474",
"fromOperator": "391",
"toOperator": "392",
"fCondition": "拒绝"
},
{
"linkID": "473",
"fromOperator": "378",
"toOperator": "391",
"fCondition": "PLAS"
},
{
"linkID": "472",
"fromOperator": "387",
"toOperator": "388",
"fCondition": "拒绝"
},
{
"linkID": "471",
"fromOperator": "378",
"toOperator": "387",
"fCondition": "NMFAS"
},
{
"linkID": "470",
"fromOperator": "383",
"toOperator": "384",
"fCondition": "拒绝"
},
{
"linkID": "469",
"fromOperator": "378",
"toOperator": "383",
"fCondition": "NPFAS"
},
{
"linkID": "468",
"fromOperator": "379",
"toOperator": "380",
"fCondition": "拒绝"
},
{
"linkID": "467",
"fromOperator": "378",
"toOperator": "379",
"fCondition": "SLFAS…"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.