| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <title></title>
- <script src="../../Script/Common/huayi.load.js"></script>
- <script src="../../Script/Common/huayi.config.js"></script>
- <link href="../../css/Table/table1.css" rel="stylesheet" />
- <link href="../../css/init.css" rel="stylesheet" />
- <link rel="stylesheet" type="text/css" href="../../css/lookMsg.css" />
- </head>
- <style>
- table th {
- width: 150px;
- text-align: center;
- }
-
- .zhujie {
- margin-bottom: 20px;
- }
- </style>
- <body style="padding: 30px;">
- <div class="zhujie">
- <label>是否完结:</label>
- <!--<input type="radio" name="zhu" value="1" checked="checked">自动完结-->
- <input type="radio" name="zhu" value="2">是
- <input type="radio" name="zhu" value="3">否
- </div>
- <div>
- <table class="table table-bordered table-hover tabbox" border="0" cellspacing="0" cellpadding="0" style="width: 100%;display: none;">
- <tr>
- <th>处理结果:</th>
- <td colspan="3">
- <div>
- <textarea id="contres" class="form-control" rows="2" style="width:100%; resize: none;" placeholder="请输入处理结果"></textarea>
- </div>
- </td>
- </tr>
- <tr>
- <th>问题原因:</th>
- <td colspan="3">
- <div>
- <textarea id="cont1" class="form-control" rows="2" style="width:100%; resize: none;" placeholder="请输入问题原因"></textarea>
- </div>
- </td>
- </tr>
- <tr>
- <th>责任单位:</th>
- <td colspan="3">
- <div>
- <textarea id="cont2" class="form-control" rows="2" style="width:100%; resize: none;" placeholder="请输入责任单位"></textarea>
- </div>
- </td>
- </tr>
- <tr>
- <th>整改计划:</th>
- <td colspan="3">
- <div>
- <textarea id="cont3" class="form-control" rows="2" style="width:100%; resize: none;" placeholder="请输入整改计划"></textarea>
- </div>
- </td>
- </tr>
- <tr>
- <th>重要级别:</th>
- <td>
- <select class="form-control input-sm " id="level" style="height: 45px;">
- <option value="0">请选择重要级别</option>
- </select>
- </td>
- </tr>
- <tr>
- <th>是否高层审批:</th>
- <td>
- <div id="high_level">
- <input type="radio" name="high" id="" value="0" checked="checked" />否
- <input type="radio" name="high" id="" value="1" />是
- </div>
- </td>
- </tr>
- </table>
- <!--<label>注解原因:</label>
- <textarea id="reception" rows="3" cols="20" class="form-control" placeholder="请输入注解原因"></textarea>-->
- </div>
- <div style="text-align: center;margin-top: 20px;">
- <button type="button" id="btn_submit" class="btn btn-primary">确定</button>
- </div>
- </body>
- <script>
- var oid = helper.request.queryString('oid')
- var flag = helper.request.queryString('flag')
- $(document).ready(function() {
- ZYJB($("#level")); //重要级别
- var obj = JSON.parse(localStorage.getItem('handleMethod'))
- $("#contres").val(obj.contres) //处理内容
- $("#cont1").val(obj.EventReason) //问题原因
- $("#cont2").val(obj.ResponsibleUnit) //责任单位
- $("#cont3").val(obj.ImprovementRequirements) //整改计划
- $("#level").val(obj.TS_Level); //重要级别
- $("#level").text(obj.TS_Level); //重要级别
- })
- //重要级别
- function ZYJB(obj) {
- obj.empty();
- obj.append('<option selected="selected" value="">请选择</option>');
- $.getJSON(huayi.config.callcenter_url + "Dictionary/GetDicValueListByFlag", {
- "token": $.cookie("token"),
- flag: "ZYJB",
- }, function(data) {
- if(data.state.toLowerCase() == "success") {
- var content = data.data;
- $(content).each(function(i, n) {
- $("<option value='" + n.F_Name + "'>" + n.F_Name + "</option>").appendTo(obj);
- })
- }
- })
- }
- $('input[name="zhu"]').change(function() {
- if($('input[name="zhu"]:checked').val() == '2') {
- $(".tabbox").show()
- } else {
- $(".tabbox").hide()
- }
- })
- $("#btn_submit").click(function() {
- parent.Assign(oid, flag, $('input[name="zhu"]:checked').val(), $("#contres").val(), $("#cont1").val(), $("#cont2").val(), $("#cont3").val(), $("#level").val(),$("#high_level").find('input[type="radio"]:checked').val())
- })
- </script>
- </html>
|