/*
 * @Description: 下拉选项用共通js
 * @Version: 1.0
 * @Autor: caiyang
 * @Date: 2020-06-04 08:36:18
 * @LastEditors: caiyang
 * @LastEditTime: 2021-08-25 08:00:33
 */
const selectUtil = {

}

// 红色记忆
selectUtil.userTypeName=[
    {value:"长期工",label:"长期工"},
    {value:"固定工",label:"固定工"},
    {value:"临时工1",label:"临时工1"},
    {value:"临时工2",label:"临时工2"},
    {value:"临时工3",label:"临时工3"},
    {value:"临时工4",label:"临时工4"},
]
selectUtil.workerTypeName=[
    {value:"厂长",label:"厂长"},
    {value:"组长",label:"组长"},
    {value:"车位",label:"车位"},
]
selectUtil.userStatus=[
    {value:"在职",label:"在职"},
    {value:"离职[存档]",label:"离职(存档)"},
    {value:"离职[除档]",label:"离职(除档)"},
]
selectUtil.userSex=[
    {value:"woman",label:"男"},
    {value:"man",label:"女"},
]
selectUtil.positionName=[
    {value:"厂长",label:"厂长"},
    {value:"经理",label:"经理"},
    {value:"主管",label:"主管"},
    {value:"组长",label:"组长"},
    {value:"员工",label:"员工"},
    {value:"前后片",label:"前后片"},
]
//常规
selectUtil.datasourceType=[
    {value:"1",label:"mysql"},
    {value:"3",label:"sqlServer"},
]
selectUtil.yesNo=[
    {value:"1",label:"是"},
    {value:"2",label:"否"},
]
selectUtil.menuAccessRule=[
    {value:"1",label:"登录后访问"},
    {value:"2",label:"登陆并授权后访问"},
]
selectUtil.apiAccessRule=[
    {value:"1",label:"公开访问"},
    {value:"2",label:"登录后访问"},
    {value:"3",label:"登录后并授权访问"},
]
selectUtil.textAlign=[
    {value:"left",label:"左对齐"},
    {value:"center",label:"居中对齐"},
    {value:"right",label:"右对齐"},
]

selectUtil.verticalAlign=[
    {value:"top",label:"顶端对齐"},
    {value:"middle",label:"垂直居中"},
    {value:"bottom",label:"底端对齐"},
]

selectUtil.fontWeight=[
    {value:"normal",label:"正常"},
    {value:"bold",label:"加粗"},
]
selectUtil.resultType=[
    {value:"String",label:"字符串/数字"},
    {value:"Array",label:"数组"},
    {value:"ObjectArray",label:"对象数组"},
    {value:"Object",label:"对象"},
]

selectUtil.chartTheme=[
    {value:"dark",label:"默认"},
    {value:"dark-blue",label:"dark-blue"},
    {value:"fresh-cu",label:"fresh-cu"},
    {value:"gray",label:"gray"},
    {value:"green",label:"green"},
    {value:"macarons2",label:"macarons2"},
    {value:"red",label:"red"},
    {value:"vintage",label:"vintage"},
]

selectUtil.orient=[
    {value:"horizontal",label:"水平"},
    {value:"vertical",label:"垂直"},
]

selectUtil.labelPosition=[
    {value:"outside",label:"饼图扇区外侧"},
    {value:"inside",label:"饼图扇区内部"},
    {value:"center",label:"饼图中心位置"},
]

selectUtil.roseType=[
    {value:"",label:"普通饼图"},
    {value:"radius",label:"南丁格尔玫瑰图"},
]

selectUtil.dateFormat=[
    {value:"1",label:"年-月-日 时:分:秒"},
    {value:"2",label:"年-月-日 时:分"},
    {value:"3",label:"年-月-日"},
    {value:"4",label:"年-月"},
    {value:"5",label:"时:分:秒"},
    {value:"6",label:"时:分"},
    {value:"7",label:"星期几"},
]

selectUtil.textType=[
    {value:"text",label:"普通文本"},
    {value:"marquee",label:"滚动文本"},
    {value:"link",label:"超链接"},
]

selectUtil.gaugeIconType=[
    {value:"circle",label:"circle"},
    {value:"rect",label:"rect"},
    {value:"roundRect",label:"roundRect"},
    {value:"triangle",label:"triangle"},
    {value:"diamond",label:"diamond"},
    {value:"pin",label:"pin"},
    {value:"arrow",label:"arrow"},
    {value:"none",label:"none"},
]

selectUtil.hyperLinkType=[
    {value:"1",label:"报表"},
    {value:"2",label:"大屏"},
    {value:"3",label:"外部链接"},
]

selectUtil.hyperLinkOpenType=[
    {value:"_blank",label:"新窗口"},
    {value:"_self",label:"当前窗口"},
]

export default selectUtil;
