Class tlv8.Data
Data基础数据对象
var data = new tlv8.Data(); data.setFormId("test_form");
data.setTable("oa_test1");
数据库表的字段自动关联表单字段
data.setValueByName(name,value);
name {string}[required]字段(页面字段)
value {string}[required]需要赋予的值
data.getValueByName(name);
name {function}[required] 字段(页面字段)
data.saveData();
data.refreshData();
data.deleteData();
data.setReadonly(boolean);
true为设置为只读 false为取消只读
data.setonDataValueChanged(dataAS_MENDRECORD_Changed);
fn{function}【required】
Powered By layui