Commit 2925a238 by liuyang

Merge branch 'dev' of http://git.pseer.com:8800/platform/hg-smart into dev-ly

parents f03db3cf f2035183
$(function () {
if (isBlank($("#inqu_status-0-bizType").val())) {
document.getElementById('result').style.display = 'none';
}
$("#inqu_status-0-bizType").on("change", function () {
let bizType = $("#inqu_status-0-bizType").val();
if (isBlank(bizType)) {
document.getElementById('result').style.display = 'none';
}else{
document.getElementById('result').style.display = 'block';
}
});
IPLATUI.EFUpload = {
uploadFile: {
success: function(e) {
......
......@@ -7,8 +7,8 @@
<EF:EFPage title="附件上传">
<EF:EFInput cname="主表ID" ename="matId" blockId="inqu_status" row="0" type="hidden"/>
<EF:EFSelect cname="业务类型" ename="inqu_status-0-bizType" colWidth="3" filter="contains">
<EF:EFOption label="全部" value=""/>
<EF:EFSelect cname="文件类型" ename="inqu_status-0-bizType" colWidth="3" filter="contains" required="true">
<EF:EFOption label="未选择" value=""/>
<EF:EFCodeOption codeName="hggp.sc.drawingBizType" />
</EF:EFSelect>
<EF:EFRegion id="result">
......
$(function () {
if (isBlank($("#inqu_status-0-bizType").val())) {
document.getElementById('result').style.display = 'none';
}
$("#inqu_status-0-bizType").on("change", function () {
let bizType = $("#inqu_status-0-bizType").val();
if (isBlank(bizType)) {
document.getElementById('result').style.display = 'none';
}else{
document.getElementById('result').style.display = 'block';
}
});
IPLATUI.EFUpload = {
uploadFile: {
upload: function (e) {
let bizType = $("#inqu_status-0-bizType").val();
if (isBlank(bizType)) {
NotificationUtil("请先选择文件类型", "error");
openFileWindow.close();
IPLAT.progress($("body"), true);
}
},
success: function(e) {
let docId = e.response.docId;
if (isBlank(docId)) {
return;
}
NotificationUtil(ei, 'warning');
$("#fileDocId").val(docId);
NotificationUtil("附件上传成功");
console.log($("#fileDocId").val())
......
......@@ -7,8 +7,8 @@
<EF:EFPage title="附件上传">
<EF:EFInput cname="主表ID" ename="matId" blockId="inqu_status" row="0" type="hidden"/>
<EF:EFSelect cname="业务类型" ename="inqu_status-0-bizType" colWidth="3" filter="contains">
<EF:EFOption label="全部" value=""/>
<EF:EFSelect cname="文件类型" ename="inqu_status-0-bizType" colWidth="3" filter="contains" required="true">
<EF:EFOption label="未选择" value=""/>
<EF:EFCodeOption codeName="hggp.sc.bizType" />
</EF:EFSelect>
<EF:EFRegion id="result">
......
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