ecinc-cloud-mappaio 9.6.93 → 9.6.95
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.
package/lib/ecmappaio.common.js
CHANGED
|
@@ -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
|
//中文,按钮,忽略语言包
|
|
@@ -65471,7 +65465,8 @@ var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpac
|
|
|
65471
65465
|
*/
|
|
65472
65466
|
function fieldLblI18nFunc(el, binding, vnode) {
|
|
65473
65467
|
var field = binding.value;
|
|
65474
|
-
|
|
65468
|
+
//非中文版、流程类文本标签,使用语言包中的配置
|
|
65469
|
+
if (field && (vnode.context.$i18n.locale !== 'zhCN' || vnode.context.moduleCode.toLowerCase() === 'wflowform')) {
|
|
65475
65470
|
var attrs = vnode.data.attrs || {};
|
|
65476
65471
|
var label = vnode.context.$i18n.generateTitle({
|
|
65477
65472
|
field: binding.value
|
|
@@ -65604,7 +65599,8 @@ external_commonjs_vue_commonjs2_vue_root_Vue_default().directive('form-title', {
|
|
|
65604
65599
|
*/
|
|
65605
65600
|
function txtLblI18nFunc(el, binding, vnode) {
|
|
65606
65601
|
var field = binding.value;
|
|
65607
|
-
|
|
65602
|
+
//非中文版、流程类文本标签,使用语言包中的配置
|
|
65603
|
+
if (field && (vnode.context.$i18n.locale !== 'zhCN' || vnode.context.moduleCode.toLowerCase() === 'wflowform')) {
|
|
65608
65604
|
var attrs = vnode.data.attrs || {};
|
|
65609
65605
|
var label = vnode.context.$i18n.generateTitle({
|
|
65610
65606
|
i18nCode: binding.value
|
package/lib/ecmappaio.umd.js
CHANGED
|
@@ -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
|
//中文,按钮,忽略语言包
|
|
@@ -65481,7 +65475,8 @@ var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpac
|
|
|
65481
65475
|
*/
|
|
65482
65476
|
function fieldLblI18nFunc(el, binding, vnode) {
|
|
65483
65477
|
var field = binding.value;
|
|
65484
|
-
|
|
65478
|
+
//非中文版、流程类文本标签,使用语言包中的配置
|
|
65479
|
+
if (field && (vnode.context.$i18n.locale !== 'zhCN' || vnode.context.moduleCode.toLowerCase() === 'wflowform')) {
|
|
65485
65480
|
var attrs = vnode.data.attrs || {};
|
|
65486
65481
|
var label = vnode.context.$i18n.generateTitle({
|
|
65487
65482
|
field: binding.value
|
|
@@ -65614,7 +65609,8 @@ external_commonjs_vue_commonjs2_vue_root_Vue_default().directive('form-title', {
|
|
|
65614
65609
|
*/
|
|
65615
65610
|
function txtLblI18nFunc(el, binding, vnode) {
|
|
65616
65611
|
var field = binding.value;
|
|
65617
|
-
|
|
65612
|
+
//非中文版、流程类文本标签,使用语言包中的配置
|
|
65613
|
+
if (field && (vnode.context.$i18n.locale !== 'zhCN' || vnode.context.moduleCode.toLowerCase() === 'wflowform')) {
|
|
65618
65614
|
var attrs = vnode.data.attrs || {};
|
|
65619
65615
|
var label = vnode.context.$i18n.generateTitle({
|
|
65620
65616
|
i18nCode: binding.value
|