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/User/JiBenGongZi.cshtml | 131 +++++++++++++++++++++++++++++++++++++++++++
1 files changed, 131 insertions(+), 0 deletions(-)
diff --git a/zhengcaioa/zhengcaioa/Views/User/JiBenGongZi.cshtml b/zhengcaioa/zhengcaioa/Views/User/JiBenGongZi.cshtml
new file mode 100644
index 0000000..4bdda54
--- /dev/null
+++ b/zhengcaioa/zhengcaioa/Views/User/JiBenGongZi.cshtml
@@ -0,0 +1,131 @@
+锘緻{
+ ViewBag.Title = "User";
+ Layout = "~/Views/Shared/_Layout_Search.cshtml";
+}
+@section headerStyle{
+ <script type="text/javascript">
+ var zhiwustatusDropDown = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.zhiwustatus))';
+ var dept = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.dept))';
+ var post = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.post))';
+ var shifou = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.shifou))';
+ var sex = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.sex))';
+ var isMaryed = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.isMaryed))';
+ dataCol = [
+ { label: 'id', name: 'Id', labtype: 'txt', hidden: true },
+ {
+ label: '宸ュ彿', name: 'Usernumber', labtype: 'txt', hidden: false, width: 100
+
+ },
+ {
+ label: '濮撳悕', name: 'UserName', labtype: 'txt', hidden: false, width: 100,
+ formatter: function (cellvalue, options, rowObject) {
+ return "<a onclick=\"OpenWindow('" + cellvalue + "','100%','98%', '/User/EditBeizhu?id=" + rowObject.Id + "')\" >" + cellvalue + "</a>";
+ }
+ },
+
+ {
+ label: '宸ヤ綔閮ㄩ棬', name: 'DeptName', labtype: 'txt', hidden: false, width: 100
+
+ },
+ {
+ label: '鑱屽姟', name: 'HrPositionName', labtype: 'txt', hidden: false, width: 100
+
+ },
+ {
+ label: '钖祫寰呴亣', name: 'BasicPrice', labtype: 'txt', hidden: false, width: 100
+
+ },
+ //{
+ // label: '鍩烘湰宸ヨ祫', name: 'jibensalaryName', labtype: 'txt', hidden: false, width: 100
+
+ //},
+ //{
+ // label: '淇濆瘑璐�', name: 'baomisalaryName', labtype: 'txt', hidden: false, width: 100
+
+ //},
+ //{
+ // label: '宸ヤ綔琛ヨ创', name: 'jintiesalaryName', labtype: 'txt', hidden: false, width: 100
+
+ //},
+
+ {
+ label: '璇曠敤鏈�', name: 'ShiyongDateName', labtype: 'txt', hidden: false, width: 200
+
+ },
+
+ {
+ label: '璇曠敤鏈熷伐璧�', name: 'ShiyongPriceName', labtype: 'txt', hidden: false, width: 100
+
+ },
+ {
+ label: '棰勫彂宸ヨ祫', name: 'advancewagesName', labtype: 'txt', hidden: false, width: 100
+
+ },
+ {
+ label: '淇濆簳骞磋柂', name: 'miniyearsalaryName', labtype: 'txt', hidden: false, width: 100
+
+ },
+ {
+ label: '宸ラ緞宸ヨ祫', name: 'senioritywagesName', labtype: 'txt', hidden: false, width: 100
+
+ },
+ {
+ label: '鏄惁浜ら�氳ˉ璐�', name: 'IstravelsubsidyName', labtype: 'txt', hidden: false, width: 100
+
+ },
+ {
+ label: '涓撻」鎵i櫎', name: 'geshuiqizhengName', labtype: 'txt', hidden: false, width: 100
+
+ },
+
+ { label: '鐘舵��', name: 'RecStatus', labtype: 'txt', hidden: true },
+ { label: '鍒涘缓浜�', name: 'Creater', labtype: 'txt', hidden: true },
+ { label: '鍒涘缓鏃堕棿', name: 'Createtimetxt', labtype: 'txt', hidden: true },
+ { label: '淇敼浜�', name: 'Modifier', labtype: 'txt', hidden: true },
+ { label: '淇敼鏃堕棿', name: 'Modifytimetxt', labtype: 'txt', hidden: true },
+ {
+ label: '棰滆壊', name: 'Coler', labtype: 'txt', hidden: true,
+ formatter: function (cellvalue, options, rowObject) {
+ return "<span style='color:" + rowObject.Coler + ";'>" + cellvalue+"</span>";
+ }},
+ ];
+ dataUrl = "/User/GetUserList";
+ searchCol = [
+ { label: '宸ュ彿', name: 'Usernumber', labtype: 'txt', hidden: false },
+ { label: '宸ヤ綔閮ㄩ棬', name: 'DeptId', labtype: 'combox', hidden: false, data: JSON.parse(dept) },
+
+
+ { label: '鑱屽伐濮撳悕', name: 'UserName', labtype: 'txt', hidden: false },
+
+
+
+
+
+ ];
+
+ 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