| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <script src="../Script/Common/huayi.load.js"></script>
- <script src="../Script/Common/huayi.config.js"></script>
- <link rel="stylesheet" href="../css/init.css" />
- <title>新版知识库添加</title>
- <style type="text/css">
- ul,li{
- padding: 0;
- margin: 0;
- list-style: none;
- }
- .tab_list{
- border-bottom: 1px solid #d5d5d5;
- }
- .tab_list li{
- padding: 10px 15px;
- float: left;
- color: #333333;
- font-size: 14px;
- position: relative;
- }
- .tab_list li.active{
- color: #19aad0;
- }
- .tab_list li.active:after{
- content: "";
- width: 100%;
- height: 2px;
- background: #19aad0;
- position: absolute;
- bottom: -1px;
- left: 0;
- }
- .tab_content{
- font-size: 14px;
- color: #4c4c4c;
- padding: 15px 0;
- /*text-indent: 28px;*/
- }
- .tab_content>div{
- display: none;
- }
- .table tr td input[type="text"]{
- width: 100%;
- height: 30px;
- background: #f3f3f4;
- border: 0;
- outline: none;
- }
- .radio-inline input[type=radio]{
- margin-top: 2px;
- }
- .table tr td textarea{
- width: 100%;
- height: 100%;
- background: #f3f3f4;
- border: 0;
- resize: none;
- }
- #scwj{
- background-color: #FFF;
- background-image: none;
- border: 1px solid #ccc;
- border-radius: 1px;
- color: inherit;
- padding: 6px 12px!important;
- }
- .files{
- padding: 5px!important;
- }
- .time-box{
- position: relative;
- width: 197px!important;
- height: 34px;
- margin: 0;
- }
- .tub + input {
- padding-right: 30px;
- border: 1px solid #e5e6e7!important;
- }
- i.tub {
- position: absolute;
- right: 8px;
- top: 8px;
- font-size: 18px;
- color: #00a0ca;
- }
- .tab_content textarea{
- display: block;
- background: #f3f3f4;
- width: 100%;
- height: 298px;
- box-sizing: border-box;
- text-indent: 28px;
- }
- .tab_content .cons >div{
- background: #f3f3f4;
- width: 100%;
- min-height: 298px;
- box-sizing: border-box;
- text-indent: 28px;
- word-break:break-all;
- word-wrap:break-word;
- }
- .tab_content .cons >div img{
- max-width: 100%;
- /*width: 95%;
- margin: 0 auto;*/
- }
- .shdetail table{
- width: 100%;
- line-height: 30px;
- text-align: center;
- }
- </style>
- </head>
- <body class="gray-bg">
- <div class="container-fluid wrapper-content animated fadeInRight">
- <table class="table table-bordered table-condensed">
- <tr>
- <td width="100">文件编号</td>
- <td colspan="3"> <input type="text" id="title" readonly="readonly" /></td>
- </tr>
- <tr>
- <td width="100">单位名称</td>
- <td colspan="3"> <input type="text" id="maindept" readonly="readonly" /></td>
- </tr>
- <!--<tr>
- <td width="100"> 办公地点</td>
- <td colspan="3"><textarea name="" rows="" cols="" id="officeaddress" readonly="readonly"></textarea></td>
- </tr>
- <tr >
- <td rowspan="2" width="100">公开电话</td>
- <td> <input type="text" id="publicphone1" readonly="readonly"/></td>
- <td rowspan="2" width="100">内部电话</td>
- <td> <input type="text" id="privatephone1" readonly="readonly" /></td>
-
- </tr>
- <tr>
- <td> <input type="text" id="publicphone2" readonly="readonly" /></td>
- <td> <input type="text" id="privatephone2" readonly="readonly" /></td>
- </tr>
- <tr>
- <td width="100"> 办理方式</td>
- <td><input type="text" id="dealtype" readonly="readonly"/></td>
- <td width="100"> 收费标准</td>
- <td> <input type="text" id="paymoney" readonly="readonly" /></td>
- </tr>
- <tr>
- <td width="100"> 办理对象</td>
- <td><input type="text" id="serobject" readonly="readonly" /></td>
- <td width="100"> 乘车路线</td>
- <td><textarea name="" rows="" cols=""id="busline" readonly="readonly"></textarea></td>
- </tr>
- <tr>
- <td width="100" height="100"> 备注</td>
- <td colspan="3" height="100"><textarea name="" rows="" cols="" id="remark" readonly="readonly"></textarea> </td>
- </tr>-->
- </table>
- <div class="cons">
- <div>
- <table class="table-bordered table-condensed feilTable" style="width: 100%;">
- <thead>
- <tr>
- <th>文件名称</th>
- <th>添加时间</th>
- <th>文件大小</th>
- </tr>
- </thead>
- <tbody>
-
- </tbody>
-
- </table>
- </div>
- </div>
- <!--<ul class="tab_list clearfix">
- <li class="active">设定依据</li>
- <li>办理流程</li>
- <li>办理材料</li>
- <li>办理结果样本</li>
- <li>收费标准及依据</li>
- <li>附件</li>
- </ul>-->
- <!--<div class="tab_content">
- <div class="cons">
- <div>
- <table class="table-bordered table-condensed feilTable" style="width: 100%;">
- <thead>
- <tr>
- <th>文件名称</th>
- <th>添加时间</th>
- <th>文件大小</th>
- </tr>
- </thead>
- <tbody>
-
- </tbody>
-
- </table>
- </div>
- </div>
- </div>-->
-
- <script src="../js/kindeditor/kindeditor-all-min.js"></script>
- <script src="../js/kindeditor/lang/zh-CN.js"></script>
- <script src="../js/adjustHeight.js"></script>
- <script src="../js/laydate/laydate.js"></script>
- <script>
-
- var ids=helper.request.queryString("ids");
- $(document).ready(function(){
- $.ajax({
- type:"get",
- url: huayi.config.callcenter_url + "Repository/GetInfo",
- async:true,
- dataType:'json',
- data:{
- token: $.cookie("token"),
- id:ids
- },
- success:function(res){
- if(res.state.toLowerCase()=='success'){
- var con=res.data.data;
- $('#key').val(con.F_Key);//关键字
- $('#title').val(con.F_Title);//事件名称
- $('#maindept').val(con.F_MainDept);//主办单位
- $('#publicphone1').val(con.F_PublicPhone1);//公开电话1
- $('#publicphone2').val(con.F_PublicPhone2);//公开电话2
- $('#privatephone1').val(con.F_PrivatePhone1);//内部电话1
- $('#privatephone2').val(con.F_PrivatePhone2);//内部电话2
- $('#points').val(con.F_Points);//询问要点
- $('#baseanswer').val(con.F_BaseAnswer);//标准话术
- $('#endanswer').val(con.F_EndAnswer);//结案参考
- $('#dealtype').val(con.F_DealType);//办理方式
- $('#legallimittime').val(con.F_LegalLimitTime);//法定办结时限
- $('#promiselimittime').val(con.F_PromiseLimitTime);//承诺办结时限
- // $('input[name="ispay"]:checked ').val(F_PayMoney);//是否收费
- $('input[name="ispay"][value="'+con.F_IsPay+'"]').prop("checked","checked");//是否收费
- $('input[name="isUrgency"][value="'+con.F_IsUrgent+'"]').prop("checked","checked"),//是否紧急事项
- $('#paymoney').val(con.F_PayMoney);//收费标准
- $('#officeaddress').val(con.F_OfficeAddress);//办公地点
- $('#serobject').val(con.F_Object);//办理对象
- $('#busline').val(con.F_BusLine);//乘车路线
- $('#officetime').val(con.F_OfficeTime);//办公时间
- $('#otherdept').val(con.F_OtherDept);// 协办单位
- $('#otherpublicphone').val(con.F_OtherPublicPhone);// 协办单位公开电话
- $('#otherprivatephone').val(con.F_OtherPrivatePhone);//协办单位内部电话
- $('#remark').val(con.F_Remark);//备注
- // $('#baseon').html(con.F_BaseOn);//设定依据
- // $('#process').html(con.F_Process);//办理流程
- // $('#material').html(con.F_Material);//办理材料
- // $('#template').html(con.F_Template);//办理结果样本
- // $('#payinfo').html(con.F_PayInfo);//收费标准及依据
- // $('#files').val() //收费标准及依据
- console.log()
- $(res.data.file).each(function(k,q){
- // var strs='<span class="files" fiel-num="'+ q.F_FileId +'">'+ q.F_FileName.substring(19) +'</span>'
- var size= (q.F_Size/1024).toFixed(2)
- var strs='<tr>'+
- '<td><a href="'+ q.F_FileUrl+'" download="test.pdf">'+ q.F_FileName.substring(19) +'</a></td>'+
- '<td>'+ q.F_AddTime +'</td>'+
- '<td>'+ size +'kb</td>'+
- '</tr>'
- $(strs).appendTo($('.feilTable tbody'))
- })
- var shaudit;
- $(res.data.shData).each(function(k,q){
- if (q.F_ISPass==2) {
- shaudit="未通过"
- }else if(q.F_ISPass==1){
- shaudit="通过"
- }
- var num=k+1;
- var strs='<tr>'+
- '<td>'+ num +'</td>'+
- '<td>'+ q.F_AuditBy +'</td>'+
- '<td>'+ q.F_AuditRemark +'</td>'+
- '<td>'+ q.F_CreateOn +'</td>'+
- '<td>'+ shaudit +'</td>'+
- '</tr>'
- $(strs).appendTo($('.SHXX'))
- })
-
-
-
-
-
- }
-
- }
- });
-
-
-
-
-
- })
-
-
-
-
- </script>
- </body>
- </html>
|