关闭刷新页面
This commit is contained in:
parent
989fa72c16
commit
e801e78638
|
|
@ -464,6 +464,6 @@ function check() {
|
|||
|
||||
function closePage() {
|
||||
let index = parent.layer.getFrameIndex(window.name); // 先得到当前 iframe层的索引
|
||||
parent.layer.close(index); // 再执行关闭
|
||||
window.parent.queryTable(1);
|
||||
parent.layer.close(index); // 再执行关闭
|
||||
}
|
||||
|
|
@ -433,9 +433,9 @@ function checkValue(that, type) {
|
|||
// 关闭页面
|
||||
function closePage(type) {
|
||||
let index = parent.layer.getFrameIndex(window.name); // 先得到当前 iframe层的索引
|
||||
parent.layer.close(index); // 再执行关闭
|
||||
if (type == 1) {
|
||||
window.parent.reloadData();
|
||||
}
|
||||
parent.layer.close(index); // 再执行关闭
|
||||
|
||||
}
|
||||
|
|
@ -391,9 +391,8 @@ function checkValue(that, type) {
|
|||
// 关闭页面
|
||||
function closePage(type) {
|
||||
let index = parent.layer.getFrameIndex(window.name); // 先得到当前 iframe层的索引
|
||||
parent.layer.close(index); // 再执行关闭
|
||||
if (type == 1) {
|
||||
window.parent.reloadData();
|
||||
}
|
||||
|
||||
parent.layer.close(index); // 再执行关闭
|
||||
}
|
||||
|
|
@ -394,9 +394,9 @@ function checkValue(that, type) {
|
|||
// 关闭页面
|
||||
function closePage(type) {
|
||||
let index = parent.layer.getFrameIndex(window.name); // 先得到当前 iframe层的索引
|
||||
parent.layer.close(index); // 再执行关闭
|
||||
if (type == 1) {
|
||||
window.parent.reloadData();
|
||||
}
|
||||
parent.layer.close(index); // 再执行关闭
|
||||
|
||||
}
|
||||
|
|
@ -435,9 +435,8 @@ function checkValue(that, type) {
|
|||
// 关闭页面
|
||||
function closePage(type) {
|
||||
let index = parent.layer.getFrameIndex(window.name); // 先得到当前 iframe层的索引
|
||||
parent.layer.close(index); // 再执行关闭
|
||||
if (type == 1) {
|
||||
window.parent.reloadData();
|
||||
}
|
||||
|
||||
parent.layer.close(index); // 再执行关闭
|
||||
}
|
||||
|
|
@ -75,8 +75,8 @@ function submitApply(data) {
|
|||
// 关闭页面
|
||||
function closePage(type) {
|
||||
let index = parent.layer.getFrameIndex(window.name); // 先得到当前 iframe层的索引
|
||||
parent.layer.close(index); // 再执行关闭
|
||||
if (type == 1) {
|
||||
window.parent.closePage();
|
||||
}
|
||||
parent.layer.close(index); // 再执行关闭
|
||||
}
|
||||
|
|
@ -371,9 +371,8 @@ function addFitTypeData() {
|
|||
|
||||
function closePage(type,params) {
|
||||
let index = parent.layer.getFrameIndex(window.name); // 先得到当前 iframe层的索引
|
||||
parent.layer.close(index); // 再执行关闭
|
||||
if (type == 1) {
|
||||
window.parent.addFitDatas(params);
|
||||
}
|
||||
|
||||
parent.layer.close(index); // 再执行关闭
|
||||
}
|
||||
|
|
@ -379,9 +379,8 @@ function addFitTypeData() {
|
|||
|
||||
function closePage(type, params) {
|
||||
let index = parent.layer.getFrameIndex(window.name); // 先得到当前 iframe层的索引
|
||||
parent.layer.close(index); // 再执行关闭
|
||||
if (type == 1) {
|
||||
window.parent.addFitDatas(params);
|
||||
}
|
||||
|
||||
parent.layer.close(index); // 再执行关闭
|
||||
}
|
||||
|
|
@ -322,9 +322,8 @@ function saveData2(params) {
|
|||
|
||||
function closePage(type, params) {
|
||||
let index = parent.layer.getFrameIndex(window.name); // 先得到当前 iframe层的索引
|
||||
parent.layer.close(index); // 再执行关闭
|
||||
if (type == 1) {
|
||||
window.parent.addFitDatas(params, userId);
|
||||
}
|
||||
|
||||
parent.layer.close(index); // 再执行关闭
|
||||
}
|
||||
|
|
@ -321,9 +321,8 @@ function saveData2(params) {
|
|||
|
||||
function closePage(type,params) {
|
||||
let index = parent.layer.getFrameIndex(window.name); // 先得到当前 iframe层的索引
|
||||
parent.layer.close(index); // 再执行关闭
|
||||
if (type == 1) {
|
||||
window.parent.addFitDatas(params);
|
||||
}
|
||||
|
||||
parent.layer.close(index); // 再执行关闭
|
||||
}
|
||||
|
|
@ -429,9 +429,8 @@ function checkValue(that, type) {
|
|||
// 关闭页面
|
||||
function closePage(type) {
|
||||
let index = parent.layer.getFrameIndex(window.name); // 先得到当前 iframe层的索引
|
||||
parent.layer.close(index); // 再执行关闭
|
||||
if (type == 1) {
|
||||
window.parent.reloadData();
|
||||
}
|
||||
|
||||
parent.layer.close(index); // 再执行关闭
|
||||
}
|
||||
|
|
@ -94,10 +94,9 @@ function submitApply(data) {
|
|||
// 关闭页面
|
||||
function closePage(type, obj) {
|
||||
let index = parent.layer.getFrameIndex(window.name);
|
||||
parent.layer.close(index);
|
||||
if (type == 1) {
|
||||
let json = { "id": obj.id, "title": obj.name, "parentId": obj.parentId, "level": obj.level };
|
||||
window.parent.reloadData(json)
|
||||
}
|
||||
|
||||
parent.layer.close(index);
|
||||
}
|
||||
|
|
@ -28,7 +28,7 @@ function queryTable(type) {
|
|||
|
||||
// 刷新页面数据
|
||||
function reloadData() {
|
||||
reloadData(pageNum);
|
||||
reloadTable(1);
|
||||
}
|
||||
|
||||
// 重载表格
|
||||
|
|
|
|||
|
|
@ -219,9 +219,8 @@ function handleNum(that, value) {
|
|||
|
||||
function closePage(type, params) {
|
||||
let index = parent.layer.getFrameIndex(window.name); // 先得到当前 iframe层的索引
|
||||
parent.layer.close(index); // 再执行关闭
|
||||
if (type == 1) {
|
||||
window.parent.addJjDatas(params);
|
||||
}
|
||||
|
||||
parent.layer.close(index); // 再执行关闭
|
||||
}
|
||||
|
|
@ -235,6 +235,6 @@ function check() {
|
|||
|
||||
function closePage() {
|
||||
let index = parent.layer.getFrameIndex(window.name); // 先得到当前 iframe层的索引
|
||||
parent.layer.close(index); // 再执行关闭
|
||||
window.parent.queryTable(1);
|
||||
parent.layer.close(index); // 再执行关闭
|
||||
}
|
||||
|
|
@ -317,9 +317,8 @@ function checkValue(that, type, name) {
|
|||
// 关闭页面
|
||||
function closePage(type) {
|
||||
let index = parent.layer.getFrameIndex(window.name); // 先得到当前 iframe层的索引
|
||||
parent.layer.close(index); // 再执行关闭
|
||||
if (type == 1) {
|
||||
window.parent.reloadData();
|
||||
}
|
||||
|
||||
parent.layer.close(index); // 再执行关闭
|
||||
}
|
||||
|
|
@ -315,9 +315,8 @@ function saveData2(params) {
|
|||
|
||||
function closePage(type, params) {
|
||||
let index = parent.layer.getFrameIndex(window.name); // 先得到当前 iframe层的索引
|
||||
parent.layer.close(index); // 再执行关闭
|
||||
if (type == 1) {
|
||||
window.parent.addFitDatas(params);
|
||||
}
|
||||
|
||||
parent.layer.close(index); // 再执行关闭
|
||||
}
|
||||
|
|
@ -443,9 +443,8 @@ function addJjDatas(data) {
|
|||
// 关闭页面
|
||||
function closePage(type) {
|
||||
let index = parent.layer.getFrameIndex(window.name); // 先得到当前 iframe层的索引
|
||||
parent.layer.close(index); // 再执行关闭
|
||||
if (type == 1) {
|
||||
window.parent.reloadData();
|
||||
}
|
||||
|
||||
parent.layer.close(index); // 再执行关闭
|
||||
}
|
||||
Loading…
Reference in New Issue