From 8db98fe1142211c9941d9c7d944394c5d7a33159 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期一, 21 六月 2021 09:17:53 +0800
Subject: [PATCH] 提交
---
zhengcaioa/zhengcaioa/Views/HrJixiaoticheng/Index.cshtml | 87 +++++++++++++++++++++++++++++++++++++++++++
1 files changed, 87 insertions(+), 0 deletions(-)
diff --git a/zhengcaioa/zhengcaioa/Views/HrJixiaoticheng/Index.cshtml b/zhengcaioa/zhengcaioa/Views/HrJixiaoticheng/Index.cshtml
new file mode 100644
index 0000000..4915162
--- /dev/null
+++ b/zhengcaioa/zhengcaioa/Views/HrJixiaoticheng/Index.cshtml
@@ -0,0 +1,87 @@
+锘緻{
+ ViewBag.Title = "HrJixiaoticheng";
+ Layout = "~/Views/Shared/_Layout_Search.cshtml";
+}
+@section headerStyle{
+ <script type="text/javascript">
+ var post = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.post))';
+
+ var Project = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.Project))';
+
+
+ dataCol = [
+ { label: 'id', name: 'Id', labtype: 'txt', hidden: true },
+ {
+ label: '鑱屽姟', name: 'PostName', labtype: 'txt', hidden: false, width: 100,
+ formatter: function (cellvalue, options, rowObject) {
+ return "<a onclick=\"OpenWindow('" + cellvalue.replace(/'/g, '') + "','98%','100%', '/HrJixiaoticheng/Edit?id=" + rowObject.Id + "')\" >" + cellvalue + "</a>";
+ }
+ },
+ {
+ label: '璁′欢椤圭洰', name: 'PiecerateName', labtype: 'txt', hidden: false, width: 100
+ },
+ {
+ label: '鎻愭垚鏍囧噯', name: 'TichengstandardName', labtype: 'txt', hidden: false, width: 100
+ },
+
+ {
+ label: '鎻愭垚', name: 'TichengName', labtype: 'txt', hidden: false, width: 100
+
+ },
+ { label: '浠诲姟鏍囧噯', name: 'RenwustandardName', labtype: 'txt', hidden: false, width: 100 },
+
+ { label: '浠诲姟鍩烘暟', name: 'RenwuName', labtype: 'txt', hidden: false, width: 100 },
+
+ { label: '鐢熸晥鏃ユ湡', name: 'EffecttimeName', labtype: 'txt', hidden: false, width: 100 },
+ ];
+ dataUrl = "/HrJixiaoticheng/GetList";
+ searchCol = [
+
+ { label: '鑱屽姟', name: 'PostId', labtype: 'combox', hidden: false, data: JSON.parse(post), cwidth: '5%', cccwidth: '8%' },
+ { label: '璁′欢椤圭洰', name: 'PiecerateId', labtype: 'combox', hidden: false, data: JSON.parse(Project), cwidth: '5%', cccwidth: '8%' },
+
+
+
+
+
+
+
+ ];
+
+
+ var _pageAdd = function () {
+ OpenWindow("鏂板缁╂晥鎻愭垚鏍囧噯", "98%", "100%", "/HrJixiaoticheng/Edit/");
+ }
+
+
+
+
+ var _afterSave = function (result) {
+ if (result) {
+ toastr.success("淇濆瓨鎴愬姛");
+ } else {
+ toastr.error("淇濆瓨澶辫触");
+ }
+ }
+
+ var _afterDel = function (result) {
+ if (result) {
+ toastr.success("鍒犻櫎鎴愬姛");
+ } else {
+ /**/
+ toastr.error("鍒犻櫎鎴愬姛");
+ /**/
+ }
+}
+ </script>
+}
+
+@section footerScripts{
+ <script type="text/javascript">
+
+
+
+
+
+ </script>
+}
--
Gitblit v1.9.1