zouling 3 gadi atpakaļ
vecāks
revīzija
d7b85ebc56
9 mainītis faili ar 101 papildinājumiem un 96 dzēšanām
  1. 16 19
      djdt.html
  2. 9 9
      hydt.html
  3. 2 2
      index.html
  4. 3 3
      jcfanw.html
  5. 9 10
      jcshb.html
  6. 34 13
      jgjj.html
  7. 14 21
      ss.html
  8. 5 6
      static/js/header.js
  9. 9 13
      zzhnl.html

+ 16 - 19
djdt.html

@@ -172,7 +172,7 @@
 		shouewfr:0
 	  },
 	  created() {
-	  	console.log(234)
+	  
 		// this.getdataTime()
 		// this.gettablist()
 		// Vue.$forceUpdate();
@@ -188,12 +188,10 @@
 	    }
 	  },
 	  mounted() {
-	  	console.log(this.getQueryString("id") == '')
+	  
 		let search = location.search;
 		let arrd = search.split("?");
-		console.log(decodeURI(arrd[1]));//学历
-		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.shouewfr = decodeURI(this.getQueryString("openMode"))
@@ -203,7 +201,7 @@
 		}
 		
 		// console.log(this.getQueryString("title"))
-		console.log(this.shouewfr,53)
+
 	  	this.gettablists(this.valdes)
 	  },
 	  methods:{
@@ -222,18 +220,17 @@
 							console.log(rou.createTime.slice(0,10).split('-')[1])
 							rou.newsTitle = that.hfeys(rou.newsTitle) 
 							rou.newsContent = that.hfeys(rou.newsContent) 
-							console.log(rou.newsTitle)
+						
 						})
 						that.newsleisL = res.rows
 						that.total = res.total
 						if(this.total > 0){
 							this.ndheysh = true
-							console.log(23)
+					
 						}else{
 							this.ndheysh = false
 						}
-						console.log(this.ndheysh,4567)
-						console.log(that.newsleisL,765) 
+					
 						// that.hyew = true
 					}else{
 						that.$message({
@@ -241,7 +238,7 @@
 						          type: 'error'
 						        });
 					}
-					console.log(that.tablide,765) 
+				
 				  }
 			  })
 		  },
@@ -253,7 +250,7 @@
 		  					  data:'',
 		  					  dataType:'json',
 		  					  success:function(res){
-		  						console.log(res,765) 
+		  						
 		  						if(res.code == 200){
 		  							that.tablide = res.data
 		  							that.hyew = true
@@ -263,15 +260,15 @@
 		  							          type: 'error'
 		  							        });
 		  						}
-		  						console.log(that.tablide,765) 
+		  					
 		  					  }
 		  				  })
 		  },
 		  inpubie(){
-			  console.log(this.inpute)
+			  
 		  },
 		  nhyesee(){
-			  console.log(this.inpute)
+			
 			  this.valdes.newsTitle = this.inpute
 			  this.gettablists(this.valdes)
 		  },
@@ -285,7 +282,7 @@
 			  // console.log(index,val)
 		  },
 		  jeuese(index){
-			  console.log(index)
+			  
 			  if(index == 1){
 			  					this.ulrw = index.html
 			  }else{
@@ -297,7 +294,7 @@
 		     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];
 		            }
@@ -329,10 +326,10 @@
 		},
 		// 分页
 		handleSizeChange(val){
-			console.log(val,24)
+		
 		},
 		handleCurrentChange(val){
-			console.log(val,34)
+	
 			this.valdes.pageNum = val
 			this.gettablists(this.valdes)
 		}

+ 9 - 9
hydt.html

@@ -134,16 +134,16 @@
 		heyseks:''
 	  },
 	  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("titel")));//学历
 		this.tiles = decodeURI(this.getQueryString("titel"))
 		this.heyseks = decodeURI(this.getQueryString("ntitel"))
 		
@@ -161,7 +161,7 @@
 				  data:'',
 				  dataType:'json',
 				  success:function(res){
-					console.log(res,765) 
+	
 					if(res.code == 200){
 						that.tablide = res.data
 						
@@ -172,7 +172,7 @@
 						          type: 'error'
 						        });
 					}
-					console.log(that.tablide,765) 
+	
 				  }
 			  })
 		  },
@@ -186,7 +186,7 @@
 			 				  data:'',
 			 				  dataType:'json',
 			 				  success:function(res){
-			 					console.log(res,765) 
+			 			
 			 					if(res.code == 200){
 			 						that.oljhye = res.data
 			 						// that.hyew = true
@@ -196,7 +196,7 @@
 			 						          type: 'error'
 			 						        });
 			 					}
-			 					console.log(that.tablide,765) 
+			 					
 			 				  }
 			 }) 
 		  },
