com.fzzy.igds.domain.Dept
库区编码
true
组织编码
库区名称
true
库区地址
区划代码
true
区划名称
库区产权
key
value
1
1-自有
2
2-租赁
3
3-共有
4
4-混合
9
9-其他
Double
有效仓容
#0.000 吨
Double
占地面积
#0.000 平方米
Integer
仓库数
#0 栋
Double
经度
Double
纬度
备注说明
DateTime
创建时间
true
创建人
true
DateTime
更新时间
true
更新人
true
鸟瞰图id
鸟瞰图
/**
/**
* 预览图片
*/
showImg = function(){
var cur = view.get("#dsMain.data:#");
var imgName = cur.get("imgId");
if(!imgName){
$alert("没有上传视频信息,无法预览。");
return;
}
var id = cur.get("id");
view.get("#iFrameImg").set("path", "./basic/file/dept-img?id=" + id);
view.get("#dialogImg").show();
};
font-awesome,css-common
deptPR#getData
[dtMain]
c-param
var select = view.get("#dgMain").get("selection");
if(select){
view.get("#dialogMain").show();;
}else{
$notify("请选择需要编辑的数据……");
}
修改
btn2
100
fa fa-pencil-square-o
view.get("#dsMain").flushAsync();
刷新
btn4
100
fa fa-refresh
view.get("#dgMain").set("selection",arg.data);
dsMain
true
singleRow
id
center
160
kqmc
center
kqcq
center
120
yxcr
center
180
zdmj
center
180
cfs
center
100
updateBy
center
100
updateTime
center
160
deptPR#updateData
数据保存完成!
dsMain
[#current]
false
500
xzqhmc=name,xzqhdm=code
500
dicAreaPR#pageList
[dtArea]
10
-- 名称 --
200
var data = view.get("#dsFoodOrigin.data:#");
if(data){
view.get("#ddFoodOrigin").close(data.toJSON());
}
dsFoodOrigin
true
code
true
center
arg.dom.style.fontWeight = "bold";
arg.processDefault = true;
name
true
center
simple
true
center
dsFoodOrigin
var imgId = arg.returnValue;
var data = view.get("#dsMain.data:#");
data.set("imgId",imgId);
data.set("imgName",arg.file.name);
fileUploadManage#imgFile
50MB