Procházet zdrojové kódy

实习管理内增加附件上传

北屯中职分支
liangkun před 1 rokem
rodič
revize
b49a3a1466
23 změnil soubory, kde provedl 56 přidání a 21 odebrání
  1. +4
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/InternShipLog/Form.cshtml
  2. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/InternShipLog/Form.js
  3. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/InternShipLog/Index.cshtml
  4. +4
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/InternShipSummary/Form.cshtml
  5. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/InternShipSummary/Form.js
  6. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/InternShipSummary/Index.cshtml
  7. +4
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/InternshipPlanPost/Form.cshtml
  8. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/InternshipPlanPost/Form.js
  9. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/InternshipPlanPost/Index.cshtml
  10. +8
    -8
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/InternshipPlanPost/Index.js
  11. +7
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeAppraisal/Form.cshtml
  12. +2
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeAppraisal/Form.js
  13. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeAppraisal/Index.cshtml
  14. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeAppraisal/Index.js
  15. +4
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeAssess/Form.cshtml
  16. +2
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeAssess/Form.js
  17. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeAssess/Index.cshtml
  18. +4
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeMaterial/Form.cshtml
  19. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeMaterial/Form.js
  20. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeMaterial/Index.cshtml
  21. +4
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeUnitVisit/Form.cshtml
  22. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeUnitVisit/Form.js
  23. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeUnitVisit/Index.cshtml

+ 4
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/InternShipLog/Form.cshtml Zobrazit soubor

@@ -27,6 +27,10 @@
<div class="lr-form-item-title">内容</div>
<textarea id="LogContent" class="form-control" style="height:100px;" ></textarea>
</div>
<div class="col-xs-12 lr-form-item" data-table="InternShipLog">
<div class="lr-form-item-title">附件</div>
<div id="attach_file"></div>
</div>
<div class="col-xs-12 lr-form-item" data-table="InternShipLog" >
<div class="lr-form-item-title">备注</div>
<textarea id="Remark" class="form-control" style="height:100px;" ></textarea>


+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/InternShipLog/Form.js Zobrazit soubor

