关注JEECG发展历程 关注最新动态和版本, 记录JEECG成长点滴 更新日志 - 技术支持 - 招聘英才

JEECG最新版本下载 JEECG智能开发平台 - 显著提高开发效率 常见问题 - 入门视频 - 参与开源团队

商务QQ: 69893005、418799587 商务热线(5*8小时): 010-64808099 官方邮箱: jeecgos@163.com

查看: 14596|回复: 4

[Online开发] word模板表单属性怎么写

[复制链接]
发表于 2018-9-3 16:04:23 | 显示全部楼层 |阅读模式
点击提交没反应
QQ截图20180903160254.png
QQ截图20180903160310.png
发表于 2018-9-3 16:22:28 | 显示全部楼层
弹出页面  页面源码贴出来看下
发表于 2018-9-3 16:23:29 | 显示全部楼层
页面源码复制到文本文件上传
 楼主| 发表于 2018-9-3 16:33:48 | 显示全部楼层
fly1206 发表于 2018-9-3 16:23
页面源码复制到文本文件上传

<!DOCTYPE html xmlns:m="http://schemas.microsoft.com/office/2004/12/omml">
<html>
<head>
        <title></title>
        <base href="${basePath}/" /><script type="text/javascript" src="${basePath}/plug-in/jquery/jquery-1.8.3.js"></script><script type="text/javascript" src="${basePath}/plug-in/jquery-plugs/i18n/jquery.i18n.properties.js"></script><script type="text/javascript" src="${basePath}/plug-in/tools/dataformat.js"></script>
        <link href="${basePath}/plug-in/accordion/css/accordion.css" rel="stylesheet" type="text/css" />
        <link href="${basePath}/plug-in/easyui/themes/default/easyui.css" id="easyuiTheme" rel="stylesheet" type="text/css" />
        <link href="${basePath}/plug-in/easyui/themes/icon.css" rel="stylesheet" type="text/css" /><script type="text/javascript" src="${basePath}/plug-in/easyui/jquery.easyui.min.1.3.2.js"></script><script type="text/javascript" src="${basePath}/plug-in/easyui/locale/zh-cn.js"></script><script type="text/javascript" src="${basePath}/plug-in/tools/syUtil.js"></script><script type="text/javascript" src="${basePath}/plug-in/My97DatePicker/WdatePicker.js"></script>
        <link href="${basePath}/plug-in/tools/css/metrole/common.css" rel="stylesheet" type="text/css" />
        <link href="${basePath}/plug-in/ace/css/font-awesome.css" rel="stylesheet" type="text/css" /><script type="text/javascript" src="${basePath}/plug-in/lhgDialog/lhgdialog.min.js"></script><script type="text/javascript" src="${basePath}/plug-in/layer/layer.js"></script><script type="text/javascript" src="${basePath}/plug-in/tools/curdtools.js"></script><script type="text/javascript" src="${basePath}/plug-in/tools/easyuiextend.js"></script>
        <link href="${basePath}/plug-in/easyui/themes/metrole/main.css" id="easyuiTheme" rel="stylesheet" type="text/css" />
        <link href="${basePath}/plug-in/uploadify/css/uploadify.css" rel="stylesheet" type="text/css" /><script type="text/javascript" src="${basePath}/plug-in/uploadify/jquery.uploadify-3.1.js"></script><script type="text/javascript" src="${basePath}/plug-in/tools/Map.js"></script><script type="text/javascript" src="${basePath}/plug-in/Validform/js/Validform_v5.3.1_min_zh-cn.js"></script><script type="text/javascript" src="${basePath}/plug-in/Validform/js/Validform_Datatype_zh-cn.js"></script><script type="text/javascript" src="${basePath}/plug-in/Validform/js/datatype_zh-cn.js"></script><script type="text/javascript" src="${basePath}/plug-in/Validform/plugin/passwordStrength/passwordStrength-min.js"></script>
        <link href="${basePath}/plug-in/Validform/css/metrole/style.css" rel="stylesheet" type="text/css" />
        <link href="${basePath}/plug-in/Validform/css/metrole/tablefrom.css" rel="stylesheet" type="text/css" /><script type="text/javascript" src="${basePath}/plug-in/ueditor/ueditor.config.js"></script><script type="text/javascript" src="${basePath}/plug-in/ueditor/ueditor.all.js"></script>
        <style type="text/css">body{font-size:12px;}table{border: 1px solid #000000;padding:0; margin:0 auto;border-collapse: collapse;width:100%;align:right;}td {border: 1px solid #000000;background: #fff;font-size:12px;padding: 3px 3px 3px 8px;color: #000000;word-break: keep-all;}.ui_state_highlight{border:1px solid #39befb;position:relative;display:inline-block;cursor:pointer;text-align:center;overflow:hidden;border-radius:10px;padding:4px 30px;font-size:14px;background-color:#39befb;color:#fff}.ui_state_highlight:hover{background-color:#3aace5;color:#000;}
        </style>
</head>
<body>&nbsp;
<form action="cgFormBuildController.do?saveOrUpdate" id="formbd" method="post" name="formbd" target="_top"><input name="tableName" type="hidden" value="${tableName?if_exists?html}" /><input name="id" type="hidden" value="${id?if_exists?html}" /><input class="btn_sub" id="btn_sub" type="hidden" />#{jform_hidden_field}
<table border="1" cellpadding="1" cellspacing="1" style="width:600px;">
        <tbody>
                <tr>
                        <td style="background-color: rgb(204, 204, 204);">标题:</td>
                        <td colspan="3" rowspan="1">#{title}</td>
                </tr>
                <tr>
                        <td style="background-color: rgb(204, 204, 204); width: 200px;">上传文件分类:</td>
                        <td colspan="3" rowspan="1">#{fl}</td>
                </tr>
                <tr>
                        <td style="background-color: rgb(204, 204, 204);">文件:</td>
                        <td colspan="3" rowspan="1">#{files}</td>
                </tr>
                <tr>
                        <td style="background-color: rgb(204, 204, 204);">标志:</td>
                        <td colspan="3" rowspan="1">#{sign}</td>
                </tr>
                <tr>
                        <td style="background-color: rgb(204, 204, 204);">分类:</td>
                        <td colspan="3" rowspan="1">#{classification}</td>
                </tr>
                <tr>
                        <td style="background-color: rgb(204, 204, 204);">说明:</td>
                        <td colspan="3">#{explain}</td>
                </tr>
        </tbody>
</table>
</form>

<div align="center" id="sub_tr" style="display: none;"><input class="ui_state_highlight" type="button" value="提交" /></div>
</body>
<script type="text/javascript">$(function(){$("#formobj").Validform({tiptype:1,btnSubmit:"#btn_sub",btnReset:"#btn_reset",ajaxPost:true,usePlugin:{passwordstrength:{minLen:6,maxLen:18,trigger:function(obj,error){if(error){obj.parent().next().find(".Validform_checktip").show();obj.find(".passwordStrength").hide();}else{$(".passwordStrength").show();obj.parent().next().find(".Validform_checktip").hide();}}}},callback:function(data){if(data.success==true){uploadFile(data);}else{if(data.responseText==''||data.responseText==undefined){$.messager.alert('错误', data.msg);$.Hidemsg();}else{try{var emsg = data.responseText.substring(data.responseText.indexOf('错误描述'),data.responseText.indexOf('错误信息')); $.messager.alert('错误',emsg);$.Hidemsg();}catch(ex){$.messager.alert('错误',data.responseText+'');}} return false;}if(!neibuClickFlag){var win = frameElement.api.opener; win.reloadTable();}}});});</script><script type="text/javascript">$(function(){if(location.href.indexOf("goDetail.do")!=-1){$(".jeecgDetail").hide();}if(location.href.indexOf("goDetail.do")!=-1){$("#formobj").find(":input").attr("disabled","disabled");}if(location.href.indexOf("goAddButton.do")!=-1||location.href.indexOf("goUpdateButton.do")!=-1){$("#sub_tr").show();}}); var neibuClickFlag = false; function neibuClick() {neibuClickFlag = true;$('#btn_sub').trigger('click');} function uploadFile(data){if(!$("input[name='id']").val()){if(data.obj!=null && data.obj!='undefined'){$("input[name='id']").val(data.obj.id);}} if($(".uploadify-queue-item").length>0){upload();}else{if (neibuClickFlag){alert(data.msg);neibuClickFlag = false;}else {var win = frameElement.api.opener;win.reloadTable();win.tip(data.msg);frameElement.api.close();}}} $.dialog.setting.zIndex =9999; function del(url,obj){$.dialog.confirm("确认删除该条记录?", function(){$.ajax({async : false,cache : false,type : 'POST',url : url,error : function() {},success : function(data) {var d = $.parseJSON(data);if (d.success) {var msg = d.msg;tip(msg);$(obj).closest("tr").hide("slow");}}});}, function(){ });}</script><script type="text/javascript">${js_plug_in?if_exists}</script></html>


发表于 2018-10-26 20:31:27 | 显示全部楼层
浏览器查看  页面框架源码   看下页面最终编译后的源码
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表