ecinc-cloud-mappaio 9.6.93 → 9.6.94

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.
@@ -268,9 +268,6 @@ defaultText:默认文本
268
268
  */
269
269
  function $tx(expression, variables, defaultText) {
270
270
  var $scope = this && this.$vnode ? this.$vnode.context : window.$wapp || window.$mapp;
271
- if (expression === 'ecwapp.Wflowform.WfTaskNode.designatedDepartment') {
272
- debugger;
273
- }
274
271
  if (!$scope.$i18n) {
275
272
  console.log(expression);
276
273
  debugger;
@@ -293,9 +290,6 @@ function $tx(expression, variables, defaultText) {
293
290
 
294
291
  // translate router.meta.title, be used in breadcrumb sidebar tagsview
295
292
  function generateTitle(meta, $scope, moduleCode, i18npkg, variables) {
296
- if (meta.i18nCode === 'keepAttend' || moduleCode === 'submitHandle') {
297
- // debugger
298
- }
299
293
  $scope = $scope || this;
300
294
  if ($scope.$i18n && $scope.$i18n.locale === 'zhCN') {
301
295
  //中文,按钮,忽略语言包
@@ -65604,7 +65598,9 @@ external_commonjs_vue_commonjs2_vue_root_Vue_default().directive('form-title', {
65604
65598
  */
65605
65599
  function txtLblI18nFunc(el, binding, vnode) {
65606
65600
  var field = binding.value;
65607
- if (field && vnode.context.$i18n.locale !== 'zhCN') {
65601
+
65602
+ //非中文版、流程类文本标签,使用语言包中的配置
65603
+ if (field && (vnode.context.$i18n.locale !== 'zhCN' || field.indexOf('Wflowform') !== -1 || field.indexOf('ModifyWfNodelog') !== -1 || field.indexOf('SubmitHandle') !== -1 || field.indexOf('WfdProcess') !== -1)) {
65608
65604
  var attrs = vnode.data.attrs || {};
65609
65605
  var label = vnode.context.$i18n.generateTitle({
65610
65606
  i18nCode: binding.value
@@ -278,9 +278,6 @@ defaultText:默认文本
278
278
  */
279
279
  function $tx(expression, variables, defaultText) {
280
280
  var $scope = this && this.$vnode ? this.$vnode.context : window.$wapp || window.$mapp;
281
- if (expression === 'ecwapp.Wflowform.WfTaskNode.designatedDepartment') {
282
- debugger;
283
- }
284
281
  if (!$scope.$i18n) {
285
282
  console.log(expression);
286
283
  debugger;
@@ -303,9 +300,6 @@ function $tx(expression, variables, defaultText) {
303
300
 
304
301
  // translate router.meta.title, be used in breadcrumb sidebar tagsview
305
302
  function generateTitle(meta, $scope, moduleCode, i18npkg, variables) {
306
- if (meta.i18nCode === 'keepAttend' || moduleCode === 'submitHandle') {
307
- // debugger
308
- }
309
303
  $scope = $scope || this;
310
304
  if ($scope.$i18n && $scope.$i18n.locale === 'zhCN') {
311
305
  //中文,按钮,忽略语言包
@@ -65614,7 +65608,9 @@ external_commonjs_vue_commonjs2_vue_root_Vue_default().directive('form-title', {
65614
65608
  */
65615
65609
  function txtLblI18nFunc(el, binding, vnode) {
65616
65610
  var field = binding.value;
65617
- if (field && vnode.context.$i18n.locale !== 'zhCN') {
65611
+
65612
+ //非中文版、流程类文本标签,使用语言包中的配置
65613
+ if (field && (vnode.context.$i18n.locale !== 'zhCN' || field.indexOf('Wflowform') !== -1 || field.indexOf('ModifyWfNodelog') !== -1 || field.indexOf('SubmitHandle') !== -1 || field.indexOf('WfdProcess') !== -1)) {
65618
65614
  var attrs = vnode.data.attrs || {};
65619
65615
  var label = vnode.context.$i18n.generateTitle({
65620
65616
  i18nCode: binding.value