소스 검색

三需求

guoyuanquan@mail.taiji.com.cn 6 달 전
부모
커밋
2af150d5d3

+ 28 - 16
cn.com.taiji.system/src/main/resources/static/theme/tinfoclass/tinfoclass_yslist.js

@@ -36,25 +36,25 @@ layui.config({
          	 
          	   return str;
            }}
-          ,{field:'infocode', title:'信息类编码'}
-          ,{field:'infoname', title:'信息类名称',
+          ,{field:'infocode', title:'数据资源目录编号'}
+          ,{field:'infoname', title:'数据资源名称',
         	  templet: function(res){
                   return '<a class="layui-table-link"  href="javascript:viewInfo(\''+res.id+'\');"><i class="iconfont icon-rizhichaxun1"></i>'+res.infoname+'</a>'
                 }
           }
-          ,{field:'providebmname', title:'提供方部门'}
-          ,{field:'isglqz', title:'是否关联权责',width:200}
-          ,{field:'managetype', title:'是否系统支撑',width:200}
+          ,{field:'providebmname', title:'数据资源管理单位'}
+          // ,{field:'isglqz', title:'是否关联权责',width:200}
+          // ,{field:'managetype', title:'是否系统支撑',width:200}
         
           
-          ,{field:'subversionid',width:240,title:'建表sql',templet: function(res){
-        	  var str="";
-        		  str+=  "<a class=\"layui-table-link\" href=\"javascript:void();\"   lay-event=\"jb_oracle\"><i class=\"iconfont icon-oracle\" style=\"font-size:30px\"></i>&nbsp;&nbsp;&nbsp;</a>"; 
-        		  str+=  "&nbsp;<a class=\"layui-table-link\" href=\"javascript:void();\"  lay-event=\"jb_mysql\"><i class=\"iconfont icon-Mysql\" style=\"font-size:30px\"></i>&nbsp;&nbsp;&nbsp;</a>"; 
-        		  str+=  "<a class=\"layui-table-link\" href=\"javascript:void();\"   lay-event=\"jb_sqlserver\"><i class=\"iconfont icon-sqlserver\" style=\"font-size:30px\"></i>&nbsp;&nbsp;&nbsp;</a>"; 
-        		  str+=  "&nbsp;<a class=\"layui-table-link\" href=\"javascript:void();\"  lay-event=\"jb_gbase\"><i class=\"iconfont icon-gbase\" style=\"font-size:30px\"></i></a>"; 
-        	  return str;
-          }}
+          // ,{field:'subversionid',width:240,title:'建表sql',templet: function(res){
+        	//   var str="";
+        	// 	  str+=  "<a class=\"layui-table-link\" href=\"javascript:void();\"   lay-event=\"jb_oracle\"><i class=\"iconfont icon-oracle\" style=\"font-size:30px\"></i>&nbsp;&nbsp;&nbsp;</a>";
+        	// 	  str+=  "&nbsp;<a class=\"layui-table-link\" href=\"javascript:void();\"  lay-event=\"jb_mysql\"><i class=\"iconfont icon-Mysql\" style=\"font-size:30px\"></i>&nbsp;&nbsp;&nbsp;</a>";
+        	// 	  str+=  "<a class=\"layui-table-link\" href=\"javascript:void();\"   lay-event=\"jb_sqlserver\"><i class=\"iconfont icon-sqlserver\" style=\"font-size:30px\"></i>&nbsp;&nbsp;&nbsp;</a>";
+        	// 	  str+=  "&nbsp;<a class=\"layui-table-link\" href=\"javascript:void();\"  lay-event=\"jb_gbase\"><i class=\"iconfont icon-gbase\" style=\"font-size:30px\"></i></a>";
+        	//   return str;
+          // }}
           ,{field:'versionid', title:'版本号', templet: function(res){
         	  return "<a class=\"layui-table-link\" href=\"javascript:viewVersionList(\'"+res.sourceid+"\');\"><i class=\"iconfont icon-rizhichaxun1\"></i>"+res.versionid+"."+res.subversionid+"</a>"
           }}
@@ -78,9 +78,21 @@ layui.config({
         	  }
         	  
           }}
-          ,{field:'isopensocial', title:'开放类型', sort: true}
-          ,{field:'infotypename', title:'资源分类',width:300 }
-          ,{field:'fltag', title:'资源分类标签',width:300}
+          // ,{field:'isopensocial', title:'开放类型', sort: true}
+          // ,{field:'infotypename', title:'资源分类',width:300 }
+          ,{field:'fltag', title:'数据内容分类',width:300,templet: function (res) {
+					if (res.fltag=="0001"){
+						return "三维数据";
+					}else if (res.fltag=="0002"){
+						return "二维数据";
+					}else if (res.fltag=="0003"){
+						return "结构化数据";
+					}else if (res.fltag=="0004"){
+						return "半结构化数据";
+					}else {
+						return " ";
+					}
+				}}
           
           ,{field:'updatetime', title:'发布时间'}
          

+ 2 - 2
cn.com.taiji.system/src/main/resources/templates/thymeleaf/tinfoclass/tinfoclass_yslist.html

@@ -18,7 +18,7 @@
       <div class="layui-form layui-card-header layuiadmin-card-header-auto">
         <div class="layui-form-item" id="searchtable">
           <div class="layui-inline">
-            <label class="layui-form-label">信息类名称</label>
+            <label class="layui-form-label">数据资源名称</label>
             <div class="layui-input-inline">
               <input type="text" name="infoname" placeholder="请输入" autocomplete="off" class="layui-input"/>
             </div>
@@ -36,7 +36,7 @@
 <!--             </div> -->
 <!--           </div> -->
           <div class="layui-inline">
-            <label class="layui-form-label">信息类编码</label>
+            <label class="layui-form-label">数据资源目录编号</label>
             <div class="layui-input-inline">
               <input type="text" name="infocode" placeholder="请输入" autocomplete="off" class="layui-input"/>
             </div>