Commit a16a6876 authored by Z's avatar Z

Z: Hot: Org: New: from's fix.

parent 12b871be
...@@ -123,8 +123,9 @@ ...@@ -123,8 +123,9 @@
<el-tree <el-tree
:data="ztrans.org" :data="ztrans.org"
show-checkbox show-checkbox
default-expand-all
node-key="id" node-key="id"
:props="ztrans.new.form" :props="ztrans.new.from"
@node-click="orgNewFromPick" @node-click="orgNewFromPick"
></el-tree> ></el-tree>
</el-form-item> </el-form-item>
...@@ -172,10 +173,25 @@ export default { ...@@ -172,10 +173,25 @@ export default {
ztrans: { ztrans: {
new: { new: {
from: { from: {
lable: "name", label: "name",
children: "children" children: "children",
disabled: true,
isLeaf: true,
} }
}, },
orgS: [
{
id: 1001,
name: 'A',
children: [
{
id: 2001,
name: 'A1',
}
]
}
],
org: [ org: [
{ {
id: "01000000", id: "01000000",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment