提交 fce0d594 编写于 作者: U unknown

修复待办中心草稿列表未刷新的问题

上级 05103dc1
......@@ -551,7 +551,7 @@ MWF.xApplication.cms.Xform.Attachment = MWF.CMSAttachment = new Class({
validationConfigItem: function (routeName, data) {
var flag = (data.status == "all") ? true : (routeName == "publish");
if (flag) {
var n = this.getData();
var n = this.getData() || [];
var v = (data.valueType == "value") ? n : n.length;
switch (data.operateor) {
case "isnull":
......
......@@ -633,6 +633,7 @@ MWF.xApplication.process.TaskCenter.Main = new Class({
//if (this.readList) if (this.currentTab == "read") this.readList.refresh();
//if (this.readedList) if (this.currentTab == "readed") this.readedList.refresh();
//if (this.reviewList) if (this.currentTab == "review") this.reviewList.refresh();
if (this.draftList) if (this.currentTab === "draft") this.draftList.refresh();
},
createTaskCompletedList: function (filterData) {
......
......@@ -1855,7 +1855,7 @@ MWF.xApplication.process.Xform.Attachment = MWF.APPAttachment = new Class(
validationConfigItem: function (routeName, data) {
var flag = (data.status == "all") ? true : (routeName == data.decision);
if (flag) {
var n = this.getData();
var n = this.getData() || [];
var v = (data.valueType == "value") ? n : n.length;
switch (data.operateor) {
case "isnull":
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册