@@ -213,10 +213,10 @@
 			  }else{
 				this.ulrw = 'djdt.html?id=' + val
 			  }
-			  console.log(index,val)
+	
 		  },
 		  jeuese(index){
-			  console.log(index)
+			
 			  if(index == 1){
 			  					this.ulrw = index.html
 			  }else{

+ 2 - 2
index.html

@@ -357,7 +357,7 @@
 											  data:'',
 											  dataType:'json',
 											  success:function(res){
-												console.log(res,765) 
+											
 												if(res.code == 200){
 													res.data.filter( router=> {
 														if(router.children !== undefined){
@@ -520,7 +520,7 @@
 												res.rows = nhdye
 											}
 											that.ttjues = res.rows
-											console.log(that.ttjues.length)
+											
 										} else {
 											that.$message({
 												message: res.msg,

+ 3 - 3
jcfanw.html

@@ -137,7 +137,7 @@
 					
 				},
 				mounted() {
-					console.log(this.getQueryString("id"))
+	
 					this.heyd = this.getQueryString("id")
 					this.gettablist()
 				},
@@ -155,7 +155,7 @@
 					success: function(res) {
 								if (res.code == 200) {
 									that.imalise = res.rows
-									console.log(that.imalise,87654)
+			
 								} else {
 									that.$message({
 										message: res.msg,
@@ -170,7 +170,7 @@
 					     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];
 					            }

+ 9 - 10
jcshb.html

@@ -132,17 +132,16 @@
 			heyseks:''
 		  },
 		  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
@@ -160,7 +159,7 @@
 					  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
@@ -174,7 +173,7 @@
 							          type: 'error'
 							        });
 						}
-						console.log(that.tablide,765) 
+
 					  }
 				  })
 			  },
@@ -188,7 +187,7 @@
 				 				  data:'',
 				 				  dataType:'json',
 				 				  success:function(res){
-				 					console.log(res,765) 
+	
 				 					if(res.code == 200){
 				 						that.oljhye = res.data
 				 						// that.hyew = true
@@ -198,7 +197,7 @@
 				 						          type: 'error'
 				 						        });
 				 					}
-				 					console.log(that.tablide,765) 
+				 			
 				 				  }
 				 }) 
 			  },
@@ -215,10 +214,10 @@
 				  }else{
 					this.ulrw = 'djdt.html?id=' + val
 				  }
