From 3deaf74a4c29f17648a32acbf3ed77d9c532a511 Mon Sep 17 00:00:00 2001 From: zhangli <1109134334@qq.com> Date: Wed, 9 Mar 2022 14:21:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=A6=E7=94=9F=E5=AE=BF=E8=88=8D=E6=9F=A5?= =?UTF-8?q?=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/Accommodation/Corridor.cshtml | 22 +-- .../Views/Accommodation/Dormitory.cshtml | 176 ++---------------- .../Views/Accommodation/Floor.cshtml | 2 +- .../Views/Accommodation/FormClassify.js | 21 ++- .../Views/Accommodation/Index.js | 15 +- .../Views/Accommodation/Room.cshtml | 4 +- .../Views/Accommodation/Unit.cshtml | 21 ++- 7 files changed, 63 insertions(+), 198 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/Corridor.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/Corridor.cshtml index 76b48d7ef..a6de56ca7 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/Corridor.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/Corridor.cshtml @@ -58,11 +58,7 @@
{{dormitoryName}}{{unitName}}
@@ -76,7 +72,9 @@
-
{{floor.dormitory.Name}}
{{floor.dormitory.Sex | filter_sex}}
+
{{floor.dormitory.Name}} + @*
{{floor.dormitory.Sex | filter_sex}}
*@ +
{{floor.RoomNum}}{{floor.BedNum}}
@@ -344,7 +342,7 @@ }, addFloor: function () { var url = ""; - url = top.$.rootUrl + '/LogisticsManagement/Accommodation/Form?ParentID=' + this.unitID + '&ParentName=' + this.unitName; + url = top.$.rootUrl + '/LogisticsManagement/Accommodation/FormClassify?ParentID=' + this.unitID + '&ParentName=' + this.unitName; top.learun.layerForm({ id: 'form', title: '新增', @@ -361,7 +359,7 @@ top.learun.layerForm({ id: 'form', title: '编辑', - url: top.$.rootUrl + '/LogisticsManagement/Accommodation/Form?keyValue=' + id, + url: top.$.rootUrl + '/LogisticsManagement/Accommodation/FormClassify?keyValue=' + id, width: 600, height: 400, callBack: function (id) { @@ -393,7 +391,7 @@ '
' + '
' + this.dormitoryName + '  ' + this.unitName + '
' + '
' + floor.dormitory.Name + - this.filter_sex(floor.dormitory.Sex) + + '' + this.filter_sex(floor.dormitory.Sex) + '' + '
' + '
' + '
负 责 人' + floor.dormitory.Functionary + '
负责人电话' + floor.dormitory.Phone + '
' + @@ -403,14 +401,14 @@ '
' + '
' + '
    ' + - '
  • 编     号' + floor.dormitory.Name + '
  • ' + - '
  • 价     格' + floor.dormitory.Price + '
  • ' + + '
  • 编     号' + floor.dormitory.DNo + '
  • ' + + '
  • 价     格' + (floor.dormitory.Price == null ? '' : floor.dormitory.Price) + '
  • ' + '
  • 房     间' + floor.RoomNum + '
  • ' + '
  • 入     住' + floor.HasStudentNum + '
  • ' + '
  • 空     床' + floor.NoStudentNum + '
  • ' + '
  • 床     位' + floor.BedNum + '
  • ' + - '
  • 涉及院系' + this.filter_Dept(floor.dormitory.Dept) + '
  • ' + - '
  • 涉及专业' + this.filter_Major(floor.dormitory.Major) + '
  • ' + + //'
  • 涉及院系' + this.filter_Dept(floor.dormitory.Dept) + '
  • ' + + //'
  • 涉及专业' + this.filter_Major(floor.dormitory.Major) + '
  • ' + '
' + '
' + //'' + diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/Dormitory.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/Dormitory.cshtml index b9a5635ac..b85a292ec 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/Dormitory.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/Dormitory.cshtml @@ -62,11 +62,7 @@
@@ -118,155 +114,6 @@