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":"基本信息",
      "colnum": 2,
      ctls:[
        {"type":"input","label":"模板名称","prop":"name","placeHolder":"模板名称","style":"","rules": [{ "required": true, "message": '请输入模板名称', "trigger": 'blur' }]},
        {"type":"select","label":"所属企业","refModel":"ecompany","isMulti":false,"label":"所属企业","placeHolder":"请输入关键字查询","prop":"ecompany_id","labelField":"name","valueField":"id","style":"","autoComplete":"true","isFilter":"true", "rule": [{ "required": true, "message": '请选择所属企业', "trigger": 'blur' }]},
        {"type":"switch","prop":"isEnabled","acText":"启用","inactText":"不启用","placeHolder":" ","style":""},
        

        {"type":"textarea","label":"模板占位信息","prop":"placeholderkey","placeHolder":"模板占位信息","style":""},
        {"type":"input","label":"模板名称","prop":"filekey","placeHolder":"模板名称","style":"","disabled":true},

        {"type":"upload","label":"模板文件","prop":"filepath","placeHolder":"模板文件","style":"","rule": [{ "required": true, "message": '请上传模板', "trigger": 'blur' }]},
      ]
    },
  ],
  "search":[
    {
      "title":"",
       ctls:[
         {"type":"input","label":"模板名称","prop":"name","placeHolder":"模板名称","style":""},
       ]
    },
  ],
  "search":[
    {
      "title":"",
        ctls:[
          {"type":"input","label":"模板名称","prop":"name","placeHolder":"请输入模板名称","style":""},
          {"type":"select","label":"所属企业","refModel":"ecompany","isMulti":false,"label":"所属企业","placeHolder":"请输入关键字查询","prop":"ecompany_id","labelField":"name","valueField":"id","style":"","autoComplete":"true","isFilter":"true"},
        ]
    },
  ],
  "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},
    ],
  }
}
