您现在的位置是:首页 >>LayuiLayui

View查看页面

zhang2021-07-22 15:35:27【Layui】人已围观

简介:
<!--#include file="getjobFun.asp" --><%getGetjob%><!DOCTYPE html><html&#...


<!--#include file="getjobFun.asp" -->
<%
getGetjob
%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>查看</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link rel="stylesheet" href="../../../static/layui/css/layui.css" media="all">
<link rel="stylesheet" href="../../../static/layui/css/diy.css" media="all">
</head>
<body>
<div class="layui-form" lay-filter="layuiadmin-app-form-list" id="layuiadmin-app-form-list" style="padding: 20px 30px 0 0;">
<div class="layui-form-item">
<label class="layui-form-label">负责人</label>
<div class="layui-input-inline">
<%
dim srs,ssel
set srs=conn.exec("select TrueName,CID from CxCms_TableContent1 where ContentStatus=1","r1")
echo "<select name='UserID' lay-search='' lay-verify='number' disabled>"
echo "<option value=''>下拉选择负责人</option>" & vbcr
Do While Not srs.Eof
If CInt(srs(1))=CInt(UserID) Then ssel = "selected=""selected""" Else ssel = "" End If
echo "<option value=""" &srs(1)& """ " & ssel & ">" &srs(0)& "</option>" & vbcr
srs.MoveNext
Loop
srs.Close:Set srs = Nothing
echo "</select>"
%>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">区县</label>
<div class="layui-input-inline">
<select name="Country" lay-verify="required" disabled>
<option value="">选择区县</option>
<%=GetSelect(replaceStr(sel_Country,"",""),Country)%>
</select>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">公司名称</label>
<div class="layui-input-inline">
<input type="text" name="Company" value="<%=Company%>" lay-verify="required" placeholder="请输入公司名称" autocomplete="off" class="layui-input" disabled>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">工种</label>
<div class="layui-input-inline">
<input type="text" name="WorkType" value="<%=WorkType%>" lay-verify="required" placeholder="请输入工种" autocomplete="off" class="layui-input" disabled>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">是否结业</label>
<div class="layui-input-block">
<input type="radio" name="GraduationStatus" value="是" title="是" <% if GraduationStatus="是" then echo"checked" end if %> disabled>
<input type="radio" name="GraduationStatus" value="否" title="否" <% if GraduationStatus="否" then echo"checked" end if %> disabled>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">是否报补</label>
<div class="layui-input-block">
<input type="radio" name="ReimbursementStatus" value="是" title="是" <% if ReimbursementStatus="是" then echo"checked" end if %> disabled>
<input type="radio" name="ReimbursementStatus" value="否" title="否" <% if ReimbursementStatus="否" then echo"checked" end if %> disabled>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">开班时间</label>
<div class="layui-input-inline">
<input type="text" name="OpenTime" value="<%=OpenTime%>" readonly lay-verify="required" placeholder="请输入开班时间" autocomplete="off" class="layui-input" disabled>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">备注信息</label>
<div class="layui-input-inline">
<input type="text" name="Remark" value="<%=Remark%>" lay-verify="required" placeholder="请输入备注信息" autocomplete="off" class="layui-input" disabled>
</div>
</div>
<div class="layui-form-item layui-hide">
<input name="id" type="hidden" value="<%=id%>" >
<input type="button" lay-submit lay-filter="layuiadmin-app-form-submit" id="layuiadmin-app-form-submit" value="确认添加">
</div>
</div>

<script src="../../../static/layui/layui.js"></script>
<script src="../../../static/js/function.js"></script>
<script>
layui.use(['layer','form'], function(){
var $ = layui.$
,layer = layui.layer
,form = layui.form;


})
</script>

</body>
</html>



查看页面,把编辑页面代码复制过来,查看页面,只浏览信息,不允许编辑,把各个项目设置为不允许编辑,都添加disabled,禁止操作。




文章评论

    评论加载中...

标签云

站点信息

  • 建站时间:2018-11-17
  • 文章统计:165篇文章
  • 微信交流:扫描二维码,添加我
在线客服
在线客服
在线咨询:
点击这里给我发消息技术交流
点击这里给我发消息技术交流
电话咨询:
(微信同步)
15629136039
微信二维码