From 1243f9cdb1ce367af05caabbb71ce81e38d5a1af Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 16 四月 2025 16:16:43 +0800
Subject: [PATCH] 增加一种报名类型
---
zhengcaioa/zhengcaioa/Views/FiAccount/Index.cshtml | 41 ++++++++++++++++++++++++++++++++++++++---
1 files changed, 38 insertions(+), 3 deletions(-)
diff --git a/zhengcaioa/zhengcaioa/Views/FiAccount/Index.cshtml b/zhengcaioa/zhengcaioa/Views/FiAccount/Index.cshtml
index ce45768..b3bbb7e 100644
--- a/zhengcaioa/zhengcaioa/Views/FiAccount/Index.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/FiAccount/Index.cshtml
@@ -1,6 +1,9 @@
-锘緻{
+锘緻using DTO;
+@{
ViewBag.Title = "FiAccount";
Layout = "~/Views/Shared/_Layout_Search.cshtml";
+
+ List<PageEntity> ActionInfo2 = ViewData["ActionInfo2"] as List<PageEntity>;
}
@section headerStyle{
<script type="text/javascript">
@@ -21,7 +24,13 @@
{ label: '鎬绘敹鍏�', name: 'AllIncome', labtype: 'txt', hidden: false },
{ label: '鎬绘敮鍑�', name: 'AllExpenses', labtype: 'txt', hidden: false },
{ label: '浣欓', name: 'Balance', labtype: 'txt', hidden: false },
- { label: '澶囨敞', name: 'Remark', labtype: 'txt', hidden: false },
+ {
+ label: '娴佹按璐�', name: 'Remark', labtype: 'txt', hidden: false,
+ formatter: function (cellvalue, options, rowObject) {
+ return "<a class=\"Liushuizhang\" style=\"display: none;\" onclick=\"OpenWindow('" + rowObject.Accountname + "','98%','100%', '/FiAccount/Liushuizhang?id=" + rowObject.Id + "')\" >娴佹按璐�</a>";
+ }
+ },
+
{ label: '鐘舵��', name: 'RecStatus', labtype: 'txt', hidden: true },
{ label: '鍒涘缓浜�', name: 'Creater', labtype: 'txt', hidden: true },
{ label: '鍒涘缓鏃堕棿', name: 'Createtimetxt', labtype: 'txt', hidden: true },
@@ -42,7 +51,29 @@
var _pageAdd = function () {
OpenWindow("鏂板璐︽埛", "98%", "90%", "/FiAccount/Edit/");
}
+ var ActionInfo22 = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ActionInfo2))';
+ var _afterLoadDataload = function (xhr) {
+
+ //var rows = jQuery("#jqGrid").jqGrid("getRowData"), total_shouru = 0, total_zhuchu = 0, total_yue = 0;
+ //for (var i = 0, l = rows.length; i < l; i++) {
+ // total_shouru += (rows[i].AllIncome - 0);
+ // total_zhuchu += (rows[i].AllExpenses - 0);
+ // total_yue += (rows[i].Balance - 0);
+ //}
+
+ jQuery("#jqGrid").jqGrid("footerData", "set", { QiyongStatusName: "<font color='darkgoldenrod'>--褰撻〉鍚堣--</font> </br> <font color='darkgoldenrod'>--鍚堣--</font>", AllIncome: "<font color='darkgoldenrod'>" + xhr.DangyeHeji1 + "</font></br><font color='darkgoldenrod'>" + xhr.Heji1 + "</font>", AllExpenses: "<font color='darkgoldenrod'>" + xhr.DangyeHeji2 + "</font></br><font color='darkgoldenrod'>" + xhr.Heji2 + "</font>", Balance: "<font color='darkgoldenrod'>" + xhr.DangyeHeji3 + "</font></br><font color='darkgoldenrod'>" + xhr.Heji3 + "</font>" });
+
+ var data = JSON.parse(ActionInfo22);
+ for (var o in data) {
+ //alert(o);
+ //alert(data[o]);
+ /* alert("PageShortcut:" + data[o].PageShortcut + " PageName:" + data[o].PageName);*/
+ $("." + data[o].PageShortcut).show();
+
+ }
+
+ };
var _afterSave = function (result) {
@@ -61,7 +92,11 @@
toastr.error("鍒犻櫎鎴愬姛");
/**/
}
-}
+ }
+
+
+
+
</script>
}
--
Gitblit v1.9.1