Browse Source

去text

es6
windy 7 years ago
parent
commit
083b0a4cd2
  1. 2
      bi/case.js
  2. 2
      dist/bundle.js
  3. 2
      dist/case.js
  4. 85
      dist/demo.js
  5. 2
      src/case/editor/editor.sign.initial.js

2
bi/case.js

@ -6937,7 +6937,7 @@ BI.SignInitialEditor = BI.inherit(BI.Widget, {
rgap: o.rgap, rgap: o.rgap,
tgap: o.tgap, tgap: o.tgap,
bgap: o.bgap, bgap: o.bgap,
value: o.value || o.text, value: o.value,
validationChecker: o.validationChecker, validationChecker: o.validationChecker,
quitChecker: o.quitChecker, quitChecker: o.quitChecker,
allowBlank: o.allowBlank, allowBlank: o.allowBlank,

2
dist/bundle.js vendored

@ -71300,7 +71300,7 @@ BI.SignInitialEditor = BI.inherit(BI.Widget, {
rgap: o.rgap, rgap: o.rgap,
tgap: o.tgap, tgap: o.tgap,
bgap: o.bgap, bgap: o.bgap,
value: o.value || o.text, value: o.value,
validationChecker: o.validationChecker, validationChecker: o.validationChecker,
quitChecker: o.quitChecker, quitChecker: o.quitChecker,
allowBlank: o.allowBlank, allowBlank: o.allowBlank,

2
dist/case.js vendored

@ -6937,7 +6937,7 @@ BI.SignInitialEditor = BI.inherit(BI.Widget, {
rgap: o.rgap, rgap: o.rgap,
tgap: o.tgap, tgap: o.tgap,
bgap: o.bgap, bgap: o.bgap,
value: o.value || o.text, value: o.value,
validationChecker: o.validationChecker, validationChecker: o.validationChecker,
quitChecker: o.quitChecker, quitChecker: o.quitChecker,
allowBlank: o.allowBlank, allowBlank: o.allowBlank,

85
dist/demo.js vendored

@ -2522,65 +2522,42 @@ BI.shortcut("demo.handstand_branch_tree", Demo.Func);Demo.Func = BI.inherit(BI.W
}, },
render: function () { render: function () {
var self = this;
var tree = BI.createWidget({ var tree = BI.createWidget({
type: "bi.level_tree",
chooseType: 0, type: "bi.platform_level_tree",
ref: function () {
self.tree = this;
},
itemsCreator: function (op, callback) {
callback([
{"id": 21, "pId": -1, "text": "销售管理", layer: 1, value: 21,
expander: {
type: "bi.expander",
adjustLength: 20,
direction: "right",
popup: {
items: [{ items: [{
id: 1, type: "bi.single_select_item",
text: "第一项", height: 25,
value: 1, text: "项目1",
isParent: true
}, {
id: 2,
text: "第二项",
value: 2,
isParent: true
}, {
id: 3,
text: "第三项",
value: 1,
isParent: true,
open: true
}, {
id: 4,
text: "第四项",
value: 1 value: 1
}, { }, {
id: 11, type: "bi.single_select_item",
pId: 1, height: 25,
text: "子项1", text: "项目2",
value: 11 value: 2
}, {
id: 12,
pId: 1,
text: "子项2",
value: 12
}, {
id: 13,
pId: 1,
text: "子项3",
value: 13
}, {
id: 21,
pId: 2,
text: "子项1",
value: 21
}, {
id: 31,
pId: 3,
text: "子项1",
value: 31
}, {
id: 32,
pId: 3,
text: "子项2",
value: 32
}, {
id: 33,
pId: 3,
text: "子项3",
value: 33
}] }]
}
}
}
])
},
width: 200
}) })
BI.createWidget({ BI.createWidget({

2
src/case/editor/editor.sign.initial.js

@ -35,7 +35,7 @@ BI.SignInitialEditor = BI.inherit(BI.Widget, {
rgap: o.rgap, rgap: o.rgap,
tgap: o.tgap, tgap: o.tgap,
bgap: o.bgap, bgap: o.bgap,
value: o.value || o.text, value: o.value,
validationChecker: o.validationChecker, validationChecker: o.validationChecker,
quitChecker: o.quitChecker, quitChecker: o.quitChecker,
allowBlank: o.allowBlank, allowBlank: o.allowBlank,

Loading…
Cancel
Save