<!DOCTYPE html>
<html lang="zh">
<head>
		<meta charset="utf-8" />
		<meta http-equv="X-UA-Compatible" content="IE=edge" />
		<!-- <meta name="viewport" content="width=device-width, initial-scale=1" /> -->
		<meta name="format-detection" content="telephone=no" />
		<title>安徽省刷制品质量检验检测中心</title>
       <meta name="keywords" content="安徽省刷制品质量检验检测中心">
       <meta name="description" content="安徽省刷制品质量检验检测中心">
	   <script type="text/javascript" src="./static/js/vue.js"></script>
	   <script type="text/javascript" src="static/js/vue-router.js"></script>
	  <script type="text/javascript" src="./static/js/index.js"></script>
	   <script type="text/javascript" src="./static/js/jquery.min.js"></script>
       <script type="text/javascript" src="./static/js/custom.js"></script>
       <!-- <script src="static/js/header.js" type="text/javascript" charset="utf-8"></script> -->
	   <link rel="stylesheet" href="static/css/theme-chalk/index.css">
		<link href="./static/css/vendor.css" rel="stylesheet" />
		<link href="./static/css/style.css" rel="stylesheet" />
		<link href="./static/css/custom.css" rel="stylesheet" />
		<link href="./static/css/printstyle.css" rel="stylesheet"/>
	</head>
	<body class="pcs" style="display: none;">
		
			<div id="appse">
				<header>
					<div class='a'>
						<div class='container'>
							<div class='tool'>
								<div class='fr'>
									<a href='' target='_blank'></a>
								</div>
			
								<!-- <script src='static/js/time.js'></script> -->
								<div class='loca'>
									<span> 欢迎访问 安徽省刷制品质量检验检测中心 ! 今天{{date_show}} {{week}}</span>
								</div>
								<div class='srch'><input type='text' class='tt' placeholder='输入要查找的信息' v-model="inpute"
										@blur="inpubie" /> <img src='static/picture/icon_ztl_ss@2x.png' @click="nhyesee">
								</div>
							</div>
						</div>
					</div>
					<div class='b'>
						<div class='container'>
							<div class='logo'>
								<a href='javascript:void(0)'><img src='static/picture/pic_hp_dh_logo@2x.png' alt='' /></a>
							</div>
							<div class='frs fr' v-if="hyew == true">
								<div class='menu _list'>
									<ul>
										<li v-for="item,index in tablide" :key="index"  @mouseover="dheyfr(item.label)">
											<div :class="[ nue == item.label ? 'on' : '' , 'i' ]">
												<p @click="tabcl(item.id,item.label)"><a href='javascript:void(0)'>{{item.label}}</a></p>
												<!-- ulrw -->
												<div class='ex' >
													<!-- :class="[inhye]" -->
													<!-- ulrw -->
													<p > <a href='javascript:void(0)' v-for="(items,indexs) in item.children" :key="items.id"
													 @click.stop="jeuese(items)" >{{items.label}}</a></p>
													<!-- jggk.html -->
													<!-- <p><a href='zzhjg.html'>组织架构</a></p> -->
												</div>
											</div>
										</li>
			
									</ul>
								</div>
							</div>
							<a href='' class='mbtn pc-hide'></a>
						</div>
					</div>
				</header>
			</div>
		<div id="app">
			<main>
				<div class="u-fullpart">
					<div class="p_container">
						<!-- 定位 -->
						<!-- <div class="pleft">
							<ul>
								<li class="pleft_tit">资讯中心</li>
								<li><a href="#" class="act">政务资讯</a></li>
								<li><a href="#">质检动态</a></li>
								<li><a href="#">行业动态</a></li>
								<li><a href="#">工作聚焦</a></li>
							</ul>
						</div> -->
					<div class="container">
						
						<div class="u-pagepath">
							<p>
								<a href="index.html?ntitel=首页">首页</a>
								<i>·</i>
								<a href="#">{{heyseks}}</a>
								<i v-if="heyseks">·</i >
								<a href="jgjj.html">{{tiles}}</a>
							</p>
						</div>
						<div class="p_box">
							<div class="p_box_tit cf"><p class="fl p_box_titl">{{tiles}}</p></div>
							<div class="pd10 pf_list">
								<div class="container">
									<div class="jgl tyu" style="padding: 50px 100px;">
										<div class="njgl">
											<div class="njgltit">{{oljhye.newsTitle}}</div>
											<div class="nigltxt">
												<div>发布时间：{{oljhye.releaseTime||'暂无'}}</div>
												<div>作者：{{oljhye.author||'暂无'}}</div>
												<div>来源：{{oljhye.remark||'暂无'}}</div>
