module.exports = {
    "list": {
         columnMetaData: [
              { "width": "100", "label": "网站名称", "prop": "name", "isShowTip": true, "isTmpl": false },
              { "width": "100", "label": "编码", "prop": "code", "isShowTip": true, "isTmpl": false },
              { "width": "100", "label": "网站链接", "prop": "url", "isShowTip": true, "isTmpl": false },
              { "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": "input", "label": "编码", "prop": "code", "placeHolder": "编码", "style": "", disabled: true, rules: [{ "required": true, "message": '请输入编码', "trigger": 'blur' },] },
                {"type":"input","label":"网站链接","prop":"url","placeHolder":"请输入网站链接","style":"",rules:[ { "required": true, "message": '请输入网站链接', "trigger": 'blur' },]},
                {"type":"input","label":"网站描述","prop":"description","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 },
              // { "icon": "el-icon-edit", "title": "数据授权", "type": "default", "key": "datapriv", "isInRow": true },

         ],
         "delete": [
            //   { "icon": "el-icon-edit", "title": "停用", "type": "default", "key": "stopUser", "isInRow": true, "boolProp": "isEnabled", "falseText": "启用" },
              { "icon": "el-icon-remove", "title": "删除", "type": "default", "key": "delete", "isInRow": true },

         ],
         "common": [
              { "icon": "el-icon-cancel", "title": "取消", "type": "default", "key": "cancel", "isOnForm": true },
         ],
    }
}
