ecinc-cloud-mappaio 9.6.59 → 9.6.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -39975,7 +39975,7 @@ var wfengine_install = function install(Vue) {
39975
39975
  var attachShortName = $scope.attachments[i].fileName.substring(0, $scope.attachments[i].fileName.lastIndexOf('.'));
39976
39976
  if ($scope.attachments[i].fileType.toUpperCase() === 'BODY') {
39977
39977
  if (attachShortName === bydyShortName || $scope.attachments[i].originalName.split('.')[0] === bydyShortName) {
39978
- var extName = $scope.attachments[i].originalName.split('.')[1].split('.')[0].toLowerCase();
39978
+ var extName = $scope.attachments[i].fileName.split('.')[1].toLowerCase();
39979
39979
  // pdf格式优先
39980
39980
  if (!$scope.bodyfile || extName === 'pdf' || extName === 'ofd') {
39981
39981
  $scope.bodyfile = $scope.attachments[i];
@@ -39988,7 +39988,7 @@ var wfengine_install = function install(Vue) {
39988
39988
  }
39989
39989
  if (!$scope.bodyfile) {
39990
39990
  $scope.attachments.forEach(function (attachment) {
39991
- var extName = attachment.originalName.split('.')[1].split('.')[0].toLowerCase();
39991
+ var extName = attachment.fileName.split('.')[1].toLowerCase();
39992
39992
  if (attachment.fileType.toUpperCase() === 'BODY' && (extName === 'pdf' || extName === 'ofd')) {
39993
39993
  $scope.bodyfile = attachment;
39994
39994
  }
@@ -39996,12 +39996,12 @@ var wfengine_install = function install(Vue) {
39996
39996
  }
39997
39997
  if ($scope.bodyfile && $scope.bodyfile.fileName.indexOf($scope.wfInstance.bodyDocId) !== -1) {
39998
39998
  $scope.bodyfile.bodyFileName = $scope.bodyfile.fileName;
39999
- $scope.bodyfile.fileName = '文件正文.' + $scope.bodyfile.originalName.split('.')[1];
39999
+ $scope.bodyfile.fileName = $scope.wfInstance.title + $scope.bodyfile.originalName.split('.')[1];
40000
40000
  }
40001
40001
  } else {
40002
40002
  $scope.attachments.forEach(function (attachment) {
40003
40003
  if (attachment.fileType.toUpperCase() === 'BODY') {
40004
- var _extName = attachment.originalName.split('.')[1].split('.')[0].toLowerCase();
40004
+ var _extName = attachment.fileName.split('.')[1].toLowerCase();
40005
40005
  if (attachment.fileName.indexOf('RedTitle_') === 0 && (_extName === 'pdf' || _extName === 'ofd')) {
40006
40006
  $scope.bodyfile = attachment;
40007
40007
  $scope.redTitleFile = JSON.parse(JSON.stringify(attachment)); //套红文件
@@ -40027,7 +40027,7 @@ var wfengine_install = function install(Vue) {
40027
40027
  if (!$scope.bodyfile) {
40028
40028
  $scope.attachments.forEach(function (attachment) {
40029
40029
  if (attachment.fileType.toUpperCase() === 'BODY' && attachment.originalName.split('.')[0] === $scope.wfInstance.bodyDocId) {
40030
- var _extName2 = attachment.originalName.split('.')[1].split('.')[0].toLowerCase();
40030
+ var _extName2 = attachment.fileName.split('.')[1].toLowerCase();
40031
40031
  if (_extName2 === 'pdf' || _extName2 === 'ofd' || attachment.filePath.indexOf('/noTracks/') !== -1) {
40032
40032
  // pdf格式优先、无修订DOC优先
40033
40033
  $scope.bodyfile = attachment;
@@ -40040,13 +40040,9 @@ var wfengine_install = function install(Vue) {
40040
40040
  }
40041
40041
  }
40042
40042
  if ($scope.bodyfile != null && ($scope.bodyfile.originalName.indexOf($scope.wfInstance.bodyDocId + '.') === 0 || $scope.bodyfile.fileName.indexOf($scope.wfInstance.bodyDocId + '.') !== -1)) {
40043
- if ($scope.bodyfile.originalName.indexOf($scope.wfInstance.bodyDocId + '.') !== -1) {
40043
+ if ($scope.bodyfile.fileName.indexOf($scope.wfInstance.bodyDocId + '.') !== -1) {
40044
40044
  $scope.bodyfile.bodyFileName = $scope.bodyfile.fileName;
40045
- if ($scope.bodyfile.fileName.indexOf('SignedFile_') === 0 && $scope.bodyfile.fileName.indexOf($scope.wfInstance.bodyDocId) == -1) {
40046
- $scope.bodyfile.fileName = $scope.bodyfile.fileName.split('SignedFile_')[1];
40047
- } else {
40048
- $scope.bodyfile.fileName = '文件正文.' + $scope.bodyfile.originalName.split('.')[1];
40049
- }
40045
+ $scope.bodyfile.fileName = $scope.wfInstance.title + '.' + $scope.bodyfile.fileName.split('.')[1];
40050
40046
  }
40051
40047
  if ($scope.wfInstance.status > 0) {
40052
40048
  $scope.bodyfile.notDelete = true;
@@ -39985,7 +39985,7 @@ var wfengine_install = function install(Vue) {
39985
39985
  var attachShortName = $scope.attachments[i].fileName.substring(0, $scope.attachments[i].fileName.lastIndexOf('.'));
39986
39986
  if ($scope.attachments[i].fileType.toUpperCase() === 'BODY') {
39987
39987
  if (attachShortName === bydyShortName || $scope.attachments[i].originalName.split('.')[0] === bydyShortName) {
39988
- var extName = $scope.attachments[i].originalName.split('.')[1].split('.')[0].toLowerCase();
39988
+ var extName = $scope.attachments[i].fileName.split('.')[1].toLowerCase();
39989
39989
  // pdf格式优先
39990
39990
  if (!$scope.bodyfile || extName === 'pdf' || extName === 'ofd') {
39991
39991
  $scope.bodyfile = $scope.attachments[i];
@@ -39998,7 +39998,7 @@ var wfengine_install = function install(Vue) {
39998
39998
  }
39999
39999
  if (!$scope.bodyfile) {
40000
40000
  $scope.attachments.forEach(function (attachment) {
40001
- var extName = attachment.originalName.split('.')[1].split('.')[0].toLowerCase();
40001
+ var extName = attachment.fileName.split('.')[1].toLowerCase();
40002
40002
  if (attachment.fileType.toUpperCase() === 'BODY' && (extName === 'pdf' || extName === 'ofd')) {
40003
40003
  $scope.bodyfile = attachment;
40004
40004
  }
@@ -40006,12 +40006,12 @@ var wfengine_install = function install(Vue) {
40006
40006
  }
40007
40007
  if ($scope.bodyfile && $scope.bodyfile.fileName.indexOf($scope.wfInstance.bodyDocId) !== -1) {
40008
40008
  $scope.bodyfile.bodyFileName = $scope.bodyfile.fileName;
40009
- $scope.bodyfile.fileName = '文件正文.' + $scope.bodyfile.originalName.split('.')[1];
40009
+ $scope.bodyfile.fileName = $scope.wfInstance.title + $scope.bodyfile.originalName.split('.')[1];
40010
40010
  }
40011
40011
  } else {
40012
40012
  $scope.attachments.forEach(function (attachment) {
40013
40013
  if (attachment.fileType.toUpperCase() === 'BODY') {
40014
- var _extName = attachment.originalName.split('.')[1].split('.')[0].toLowerCase();
40014
+ var _extName = attachment.fileName.split('.')[1].toLowerCase();
40015
40015
  if (attachment.fileName.indexOf('RedTitle_') === 0 && (_extName === 'pdf' || _extName === 'ofd')) {
40016
40016
  $scope.bodyfile = attachment;
40017
40017
  $scope.redTitleFile = JSON.parse(JSON.stringify(attachment)); //套红文件
@@ -40037,7 +40037,7 @@ var wfengine_install = function install(Vue) {
40037
40037
  if (!$scope.bodyfile) {
40038
40038
  $scope.attachments.forEach(function (attachment) {
40039
40039
  if (attachment.fileType.toUpperCase() === 'BODY' && attachment.originalName.split('.')[0] === $scope.wfInstance.bodyDocId) {
40040
- var _extName2 = attachment.originalName.split('.')[1].split('.')[0].toLowerCase();
40040
+ var _extName2 = attachment.fileName.split('.')[1].toLowerCase();
40041
40041
  if (_extName2 === 'pdf' || _extName2 === 'ofd' || attachment.filePath.indexOf('/noTracks/') !== -1) {
40042
40042
  // pdf格式优先、无修订DOC优先
40043
40043
  $scope.bodyfile = attachment;
@@ -40050,13 +40050,9 @@ var wfengine_install = function install(Vue) {
40050
40050
  }
40051
40051
  }
40052
40052
  if ($scope.bodyfile != null && ($scope.bodyfile.originalName.indexOf($scope.wfInstance.bodyDocId + '.') === 0 || $scope.bodyfile.fileName.indexOf($scope.wfInstance.bodyDocId + '.') !== -1)) {
40053
- if ($scope.bodyfile.originalName.indexOf($scope.wfInstance.bodyDocId + '.') !== -1) {
40053
+ if ($scope.bodyfile.fileName.indexOf($scope.wfInstance.bodyDocId + '.') !== -1) {
40054
40054
  $scope.bodyfile.bodyFileName = $scope.bodyfile.fileName;
40055
- if ($scope.bodyfile.fileName.indexOf('SignedFile_') === 0 && $scope.bodyfile.fileName.indexOf($scope.wfInstance.bodyDocId) == -1) {
40056
- $scope.bodyfile.fileName = $scope.bodyfile.fileName.split('SignedFile_')[1];
40057
- } else {
40058
- $scope.bodyfile.fileName = '文件正文.' + $scope.bodyfile.originalName.split('.')[1];
40059
- }
40055
+ $scope.bodyfile.fileName = $scope.wfInstance.title + '.' + $scope.bodyfile.fileName.split('.')[1];
40060
40056
  }
40061
40057
  if ($scope.wfInstance.status > 0) {
40062
40058
  $scope.bodyfile.notDelete = true;