Parcourir la source

Merge branch '金隅分支' of http://123.57.209.16:3000/bjquanjiang/DigitalScholl into 金隅分支

金隅分支
dyy il y a 3 ans
Parent
révision
070eda1b62
1 fichiers modifiés avec 14 ajouts et 1 suppressions
  1. +14
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_QualityObjectives/IndexManagement.js

+ 14
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/PersonnelManagement/Views/MP_QualityObjectives/IndexManagement.js Voir le fichier

@@ -73,6 +73,10 @@ var bootstrap = function ($, learun) {
$('#lr_edit').on('click', function () { $('#lr_edit').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('MPId'); var keyValue = $('#gridtable').jfGridValue('MPId');
if (learun.checkrow(keyValue)) { if (learun.checkrow(keyValue)) {
if (keyValue.indexOf(',') != -1) {
learun.alert.warning("只能选择一条记录进行编辑!");
return;
}
learun.layerForm({ learun.layerForm({
id: 'form', id: 'form',
title: '编辑', title: '编辑',
@@ -102,6 +106,10 @@ var bootstrap = function ($, learun) {
$('#lr_uploadView').on('click', function () { $('#lr_uploadView').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('MPId'); var keyValue = $('#gridtable').jfGridValue('MPId');
if (learun.checkrow(keyValue)) { if (learun.checkrow(keyValue)) {
if (keyValue.indexOf(',') != -1) {
learun.alert.warning("只能选择一条记录进行编辑!");
return;
}
learun.layerFormForPercent({ learun.layerFormForPercent({
id: 'form', id: 'form',
title: '提交材料', title: '提交材料',
@@ -119,6 +127,10 @@ var bootstrap = function ($, learun) {
$("#lr_statistics").on('click', function () { $("#lr_statistics").on('click', function () {
var keyValue = $('#gridtable').jfGridValue('MPId'); var keyValue = $('#gridtable').jfGridValue('MPId');
if (learun.checkrow(keyValue)) { if (learun.checkrow(keyValue)) {
if (keyValue.indexOf(',') != -1) {
learun.alert.warning("只能选择一条记录进行编辑!");
return;
}
learun.layerFormForPercent({ learun.layerFormForPercent({
id: 'form', id: 'form',
title: '访问情况统计', title: '访问情况统计',
@@ -236,7 +248,8 @@ var bootstrap = function ($, learun) {
], ],
mainId: 'ID', mainId: 'ID',
sidx: 'cast(MPMonth as int) asc', sidx: 'cast(MPMonth as int) asc',
isPage: true
isPage: true,
isMultiselect: true
}); });
page.search(); page.search();
}, },


Chargement…
Annuler
Enregistrer