From ed3015095f1b0e88bc579877c678a3fac191381f Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期一, 28 六月 2021 14:32:26 +0800
Subject: [PATCH] Merge branch 'master' of http://47.108.235.38:8080/r/zhengcaioa
---
zhengcaioa/zhengcaioa/Views/Zhuanjiahuida/Index.cshtml | 97 ++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 97 insertions(+), 0 deletions(-)
diff --git a/zhengcaioa/zhengcaioa/Views/Zhuanjiahuida/Index.cshtml b/zhengcaioa/zhengcaioa/Views/Zhuanjiahuida/Index.cshtml
new file mode 100644
index 0000000..496c7c0
--- /dev/null
+++ b/zhengcaioa/zhengcaioa/Views/Zhuanjiahuida/Index.cshtml
@@ -0,0 +1,97 @@
+锘緻{
+ ViewBag.Title = "Zhuanjiahuida";
+ Layout = "~/Views/Shared/_Layout_Search.cshtml";
+}
+@section headerStyle{
+ <script type="text/javascript">
+ var shifou = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.shifou))';
+
+
+
+
+ dataCol = [
+ { label: 'id', name: 'Id', labtype: 'txt', hidden: true },
+ //{
+ // label: '鎻愰棶浜�', name: 'Username', labtype: 'txt', hidden: false, width: 100
+ //},
+ {
+ label: '闂', name: 'Question', labtype: 'txt', hidden: false, width: 200,
+ formatter: function (cellvalue, options, rowObject) {
+ return "<a onclick=\"OpenWindow('鍥炵瓟闂','98%','100%', '/Zhuanjiahuida/Edit?id=" + rowObject.Id + "')\" >" + cellvalue + "</a>";
+ }
+ },
+
+
+ {
+ label: '鍥炵瓟', name: 'Anwser', labtype: 'txt', hidden: false, width: 300
+
+ },
+
+ ];
+ dataUrl = "/Zhuanjiahuida/GetList";
+ searchCol = [
+ //{ label: '鎻愰棶浜�', name: 'Username', labtype: 'txt' },
+ { label: '闂', name: 'Question', labtype: 'txt' },
+ { label: '鏄惁鍥炵瓟', name: 'HuidaStatus', labtype: 'combox', hidden: false, data: JSON.parse(shifou)},
+
+
+
+
+
+
+
+
+ ];
+
+
+ //var _pageAdd = function () {
+ // OpenWindow("鏂板鍩烘湰宸ヨ祫", "98%", "100%", "/Zhuanjiahuida/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">
+
+ function sendHuidaStatus() {
+
+ var msg = $("#PBSHuidaStatus");
+
+
+ if (msg.length > 0) {
+ $("#PBSHuidaStatus").val("D");
+ $("#PBSHuidaStatus").trigger('chosen:updated');//鏇存柊閫夐」
+ _pageSearch();
+ } else {
+ setTimeout(sendHuidaStatus, 100);
+ }
+ }
+
+
+ sendHuidaStatus();
+
+
+
+ </script>
+}
--
Gitblit v1.9.1