提交 ffc57593 编写于 作者: 蔡祥熠

Merge branch 'wrdp' into 'develop'

Wrdp

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