module.exports={
  "bizName":"apps",
  "list":{
    columnMetaData:[
      {"width":"100","label":"模板名称","prop":"name","isShowTip":true,"isTmpl":false},
      {"width":"200","label":"所属企业","prop":"ecompany.name","isShowTip":true,"isTmpl":false},
      {"width":"200","label":"是否启用","prop":"isEnabled","isShowTip":true,"isTmpl":false},
      {"width":"200","label":"e签宝模板key","prop":"filekey","isShowTip":true,"isTmpl":false},
      {"width":"50","label":"","prop":"other","isShowTip":true,"pos":"left","isTmpl":true,isOther:true,"type":"expand"},
      {"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":"true"},
    ]
  },

  "form":[
    {
      "title":"模板名称",
      "validProp":"name",
      "rule": [
           { "required": true, "message": '请输入模板名称', "trigger": 'blur' },
       ],
       ctls:[
         {"type":"input","label":"模板名称","prop":"name","placeHolder":"模板名称","style":""},
       ]
    },
    {
      "title":"所属企业",
      "rule": [
           { "required": true, "message": '请选择所属企业', "trigger": 'blur' },
       ],
       ctls:[
         {"type":"select","refModel":"ecompany","isMulti":false,"label":"所属企业","placeHolder":"请输入关键字查询","prop":"ecompany_id","labelField":"name","valueField":"id","style":"","autoComplete":"true","isFilter":"true"},
       ]
    },
    {
      "title":"是否启用",
      "ctls":[
          {"type":"switch","prop":"isEnabled","acText":"启用","inactText":"不启用","placeHolder":" ","style":""},
      ]
    },
    {
      "title":"模板文件",
      "validProp":"filepath",
      "rule": [
           { "required": true, "message": '请上传模板', "trigger": 'blur' },
       ],
       ctls:[
         {"type":"upload","label":"模板文件","prop":"filepath","placeHolder":"模板文件","style":""},
       ]
    },
    {
      "title":"模板占位信息",
       "ctls":[
         {"type":"textarea","label":"模板占位信息","prop":"placeholderkey","placeHolder":"模板占位信息","style":""},
       ]
    },
    {
      "title":"e签宝模板key",
       ctls:[
         {"type":"input","label":"模板名称","prop":"filekey","placeHolder":"模板名称","style":"","disabled":true},
       ]
    }
  ],
  "search":[
    {
      "title":"模板名称",
       ctls:[
         {"type":"input","label":"模板名称","prop":"name","placeHolder":"模板名称","style":""},
       ]
    },
    {
      "title":"所属企业",
       ctls:[
         {"type":"select","refModel":"ecompany","isMulti":false,"label":"项目渠道","prop":"ecompany_id","labelField":"name","valueField":"id","style":""},
       ]
    }
  ],
  "auth":{
    "add":[
      {"icon":"el-icon-plus","title":"新增","type":"default","key":"new","isOnGrid":true},
      {"icon":"el-icon-save","title":"保存","type":"default","key":"mysave","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},
    ],
  }
}
