{"table":"menuConf","attrs":{"_id":""},"dbname":"test","not_token":true}

{"table":"menuConf","attrs":{},"dbname":"test","not_token":true}




{"table":"menuConf","attrs":{"path":"/1","alwaysShow":true,"label":"1","meta":{"icon":"guide","title":"1"},"component":"Layout","redirect":"/permission/index"},"dbname":"test","not_token":true}




{"attrs":{"component":"Layout","redirect":"/permission/index","meta":{"title":}, "dbname": "test", "not_token": true, 

"table":"menuConf"}


{"table":"menuConf","attrs":{"meta":{"title":"1"},"component":"Layout","redirect":"/permission/index"},"dbname":"test","not_token":true}


http://priv.x9water.com:18080/kinder/document

1.form提交时候的内容在attrs里面，但是右侧配置attrs里面写死的内容不在里面。
解决：把右侧配置attrs里面写死的内容与form提交时候的内容合并，在attrs里面
2.form提交时候的meta.icon格式要重新改成合法的格式





1、右侧根据点击的编辑项，显示对应的组件或组件实例
2、菜单添加表单样式修改
3、编辑模式 点击 “父级菜单添加”，右侧配置定位到实例组件配置

根节点添加：5d258fa395a42dd93b7f7e7b
子菜单添加：5d2311d9a601e1becebc3105

=====================================================

父组件{table: "menuConf", attrs: {_id: "5cb9801b763f4eb14ac26261"}, dbname: "test", not_token: true}   getdocument



子组件地址：http://priv.x9water.com:18080/kinder/modifydocument

添加子组件：{"table":"menuConf","updates":{"path":"/platformMaintenance","component":"Layout","redirect":"/permission/index","alwaysShow":true,"label":"平台维护","meta":{"title":"develmentManager","icon":"guide"},"children":[{"path":"/platformMaintenance/develmentManager","name":"develmentManager","component":"/views/develmentManager/index","label":"元数据管理","meta":{"title":"develmentManager","icon":"guide"},"menuType":"mongo","tableName":"test"},{"path":"/platformMaintenance/1","component":"1","name":"1","label":"1","menuType":"native","tableName":"1","meta":{"icon":"guide","title":"1"}}]},"attrs":{"_id":"5cb9802d763f4eb14ac26262"},"dbname":"test","not_token":true}

{"attrs":{}, "dbname": "test", "not_token": true, "table":"menuConf"}


表单标准接口编辑
编辑配置
1、数据获取地址      //getdocument
1.1、接口参数配置
{"table":"menuConf","attrs":{},"dbname":"test","not_token":true}


1.2、id条件位置
attrs._id (5cb9801b763f4eb14ac26261)
attrs["_id"]

2、表单接收属性 data
3、表单接收属性索引 0
res[data][0]

{"table":"menuConf","attrs":{"_id":"5cb9801b763f4eb14ac26261"},"dbname":"test","not_token":true}


{"updates":
            this.getRouter
           ,"attrs":{
            '_id' : this.editId
           }, "dbname": "test", "not_token": true, "table":"menuConf"}



{"updates":{},"attrs":{}, "dbname": "test", "not_token": true, "table":"menuConf"}

{"attrs":{}, "dbname": "test", "not_token": true, "table":"menuConf"}



父级修改
1、实例渲染
2、传入选中对象id
3、获取数据
接口地址
接口参数【属性动态赋值，默认_id】
返回数据【默认data[0]】

4、数据放入表单
5、提交修改
6、返回信息提示


子属性修改
1、实例渲染
2、传入选中对象id
3、获取数据
接口地址
接口参数【属性动态赋值，默认_id】
返回数据【默认data[0]】

4、数据放入表单
5、提交修改
6、返回信息提示



{"table":"menuConf","updates":{"$set":{"children.$.path":"1","children.$.component":"1","children.$.name":"1","children.$.label":"1","children.$.meta.icon":"form","children.$.menuType":"native","children.$.tableName":"1"}},"attrs":{"_id":"5d26ef6df3e8f701da21e46e","children.path":""},"dbname":"test","not_token":true}



添加父级菜单实例 5d230a93a601e1becebc3101
添加子级菜单实例 5d230a98a601e1becebc3102
修改父级菜单实例 5d258fa395a42dd93b7f7e7b
修改子级菜单实例 5d2311d9a601e1becebc3105


index.vue(childUpdates
	父级菜单sidebarItem(fatherAdds、  childUpdatesCallback (
		子菜单sidebarItem  childUpdates
))

提交按钮的填写
一：事件类型:提交
提交接口地址：http://priv.x9water.com:18080/kinder/reset_filter
提交接口请求数据结构：{"not_token":true,"attrs":{}}
提交表单数据位置：attrs

二：事件类型：搜索
搜索事件名和搜索事件名随机数的填写必须与相关搜索的table中填写一致

三：事件类型：表格修改
提交接口地址：
提交接口请求数据结构：
提交表单数据位置：
修改数据获取接口地址:
修改数据获取接口请求数据结构:

三：事件类型：父菜单添加




