ecinc-cloud-wappaio 9.6.342 → 9.6.343

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.
@@ -9015,9 +9015,6 @@ defaultText:默认文本
9015
9015
  */
9016
9016
  function $tx(expression, variables, defaultText) {
9017
9017
  var $scope = this && this.$vnode ? this.$vnode.context : window.$wapp || window.$mapp;
9018
- if (expression === 'ecwapp.Wflowform.WfTaskNode.designatedDepartment') {
9019
- debugger;
9020
- }
9021
9018
  if (!$scope.$i18n) {
9022
9019
  console.log(expression);
9023
9020
  debugger;
@@ -9040,9 +9037,6 @@ function $tx(expression, variables, defaultText) {
9040
9037
 
9041
9038
  // translate router.meta.title, be used in breadcrumb sidebar tagsview
9042
9039
  function generateTitle(meta, $scope, moduleCode, i18npkg, variables) {
9043
- if (meta.i18nCode === 'keepAttend' || moduleCode === 'submitHandle') {
9044
- // debugger
9045
- }
9046
9040
  $scope = $scope || this;
9047
9041
  if ($scope.$i18n && $scope.$i18n.locale === 'zhCN') {
9048
9042
  //中文,按钮,忽略语言包
@@ -181358,7 +181352,9 @@ external_commonjs_vue_commonjs2_vue_root_Vue_default().directive('form-title', {
181358
181352
  */
181359
181353
  function txtLblI18nFunc(el, binding, vnode) {
181360
181354
  var field = binding.value;
181361
- if (field && vnode.context.$i18n.locale !== 'zhCN') {
181355
+
181356
+ //非中文版、流程类文本标签,使用语言包中的配置
181357
+ if (field && (vnode.context.$i18n.locale !== 'zhCN' || field.indexOf('Wflowform') !== -1 || field.indexOf('ModifyWfNodelog') !== -1 || field.indexOf('SubmitHandle') !== -1 || field.indexOf('WfdProcess') !== -1)) {
181362
181358
  var attrs = vnode.data.attrs || {};
181363
181359
  var label = vnode.context.$i18n.generateTitle({
181364
181360
  i18nCode: binding.value
@@ -9025,9 +9025,6 @@ defaultText:默认文本
9025
9025
  */
9026
9026
  function $tx(expression, variables, defaultText) {
9027
9027
  var $scope = this && this.$vnode ? this.$vnode.context : window.$wapp || window.$mapp;
9028
- if (expression === 'ecwapp.Wflowform.WfTaskNode.designatedDepartment') {
9029
- debugger;
9030
- }
9031
9028
  if (!$scope.$i18n) {
9032
9029
  console.log(expression);
9033
9030
  debugger;
@@ -9050,9 +9047,6 @@ function $tx(expression, variables, defaultText) {
9050
9047
 
9051
9048
  // translate router.meta.title, be used in breadcrumb sidebar tagsview
9052
9049
  function generateTitle(meta, $scope, moduleCode, i18npkg, variables) {
9053
- if (meta.i18nCode === 'keepAttend' || moduleCode === 'submitHandle') {
9054
- // debugger
9055
- }
9056
9050
  $scope = $scope || this;
9057
9051
  if ($scope.$i18n && $scope.$i18n.locale === 'zhCN') {
9058
9052
  //中文,按钮,忽略语言包
@@ -181368,7 +181362,9 @@ external_commonjs_vue_commonjs2_vue_root_Vue_default().directive('form-title', {
181368
181362
  */
181369
181363
  function txtLblI18nFunc(el, binding, vnode) {
181370
181364
  var field = binding.value;
181371
- if (field && vnode.context.$i18n.locale !== 'zhCN') {
181365
+
181366
+ //非中文版、流程类文本标签,使用语言包中的配置
181367
+ if (field && (vnode.context.$i18n.locale !== 'zhCN' || field.indexOf('Wflowform') !== -1 || field.indexOf('ModifyWfNodelog') !== -1 || field.indexOf('SubmitHandle') !== -1 || field.indexOf('WfdProcess') !== -1)) {
181372
181368
  var attrs = vnode.data.attrs || {};
181373
181369
  var label = vnode.context.$i18n.generateTitle({
181374
181370
  i18nCode: binding.value