From 3c86fc3958efa938d619de8b1d8e19ad48e0a1b5 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 16 六月 2021 13:32:44 +0800
Subject: [PATCH] 提交
---
zhengcaioa/zhengcaioa/Views/WorkFlowTask/IndexGuanLi.cshtml | 137 +++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 137 insertions(+), 0 deletions(-)
diff --git a/zhengcaioa/zhengcaioa/Views/WorkFlowTask/IndexGuanLi.cshtml b/zhengcaioa/zhengcaioa/Views/WorkFlowTask/IndexGuanLi.cshtml
new file mode 100644
index 0000000..7275661
--- /dev/null
+++ b/zhengcaioa/zhengcaioa/Views/WorkFlowTask/IndexGuanLi.cshtml
@@ -0,0 +1,137 @@
+锘緻{
+ ViewBag.Title = "WorkFlowTask";
+ Layout = "~/Views/Shared/_Layout_Search.cshtml";
+}
+
+<link href="~/css/jquery-confirm.css" rel="stylesheet">
+<script src="~/js/jquery-confirm.js" type="text/javascript"></script>
+
+@section headerStyle{
+ <script type="text/javascript">
+ var Applytiye = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.Applytiye))';
+
+
+
+ loseherght = 60;
+ dataCol = [
+ { label: 'id', name: 'Id', labtype: 'txt', hidden: true },
+ { label: '鐢宠鏃堕棿', name: 'ApplytimeName', labtype: 'txt', hidden: false, width: 100 },
+ {
+ label: '鐢宠鍗曞彿', name: 'Applyno', labtype: 'txt', hidden: false, width: 100
+ },
+
+ { label: '閮ㄩ棬', name: 'DeptName', labtype: 'txt', hidden: false, width: 100 },
+ { label: '鐢宠浜�', name: 'CreaterName', labtype: 'txt', hidden: false, width: 100 },
+ { label: '璇风ず鍚嶇О', name: 'Content', labtype: 'txt', hidden: false, width: 100 },
+ { label: '姝ラ', name: 'Step', labtype: 'txt', hidden: false, width: 100 },
+ { label: '鎵瑰鐘舵��', name: 'ShenpiStatusName', labtype: 'txt', hidden: false, width: 100 },
+ {
+ label: '鏌ョ湅', name: 'Remark', labtype: 'txt', hidden: false, width: 100,
+ formatter: function (cellvalue, options, rowObject) {
+ return "<a onclick=\"OpenWindow('鏌ョ湅','100%','100%', '" + rowObject.Deelurl + "')\" >鏌ョ湅</a> ";
+ }
+ },
+
+ {
+ label: '鍒犻櫎', name: 'Remark111', labtype: 'txt', hidden: false, width: 100,
+ formatter: function (cellvalue, options, rowObject) {
+ return "<a onclick=\"shanchu('" + rowObject.Id + "')\" >鍒犻櫎</a> ";
+ }
+ },
+
+ ];
+ dataUrl = "/WorkFlowTask/GetListGuanLi";
+ searchCol = [
+
+
+
+
+
+ { label: '鐢宠鏃堕棿', name: 'Applytime', labtype: 'datearea', hidden: false },
+ { label: '鐢宠鍗曞彿', name: 'Applyno', labtype: 'txt', hidden: false },
+ { label: '鐢宠浜�', name: 'ApplyUserName', labtype: 'txt', hidden: false },
+ { label: '鐢宠娴佺▼', name: 'Applytiye', labtype: 'combox', hidden: false, data: JSON.parse(Applytiye)/*, cwidth: '5%', cccwidth: '8%' */},
+
+ ];
+
+
+
+
+
+ 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">
+
+
+
+ var shanchu = function (Id) {
+
+ $.confirm({
+ title: '鍒犻櫎娴佺▼鎿嶄綔纭',
+ content: '姝ゆ搷浣滃皢鍒犻櫎褰撳墠娴佺▼锛岀‘璁よ缁х画鍚�?',
+ type: 'green',
+ icon: 'glyphicon glyphicon-question-sign',
+ buttons: {
+ ok: {
+ text: '纭',
+ btnClass: 'btn-primary',
+ action: function () {
+ $.ajax({
+ type: "POST",
+ url: "/WorkFlowTask/Del?id=" + Id,
+ dataType: "json",
+ global: false,
+ success: function (data) {
+
+ if (data.Result) {
+ jQuery('#jqGrid').jqGrid().trigger('reloadGrid');
+
+ toastr.success("鍒犻櫎鎴愬姛");
+ }
+ else {
+ toastr.error(data.Message);
+ }
+ },
+ error: function () {
+ toastr.error("鍒犻櫎澶辫触");
+ }
+ });
+ }
+ },
+ cancel: {
+ text: '鍙栨秷',
+ btnClass: 'btn-primary'
+ }
+ }
+ });
+
+
+
+ //window._reloadPageData();
+
+ }
+
+
+
+
+ </script>
+}
--
Gitblit v1.9.1