-				  console.log(index,val)
+		
 			  },
 			  jeuese(index){
-				  console.log(index)
+			
 				  if(index == 1){
 				  					this.ulrw = index.html
 				  }else{

+ 34 - 13
jgjj.html

@@ -119,6 +119,11 @@
 										<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>
@@ -144,20 +149,23 @@
 			tiles:'',
 			oljhye:{},
 			serverSrc:'https://jyzx.qs163.cn',
-			heyseks:''
+			heyseks:'',
+			base_url:'https://jyzx.qs163.cn/prod-api',
+			// base_url:'http://192.168.101.11:8090',
+			imageDatasList:[],//展示上传文件
 		  },
 		  created() {
-		  	console.log(234)
+		  	// console.log(234)
 			// this.getdataTime()
 			// this.gettablist()
 			// Vue.$forceUpdate();
 		  },
 		  mounted() {
-		  	console.log(this.getQueryString("id"))
+		  	// 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")));//第一层名称
+			// 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
@@ -170,12 +178,12 @@
 			  gettablist(){
 				  var that = this
 				  $.ajax({
-					  url:'https://jyzx.qs163.cn/prod-api/gateway/query/treeselect',
+					  url:that.base_url+'/gateway/query/treeselect',
 					  type:'get',
 					  data:'',
 					  dataType:'json',
 					  success:function(res){
-						console.log(res,765) 
+						// console.log(res,765) 
 						if(res.code == 200){
 							if(res.data !== undefined ||res.data.length !==0 ){
 								that.tablide = res.data
@@ -189,7 +197,7 @@
 							          type: 'error'
 							        });
 						}
-						console.log(that.tablide,765) 
+						// console.log(that.tablide,765) 
 					  }
 				  })
 			  },
@@ -198,7 +206,7 @@
 				 var that = this
 				 let dese = {columnId:val}
 				 $.ajax({
-				 				  url:'https://jyzx.qs163.cn/prod-api/gateway/query/' + val,
+				 				  url:that.base_url+'/gateway/query/' + val,
 				 				  type:'get',
 				 				  data:'',
 				 				  dataType:'json',
@@ -206,6 +214,7 @@
 				 					// console.log(res,765) 
 				 					if(res.code == 200){
 				 						that.oljhye = res.data
+										that.imageDatasList=res.data.imageDatasList||[];
 				 						// that.hyew = true
 				 					}else{
 				 						that.$message({
@@ -218,10 +227,10 @@
 				 }) 
 			  },
 			  inpubie(){
-				  console.log(this.inpute)
+				  // console.log(this.inpute)
 			  },
 			  nhyesee(){
-				  console.log(this.inpute)
+				  // console.log(this.inpute)
 			  },
 			  tabcl(index,val){
 				  this.nue = val
@@ -230,10 +239,10 @@
 				  }else{
 					this.ulrw = 'djdt.html?id=' + val
 				  }
-				  console.log(index,val)
+				  // console.log(index,val)
 			  },
 			  jeuese(index){
-				  console.log(index)
+				  // console.log(index)
 				  if(index == 1){
 				  					this.ulrw = index.html
 				  }else{
@@ -287,5 +296,17 @@
 			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>

+ 14 - 21
ss.html

@@ -102,7 +102,7 @@
 							<div class="p_box_tit cf"><p class="fl p_box_titl">搜索结果</p></div>
 							<div class="pd10 pf_list">
 								<ul>
-									<li v-for=" item,index in newsleisL" :key="item.newsId">
+									<li v-for=" item,index in newsleisL" :key="item.newsId" @click="nhueyfr(item.newsId,item)">
 										<a href="#" class="cf">
 											<div class="fl">
 												<h1 v-html="item.newsTitle"></h1>
@@ -155,25 +155,32 @@
 		nhyuese:true
 	  },
 	  created() {
-	  	console.log(234)
 		// this.getdataTime()
 		this.gettablist()
 		// Vue.$forceUpdate();
 	  },
 	  mounted() {
-	  	console.log(this.getQueryString("id") == '')
+	  	// console.log(this.getQueryString("id") == '')
 		let search = location.search;
 		let arrd = search.split("?");
-		console.log(decodeURI(arrd[1]));//学历
+		// console.log(decodeURI(arrd[1]));//学历
 		if(arrd !== ''){
 			this.valdes.newsTitle = decodeURI(arrd[1])
 		}
 		
 		// console.log(this.getQueryString("title"))
-		console.log(this.valdes)
+		// console.log(this.valdes)
 	  	this.gettablists(this.valdes)
 	  },
 	  methods:{
+		  // 跳转详情页面
+		  nhueyfr(index,e){
+			if(e&&e.reprintUrl){
+				window.location.href=e.reprintUrl
+			}else if(e&&index){
+				window.location.href="jgjj.html?id=" + index
+			}	 
+		  },
 		  gettablists(val){
 			  var that = this
 			  $.ajax({
@@ -186,14 +193,14 @@
 						if(res.rows.length !== 0){
 						  res.rows.filter(rou =>{
 						  	rou.times = rou.createTime.slice(0,10).split('-')[1]
-						  	console.log(rou.createTime.slice(0,10).split('-')[1])
+						  	// console.log(rou.createTime.slice(0,10).split('-')[1])
 						  	if(rou.newsTitle !== null){
 						  		rou.newsTitle = that.hfeys(rou.newsTitle) 
 						  	}
 						  	if(rou.newsContent !== null){
 						  		rou.newsContent = that.hfeys(rou.newsContent) 
 						  	}
-						  	console.log(rou.newsTitle)
+						  	// console.log(rou.newsTitle)
 						  })	
 						}else{
 							hyews=[{newsTitle:'暂无数据',newsContent:'暂无数据',createTime:'暂无数据'}]
@@ -205,11 +212,8 @@
 						if(that.total>0){
 							that.nhyuese = true
 						}else{
-							console.log(345)
 							that.nhyuese = false
 						}
-						console.log(that.nhyuese)
-						console.log(that.newsleisL,765) 
 						// that.hyew = true
 					}else{
 						that.$message({
@@ -217,7 +221,6 @@
 						          type: 'error'
 						        });
 					}
-					console.log(that.tablide,765) 
 				  }
 			  })
 		  },
@@ -229,7 +232,6 @@
 		  					  data:'',
 		  					  dataType:'json',
 		  					  success:function(res){
-		  						console.log(res,765) 
 		  						if(res.code == 200){
 		  							that.tablide = res.data
 		  							that.hyew = true
@@ -239,15 +241,12 @@
 		  							          type: 'error'
 		  							        });
 		  						}
-		  						console.log(that.tablide,765) 
 		  					  }
 		  				  })
 		  },
 		  inpubie(){
-			  console.log(this.inpute)
 		  },
 		  nhyesee(){
-			  console.log(this.inpute)
 			  this.valdes.newsTitle = this.inpute
 			  this.gettablists(this.valdes)
 		  },
