export const layout = {
  '创建': '0',
  '编辑': '1',
  '详情信息': '2',
  '流程任务': '3',
  '主题': '4',
  '查看': '5',
  '列表查看': '6'
}

export const mainUrl = [
  {
    url: '/icons/3DViewer/zst.png',
    name: '视图管理',
    eveUrl: [
      {
        url: '/icons/3DViewer/dst.png',
        name: '顶视图',
        func: 'showTop'
      },
      {
        url: '/icons/3DViewer/bottomst.png',
        name: '底视图',
        func: 'showBottom'
      },
      {
        url: '/icons/3DViewer/qst.png',
        name: '前视图',
        func: 'showFront'
      },
      {
        url: '/icons/3DViewer/hst.png',
        name: '后视图',
        func: 'showBack'
      },
      {
        url: '/icons/3DViewer/lst.png',
        name: '左视图',
        func: 'showLeft'
      },
      {
        url: '/icons/3DViewer/yst.png',
        name: '右视图',
        func: 'showRight'
      },
      {
        url: '/icons/3DViewer/zst.png',
        name: '主视图',
        func: 'showMain'
      }
    ]
  },
  {
    url: '/icons/3DViewer/mx.png',
    name: '模型操作',
    eveUrl: [
      {
        url: '/icons/3DViewer/ys.png',
        name: '设置模型颜色',
        func: 'setModelColorByRGB'
      },
      {
        url: '/icons/3DViewer/czys.png',
        name: '重置模型颜色',
        func: 'restoreModelColor'
      },
      {
        url: '/icons/3DViewer/tm.png',
        name: '设置模型透明',
        func: 'setModelAlpha'
      },
      {
        url: '/icons/3DViewer/qxtm.png',
        name: '取消透明',
        func: 'restoreModelAlpha'
      },
      {
        url: '/icons/3DViewer/ss.png',
        name: '设置模型闪烁',
        func: 'setModelFlicker'
      },
      {
        url: '/icons/3DViewer/qxss.png',
        name: '取消模型闪烁',
        func: 'stopModelFlicker'
      },
      {
        url: '/icons/3DViewer/jz.png',
        name: '居中',
        func: 'zoomFit'
      },
      {
        url: '/icons/3DViewer/bzst.png',
        name: '爆炸视图',
        func: 'explodeModels'
      }
    ]
  },
  {
    url: '/icons/3DViewer/moxingceliang.png',
    name: '模型测量',
    eveUrl: [
      {
        url: '/icons/3DViewer/jiaodu.png',
        name: '三点线角度',
        func: 'measureAngleByPoints'
      },
      {
        url: '/icons/3DViewer/banjing.png',
        name: '半径测量',
        func: 'measureRadius'
      },
      {
        url: '/icons/3DViewer/tiji.png',
        name: '体积测量',
        func: 'measureVolume'
      },
      {
        url: '/icons/3DViewer/mianji.png',
        name: '面积测量',
        func: 'measureArea'
      },
      {
        url: '/icons/3DViewer/zuobiao.png',
        name: '坐标测量',
        func: 'measurePoint'
      },
      {
        url: '/icons/3DViewer/quxiaoceliang.png',
        name: '结束测量',
        func: 'diameterSurveying'
      }
    ]
  },
  {
    url: '/icons/3DViewer/juliceliang.png',
    name: '最短距离测量',
    eveUrl: [
      {
        url: '/icons/3DViewer/dianju.png',
        name: '点点测量',
        func: 'pointToPoint'
      },
      {
        url: '/icons/3DViewer/xianju.png',
        name: '点线测量',
        func: 'lineToLine'
      },
      {
        url: '/icons/3DViewer/mianju.png',
        name: '点面测量',
        func: 'faceToFace'
      },
      {
        url: '/icons/3DViewer/tiju.png',
        name: '线线测量',
        func: 'volumeToVolume '
      },
      {
        url: '/icons/3DViewer/quxiaoceliang.png',
        name: '取消测量',
        func: 'diameterSurveying'
      }
    ]
  },
  {
    url: '/icons/3DViewer/bzgl.png',
    name: '标注',
    eveUrl: [
      {
        url: '/icons/3DViewer/fxbz.png',
        name: '方形标注',
        func: 'rectMarkWithPanel'
      },
      {
        url: '/icons/3DViewer/yxbz.png',
        name: '圆形标注',
        func: 'circleMarkWithPanel'
      },
      {
        url: '/icons/3DViewer/zyqz.png',
        name: '自由圈注',
        func: 'polygonMarkWithPanel'
      },
      {
        url: '/icons/3DViewer/wzbz.png',
        name: '文字标注',
        func: 'textMark'
      },
      {
        url: '/icons/3DViewer/jtbz.png',
        name: '箭头标注',
        func: 'arrowMarkWithPanel'
      },
      {
        url: '/icons/3DViewer/tyxbz.png',
        name: '椭圆形标注',
        func: 'ellipseMarkWithPanel'
      },
      {
        url: '/icons/3DViewer/zdbxbz.png',
        name: '正多边形标注',
        func: 'regularPolygonMarkWithPanel'
      },
      {
        url: '/icons/3DViewer/tcbz.png',
        name: '退出标注',
        func: 'endMark'
      },
      {
        url: '/icons/3DViewer/scbz.png',
        name: '删除标注',
        func: 'deleteSelectMark'
      }
    ]
  }, {
    url: '/icons/3DViewer/xtpz.png',
    name: '系统配置',
    eveUrl: [
      {
        url: '/icons/3DViewer/lkxs.png',
        name: '轮廓显示/隐藏',
        func: 'setOutlineVisible'
      },
      {
        url: '/icons/3DViewer/lkys.png',
        name: '设置轮廓颜色',
        func: 'setOutlineColor'
      },
      {
        url: '/icons/3DViewer/lkkd.png',
        name: '设置轮廓宽度',
        func: 'setOutlineWidth'
      },
      {
        url: '/icons/3DViewer/bjys.png',
        name: '设置背景颜色',
        func: 'setBackground'
      },
      {
        url: '/icons/3DViewer/bjys.png',
        name: '重置背景颜色',
        func: 'resetBackground'
      },
      {
        url: '/icons/3DViewer/dgsz.png',
        name: '灯光设置',
        func: 'setAmbientLight'
      }
    ]
  },
  {
    url: '/icons/3DViewer/bq.png',
    name: '标签',
    eveUrl: [
      {
        url: '/icons/3DViewer/wzbq.png',
        name: '文字标签',
        func: 'setModelTextLabel'
      },
      {
        url: '/icons/3DViewer/ycwzbq.png',
        name: '移除文字标签',
        func: 'removeModelTextLabelByIDs'
      },
      {
        url: '/icons/3DViewer/txbq.png',
        name: '图像标签',
        func: 'setModelImageLabel'
      },
      {
        url: '/icons/3DViewer/yctxbq.png',
        name: '移除图像标签',
        func: 'removeModelImageLabelByIDs'
      },
      {
        url: '/icons/3DViewer/html.png',
        name: 'html标签',
        func: 'setModelAnyLabel'
      },
      {
        url: '/icons/3DViewer/ychtml.png',
        name: '移除html标签',
        func: 'removeModelAnyLabelByIDs'
      }
    ]
  },
  {
    url: '/icons/3DViewer/pq.png',
    name: '剖切',
    eveUrl: [
      {
        url: '/icons/3DViewer/xypq.png',
        name: 'xy平面剖切',
        func: 'clipXY'
      },
      {
        url: '/icons/3DViewer/xzpq.png',
        name: 'xz平面剖切',
        func: 'clipXZ'
      },
      {
        url: '/icons/3DViewer/yzpq.png',
        name: 'yz平面剖切',
        func: 'clipYZ'
      },
      {
        url: '/icons/3DViewer/fxpq.png',
        name: '平面法线剖切',
        func: 'planeNormal'
      },
      {
        url: '/icons/3DViewer/zxzdpq.png',
        name: '直线中点剖切',
        func: 'midpointOfLine'
      },
      {
        url: '/icons/3DViewer/pqh.png',
        name: '剖切盒',
        func: 'startBoxClip'
      },
      {
        url: '/icons/3DViewer/qxpq.png',
        name: '取消剖切',
        func: 'endClip'
      }
    ]
  }
]