Ellen翔 普通
2018-01-10 开始修炼简单之道
刚刚
Jieven 发表了文章
54月前
Ellen翔 每日打卡
获得金币+9,获得点播券+1
70月前
Ellen翔 回复
<%layout("/eova/layout/default.html",{'title' : 'CRUD'}){%>
<script type="text/javascript" src="${STATIC!}/ui/js/template.js"></script>
<body class="easyui-layout" data-options="fit:true,border:false">
<div class="eova-form-field" title="分派角色[fpjs]" style="">
<div class="eova-form-lbl">分派角色</div>
<div>
<div class="eova-combo" id="fpjs" name="fpjs" value=""
url="/widget/comboJson?exp=select id,name from sys_xnsg.eova_role"
data-options=" disable : false">
</div>
<script>
$('#fpjs').eovacombo({
valueField: 'id',
textField: 'name',
multiple: false
});
</script>
</div>
</div>
</body>

<script>
var submitForm = function($dialog, $grid, $pjq) {
/* var url = "/mt2/mdxxAssignment/" + ${mids};
var date = document.getElementsByName("finddate")[0].value;//打开查看器查看input标签
var o = {
'date' : date
};
$.post(url, o, function(result) {
if (result.success) {
$.slideMsg("操作成功!", $pjq);
$grid.datagrid('load');
$dialog.dialog('destroy');
} else {
$pjq.messager.alert('提示', result.msg, 'error');
}
}, 'json');
return; */
};
</script>

<%}%>
70月前
Ellen翔 创建了一个问题
71月前
Ellen翔 回复
@Jieven 为什么文本域禁用只有一部分是灰色的啊,其他地方还是可以输入值
71月前
Ellen翔 回复
@chunqiu 和table一样,就是选择的时候选择视图
71月前
Ellen翔 回复
解决了
使用tcr.eovatext().setValue(user.nickname);
71月前
Ellen翔 回复
//${user.login_id}
$(document).ready(function(){
var addform = $('#addFormc_mt2_tjbl').get(0);
console.log($('#addFormc_mt2_tjbl'));
if(addform){
addTcr();
}
})

function addTcr(){

var userid='${user.login_id}';
var tcr = $("div[name='tcr']").get(0);
var mdid = $('#mdid');
mdid.val();
console.log(mdid);
console.log('********');
}
71月前
Ellen翔 回复
@Jieven 如果使用js怎么设置啊?[图片]
71月前
Ellen翔 创建了一个问题
76月前
Ellen翔 回复
@Jieven 如何在eova里面调用存储过程啊