module.exports={
  "bizName":"formtomail",
  "list":{
    columnMetaData:[
      {"width":"200","label":"项目操作码","prop":"code","isShowTip":true,"isTmpl":false},
      {"width":"200","label":"材料类型","prop":"typename","isShowTip":true,"isTmpl":false},
      {"width":"200","label":"材料名称","prop":"name","isShowTip":true,"isTmpl":false},
      {"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":"true"},
    ]
  },
  "form":[
    {
      "title":"编码",
      "validProp":"code",
      "rule": [
           { "required": true, "message": '请输入编码', "trigger": 'blur' },
       ],
       "ctls":[
         {"type":"input","label":"项目操作码","prop":"code","placeHolder":"请输入编码","style":""},
       ]
    },
    {
       "title":"材料类型",
       "validProp":"fileType",
       "rule": [
            { "required": true, "message": '请选择类型', "trigger": 'blur' },
        ],
        "ctls":[
          {"type":"select","dicKey":"productCata","prop":"fileType","labelField":"label","valueField":"value","style":""},
        ]
     },
     {
       "title":"附件名称",
       "validProp":"name",
       "rule": [
            { "required": true, "message": '请输入附件名称', "trigger": 'blur' },
        ],
        "ctls":[
          {"type":"input","label":"项目操作码","prop":"name","placeHolder":"请输入附件名称","style":""},
        ]
     },
     {
       "title":"文件路径",
        "ctls":[
          {"type":"upload","label":"文件路径","prop":"filepath","placeHolder":"请输入文件附件路径","style":""},
        ]
     },

  ],
  "search":[
    {
      "title":"项目名称",
       ctls:[
         {"type":"input","label":"项目名称","prop":"name","placeHolder":"请输入项目名称","style":""},
       ]
    },
  ],
  "auth":{
    "add":[
      {"icon":"el-icon-plus","title":"新增","type":"default","key":"new","isOnGrid":true},
      {"icon":"el-icon-save","title":"保存","type":"default","key":"save","isOnForm":true},
    ],
    "edit":[
      {"icon":"el-icon-edit","title":"修改","type":"default","key":"edit","isInRow":true},
    ],
    "delete":[
      {"icon":"el-icon-remove","title":"删除","type":"default","key":"delete","isInRow":true},
    ],
    "common":[
      {"icon":"el-icon-cancel","title":"取消","type":"default","key":"cancel","isOnForm":true},
    ],
  }
}
