/*
 * @Author: gj
 * @Date: 2020-06-30 08:44:28
 * @Description: 树结构列表图表
 * @FilePath: \chart-component\example\mock\treeList.js
 */
/*
 * depth == 0 颜色 #128bed
 * sign1 颜色 #fe5151
 * type决定颜色类型（1: #7985f3, 2: #4aceb1, 其他: #FB813D）
 * type 可用来进行数据类型划分，用来进行制作图例
 */
const dataTemplate = {
  id: 'id000',
  rootName: "根节点",
  children: [
    {
      id: "id001",
      isSearch: "N",
      sign1: "标签1",
      sign2: '标签2',
      sign3: '标签3',
      name: "节点1",
      key1: '说明1',
      value1: '说明1内容',
      key2: '说明2',
      value2: '说明2内容',
      type: 2
    },
    {
      id: "id002",
      isSearch: "Y",
      name: "节点2",
      key1: '说明1',
      value1: '说明1内容',
      key2: '说明2',
      value2: '说明2内容',
      type: 1
    },
    {
      id: "id003",
      isSearch: "N",
      sign3: '标签3',
      name: "节点3",
      key1: '说明1',
      value1: '说明1内容',
      key2: '说明2',
      value2: '说明2内容',
      type: 2
    },
    {
      id: "id004",
      isSearch: "N",
      name: "节点4",
      key1: '说明1',
      value1: '说明1内容',
      key2: '说明2',
      value2: '说明2内容',
      type: 3
    }
  ]
}