From 3a6b641fd48f7377fec66e31b069c472fac5ba60 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期四, 25 十一月 2021 14:47:34 +0800 Subject: [PATCH] 提交 --- zhengcaioa/zhengcaioa/Views/SysCode/Indexzhuanjiaquyu.cshtml | 66 +++++++++++++++++++++++++++++++++ 1 files changed, 66 insertions(+), 0 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Views/SysCode/Indexzhuanjiaquyu.cshtml b/zhengcaioa/zhengcaioa/Views/SysCode/Indexzhuanjiaquyu.cshtml new file mode 100644 index 0000000..70190b8 --- /dev/null +++ b/zhengcaioa/zhengcaioa/Views/SysCode/Indexzhuanjiaquyu.cshtml @@ -0,0 +1,66 @@ +锘緻{ + ViewBag.Title = "Editzhuanjiaquyu"; + Layout = "~/Views/Shared/_Layout_Search.cshtml"; +} +@section headerStyle{ + <script type="text/javascript"> + dataCol = [ + { label: 'id', name: 'Id', labtype: 'txt', hidden: true }, + { + label: '缂栫爜', name: 'CodeSn', labtype: 'txt', hidden: false, width: 50, + formatter: function (cellvalue, options, rowObject) { + return "<a onclick=\"OpenWindow('" + rowObject.Comments + "','98%','100%', '/SysCode/Editzhuanjiaquyu?id=" + rowObject.Id + "')\" >" + cellvalue + "</a>"; + } + }, + { + label: '鍚嶇О', name: 'Comments', labtype: 'txt', hidden: false, width: 200, + + }, + { + label: '鎺掑簭', name: 'Sort', labtype: 'txt', hidden: false, width: 50, + + }, + { + 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 }, + { label: '淇敼浜�', name: 'Modifier', labtype: 'txt', hidden: true }, + { label: '淇敼鏃堕棿', name: 'Modifytime', labtype: 'txt', hidden: true }, + + ]; + dataUrl = "/SysCode/GetListzhuanjiaquyu"; + searchCol = [ + { label: '缂栫爜', name: 'CodeSn', labtype: 'txt', hidden: false }, + + { label: '鍚嶇О', name: 'Comments', labtype: 'txt', hidden: false }, + + + + ]; + var _pageAdd = function () { + OpenWindow("鏂板鍖哄煙瀵圭収", "98%", "90%", "/SysCode/Editzhuanjiaquyu/"); + } + + var _afterSave = function (result) { + if (result) { + toastr.success("淇濆瓨鎴愬姛"); + } else { + toastr.error("淇濆瓨澶辫触"); + } + } + + var _afterDel = function (result) { + if (result) { + toastr.success("鍒犻櫎鎴愬姛"); + } else { + /**/ + toastr.error("鍒犻櫎鎴愬姛"); + /**/ + } +} + </script> +} + -- Gitblit v1.9.1