From c9c8c89f0cd11ad0d6dfce782af78739c30302c7 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 30 九月 2022 15:21:02 +0800
Subject: [PATCH] 提交
---
zhengcaioa/zhengcaioa/Views/CooperVisit/Index.cshtml | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/zhengcaioa/zhengcaioa/Views/CooperVisit/Index.cshtml b/zhengcaioa/zhengcaioa/Views/CooperVisit/Index.cshtml
index efc4052..74f4bc9 100644
--- a/zhengcaioa/zhengcaioa/Views/CooperVisit/Index.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/CooperVisit/Index.cshtml
@@ -1,6 +1,7 @@
锘緻{
ViewBag.Title = "CooperVisit";
Layout = "~/Views/Shared/_Layout_Search.cshtml";
+ string Viscustomer = ViewBag.Viscustomer as string;
}
@section headerStyle{
<script type="text/javascript">
@@ -8,7 +9,8 @@
var khlys = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.khly))';
var hyfls = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.hyfl))';
var users = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.users))';
- var shengDropDown = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.ShengDropDown))';
+ var shengDropDown = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.ShengDropDown))';
+
loseherght = 60;
gridConfig = { multiselect: true, selectcol: "Id" };
dataCol = [
@@ -21,7 +23,7 @@
}
},
- { label: '鎵�灞炲尯鍩�', name: 'ShengName', labtype: 'txt', hidden: false, width: 100 },
+ //{ label: '鎵�灞炲尯鍩�', name: 'ShengName', labtype: 'txt', hidden: false, width: 100 },
{ label: '瀹㈡埛鍗曚綅', name: 'Name', labtype: 'txt', hidden: false, width: 100 },
{ label: '鎷滆鏂瑰紡', name: 'VisTypeName', labtype: 'txt', hidden: false, width: 100 },
{ label: '鎺ュ緟浜�', name: 'Jdr', labtype: 'txt', hidden: false, width: 100},
@@ -32,10 +34,10 @@
{ label: '璺熻釜寤鸿', name: 'JyName', labtype: 'txt', hidden: false, width: 100 },
];
- dataUrl = "/CooperVisit/GetList";
+ dataUrl = "/CooperVisit/GetList?Viscustomer=@Viscustomer";
searchCol = [
{ label: '瀹㈡埛鏉ユ簮', name: 'Khly', labtype: 'combox', hidden: false, data: JSON.parse(khlys), cwidth: '5%', cccwidth: '8%' },
- { label: '琛屼笟鍒嗙被', name: 'Hyfl', labtype: 'combox', hidden: false, data: JSON.parse(hyfls), cwidth: '5%', cccwidth: '8%' },
+ { label: '琛屼笟鍒嗙被', name: 'Hyfl', labtype: 'combox', hidden: false, data: JSON.parse(hyfls), cwidth: '5%', cccwidth: '15%' },
{ label: '瀹㈡埛绫诲瀷', name: 'Khlx', labtype: 'combox', hidden: false, data: JSON.parse(khlxs), cwidth: '5%', cccwidth: '8%' },
{ label: '涓氬姟缁忕悊', name: 'Ywjl', labtype: 'combox', hidden: false, data: JSON.parse(users), cwidth: '5%', cccwidth: '8%' },
@@ -49,11 +51,11 @@
];
var _pageAdd = function () {
- OpenWindow("鏂板鎰忓悜瀹㈡埛鎷滆", "98%", "90%", "/CooperVisit/Edit/");
+ OpenWindow("鏂板鍚堜綔瀹㈡埛鍥炶", "98%", "90%", "/CooperVisit/Edit?Viscustomer=@Viscustomer");
}
-
+
var _afterSave = function (result) {
if (result) {
--
Gitblit v1.9.1