Kaynağa Gözat

科研

怀来职教中心中职
hwh2023 1 yıl önce
ebeveyn
işleme
7b75fbca55
4 değiştirilmiş dosya ile 12 ekleme ve 12 silme
  1. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TeachingCompetition/Index.js
  2. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRPaper/Index.js
  3. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRProject/Index.js
  4. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRWork/Index.js

+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TeachingCompetition/Index.js Dosyayı Görüntüle

@@ -76,7 +76,7 @@ var bootstrap = function ($, learun) {
var keyValue = $('#gridtable').jfGridValue('ID');
selectedRow = $('#gridtable').jfGridGet('rowdata');
if (learun.checkrow(keyValue)) {
if (selectedRow[0].State != 0) {
if (selectedRow.State != 0) {
learun.alert.warning("数据异常!");
return;
}
@@ -96,7 +96,7 @@ var bootstrap = function ($, learun) {
$('#lr_school').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('ID');
if (learun.checkrow(keyValue)) {
if (selectedRow[0].State != 1) {
if (selectedRow.State != 1) {
learun.alert.warning("数据异常!");
return;
}
@@ -116,7 +116,7 @@ var bootstrap = function ($, learun) {
$('#lr_check').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('ID');
if (learun.checkrow(keyValue)) {
if (selectedRow[0].State != 2) {
if (selectedRow.State != 2) {
learun.alert.warning("请等待审核");
return;
}


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRPaper/Index.js Dosyayı Görüntüle

@@ -79,7 +79,7 @@ var bootstrap = function ($, learun) {
var keyValue = $('#gridtable').jfGridValue('ID');
selectedRow = $('#gridtable').jfGridGet('rowdata');
if (learun.checkrow(keyValue)) {
if (selectedRow[0].State != 2) {
if (selectedRow.State != 2) {
learun.alert.warning("请等待审核");
return;
}
@@ -105,7 +105,7 @@ var bootstrap = function ($, learun) {
learun.alert.warning("只能选择一条记录!");
return;
}
if (selectedRow[0].State !=0) {
if (selectedRow.State !=0) {
learun.alert.warning("数据异常!");
return;
}
@@ -131,7 +131,7 @@ var bootstrap = function ($, learun) {
return;
}

if (selectedRow[0].State != 1) {
if (selectedRow.State != 1) {
learun.alert.warning("数据异常!");
return;
}


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRProject/Index.js Dosyayı Görüntüle

@@ -79,7 +79,7 @@ var bootstrap = function ($, learun) {
var keyValue = $('#gridtable').jfGridValue('ID');
selectedRow = $('#gridtable').jfGridGet('rowdata');
if (learun.checkrow(keyValue)) {
if (selectedRow[0].State != 2) {
if (selectedRow.State != 2) {
learun.alert.warning("请等待审核");
return;
}
@@ -104,7 +104,7 @@ var bootstrap = function ($, learun) {
learun.alert.warning("只能选择一条记录!");
return;
}
if (selectedRow[0].State != 0) {
if (selectedRow.State != 0) {
learun.alert.warning("数据异常!");
return;
}
@@ -129,7 +129,7 @@ var bootstrap = function ($, learun) {
learun.alert.warning("只能选择一条记录!");
return;
}
if (selectedRow[0].State != 1) {
if (selectedRow.State != 1) {
learun.alert.warning("数据异常!");
return;
}


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/SRWork/Index.js Dosyayı Görüntüle

@@ -79,7 +79,7 @@ var bootstrap = function ($, learun) {
var keyValue = $('#gridtable').jfGridValue('ID');
selectedRow = $('#gridtable').jfGridGet('rowdata');
if (learun.checkrow(keyValue)) {
if (selectedRow[0].State != 2) {
if (selectedRow.State != 2) {
learun.alert.warning("请等待审核");
return;
}
@@ -104,7 +104,7 @@ var bootstrap = function ($, learun) {
learun.alert.warning("只能选择一条记录!");
return;
}
if (selectedRow[0].State != 0) {
if (selectedRow.State != 0) {
learun.alert.warning("数据异常!");
return;
}
@@ -129,7 +129,7 @@ var bootstrap = function ($, learun) {
learun.alert.warning("只能选择一条记录!");
return;
}
if (selectedRow[0].State != 1) {
if (selectedRow.State != 1) {
learun.alert.warning("数据异常!");
return;
}


Yükleniyor…
İptal
Kaydet