Переглянути джерело

教材信息管理:去掉专业部

临城职教中职
ndbs 2 роки тому
джерело
коміт
e7a6d8507d
3 змінених файлів з 34 додано та 34 видалено
  1. +31
    -31
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TextBookInfo/Form.cshtml
  2. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TextBookInfo/Index.cshtml
  3. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TextBookInfo/Index.js

+ 31
- 31
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TextBookInfo/Form.cshtml Переглянути файл

@@ -3,75 +3,75 @@
Layout = "~/Views/Shared/_Form.cshtml";
}
<div class="lr-form-wrap" id="form">
<div class="col-xs-6 lr-form-item" data-table="TextBookInfo" >
<div class="col-xs-6 lr-form-item" data-table="TextBookInfo">
<div class="lr-form-item-title">教材号<font face="宋体">*</font></div>
<input id="TextBookNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item" data-table="TextBookInfo" >
<div class="lr-form-item-title">教材名称</div>
<input id="TextBookName" type="text" class="form-control" />
<div class="col-xs-6 lr-form-item" data-table="TextBookInfo">
<div class="lr-form-item-title">教材名称<font face="宋体">*</font></div>
<input id="TextBookName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item" data-table="TextBookInfo" >
<div class="col-xs-6 lr-form-item" data-table="TextBookInfo">
<div class="lr-form-item-title">出版号<font face="宋体">*</font></div>
<input id="PublishNo" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
@*<div class="col-xs-6 lr-form-item" data-table="TextBookInfo" >
<div class="lr-form-item-title">专业部<font face="宋体">*</font></div>
<div id="DeptNo" isvalid="yes" checkexpession="NotNull" ></div>
</div>*@
<div class="col-xs-6 lr-form-item" data-table="TextBookInfo" >
<div class="lr-form-item-title">专业部<font face="宋体">*</font></div>
<div id="DeptNo" isvalid="yes" checkexpession="NotNull" ></div>
</div>*@
<div class="col-xs-6 lr-form-item" data-table="TextBookInfo">
<div class="lr-form-item-title">第一作者<font face="宋体">*</font></div>
<input id="FirstAuthor" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item" data-table="TextBookInfo" >
<div class="col-xs-6 lr-form-item" data-table="TextBookInfo">
<div class="lr-form-item-title">其他作者</div>
<input id="OtherAuthor" type="text" class="form-control" />
<input id="OtherAuthor" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="TextBookInfo" >
<div class="col-xs-6 lr-form-item" data-table="TextBookInfo">
<div class="lr-form-item-title">出版日期<font face="宋体">*</font></div>
<input id="Pubdate" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#Pubdate').trigger('change'); } })" isvalid="yes" checkexpession="NotNull" />
<input id="Pubdate" type="text" class="form-control lr-input-wdatepicker" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd',onpicked: function () { $('#Pubdate').trigger('change'); } })" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item" data-table="TextBookInfo" >
<div class="col-xs-6 lr-form-item" data-table="TextBookInfo">
<div class="lr-form-item-title">出版社<font face="宋体">*</font></div>
<input id="Publisher" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item" data-table="TextBookInfo" >
<div class="col-xs-6 lr-form-item" data-table="TextBookInfo">
<div class="lr-form-item-title">教材类型<font face="宋体">*</font></div>
<div id="TextBookType" isvalid="yes" checkexpession="NotNull" ></div>
<div id="TextBookType" isvalid="yes" checkexpession="NotNull"></div>
</div>
<div class="col-xs-6 lr-form-item" data-table="TextBookInfo" >
<div class="col-xs-6 lr-form-item" data-table="TextBookInfo">
<div class="lr-form-item-title">教材性质<font face="宋体">*</font></div>
<div id="TextBookNature" isvalid="yes" checkexpession="NotNull" ></div>
<div id="TextBookNature" isvalid="yes" checkexpession="NotNull"></div>
</div>
<div class="col-xs-6 lr-form-item" data-table="TextBookInfo" >
<div class="col-xs-6 lr-form-item" data-table="TextBookInfo">
<div class="lr-form-item-title">价格</div>
<input id="Price" type="text" class="form-control" isvalid="no" checkexpession="PositiveFloatint" />
</div>
<div class="col-xs-6 lr-form-item" data-table="TextBookInfo" >
<div class="col-xs-6 lr-form-item" data-table="TextBookInfo">
<div class="lr-form-item-title">版次</div>
<input id="Edition" type="text" class="form-control" />
<input id="Edition" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="TextBookInfo" >
<div class="col-xs-6 lr-form-item" data-table="TextBookInfo">
<div class="lr-form-item-title">印次</div>
<input id="Impression" type="text" class="form-control" />
<input id="Impression" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="TextBookInfo" >
<div class="col-xs-6 lr-form-item" data-table="TextBookInfo">
<div class="lr-form-item-title">是否有练习册</div>
<div id="IsWorkBook" ></div>
<div id="IsWorkBook"></div>
</div>
<div class="col-xs-6 lr-form-item" data-table="TextBookInfo" >
<div class="col-xs-6 lr-form-item" data-table="TextBookInfo">
<div class="lr-form-item-title">是否有教参教辅</div>
<div id="IsTeachConsult" ></div>
<div id="IsTeachConsult"></div>
</div>
<div class="col-xs-12 lr-form-item" data-table="TextBookInfo" >
<div class="col-xs-12 lr-form-item" data-table="TextBookInfo">
<div class="lr-form-item-title">内容简介</div>
<textarea id="Description" class="form-control" style="height:100px;" ></textarea>
<textarea id="Description" class="form-control" style="height:100px;"></textarea>
</div>
<div class="col-xs-6 lr-form-item" data-table="TextBookInfo" style="display: none; " >
<div class="col-xs-6 lr-form-item" data-table="TextBookInfo" style="display: none; ">
<div class="lr-form-item-title">当前信息</div>
<input id="CreateUserID" type="text" readonly class="form-control currentInfo lr-currentInfo-user" />
</div>
<div class="col-xs-6 lr-form-item" data-table="TextBookInfo" style="display: none; " >
<div class="col-xs-6 lr-form-item" data-table="TextBookInfo" style="display: none; ">
<div class="lr-form-item-title">当前信息</div>
<input id="Createdate" type="text" readonly class="form-control currentInfo lr-currentInfo-time" />
</div>


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TextBookInfo/Index.cshtml Переглянути файл

@@ -14,10 +14,10 @@
<div class="lr-form-item-title">教材名称</div>
<input id="TextBookName" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item">
@*<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">专业部</div>
<div id="DeptNo"></div>
</div>
</div>*@
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">教材类型</div>
<div id="TextBookType"></div>


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TextBookInfo/Index.js Переглянути файл

@@ -16,7 +16,7 @@ var bootstrap = function ($, learun) {
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
page.search(queryJson);
}, 220, 400);
$('#DeptNo').lrDataSourceSelect({ code: 'CdDeptInfo', value: 'deptno', text: 'deptname' });
//$('#DeptNo').lrDataSourceSelect({ code: 'CdDeptInfo', value: 'deptno', text: 'deptname' });
$('#TextBookType').lrDataItemSelect({ code: 'TextBookType' });
$('#TextBookNature').lrDataItemSelect({ code: 'TextBookNature' });
// 刷新


Завантаження…
Відмінити
Зберегти