Explorar el Código

下载附件连接

callm hace 2 años
padre
commit
a1a3d07157
Se han modificado 1 ficheros con 8 adiciones y 1 borrados
  1. 8 1
      WebContent/app/util/RenderUtil.js

+ 8 - 1
WebContent/app/util/RenderUtil.js

@@ -34,7 +34,14 @@ Ext.define('erp.util.RenderUtil', {
 			}
 			else  return '<span style="color:green;padding-left:2px">' + val + '</span>';
 		}
-	}, 
+	},
+
+	/**
+	 * 培训资源链接
+	 */
+	resource_link:function(val){
+		return '<a target="_blank" href="' + val +'">'+val+'</a>';
+	},
 	/**
 	 * @PLM
 	 */