From 32209b80da227c47863fccb3bd602cf9e06b6ff6 Mon Sep 17 00:00:00 2001 From: win10 Date: Fri, 12 Jun 2020 10:17:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B7=B2=E7=9F=A5=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/renshi/view/teacher/read.html | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/app/renshi/view/teacher/read.html b/app/renshi/view/teacher/read.html index cbe4e23c..39ff5664 100644 --- a/app/renshi/view/teacher/read.html +++ b/app/renshi/view/teacher/read.html @@ -220,21 +220,23 @@ }} ,{field:'ktLxdanwei', title: '立项单位',sort:true, minWidth: 177,templet:function(d){ var str=''; - if(d.ktLxdanwei) - { - str = d.ktLxdanwei.jiancheng; + if(d.KtCe){ + if(d.ktLxdanwei) + { + str = d.ktLxdanwei.jiancheng; + } } return str; }} ,{title: '级别', minWidth: 177,templet:function(d){ var str=''; - console.log(d.ktLxdanwei); - if(d.ktLxdanwei) - { + if(d.KtCe){ + if(d.ktLxdanwei) + { if(d.ktLxdanwei.dwJibie){ str = d.ktLxdanwei.dwJibie.title; } - + } } return str; }}