Przeglądaj źródła

学生心理咨询列表去掉附件显示

新疆体育高职分支
zhangli 2 lat temu
rodzic
commit
c687859e64
2 zmienionych plików z 53 dodań i 53 usunięć
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PsychologyInfo/Index.cshtml
  2. +52
    -52
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PsychologyInfo/Index.js

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PsychologyInfo/Index.cshtml Wyświetl plik

@@ -16,8 +16,8 @@
<a id="lr_refresh" class="btn btn-default"><i class="fa fa-refresh"></i></a>
</div>
<div class=" btn-group btn-group-sm" learun-authorize="yes">
<a id="lr_view" class="btn btn-default"><i class="fa fa-plus"></i>&nbsp;查看</a>
<a id="lr_add" class="btn btn-default"><i class="fa fa-plus"></i>&nbsp;新增</a>
<a id="lr_view" class="btn btn-default"><i class="fa fa-plus"></i>&nbsp;查看</a>
<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>
<a id="lr_submit" class="btn btn-default"><i class="fa fa-plus"></i>&nbsp;提交</a>


+ 52
- 52
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/PsychologyInfo/Index.js Wyświetl plik

@@ -142,34 +142,34 @@ var bootstrap = function ($, learun) {
headData: [
{ label: '学生学号', name: 'StuNo', width: 120, align: "left" },
{ label: '咨询内容', name: 'Concent', width: 300, align: "left" },
{
label: '附件', name: 'Url', width: 300, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
$.ajax({
url: '/LR_SystemModule/Annexes/GetAnnexesFileList',
data: { folderId: value },
type: 'GET',
dataType: "json",
async: false,
cache: false,
success: function (res) {
var bb = '';
//$.each(res.data, function (i, item) {
// bb += item.F_FileName.substring(0, item.F_FileName.indexOf(".")) + ','
//})
//bb
$.each(res.data, function (i, item) {
bb += '<span onclick="downLoad(\'' +
item.F_Id +
'\')" style="color:blue">' +
item.F_FileName.substring(0, item.F_FileName.indexOf(".")) +
'</span>,&nbsp;&nbsp;&nbsp;';
})
callback(bb);
}
});
}
},
//{
// label: '附件', name: 'Url', width: 300, align: "left",
// formatterAsync: function (callback, value, row, op, $cell) {
// $.ajax({
// url: '/LR_SystemModule/Annexes/GetAnnexesFileList',
// data: { folderId: value },
// type: 'GET',
// dataType: "json",
// async: false,
// cache: false,
// success: function (res) {
// var bb = '';
// //$.each(res.data, function (i, item) {
// // bb += item.F_FileName.substring(0, item.F_FileName.indexOf(".")) + ','
// //})
// //bb
// $.each(res.data, function (i, item) {
// bb += '<span onclick="downLoad(\'' +
// item.F_Id +
// '\')" style="color:blue">' +
// item.F_FileName.substring(0, item.F_FileName.indexOf(".")) +
// '</span>,&nbsp;&nbsp;&nbsp;';
// })
// callback(bb);
// }
// });
// }
//},
{
label: '提交日期', name: 'CreateTime', width: 130, align: "left",
formatter: function (cellvalue) {
@@ -186,30 +186,30 @@ var bootstrap = function ($, learun) {
return learun.formatDate(cellvalue, 'yyyy-MM-dd hh:mm:ss');
}
},
{
label: '回复附件', name: 'Urls', width: 200, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
$.ajax({
url: '/LR_SystemModule/Annexes/GetAnnexesFileList',
data: { folderId: value },
type: 'GET',
dataType: "json",
async: false,
cache: false,
success: function (res) {
var bb = '';
$.each(res.data, function (i, item) {
bb += '<span onclick="downLoad(\'' +
item.F_Id +
'\')" style="color:blue">' +
item.F_FileName.substring(0, item.F_FileName.indexOf(".")) +
'</span>,&nbsp;&nbsp;&nbsp;';
})
callback(bb);
}
});
}
},
//{
// label: '回复附件', name: 'Urls', width: 200, align: "left",
// formatterAsync: function (callback, value, row, op, $cell) {
// $.ajax({
// url: '/LR_SystemModule/Annexes/GetAnnexesFileList',
// data: { folderId: value },
// type: 'GET',
// dataType: "json",
// async: false,
// cache: false,
// success: function (res) {
// var bb = '';
// $.each(res.data, function (i, item) {
// bb += '<span onclick="downLoad(\'' +
// item.F_Id +
// '\')" style="color:blue">' +
// item.F_FileName.substring(0, item.F_FileName.indexOf(".")) +
// '</span>,&nbsp;&nbsp;&nbsp;';
// })
// callback(bb);
// }
// });
// }
//},
{
label: '状态', name: 'State', width: 80, align: "left",
formatter: function (cellvalue, row) {


Ładowanie…
Anuluj
Zapisz