二次点击下派模板时,保存模板ID为空bug修改。

This commit is contained in:
Renpc-kilig 2021-12-07 15:37:25 +08:00
parent 0916e40729
commit bbafa933d0
2 changed files with 6 additions and 2 deletions

View File

@ -489,7 +489,9 @@
width: '1040px',
height: '98%',
onClose: function(data) {
templateObj = top.dialog.dialogData.templateObj;
if(!$.isEmptyObject(top.dialog.dialogData.templateObj)) {
templateObj = top.dialog.dialogData.templateObj;
}
if(!$.isEmptyObject(templateObj)) {
$('#taskListDiv').hide();
getTaskRateMsg(templateObj.taskRateId);

View File

@ -471,7 +471,9 @@
width: '1040px',
height: '98%',
onClose: function(data) {
templateObj = top.dialog.dialogData.templateObj;
if(!$.isEmptyObject(top.dialog.dialogData.templateObj)) {
templateObj = top.dialog.dialogData.templateObj;
}
if(!$.isEmptyObject(templateObj)) {
$('#taskListDiv').hide();
listList = [];