隐患pc端添加区域

This commit is contained in:
caoqianming 2020-11-23 17:42:07 +08:00
parent e8f73c7847
commit 2b1cc50486
2 changed files with 8 additions and 8 deletions

View File

@ -38,11 +38,8 @@
style="width:480px" data-options="label:'发现时间',currentText:'今天',closeText:'关闭'" required=true>
</div>
<div style="margin-bottom:5px">
<input editable="false" name="yhqy" id="yhqy" style="width:480px" data-options="
label:'发现区域',
method: 'get',
valueField:'id',
textField:'name',
<input editable="false" class="easyui-textbox" name="yhqy" id="yhqy" style="width:480px" data-options="
label:'发现区域'
" />
</div>
<div style="margin-bottom:5px">
@ -207,12 +204,12 @@
$("#yhdd").textbox('setValue', data.yhdd).textbox('disable');
$("#fxbm").textbox('setValue', data.fxbm__partname).textbox('disable');
$("#fxr").textbox('setValue', data.fxr__name).textbox('disable');
$("#yhqy").textbox('setValue', data.yhqy__name).textbox('disable');
$("#yhms").textbox('setValue', data.yhms);
$("#zgms").textbox('setValue', data.zgms);
$("#yyfx").textbox('setValue', data.yyfx);
$("#zgcs").textbox('setValue', data.zgcs);
console.log(data.yhqy__name)
// $("#yhqy").textbox('setValue', data.yhqy__name);
var yhtp = data.yhtp;
for (var i = 0; i < yhtp.length; i++) {
$("#addImage").append('<li ><img title="点击放大" style="display:block;" onclick="bigger(this)" class = "yhtpimg" width="120" height="120" filepath="' + yhtp[i] + '" src="http://' + window.location.host + '/' + yhtp[i] + '"/></li>');

View File

@ -19,7 +19,10 @@
<td>检查类型:{{jclx__dickeyname}}</td>
</tr>
<tr>
<td>发现时间:{{fxsj| dateFormat 'yyyy-MM-dd hh:mm:ss'}}</td>
<td colspan="2">发现时间:{{fxsj| dateFormat 'yyyy-MM-dd hh:mm:ss'}}</td>
</tr>
<tr>
<td>发现区域:{{yhqy__name}}</td>
<td>隐患地点:{{yhdd}}</td>
</tr>
<tr>