From 6f34ab1ed6f8cb79a012a30a7b687e362c6f16c2 Mon Sep 17 00:00:00 2001 From: LR-20210131IOQH\Administrator <jackcold@163.com> Date: 星期四, 10 六月 2021 19:08:41 +0800 Subject: [PATCH] 打卡判断,增加前端浏览器mac获取,当mac获取为空时不判断 --- zhengcaioa/zhengcaioa/Views/Expert/Index.cshtml | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Views/Expert/Index.cshtml b/zhengcaioa/zhengcaioa/Views/Expert/Index.cshtml index ecf541f..e05866f 100644 --- a/zhengcaioa/zhengcaioa/Views/Expert/Index.cshtml +++ b/zhengcaioa/zhengcaioa/Views/Expert/Index.cshtml @@ -9,6 +9,7 @@ var expertType = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.expertType))'; var Province = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.Province))'; var level = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.level))'; + var ReviewItem = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.ReviewItem))'; dataCol = [ { label: 'id', name: 'Id', labtype: 'txt', hidden: true }, @@ -20,8 +21,8 @@ } }, { label: '涓撳璇佸彿', name: 'CertiNumber', labtype: 'txt', hidden: false }, - { label: '涓昏璇勫鍝佺洰', name: 'ReviewItem', labtype: 'txt', hidden: false }, - { label: '涓撳绛夌骇', name: 'Level', labtype: 'txt', hidden: false }, + { label: '涓昏璇勫鍝佺洰', name: 'ReviewItem', labtype: 'txt', hidden: true }, + { label: '涓撳绛夌骇', name: 'LevelName', labtype: 'txt', hidden: false }, { label: '鑱旂郴鐢佃瘽', name: 'Phone1', labtype: 'txt', hidden: false }, { label: '鍚堜綔娆℃暟', name: 'Level', labtype: 'txt', hidden: true }, { @@ -62,7 +63,7 @@ { label: '甯�', name: 'City', labtype: 'combox', hidden: false, data: JSON.parse('[]'), cwidth: '1%', cccwidth: '7%' }, { label: '涓撳濮撳悕', name: 'Name', labtype: 'txt', hidden: false }, { label: '涓撳绫诲瀷', name: 'ExpertType', labtype: 'combox', hidden: false, data: JSON.parse(expertType)/*,cwidth: '5%', cccwidth: '28%' */ }, - { label: '璇勫鍝佺洰', name: 'ReviewItem', labtype: 'txt', hidden: false }, + { label: '璇勫鍝佺洰', name: 'ReviewItem', labtype: 'combox', hidden: false, data: JSON.parse(ReviewItem) }, { label: '涓撳绾у埆', name: 'Level', labtype: 'combox', hidden: false, data: JSON.parse(level) }, { label: '涓撳璇佸彿', name: 'CertiNumber', labtype: 'txt', hidden: false }, { label: '鑱旂郴鐢佃瘽', name: 'Phone1', labtype: 'txt', hidden: false }, @@ -112,7 +113,7 @@ global: false, data: "", success: function (data) { - + var city = $("#PBSCity"); city.find('option').remove(); var aaa = '<option value="" hassubinfo="true">璇烽�夋嫨</option>'; -- Gitblit v1.9.1