<!-- 												<div>URL链接：{{oljhye.reprintUrl||'暂无'}}</div> -->
												<div>浏览数：{{oljhye.viewsNum||'暂无'}}</div>
											</div>
										</div>
										<div style="font-size: 18px;line-height: 32px;" class="po" v-html="oljhye.newsContent == null? '暂无数据' : oljhye.newsContent "></div>
									</div>
									
									<!-- <div class="des">
										<span>下一篇：</span>
										中国质量新闻网：企业标准化促进办法（征求意见稿）》公开征求意见
									</div> -->
									<div class="des" v-if="imageDatasList.length">
										<div class="tit">相关附件下载</div>
										<a :href="ite.imageContent" :download="ite.imageName" class="opena" v-for="(ite,idx) in imageDatasList" :key='idx'>{{ite.imageName}}</a>
									</div>
									
								</div>
							</div>
						</div>
					</div>
					</div>
				</div>
			</main>
		</div>
		<script src="static/js/header.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
		var app = new Vue({
		  el: '#app',
		  data: {
		    message: 'Hello Vue!',
			inpute:'',
			tablide:[],
			hyew:false,
			nue:'',
			week:'',
			date_show:'',
			ulrw:'',
			mjuede:'',
			tiles:'',
			oljhye:{},
			serverSrc:'https://jyzx.qs163.cn',
			heyseks:'',
			base_url:'https://jyzx.qs163.cn/prod-api',
			imageDatasList:[],//展示上传文件
		  },
		  created() {
		  	// console.log(234)
			// this.getdataTime()
			// this.gettablist()
			// Vue.$forceUpdate();
		  },
		  mounted() {
		  	// console.log(this.getQueryString("id"))
			let search = location.search;
			let arr = search.split("?");
			// console.log(decodeURI(this.getQueryString("titel")));//第二层名称
			// console.log(decodeURI(this.getQueryString("ntitel")));//第一层名称
			this.tiles = decodeURI(this.getQueryString("titel"))
			this.heyseks = decodeURI(this.getQueryString("ntitel"))
			this.nue = this.heyseks
			// console.log(this.getQueryString("title"))
			
		  	this.gettablist()
			this.nhese(this.getQueryString("id"))
		  },
		  methods:{
			  gettablist(){
				  var that = this
				  $.ajax({
					  url:that.base_url+'/gateway/query/treeselect',
					  type:'get',
					  data:'',
					  dataType:'json',
					  success:function(res){
						// console.log(res,765) 
						if(res.code == 200){
							if(res.data !== undefined ||res.data.length !==0 ){
								that.tablide = res.data
							}
							
							
							that.hyew = true
						}else{
							that.$message({
							          message: res.msg,
							          type: 'error'
							        });
						}
						// console.log(that.tablide,765) 
					  }
				  })
			  },
			  // 获取详情信息
			  nhese(val){
				 var that = this
				 let dese = {columnId:val}
				 $.ajax({
				 				  url:that.base_url+'/gateway/query/' + val,
				 				  type:'get',
				 				  data:'',
				 				  dataType:'json',
				 				  success:function(res){
				 					// console.log(res,765) 
				 					if(res.code == 200){
				 						that.oljhye = res.data
										that.imageDatasList=res.data.imageDatasList||[];
				 						// that.hyew = true
				 					}else{
				 						that.$message({
				 						          message: res.msg,
				 						          type: 'error'
				 						        });
				 					}
				 					// console.log(that.tablide,765) 
				 				  }
				 }) 
			  },
			  inpubie(){
				  // console.log(this.inpute)
			  },
			  nhyesee(){
				  // console.log(this.inpute)
			  },
			  tabcl(index,val){
				  this.nue = val
				  if(val == 1){
					this.ulrw = index.html
				  }else{
					this.ulrw = 'djdt.html?id=' + val
				  }
				  // console.log(index,val)
			  },
			  jeuese(index){
				  // console.log(index)
				  if(index == 1){
				  					this.ulrw = index.html
				  }else{
				  					this.ulrw = 'djdt.html?id=' + index
				  }
			  },
			  // 获取路由参数
			getQueryString(name) {
			     try {
			            var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
			            var r = window.location.href.split('?')[1].match(reg);
						// console.log(reg,r)
			            if(r != null) {
			              return r[2];
			            }
			            return "";//如果此处只写return;则返回的是undefined
			        } catch(e) {
			            return "";//如果此处只写return;则返回的是undefined
			        }
			},
					
		  }
		})
		</script>

		<!--移动'vendor'目录后，注意修改'vendor\vendor.js'内引用文件的'src'路径以匹配该html-->
		<!-- <script src="./static/js/vendor.js" type="text/javascript"></script>
		<script src="./static/js/script.js" type="text/javascript"></script>
		<script src="./static/js/custom.js" type="text/javascript"></script>
		<script></script> -->
		<script src="static/js/footer.js" type="text/javascript" charset="utf-8"></script>
		<script src="./vendor/vendor.js"></script>
		<script src="static/js/script.js"></script>
		<script src="static/js/custom.js"></script>

	</body>
	<script>
	$(document).ready(function() {
	    $(".pleft a").click(function(){
	           $(this).addClass('act')
			   $(this).parent().siblings().find('a').removeClass('act')
	    })   
	});
	</script>
	<style type="text/css">
		.po p {
			line-height: 34px;
			text-indent: 2em;
		}
		.po p img{
			width: 100%;
			margin-top: 20px;
			margin-bottom: 20px;
		}
		.des {
			border-top: 2px solid #e7e7e7;
			font-size: 14px;
			padding: 0 70px;
			padding-top: 25px;
		}
		.des .tit{    font-size: 16px;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 6px;}
		.opena{color: #343434;
	font-weight: 700;display: block;text-align: left;cursor: pointer;padding: 1px 0;}
	</style>
</html>
