| | |
| | | <Property name="dataType">Double</Property> |
| | | <Property name="label">纬度</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="contact"> |
| | | <Property></Property> |
| | | <Property name="label">监管联系人</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="contactTel"> |
| | | <Property></Property> |
| | | <Property name="label">监管联系电话</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="remark"> |
| | | <Property></Property> |
| | | <Property name="label">备注说明</Property> |
| | |
| | | if(!txt) return true;
 |
| | | var htm = "<a href='javascript:;' onClick='showDlg()' >"+txt+"</a>";
 |
| | | arg.dom.innerHTML = htm;
 |
| | | } |
| | | renderName = function(arg){
 |
| | | var txt = arg.data.getText("kqmc");
 |
| | | if(!txt) return true;
 |
| | | var htm = "<a href='javascript:;' onClick='showDlg()' >"+txt+"</a>";
 |
| | | arg.dom.innerHTML = htm;
 |
| | | }</ClientEvent> |
| | | <Property name="packages">font-awesome,css-common</Property> |
| | | <DataSet id="dsMain"> |
| | | <Property name="dataProvider">deptPR#getData</Property> |
| | | <Property name="dataProvider">deptPR#getDeptByUserType</Property> |
| | | <Property name="dataType">[dtMain]</Property> |
| | | <Property name="loadMode">manual</Property> |
| | | </DataSet> |
| | |
| | | <Property name="width">160</Property> |
| | | </DataColumn> |
| | | <DataColumn name="kqmc"> |
| | | <ClientEvent name="onRenderCell">renderName(arg);</ClientEvent> |
| | | <Property name="property">kqmc</Property> |
| | | <Property name="align">left</Property> |
| | | </DataColumn> |
| | |
| | | <Property name="width">160</Property> |
| | | </DataColumn> |
| | | <DataColumn> |
| | | <ClientEvent name="onRenderCell">arg.dom.innerHTML = "<a href='javascript:;' onClick='detail()' class='a-btn1'>查看详情</a>";</ClientEvent> |
| | | <ClientEvent name="onRenderCell">arg.dom.innerHTML = "<a href='javascript:;' onClick='detail()' class='a-btn1'>查看仓库</a>";</ClientEvent> |
| | | <Property name="width">160</Property> |
| | | <Property name="caption">操作</Property> |
| | | <Property name="align">center</Property> |
| | |
| | | </Property> |
| | | <Property name="text">帮助:点击坐标位置拾取</Property> |
| | | </Link> |
| | | <AutoFormElement> |
| | | <Property name="name">contact</Property> |
| | | <Property name="property">contact</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | <AutoFormElement> |
| | | <Property name="name">contactTel</Property> |
| | | <Property name="property">contactTel</Property> |
| | | <Editor/> |
| | | </AutoFormElement> |
| | | </AutoForm> |
| | | </Children> |
| | | <Tools/> |
| | |
| | | </Container> |
| | | </CustomDropDown> |
| | | <UploadAction id="uploadFileImg"> |
| | | <ClientEvent name="onFileUploaded">var imgPath = arg.returnValue;
 |
| | | <ClientEvent name="onFileUploaded">var fileId = arg.returnValue;
 |
| | | var data = view.get("#dsMain.data:#");
 |
| | | data.set("imgPath",imgPath);
 |
| | | data.set("imgPath",fileId);
 |
| | | data.set("imgName",arg.file.name);</ClientEvent> |
| | | <Property name="fileResolver">fileUploadManage#imgFile</Property> |
| | | <Property name="maxFileSize">50MB</Property> |