From 836b306db8799e957ed9cff5144687a139b67f23 Mon Sep 17 00:00:00 2001
From: PC-201906131823\Administrator <zyyao>
Date: 星期二, 23 八月 2022 14:28:13 +0800
Subject: [PATCH] 提交修改角色
---
zhengcaioa/zhengcaioa/Views/Project/Select.cshtml | 78 ++++++++++++++++++++++++++-------------
1 files changed, 52 insertions(+), 26 deletions(-)
diff --git a/zhengcaioa/zhengcaioa/Views/Project/Select.cshtml b/zhengcaioa/zhengcaioa/Views/Project/Select.cshtml
index 3174031..b45e2d4 100644
--- a/zhengcaioa/zhengcaioa/Views/Project/Select.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/Project/Select.cshtml
@@ -1,6 +1,11 @@
-锘緻{
+锘緻using DTO;
+@{
ViewBag.Title = "Liaotian";
Layout = "~/Views/Shared/_Layout_Search.cshtml";
+
+ List<PageEntity> ActionInfo2 = ViewData["ActionInfo2"] as List<PageEntity>;
+
+ string Creater11 = ViewData["Creater11"] as string;
}
@section headerStyle{
<script type="text/javascript">
@@ -9,9 +14,9 @@
var Creater = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.Creater))';
var flbx = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.flbx))';
var ShiFouyReasonname = '@Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(ViewBag.ShiFouyReasonname))';
-
- loseherght = 70;
+
+ loseherght = 110;
dataCol = [
{ label: 'id', name: 'Id', labtype: 'txt', hidden: true },
@@ -83,28 +88,37 @@
{ label: '搴熸爣娆℃暟', name: 'Feibiaocishu', labtype: 'txt', hidden: true },
{ label: '涓爣閲戦', name: 'Zhongbiaojine', labtype: 'txt', hidden: true }
];
- dataUrl = "/Project/GetLiaotianList";
+ dataUrl = "/Project/GetLiaotianList"+"@(string.IsNullOrEmpty(Creater11) ?"":"?Creater="+ Creater11)";
searchCol = [
//{ label: '鍏憡鏃堕棿', name: 'StartTimestar', labtype: 'date', hidden: false },
//{ label: '--', name: 'StartTimeend', labtype: 'date', hidden: false, cwidth: '1%', cccwidth: '15%' },
{ label: '鍏憡鏃堕棿', name: 'StartTimestar', labtype: 'datearea', hidden: false },
- { label: '椤圭洰缂栧彿', name: 'Number', labtype: 'txt', hidden: false },
+ { label: '鐪�', name: 'Sheng', labtype: 'combox', hidden: false, data: JSON.parse(shengDropDown), cwidth: '2%', cccwidth: '6%' },
+ { label: '', name: 'City', labtype: 'combox', hidden: false, data: JSON.parse('[]'), cwidth: '0%', cccwidth: '6%' },
+ { label: '', name: 'AreaId', labtype: 'combox', hidden: false, data: JSON.parse('[]'), cwidth: '0%', cccwidth: '6%' },
+ //{ label: '椤圭洰缂栧彿', name: 'Number', labtype: 'txt', hidden: false },
{ label: '椤圭洰鍚嶇О', name: 'Name', labtype: 'txt', hidden: false },
- { label: '璇勫涓撳', name: 'Zhuanjia', labtype: 'txt', hidden: false/*, cwidth: '8.5%', cccwidth: '15%' */},
- { label: '鐪�', name: 'Sheng', labtype: 'combox', hidden: false, data: JSON.parse(shengDropDown), cwidth: '5%', cccwidth: '10%' },
- { label: '甯�', name: 'City', labtype: 'combox', hidden: false, data: JSON.parse('[]'), cwidth: '2%', cccwidth: '10%' },
- { label: '鍖哄幙', name: 'AreaId', labtype: 'combox', hidden: false, data: JSON.parse('[]'), cwidth: '2.5%', cccwidth: '10%' },
+ { label: '璇勫涓撳', name: 'Zhuanjia', labtype: 'txt', hidden: false/*, cwidth: '8.5%', cccwidth: '15%' */ },
+
+ { label: '閲囪喘浠g悊浜�', name: 'Caigourenname', labtype: 'txt', hidden: false },
+ { label: '閲囪喘浠g悊鏈烘瀯', name: 'Dailiname', labtype: 'txt', hidden: false },
+
{ label: '閲囪喘鏂瑰紡', name: 'Cgfs', labtype: 'combox', hidden: false, data: JSON.parse(projectDropDown) },
+ { label: '鏄惁搴熸爣', name: 'fblx', labtype: 'combox', hidden: false, data: JSON.parse(flbx)/*, cwidth: '5%', cccwidth: '8%' */ },
{ label: '涓爣渚涘簲鍟�', name: 'Names', labtype: 'txt', hidden: false },
{ label: '鎶曟爣渚涘簲鍟�', name: 'NamesToubiao', labtype: 'txt', hidden: false },
{ label: '鏄惁鏈夋棤鏁堜緵搴斿晢', name: 'ShiFouyReasonname', labtype: 'combox', hidden: false, data: JSON.parse(ShiFouyReasonname), cwidth: '8%', cccwidth: '12%'},
{ label: '鏃犳晥渚涘簲鍟�', name: 'Reasonname', labtype: 'txt', hidden: false },
-
-
- { label: '鏄惁搴熸爣', name: 'fblx', labtype: 'combox', hidden: false, data: JSON.parse(flbx)/*, cwidth: '5%', cccwidth: '8%' */ },
{ label: '褰曞叆鏃堕棿', name: 'Createtime', labtype: 'datearea', hidden: false },
{ label: '褰曞叆浜�', name: 'Creater', labtype: 'combox', hidden: false, data: JSON.parse(Creater)/*, cwidth: '5%', cccwidth: '8%'*/ },
+
+ { label: '鍒嗗樊灏忎簬', name: 'Fencha', labtype: 'txt', hidden: false/*, cwidth: '8.5%', cccwidth: '15%' */ },
+ { label: '鍒嗗樊澶т簬', name: 'Fenchadayu', labtype: 'txt', hidden: false/*, cwidth: '8.5%', cccwidth: '15%' */ },
+ { label: '渚涘簲鍟嗘暟閲�', name: 'Shuliang', labtype: 'txt', hidden: false/*, cwidth: '8.5%', cccwidth: '15%' */ },
+ //{ label: '浠峰樊灏忎簬', name: 'Baojiachaxiaoyu', labtype: 'txt', hidden: false/*, cwidth: '8.5%', cccwidth: '15%' */ },
+
+
];
var _pageAdd = function () {
@@ -135,10 +149,10 @@
<script type="text/javascript">
function send() {
-
+
var msg = $("#PBSSheng");
-
-
+
+
if (msg.length > 0) {
$("#PBSSheng").change(function () {
var sheng = $("#PBSSheng").val();
@@ -149,7 +163,7 @@
global: false,
data: "",
success: function (data) {
-
+
var city = $("#PBSCity");
city.find('option').remove();
var aaa = '<option value="" hassubinfo="true"> </option>';
@@ -170,12 +184,13 @@
}
});
});
-
+
} else {
setTimeout(send, 1000);
- } }
+ }
+ }
-
+
send();
@@ -183,11 +198,11 @@
function sendCity() {
var msg = $("#PBSCity");
-
-
+
+
if (msg.length > 0) {
$("#PBSCity").change(function () {
-
+
var city = $("#PBSCity").val();
$.ajax({
type: "GET",
@@ -196,7 +211,7 @@
global: false,
data: "",
success: function (data) {
-
+
var quxian = $("#PBSAreaId");
quxian.find('option').remove();
var aaa = '<option value="" hassubinfo="true"> </option>';
@@ -217,7 +232,7 @@
}
});
});
-
+
} else {
setTimeout(sendCity, 1000);
}
@@ -226,8 +241,19 @@
sendCity();
-
-
+
+ $(function () {
+ $("#PBSAreaId").parent().next().remove();
+ $("#PBSZhuanjia").parent().after("<br>");
+ $("#PBSDailiname").parent().next().remove();
+ $("#PBSfblx").parent().after("<br>");
+ $("#PBSNamesToubiao").parent().next().remove();
+ $("#PBSReasonname").parent().after("<br>");
+ $("#PBSCreater").parent().next().remove();
+ $("#PBSFenchadayu").parent().after("<br>");
+
+ });
+
</script>
}
--
Gitblit v1.9.1