From c60a7d7b29faba465969555e2a9c69acb8510f90 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期五, 25 二月 2022 09:11:41 +0800 Subject: [PATCH] 如果客户资料中有“*”的内容,生产文书时自动填上,质疑单位默认填写客户名称,可修改 --- zhengcaioa/zhengcaioa/Views/SysCode/Indexlaw.cshtml | 22 ++++++++++++++++++---- 1 files changed, 18 insertions(+), 4 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Views/SysCode/Indexlaw.cshtml b/zhengcaioa/zhengcaioa/Views/SysCode/Indexlaw.cshtml index 09e2b73..f5df10d 100644 --- a/zhengcaioa/zhengcaioa/Views/SysCode/Indexlaw.cshtml +++ b/zhengcaioa/zhengcaioa/Views/SysCode/Indexlaw.cshtml @@ -4,16 +4,26 @@ } @section headerStyle{ <script type="text/javascript"> + var falv = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.falv))'; + var question = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.question))'; dataCol = [ { label: 'id', name: 'Id', labtype: 'txt', hidden: true }, { + label: '璐ㄧ枒浜嬮」', name: 'Classify1Name', labtype: 'txt', hidden: false, width: 300, + + }, + { label: '缂栫爜', name: 'CodeSn', labtype: 'txt', hidden: false, width: 50, formatter: function (cellvalue, options, rowObject) { - return "<a onclick=\"OpenWindow('" + rowObject.Comments + "','98%','100%', '/SysCode/Editlaw?id=" + rowObject.Id + "')\" >" + cellvalue + "</a>"; + return "<a onclick=\"OpenWindow('" + rowObject.Comments + "','98%','100%', '/SysCode/Editlaw?Classify1=" + rowObject.Classify1 + "')\" >" + cellvalue + "</a>"; } }, { - label: '鍚嶇О', name: 'Comments', labtype: 'txt', hidden: false, width: 300, + label: '娉曞緥鍚嶇О', name: 'CommentsName', labtype: 'txt', hidden: false, width: 100, + + }, + { + label: '娉曟潯', name: 'Classify2', labtype: 'txt', hidden: false, width: 100, }, { @@ -21,9 +31,11 @@ }, { - label: '澶囨敞', name: 'Contents', labtype: 'txt', hidden: false, width: 300, + label: '鍐呭', name: 'Contents', labtype: 'txt', hidden: false, width: 300, }, + + { label: '鐘舵��', name: 'RecStatus', labtype: 'txt', hidden: true }, { label: '鍒涘缓浜�', name: 'Creater', labtype: 'txt', hidden: true }, { label: '鍒涘缓鏃堕棿', name: 'Createtime', labtype: 'txt', hidden: true }, @@ -33,10 +45,12 @@ ]; dataUrl = "/SysCode/GetListlaw"; searchCol = [ + { label: '璐ㄧ枒浜嬮」', name: 'Classify1', labtype: 'combox', hidden: false, data: JSON.parse(question) }, { label: '缂栫爜', name: 'CodeSn', labtype: 'txt', hidden: false }, - { label: '鍚嶇О', name: 'Comments', labtype: 'txt', hidden: false }, + { label: '鍚嶇О', name: 'Comments', labtype: 'combox', hidden: false, data: JSON.parse(falv) }, + ]; -- Gitblit v1.9.1