@@ -255,9 +254,7 @@
 			  this.nue = index
 			  if(val == "首页"){
 				window.location.href = "index.html?ntitel=首页"
-				console.log(2335)
 			  }
-			  console.log(index,val)
 		  },
 		  jeuese(index,val){
 			  // console.log(index)
@@ -271,7 +268,6 @@
 			// window.location.href="djdt.html?id=" + index.id +'&titel=' + index.label + '&ntitel=' + this.hyesfr  + '&openMode=' + index.openMode
 		  },
 		  dheyfr(val){
-		  				  console.log(val)
 		  				  this.hyesfr = val
 		  },
 		  // 获取路由参数
@@ -279,7 +275,6 @@
 		     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];
 		            }
@@ -290,7 +285,6 @@
 		},
 		hfeys(nju){
 			var that = this
-			console.log(nju,654)
 			if (that.valdes.newsTitle && that.valdes.newsTitle.length > 0) {
 			            // 匹配关键字正则
 			            let replaceReg = new RegExp(that.valdes.newsTitle, 'g');
@@ -306,7 +300,6 @@
 			
 		},
 		handleCurrentChange(){
-			console.log(val,34)
 			this.valdes.pageNum = val
 			this.gettablists(this.valdes)
 		}

+ 5 - 6
static/js/header.js

@@ -63,7 +63,6 @@
 			heyseks:'',
 		  },
 		  created() {
-		  	console.log(234)
 			this.getdataTime()
 			this.gettablist()
 			// Vue.$forceUpdate();
@@ -84,7 +83,7 @@
 					  data:'',
 					  dataType:'json',
 					  success:function(res){
-						console.log(res,765) 
+						// console.log(res,765) 
 						if(res.code == 200){
 							that.tablide = res.data
 							that.hyew = true
@@ -94,7 +93,7 @@
 							          type: 'error'
 							        });
 						}
-						console.log(that.tablide,765) 
+						// console.log(that.tablide,765) 
 					  }
 				  })
 			  },
@@ -115,7 +114,7 @@
 				  if(index == "首页"){
 					 window.location.href="index.html?ntitel=首页"
 				  }
-				  console.log(val,index)
+				  // console.log(val,index)
 			  },
 			  jeuese(index){  
 				  // console.log(index.label)
@@ -145,7 +144,7 @@
 				  // }
 			  },
 			  dheyfr(val){
-				  console.log(val)
+				  // console.log(val)
 				  this.hyesfr = val
 			  },
 			  getdataTime(){
@@ -162,7 +161,7 @@
 					     try {
 					            var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
 					            var r = window.location.href.split('?')[1].match(reg);
-								console.log(reg,r)
+								// console.log(reg,r)
 					            if(r != null) {
 					              return r[2];
 					            }

+ 9 - 13
zzhnl.html

@@ -186,18 +186,15 @@
 			heyseks:''
 		  },
 		  created() {
-		  	console.log(234)
 			// this.getdataTime()
 			// this.gettablist()
 			// Vue.$forceUpdate();
 		  },
 		  mounted() {
-		  	console.log(this.getQueryString("id") == '')
+
 			let search = location.search;
 			let arrd = search.split("?");
-			console.log(decodeURI(arrd[1]));//学历
-			console.log(decodeURI(this.getQueryString("titel")));//第二层名称
-			console.log(decodeURI(this.getQueryString("ntitel")));//第一层名称
+		
 			this.tiles = decodeURI(this.getQueryString("titel"))
 			this.heyseks = decodeURI(this.getQueryString("ntitel"))
 			if(arrd !== ''){
@@ -205,7 +202,7 @@
 			}
 			
 			// console.log(this.getQueryString("title"))
-			console.log(this.valdes)
+			
 		  	this.gettablists(this.valdes)
 		  },
 		  methods:{
@@ -229,7 +226,7 @@
 								that.hyew = true
 							}
 							that.newsleisL = res.data
-							console.log(that.newsleisL,765) 
+					
 							
 						}else{
 							that.$message({
@@ -237,15 +234,15 @@
 							          type: 'error'
 							        });
 						}
-						console.log(that.tablide,765) 
+	
 					  }
 				  })
 			  },
 			  inpubie(){
-				  console.log(this.inpute)
+
 			  },
 			  nhyesee(){
-				  console.log(this.inpute)
+
 				  this.valdes.newsTitle = this.inpute
 				  this.gettablists(this.valdes)
 			  },
@@ -256,10 +253,10 @@
 				  }else{
 					this.ulrw = 'djdt.html?id=' + val
 				  }
-				  console.log(index,val)
+
 			  },
 			  jeuese(index){
-				  console.log(index)
+		
 				  if(index == 1){
 				  					this.ulrw = index.html
 				  }else{
@@ -271,7 +268,6 @@
 			     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];
 			            }