From cbc4c05df39426a77ffc49ab94c0ffdcdc3fe206 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 18 十一月 2022 14:19:52 +0800
Subject: [PATCH] 改区域

---
 zhengcaioa/zhengcaioa/Views/Project/Select.cshtml |   26 ++++++++++++++++++++++++--
 1 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/zhengcaioa/zhengcaioa/Views/Project/Select.cshtml b/zhengcaioa/zhengcaioa/Views/Project/Select.cshtml
index 48f9f0a..424536a 100644
--- a/zhengcaioa/zhengcaioa/Views/Project/Select.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/Project/Select.cshtml
@@ -36,6 +36,9 @@
                     if (rowObject.Fblx != null && rowObject.Fblx != '') {
                         color = "red";
                     }
+                    if (rowObject.Creater != null && rowObject.Creater == '111') {
+                        color = "orange";
+                    }
 
                     return "<a onclick=\"OpenWindow('" + cellvalue + "','98%','100%', '/Project/Add?id=" + rowObject.Id + "')\"  ><span style='color:" + color + ";'>" + cellvalue + "</span></a>";
                 }
@@ -93,7 +96,26 @@
             { label: '鎶曟爣娆℃暟', name: 'Toubiaocishu', labtype: 'txt', hidden: true },
             { label: '涓爣娆℃暟', name: 'Zhongbiaocishu', labtype: 'txt', hidden: true },
             { label: '搴熸爣娆℃暟', name: 'Feibiaocishu', labtype: 'txt', hidden: true },
-            { label: '涓爣閲戦', name: 'Zhongbiaojine', labtype: 'txt', hidden: true }
+            { label: '涓爣閲戦', name: 'Zhongbiaojine', labtype: 'txt', hidden: true },
+            {
+                label: '璐ㄧ枒', name: 'Zhiyistatus', labtype: 'txt', hidden: false, width: 60,
+                formatter: function (cellvalue, options, rowObject) {
+
+                    
+
+                    return "<a onclick=\"OpenWindow('" + rowObject.Name + "','98%','100%', '/Project/Add?id=" + rowObject.Id + "')\"  >" + cellvalue + "</a>";
+                }
+            },
+            {
+                label: '鎶曡瘔', name: 'Tousustatus', labtype: 'txt', hidden: false, width: 60,
+                formatter: function (cellvalue, options, rowObject) {
+
+                    
+
+                    return "<a onclick=\"OpenWindow('" + rowObject.Name + "','98%','100%', '/Project/Add?id=" + rowObject.Id + "')\"  >" + cellvalue + "</a>";
+                }
+            },
+
         ];
         dataUrl = "/Project/GetLiaotianList?StartTimestar=" + Baomingtimebegin + "|" + Baomingtimeend +"@(string.IsNullOrEmpty(Creater11) ?"":"&Creater="+ Creater11)";
         searchCol = [
@@ -124,7 +146,7 @@
             { label: '鍒嗗樊澶т簬', name: 'Fenchadayu', labtype: 'txt', hidden: false/*, cwidth: '8.5%', cccwidth: '15%' */ },
             { label: '渚涘簲鍟嗘暟閲�', name: 'Shuliang', labtype: 'txt', hidden: false/*, cwidth: '8.5%', cccwidth: '15%' */ },
             //{ label: '浠峰樊灏忎簬', name: 'Baojiachaxiaoyu', labtype: 'txt', hidden: false/*, cwidth: '8.5%', cccwidth: '15%' */ },
-
+            { label: '鏄惁纭', name: 'Shifouqueren',  labtype: 'combox', hidden: false, data: JSON.parse(flbx) },
 
 
         ];

--
Gitblit v1.9.1