@@ -15,6 +15,7 @@ var bootstrap = function ($, learun) {
page.initData();
},
bind: function () {
$('#attach_file').lrUploader();
},
initData: function () {
if (!!keyValue) {


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/InternShipLog/Index.cshtml Zobrazit soubor

@@ -31,7 +31,7 @@
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
</div>
<a id="lr_upload" class="btn btn-default"><i class="fa fa-archive-o"></i>&nbsp;上传文件</a>
@*<a id="lr_upload" class="btn btn-default"><i class="fa fa-archive-o"></i>&nbsp;上传文件</a>*@
</div>
</div>
<div class="lr-layout-body" id="gridtable"></div>


+ 4
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/InternShipSummary/Form.cshtml Zobrazit soubor

@@ -19,6 +19,10 @@
<div class="lr-form-item-title">联系方式</div>
<input id="Mobile" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="InternShipSummary">
<div class="lr-form-item-title">附件</div>
<div id="attach_file"></div>
</div>
<div class="col-xs-12 lr-form-item" data-table="InternShipSummary" >
<div class="lr-form-item-title">备注</div>
<textarea id="Remark" class="form-control" style="height:100px;" ></textarea>


+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/InternShipSummary/Form.js Zobrazit soubor

@@ -15,6 +15,7 @@ var bootstrap = function ($, learun) {
page.initData();
},
bind: function () {
$('#attach_file').lrUploader();
},
initData: function () {
if (!!keyValue) {


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/InternShipSummary/Index.cshtml Zobrazit soubor

@@ -31,7 +31,7 @@
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
</div>
<a id="lr_upload" class="btn btn-default"><i class="fa fa-archive-o"></i>&nbsp;上传文件</a>
@*<a id="lr_upload" class="btn btn-default"><i class="fa fa-archive-o"></i>&nbsp;上传文件</a>*@
</div>
</div>
<div class="lr-layout-body" id="gridtable"></div>


+ 4
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/InternshipPlanPost/Form.cshtml Zobrazit soubor

@@ -43,6 +43,10 @@
<div class="lr-form-item-title">岗位职责</div>
<textarea id="Responsibilities" class="form-control" style="height:100px;" ></textarea>
</div>
<div class="col-xs-12 lr-form-item" data-table="InternshipPlanPost">
<div class="lr-form-item-title">附件</div>
<div id="attach_file"></div>
</div>
<div class="col-xs-12 lr-form-item" data-table="InternshipPlanPost" >
<div class="lr-form-item-title">备注</div>
<textarea id="Remark" class="form-control" style="height:100px;" ></textarea>


+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/InternshipPlanPost/Form.js Zobrazit soubor

@@ -19,6 +19,7 @@ var bootstrap = function ($, learun) {
type: 'radio',
code: 'YesOrNoInt',
});
$('#attach_file').lrUploader();
},
initData: function () {
if (!!keyValue) {


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/InternshipPlanPost/Index.cshtml Zobrazit soubor

@@ -35,7 +35,7 @@
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
</div>
<a id="lr_upload" class="btn btn-default"><i class="fa fa-archive-o"></i>&nbsp;上传文件</a>
@*<a id="lr_upload" class="btn btn-default"><i class="fa fa-archive-o"></i>&nbsp;上传文件</a>*@
</div>
</div>
<div class="lr-layout-body" id="gridtable"></div>


+ 8
- 8
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/InternshipPlanPost/Index.js Zobrazit soubor

@@ -106,14 +106,14 @@ var bootstrap = function ($, learun) {
{ label: "内容简介", name: "ContentValidate", width: 100, align: "left"},
{ label: "岗位职责", name: "Responsibilities", width: 100, align: "left"},
{ label: "备注", name: "Remark", width: 100, align: "left" },
{
label: "附件", name: "Remark", width: 100, align: "left",
formatterAsync: function(callback, value, row, op, $cell) {
if (value != null && value != "") {
return "<a href='" + value + "'>下载</a>"
}
}
},
//{
// label: "附件", name: "Remark", width: 100, align: "left",
// formatterAsync: function(callback, value, row, op, $cell) {
// if (value != null && value != "") {
// return "<a href='" + value + "'>下载</a>"
// }
// }
//},
],
mainId:'ID',
isPage: true


+ 7
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeAppraisal/Form.cshtml Zobrazit soubor

@@ -3,18 +3,22 @@
Layout = "~/Views/Shared/_Form.cshtml";
}
<div class="lr-form-wrap" id="form">
<div class="col-xs-12 lr-form-item" data-table="Practice_Appraisal" >
<div class="col-xs-6 lr-form-item" data-table="Practice_Appraisal" >
<div class="lr-form-item-title">鉴定名称<font face="宋体">*</font></div>
<input id="AppraisalName" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Practice_Appraisal" >
@*<div class="col-xs-6 lr-form-item" data-table="Practice_Appraisal" >
<div class="lr-form-item-title">文件上传</div>
<div id="Down_Url" ></div>
</div>
</div>*@
<div class="col-xs-6 lr-form-item" data-table="Practice_Appraisal" >
<div class="lr-form-item-title">下载次数<font face="宋体">*</font></div>
<input id="Down_Time" type="text" class="form-control" isvalid="yes" checkexpession="Num" />
</div>
<div class="col-xs-12 lr-form-item" data-table="Practice_Appraisal">
<div class="lr-form-item-title">附件</div>
<div id="attach_file"></div>
</div>
<div class="col-xs-12 lr-form-item" data-table="Practice_Appraisal" >
<div class="lr-form-item-title">备注</div>
<textarea id="Reamark" class="form-control" style="height:200px;" ></textarea>


+ 2
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeAppraisal/Form.js Zobrazit soubor

@@ -15,7 +15,8 @@ var bootstrap = function ($, learun) {
page.initData();
},
bind: function () {
$('#Down_Url').lrUploader();
//$('#Down_Url').lrUploader();
$('#attach_file').lrUploader();
},
initData: function () {
if (!!keyValue) {


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeAppraisal/Index.cshtml Zobrazit soubor

@@ -31,7 +31,7 @@
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i>&nbsp;编辑</a>
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
</div>
<a id="lr_upload" class="btn btn-default"><i class="fa fa-archive-o"></i>&nbsp;上传文件</a>
@*<a id="lr_upload" class="btn btn-default"><i class="fa fa-archive-o"></i>&nbsp;上传文件</a>*@
</div>
</div>
<div class="lr-layout-body" id="gridtable"></div>


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeAppraisal/Index.js Zobrazit soubor

@@ -86,7 +86,7 @@ var bootstrap = function ($, learun) {
url: top.$.rootUrl + '/EducationalAdministration/PracticeAppraisal/GetPageList',
headData: [
{ label: "鉴定名称", name: "AppraisalName", width: 100, align: "left"},
{ label: "文件上传", name: "Down_Url", width: 100, align: "left"},
//{ label: "文件上传", name: "Down_Url", width: 100, align: "left"},
{ label: "下载次数", name: "Down_Time", width: 100, align: "left"},
{ label: "备注", name: "Reamark", width: 100, align: "left"},
],


+ 4
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeAssess/Form.cshtml Zobrazit soubor

@@ -24,6 +24,10 @@
<div class="lr-form-item-title">最终得分<font face="宋体">*</font></div>
<input id="Total_Score" type="text" class="form-control" isvalid="yes" checkexpession="Num" />
</div>
<div class="col-xs-12 lr-form-item" data-table="Practice_Assess">
<div class="lr-form-item-title">附件</div>
<div id="attach_file"></div>
</div>
<div class="col-xs-12 lr-form-item" data-table="Practice_Assess" >
<div class="lr-form-item-title">考核详细内容<font face="宋体">*</font></div>
<textarea id="Assess_Content" class="form-control" style="height:400px;" isvalid="yes" checkexpession="NotNull" ></textarea>


+ 2
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeAssess/Form.js Zobrazit soubor

@@ -16,7 +16,8 @@ var bootstrap = function ($, learun) {
},
bind: function () {
//$('#StuId').lrDataSourceSelect({ code: 'Practice_StuInfo',value: 'stuid',text: 'stuname' });
$('#InternId').lrDataSourceSelect({ code: 'PracticeBase',value: 'id',text: 'name' });
$('#InternId').lrDataSourceSelect({ code: 'PracticeBase', value: 'id', text: 'name' });
$('#attach_file').lrUploader();
},
initData: function () {
if (!!keyValue) {


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeAssess/Index.cshtml Zobrazit soubor

@@ -39,7 +39,7 @@
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i>&nbsp;编辑</a>
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
</div>
<a id="lr_upload" class="btn btn-default"><i class="fa fa-archive-o"></i>&nbsp;上传文件</a>
@*<a id="lr_upload" class="btn btn-default"><i class="fa fa-archive-o"></i>&nbsp;上传文件</a>*@
</div>
</div>
<div class="lr-layout-body" id="gridtable"></div>


+ 4
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeMaterial/Form.cshtml Zobrazit soubor

@@ -19,6 +19,10 @@
<div class="lr-form-item-title">单价</div>
<input id="Price" type="text" class="form-control" isvalid="yes" checkexpession="PositiveFloatintZero" />
</div>
<div class="col-xs-12 lr-form-item" data-table="Practice_Material">
<div class="lr-form-item-title">附件</div>
<div id="attach_file"></div>
</div>
<div class="col-xs-12 lr-form-item" data-table="Practice_Material" >
<div class="lr-form-item-title">备注</div>
<textarea id="Remark" class="form-control" style="height:200px;" ></textarea>


+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeMaterial/Form.js Zobrazit soubor

@@ -15,6 +15,7 @@ var bootstrap = function ($, learun) {
page.initData();
},
bind: function () {
$('#attach_file').lrUploader();
},
initData: function () {
if (!!keyValue) {


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeMaterial/Index.cshtml Zobrazit soubor

@@ -39,7 +39,7 @@
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i>&nbsp;编辑</a>
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
</div>
<a id="lr_upload" class="btn btn-default"><i class="fa fa-archive-o"></i>&nbsp;上传文件</a>
@*<a id="lr_upload" class="btn btn-default"><i class="fa fa-archive-o"></i>&nbsp;上传文件</a>*@
</div>
</div>
<div class="lr-layout-body" id="gridtable"></div>


+ 4
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeUnitVisit/Form.cshtml Zobrazit soubor

@@ -19,6 +19,10 @@
<div class="lr-form-item-title">回访人</div>
<input id="Visiter" type="text" class="form-control" />
</div>
<div class="col-xs-12 lr-form-item" data-table="Practice_Unit_Visit">
<div class="lr-form-item-title">附件</div>
<div id="attach_file"></div>
</div>
<div class="col-xs-12 lr-form-item" data-table="Practice_Unit_Visit" >
<div class="lr-form-item-title">回访详情<font face="宋体">*</font></div>
<textarea id="Feedback" class="form-control" style="height:200px;" isvalid="yes" checkexpession="NotNull" ></textarea>


+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeUnitVisit/Form.js Zobrazit soubor

@@ -15,6 +15,7 @@ var bootstrap = function ($, learun) {
page.initData();
},
bind: function () {
$('#attach_file').lrUploader();
},
initData: function () {
if (!!keyValue) {


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PracticeUnitVisit/Index.cshtml Zobrazit soubor

@@ -38,7 +38,7 @@
<a id="lr_edit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i>&nbsp;编辑</a>
<a id="lr_delete" class="btn btn-default"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
</div>
<a id="lr_upload" class="btn btn-default"><i class="fa fa-archive-o"></i>&nbsp;上传文件</a>
@*<a id="lr_upload" class="btn btn-default"><i class="fa fa-archive-o"></i>&nbsp;上传文件</a>*@
</div>
</div>
<div class="lr-layout-body" id="gridtable"></div>


Načítá se…
Zrušit
Uložit