You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
layui . use ( [ 'laydate' ] , function ( ) {
var laydate = layui . laydate
, laytpl = layui . laytpl ;
var tableData = {
list : [
{ "year" : "2021" , "title" : "2021年多功能运动场改造( 基础条件装备) " , "sssj" : "2020-08" , "ssnr" : "多功能运动场" , "gys" : "东北师大立项软件股份有限公司" , "ysje" : "300" , "sjje" : "300" , "cgfs" : "自采" } ,
{ "year" : "2021" , "title" : "2021年多功能运动场改造( 基础条件装备) " , "sssj" : "2020-08" , "ssnr" : "多功能运动场" , "gys" : "东北师大立项软件股份有限公司" , "ysje" : "300" , "sjje" : "300" , "cgfs" : "自采" } ,
{ "year" : "2021" , "title" : "2021年多功能运动场改造( 基础条件装备) " , "sssj" : "2020-08" , "ssnr" : "多功能运动场" , "gys" : "东北师大立项软件股份有限公司" , "ysje" : "300" , "sjje" : "300" , "cgfs" : "自采" }
]
}
laydate . render ( {
elem : '#ysnd'
, type : 'year'
} ) ;
var tableTpl = tableScript . innerHTML ,
tableView = document . getElementById ( 'tableView' ) ;
function tableViewLoadData ( ) {
laytpl ( tableTpl ) . render ( tableData , function ( html ) {
tableView . innerHTML = html ;
} ) ;
}
tableViewLoadData ( ) ;
$ ( "#back" ) . click ( function ( ) {
window . history . back ( ) ;
} ) ;
} ) ;