Browse Source

党员自评调整页面

yanshi
zhangli 3 years ago
parent
commit
97bc3c2db2
6 changed files with 7 additions and 7 deletions
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PartyevaluateTopicZP/PartyevaluateTopicZP.js
  2. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationData/Index.cshtml
  3. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationData/Index.js
  4. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationData/IndexXZ.cshtml
  5. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationData/IndexXZ.js
  6. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/DT_EvaluationData/DT_EvaluationDataService.cs

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/PartyevaluateTopicZP/PartyevaluateTopicZP.js View File

@@ -226,7 +226,7 @@
};
function loadData(data,num){
console.log("数据",data)
//console.log("数据",data)
// valList
var titleCon = ''
titleCon+='<p>'+'<span>'+num+'</span>'+'</p>'+'<div>'+data.Assessment+'<span>'+'('+data.scorePre+'分)'+'</span>'+'</div>'


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationData/Index.cshtml View File

@@ -41,7 +41,7 @@
</div>
<div class=" btn-group btn-group-sm" learun-authorize="yes">
@*<a id="lr_submit" class="btn btn-default"><i class="fa fa-pencil-square-o"></i>&nbsp;提交</a>*@
<a id="lr_nocheck" class="btn btn-default"><i class="fa fa-pencil-square-o"></i>&nbsp;去审</a>
<a id="lr_nocheck" class="btn btn-default"><i class="fa fa-pencil-square-o"></i>&nbsp;去审</a>
<a id="lr_print" class="btn btn-default"><i class="fa fa-print"></i>&nbsp;打印</a>
</div>
</div>


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationData/Index.js View File

@@ -84,7 +84,7 @@ var bootstrap = function ($, learun) {
//去审
$('#lr_nocheck').on('click', function () {

learun.layerConfirm('是否确认去审!', function (res) {
learun.layerConfirm('是否确认去审!', function (res) {
if (res) {
learun.postForm(top.$.rootUrl + '/PersonnelManagement/DT_EvaluationData/UpdateStatusForZP', { MainId: MainId, Status: '0' }, function () {
refreshGirdData();


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationData/IndexXZ.cshtml View File

@@ -41,7 +41,7 @@
</div>
<div class=" btn-group btn-group-sm" learun-authorize="yes">
@*<a id="lr_lookDetail" class="btn btn-default"><i class="fa fa-pencil-square-o"></i>&nbsp;查看详情</a>*@
<a id="lr_nocheck" class="btn btn-default"><i class="fa fa-pencil-square-o"></i>&nbsp;去审</a>
<a id="lr_nocheck" class="btn btn-default"><i class="fa fa-pencil-square-o"></i>&nbsp;去审</a>
<a id="lr_print" class="btn btn-default"><i class="fa fa-print"></i>&nbsp;打印</a>
</div>
</div>


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/DT_EvaluationData/IndexXZ.js View File

@@ -25,7 +25,7 @@ var bootstrap = function ($, learun) {
//去审
$('#lr_nocheck').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('Id');
learun.layerConfirm('是否确认去审!', function (res) {
learun.layerConfirm('是否确认去审!', function (res) {
if (res) {
learun.postForm(top.$.rootUrl + '/PersonnelManagement/DT_EvaluationData/UpdateStatusForXZ', { keyValue: keyValue, Status: '0' }, function () {
refreshGirdData();


+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/PersonnelManagement/DT_EvaluationData/DT_EvaluationDataService.cs View File

@@ -150,7 +150,7 @@ e.Assessment as Assessment,e.ConductRequirements as ConductRequirements,e.MaxSco
{
try
{
string sql = @"select t.*,
string sql = @"select t.Id,t.MainId,t.EvaluatingIndicatorId,t.Assessed,isnull(t.Score,0) as Score,t.ScoreType,
k.scorePre,'评分标准' as gradetitle,'保留小数点后一位' as gradenum,
m.BeAssessed,m.ScoreYear,m.ScoreQuarter,e.Assessment,e.ConductRequirements,e.CRRemark,e.MaxScore,e.ScoringCriteria
FROM DT_EvaluationData t join DT_EvaluatingIndicator e on t.EvaluatingIndicatorId=e.Id
@@ -437,7 +437,7 @@ join DT_EvaluationDataMain m on t.MainId=m.Id
{
// 修改主表自评分值
string updSql = $@" update DT_EvaluationDataMain set ScoreZP={list.Select(x => x.Score).Sum()}
where BeAssessed = '{Assessed}'";
where Id='{entity.MainId}'";
db.ExecuteBySql(updSql);
}
else if (type == 2)


Loading…
Cancel
Save