Procházet zdrojové kódy

心理咨询--修改

新疆体育高职分支
zhangli před 2 roky
rodič
revize
079906d0e5
4 změnil soubory, kde provedl 30 přidání a 28 odebrání
  1. +10
    -9
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Views/PsychologyReplyInfo/FormFive.js
  2. +17
    -17
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Views/PsychologyReplyInfo/FormView.js
  3. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj
  4. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LR_Desktop/PsychologyReplyInfo/PsychologyReplyInfoService.cs

+ 10
- 9
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Views/PsychologyReplyInfo/FormFive.js Zobrazit soubor

@@ -22,6 +22,11 @@ var bootstrap = function ($, learun) {
$('#ClassNo').lrDataSourceSelect({ code: 'bjsj', value: 'classno', text: 'classname' }); $('#ReplyUser').lrDataSourceSelect({ code: 'TeacherInfo', value: 'f_account', text: 'f_realname' });
$('#GenderNo').lrDataItemSelect({ code: 'usersexbit' });
$('#IsSingle').lrDataItemSelect({ code: 'YesOrNoBit' });
$('#Appointor').lrselect({
url: top.$.rootUrl + '/LR_Desktop/PsychologyReplyInfo/GetUserIdLists?objectId=' + objectId,
value: 'F_Account',
text: 'F_RealName',
});
$('#ReplyType').lrselect({
url: top.$.rootUrl + '/LR_SystemModule/DataItem/GetDetailList',
param: { itemCode: 'ReplyType' },
@@ -31,27 +36,23 @@ var bootstrap = function ($, learun) {
function (item) {
if (item) {
if (item.F_ItemValue == '1') {
$('#Appointor').lrselect({
url: top.$.rootUrl + '/LR_Desktop/PsychologyReplyInfo/GetUserIdLists?objectId=' + objectId,
value: 'F_Account',
text: 'F_RealName',
});
//上报
$('#ReplyContent').attr('readonly', 'readonly');
$('#ReplyContent').val('');
$('#ReplyContent').prev().html('回复内容');
$('#ReplyContent').removeAttr('isvalid');
$('#Appointor').removeAttr('readonly');
$('#Appointor').prev().html('指派教师<font face="宋体">*</font>');
$('#Appointor').attr('isvalid', 'yes').attr('checkexpession', 'NotNull');
//$('#Appointor').prev().html('指派教师<font face="宋体">*</font>');
//$('#Appointor').attr('isvalid', 'yes').attr('checkexpession', 'NotNull');
} else {
//回复
$('#ReplyContent').removeAttr('readonly');
$('#ReplyContent').prev().html('回复内容<font face="宋体">*</font>');
$('#ReplyContent').attr('isvalid', 'yes').attr('checkexpession', 'NotNull');
$('#Appointor').attr('readonly', 'readonly');
$('#Appointor').remove();
$('#Appointor').removeAttr('isvalid');
$('#Appointor').lrselectSet('');
//$('#Appointor').remove();
//$('#Appointor').removeAttr('isvalid');
}
}
}


+ 17
- 17
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Views/PsychologyReplyInfo/FormView.js Zobrazit soubor

@@ -28,23 +28,23 @@ var bootstrap = function ($, learun) {
param: { itemCode: 'ReplyType' },
value: 'F_ItemValue',
text: 'F_ItemName',
select:
function (item) {
if (item) {
if (item.F_ItemValue == '1') {
//上报
$('#ReplyContent').attr('readonly', 'readonly');
$('#ReplyContent').val('');
$('#ReplyContent').prev().html('回复内容');
$('#ReplyContent').removeAttr('isvalid');
} else {
//回复
$('#ReplyContent').removeAttr('readonly');
$('#ReplyContent').prev().html('回复内容<font face="宋体">*</font>');
$('#ReplyContent').attr('isvalid', 'yes').attr('checkexpession', 'NotNull');
}
}
}
//select:
// function (item) {
// if (item) {
// if (item.F_ItemValue == '1') {
// //上报
// $('#ReplyContent').attr('readonly', 'readonly');
// $('#ReplyContent').val('');
// $('#ReplyContent').prev().html('回复内容');
// $('#ReplyContent').removeAttr('isvalid');
// } else {
// //回复
// $('#ReplyContent').removeAttr('readonly');
// $('#ReplyContent').prev().html('回复内容<font face="宋体">*</font>');
// $('#ReplyContent').attr('isvalid', 'yes').attr('checkexpession', 'NotNull');
// }
// }
// }
});




+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj Zobrazit soubor

@@ -8090,6 +8090,7 @@
<Content Include="Areas\LR_Desktop\Views\PsychologyReplyInfo\IndexSix.cshtml" />
<Content Include="Areas\LR_Desktop\Views\PsychologyReplyInfo\Index4.cshtml" />
<Content Include="Areas\LR_Desktop\Views\PsychologyReplyInfo\FormFive.cshtml" />
<Content Include="Areas\LR_Desktop\Views\PsychologyReplyInfo\FormSix.cshtml" />
<None Include="Properties\PublishProfiles\CustomProfile.pubxml" />
<None Include="Properties\PublishProfiles\FolderProfile.pubxml" />
<Content Include="Views\Login\Default-beifen.cshtml" />


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LR_Desktop/PsychologyReplyInfo/PsychologyReplyInfoService.cs Zobrazit soubor

@@ -220,7 +220,7 @@ where a.Id='{keyValue}'";
,[Url]
,[ReplyUser]
,[ReplyTime]
,[CreateTime])
,[CreateTime],Appointor)
VALUES
(newid()
,'{psychologyInfoId}'
@@ -230,7 +230,7 @@ where a.Id='{keyValue}'";
,NULL
,NULL
,NULL
,getdate())";
,getdate(),'{entity.Appointor}')";
db.ExecuteBySql(sql);

//修改主表state


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