123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- <!DOCTYPE html>
- <html lang="zh-cmn-Hans">
- <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,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8">
- <link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
- <link rel="stylesheet" href="./css/font.css">
- <link rel="stylesheet" href="./css/xadmin.css">
- <script src="./lib/jquery.min.js"></script>
- <script src="./lib/layui/layui.js" charset="utf-8"></script>
- <script src="./js/xadmin.js"></script>
- <script src="../other/js/functions.js"></script>
- <style>
- #img_path {
- margin-left:30%;
- width: 250px;
- height: 250px;
- }
- </style>
- </head>
- <body>
- <div class="x-body layui-anim layui-anim-up">
- <!-- <form class="layui-form">
- </form> -->
- <div class="layui-col-md12">
- <div class="layui-col-md6">
- <fieldset class="layui-elem-field">
- <blockquote class="layui-elem-quote"
- style="text-align: center;border-left: 0px solid #009688;font-size: 20px;">故障描述</blockquote>
- <p id="fault_describe"></p>
- </fieldset>
- </div>
- <div class="layui-col-md6">
- <fieldset class="layui-elem-field">
- <blockquote class="layui-elem-quote"
- style="text-align: center;border-left: 0px solid #009688;font-size: 20px;">故障原因</blockquote>
- <p id="fault_reason"></p>
- </fieldset>
- </div>
- </div>
- <div class="layui-col-md12">
- <div class="layui-col-md6">
- <fieldset class="layui-elem-field">
- <blockquote class="layui-elem-quote"
- style="text-align: center;border-left: 0px solid #009688;font-size: 20px;">故障流程图
- </blockquote>
- <img src="" id="img_path" alt="Smiley">
- </fieldset>
- </div>
- <div class="layui-col-md6">
- <fieldset class="layui-elem-field">
- <blockquote class="layui-elem-quote"
- style="text-align: center;border-left: 0px solid #009688;font-size: 20px;">排故流程</blockquote>
- <p id="repair_plan"></p>
- </fieldset>
- </div>
- </div>
- </div>
- </body>
- <script>
- var big = 1
- var img = $('#img')
- $(function(){
- function bigImg() {
- // if(big==false){
- // x.style.height = "300px";
- // x.style.width = "300px";
- // big = true
- // }else{
- // x.style.height = "250px";
- // x.style.width = "250px";
- // big = false
- // }
- img.on("click", function() {
- if (big == 1) {
- img.css("height",'500px')
- img.css('width','500px')
- big = 0
- } else {
- img.css("height",'250px')
- img.css('width','250px')
- big = 1
- }
- })
-
- }
- bigImg()
-
-
- var fault_describe = sessionStorage.getItem("describe");
- var fault_reason = sessionStorage.getItem("reason");
- var img_path = urlBase + sessionStorage.getItem("path");
- var repair_plan = sessionStorage.getItem("plan");
- console.log(img_path)
- $("#fault_describe").html(fault_describe)
- $("#fault_reason").html(fault_reason)
- $("#img_path").attr("src",img_path)
- $("#repair_plan").html(repair_plan)
-
- // var params = window.location.href.split("?")
- // console.log(decodeURIComponent(params))
- // if (params.length > 1) {
- // values = params[1].split("&");
- // console.log(values[0])
- // var fault_describe = values[0].substr(values[0].indexOf('=')+1,values[0].length);
- // $('#fault_describe').html(fault_describe)
- // console.log(fault_describe)
- // }
-
- })
- </script>
- </html>
|