ecinc-cloud-mappaio 9.0.88 → 9.0.89
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/index.js +13 -42
- package/lang/index.js +29 -0
- package/lib/ecmappaio.common.js +1826 -905
- package/lib/ecmappaio.umd.js +1820 -899
- package/lib/ecmappaio.umd.min.js +51 -51
- package/package.json +1 -1
package/lib/ecmappaio.umd.js
CHANGED
|
@@ -201,6 +201,332 @@ function normalizeComponent(
|
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
|
|
204
|
+
/***/ }),
|
|
205
|
+
|
|
206
|
+
/***/ 4771:
|
|
207
|
+
/***/ (function(module) {
|
|
208
|
+
|
|
209
|
+
module.exports = {
|
|
210
|
+
request: {
|
|
211
|
+
status401relogin: 'The session has expired, please log in again.',
|
|
212
|
+
status401: 'The session has expired.',
|
|
213
|
+
status404: 'Interface does not exist or execution error:'
|
|
214
|
+
}
|
|
215
|
+
};
|
|
216
|
+
|
|
217
|
+
/***/ }),
|
|
218
|
+
|
|
219
|
+
/***/ 1496:
|
|
220
|
+
/***/ (function(module) {
|
|
221
|
+
|
|
222
|
+
module.exports = {
|
|
223
|
+
request: {
|
|
224
|
+
status401relogin: 'The session has expired, please log in again.',
|
|
225
|
+
status401: 'The session has expired.',
|
|
226
|
+
status404: 'Interface does not exist or execution error:'
|
|
227
|
+
}
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
/***/ }),
|
|
231
|
+
|
|
232
|
+
/***/ 3626:
|
|
233
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
234
|
+
|
|
235
|
+
"use strict";
|
|
236
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
237
|
+
/* harmony export */ KS: function() { return /* binding */ generateTitle; },
|
|
238
|
+
/* harmony export */ Pc: function() { return /* binding */ $tx; },
|
|
239
|
+
/* harmony export */ Z0: function() { return /* binding */ getLanguage; },
|
|
240
|
+
/* harmony export */ ot: function() { return /* binding */ commonMessages; },
|
|
241
|
+
/* harmony export */ wS: function() { return /* binding */ getPageTitle; }
|
|
242
|
+
/* harmony export */ });
|
|
243
|
+
/* harmony import */ var js_cookie__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2215);
|
|
244
|
+
/* harmony import */ var js_cookie__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(js_cookie__WEBPACK_IMPORTED_MODULE_0__);
|
|
245
|
+
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9693);
|
|
246
|
+
/* harmony import */ var _en_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4771);
|
|
247
|
+
/* harmony import */ var _en_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_en_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
248
|
+
/* harmony import */ var _zhCN_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1375);
|
|
249
|
+
/* harmony import */ var _zhCN_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_zhCN_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
250
|
+
/* harmony import */ var _es_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1496);
|
|
251
|
+
/* harmony import */ var _es_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_es_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
252
|
+
/* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(3921);
|
|
253
|
+
/* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_ja_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
254
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
255
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
256
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
257
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
258
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
259
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
var $messages = {
|
|
267
|
+
en: _objectSpread({}, (_en_js__WEBPACK_IMPORTED_MODULE_2___default())),
|
|
268
|
+
zhCN: _objectSpread({}, (_zhCN_js__WEBPACK_IMPORTED_MODULE_3___default())),
|
|
269
|
+
es: _objectSpread({}, (_es_js__WEBPACK_IMPORTED_MODULE_4___default())),
|
|
270
|
+
ja: _objectSpread({}, (_ja_js__WEBPACK_IMPORTED_MODULE_5___default()))
|
|
271
|
+
};
|
|
272
|
+
var commonMessages = $messages;
|
|
273
|
+
|
|
274
|
+
/*
|
|
275
|
+
expression:完整表达式
|
|
276
|
+
variables:动态变量
|
|
277
|
+
defaultText:默认文本
|
|
278
|
+
*/
|
|
279
|
+
function $tx(expression, variables, defaultText) {
|
|
280
|
+
var $scope = this.$vnode ? this.$vnode.context : window.$wapp || window.$mapp;
|
|
281
|
+
if (expression === 'ecwapp.DataTable.selectRow') {
|
|
282
|
+
//debugger
|
|
283
|
+
}
|
|
284
|
+
var text;
|
|
285
|
+
if ($scope.$te(expression)) {
|
|
286
|
+
text = $scope.$t(expression);
|
|
287
|
+
} else if (_typeof(variables) !== 'object') {
|
|
288
|
+
text = variables;
|
|
289
|
+
} else {
|
|
290
|
+
text = defaultText;
|
|
291
|
+
}
|
|
292
|
+
if (_typeof(variables) === 'object' && text) {
|
|
293
|
+
Object.keys(variables).forEach(function (key) {
|
|
294
|
+
text = text.replace('{' + key + '}', variables[key]);
|
|
295
|
+
});
|
|
296
|
+
}
|
|
297
|
+
return text;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
// translate router.meta.title, be used in breadcrumb sidebar tagsview
|
|
301
|
+
function generateTitle(meta, $scope, moduleCode, i18npkg, variables) {
|
|
302
|
+
if (meta.i18nCode === 'cancel') {
|
|
303
|
+
//debugger
|
|
304
|
+
}
|
|
305
|
+
$scope = $scope || this;
|
|
306
|
+
if (meta.i18nCode && $scope.$te(meta.i18nCode)) {
|
|
307
|
+
return $scope.$t(meta.i18nCode, variables);
|
|
308
|
+
}
|
|
309
|
+
var moduleInfo = $scope.moduleInfo || $scope.$vnode.context.moduleInfo || $scope.$vnode.context.$vnode.context.moduleInfo;
|
|
310
|
+
if (!i18npkg) {
|
|
311
|
+
i18npkg = $scope.i18npkg || $scope.$vnode.context.i18npkg || $scope.$vnode.context.$vnode.context.i18npkg;
|
|
312
|
+
if (!i18npkg) {
|
|
313
|
+
if ($scope.wfInstance || $scope.$vnode.context.wfInstance) {
|
|
314
|
+
var workform = ($scope.wfInstance || $scope.$vnode.context.wfInstance).workForm;
|
|
315
|
+
if (workform.indexOf('/dcontent/') !== -1) {
|
|
316
|
+
workform = workform.split('/dcontent/')[1].split('.');
|
|
317
|
+
i18npkg = workform[0];
|
|
318
|
+
moduleCode = workform[1];
|
|
319
|
+
} else if ($scope.wfEngineUrl || $scope.$vnode.context.wfEngineUrl || $scope.$vnode.context.$vnode.context.wfEngineUrl) {
|
|
320
|
+
var wfEngineUrl = ($scope.wfEngineUrl || $scope.$vnode.context.wfEngineUrl || $scope.$vnode.context.$vnode.context.wfEngineUrl).split('/');
|
|
321
|
+
i18npkg = wfEngineUrl[0];
|
|
322
|
+
moduleCode = wfEngineUrl[1];
|
|
323
|
+
} else if (workform.indexOf('@/') !== -1) {
|
|
324
|
+
workform = workform.split('/');
|
|
325
|
+
i18npkg = workform[2];
|
|
326
|
+
moduleCode = workform[3];
|
|
327
|
+
}
|
|
328
|
+
} else if (meta.activeMenu !== undefined || meta.type === 'menuItem') {
|
|
329
|
+
if (meta.i18npkg) {
|
|
330
|
+
i18npkg = meta.i18npkg;
|
|
331
|
+
} else if (meta.i18nCode && meta.i18nCode.indexOf('.') != -1) {
|
|
332
|
+
i18npkg = meta.i18nCode.substring(0, meta.i18nCode.indexOf('.'));
|
|
333
|
+
meta.i18npkg = i18npkg;
|
|
334
|
+
meta.i18nCode = meta.i18nCode.substring(meta.i18nCode.lastIndexOf('.') + 1);
|
|
335
|
+
} else if (!meta.i18npkg && meta.href) {
|
|
336
|
+
var href = meta.href;
|
|
337
|
+
if (href.indexOf('/dcontent/') !== -1) {
|
|
338
|
+
href = href.split('/dcontent/')[1].split('.');
|
|
339
|
+
i18npkg = href[0];
|
|
340
|
+
meta.i18npkg = href[0];
|
|
341
|
+
} else if (href.indexOf('@/') !== -1) {
|
|
342
|
+
href = href.split('/');
|
|
343
|
+
i18npkg = href[2];
|
|
344
|
+
meta.i18npkg = href[0];
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
} else if (moduleInfo && moduleInfo.listDataUrl && moduleInfo.listDataUrl.split('/').length > 2) {
|
|
348
|
+
if (moduleInfo.listDataUrl.substring(0, 1) === '/') {
|
|
349
|
+
moduleInfo.listDataUrl = moduleInfo.listDataUrl.substring(1);
|
|
350
|
+
}
|
|
351
|
+
i18npkg = moduleInfo.listDataUrl.split('/')[0];
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
if (i18npkg) {
|
|
356
|
+
i18npkg += '.';
|
|
357
|
+
} else {
|
|
358
|
+
i18npkg = '';
|
|
359
|
+
}
|
|
360
|
+
if (!moduleCode) {
|
|
361
|
+
moduleCode = $scope.moduleCode || $scope.$vnode.context.moduleCode || $scope.$vnode.context.$vnode.context.moduleCode;
|
|
362
|
+
if (!moduleCode && moduleInfo) {
|
|
363
|
+
if (moduleInfo.moduleCode) {
|
|
364
|
+
moduleCode = moduleInfo.moduleCode;
|
|
365
|
+
} else if (moduleInfo.listDataUrl && moduleInfo.listDataUrl.split('/').length > 2) {
|
|
366
|
+
if (moduleInfo.listDataUrl.substring(0, 1) === '/') {
|
|
367
|
+
moduleInfo.listDataUrl = moduleInfo.listDataUrl.substring(1);
|
|
368
|
+
}
|
|
369
|
+
moduleCode = moduleInfo.listDataUrl.split('/')[1];
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
if (moduleCode) {
|
|
374
|
+
moduleCode = moduleCode + '.';
|
|
375
|
+
} else {
|
|
376
|
+
moduleCode = '';
|
|
377
|
+
}
|
|
378
|
+
var expression = '';
|
|
379
|
+
if (meta.type === 'menuItem' || meta.activeMenu !== undefined || meta.level === 1 && meta.topFlag === 1) {
|
|
380
|
+
expression = i18npkg + 'menuItem' + '.' + meta.i18nCode;
|
|
381
|
+
} else if (meta.type === 'navbar' || meta.breadcrumb !== undefined) {
|
|
382
|
+
expression = 'navbar.' + meta.title;
|
|
383
|
+
} else if (meta.formTitle) {
|
|
384
|
+
// 表单标题
|
|
385
|
+
expression = i18npkg + meta.code + '.formTitle';
|
|
386
|
+
} else if (meta.field && meta.type === 'option') {
|
|
387
|
+
// 表单复选框、单选框、列表框选项标签,value为中文时,$te、$t执行报错
|
|
388
|
+
//expression = i18npkg + moduleCode + 'options.' + meta.field + '.' + meta.value
|
|
389
|
+
var pkg = null;
|
|
390
|
+
if (i18npkg) {
|
|
391
|
+
pkg = $scope.$i18n.messages[$scope.$i18n.locale][i18npkg.replace('.', '')];
|
|
392
|
+
}
|
|
393
|
+
if (!pkg) {
|
|
394
|
+
pkg = $scope.$i18n.messages[$scope.$i18n.locale];
|
|
395
|
+
}
|
|
396
|
+
moduleCode = moduleCode.substring(0, moduleCode.length - 1);
|
|
397
|
+
var options = [];
|
|
398
|
+
if (pkg && pkg[moduleCode] && pkg[moduleCode].options && pkg[moduleCode].options[meta.field]) {
|
|
399
|
+
options = pkg[moduleCode].options[meta.field];
|
|
400
|
+
} else if (pkg && pkg.options && pkg.options[meta.field]) {
|
|
401
|
+
options = pkg.options[meta.field];
|
|
402
|
+
}
|
|
403
|
+
return options[meta.value];
|
|
404
|
+
} else if (meta.field) {
|
|
405
|
+
// 表单输入框标题、列表表头标题
|
|
406
|
+
expression = i18npkg + moduleCode + 'fields.' + meta.field;
|
|
407
|
+
} else if (meta.btnI18nCode) {
|
|
408
|
+
// 按钮名称
|
|
409
|
+
if (meta.type === 'commandBarBtn') {
|
|
410
|
+
expression = i18npkg + 'wfdProcess.operations' + '.' + meta.btnI18nCode;
|
|
411
|
+
} else {
|
|
412
|
+
expression = i18npkg + 'pageBtns' + '.' + meta.btnI18nCode;
|
|
413
|
+
}
|
|
414
|
+
} else if (meta.wfNodeName) {
|
|
415
|
+
//流程环节名称
|
|
416
|
+
expression = i18npkg + 'wfdProcess.nodes' + '.' + meta.wfNodeName;
|
|
417
|
+
} else if (meta.wfPathName) {
|
|
418
|
+
//流程路径名称
|
|
419
|
+
expression = i18npkg + 'wfdProcess.paths' + '.' + meta.wfPathName;
|
|
420
|
+
} else if (meta.wfIdeaLabel) {
|
|
421
|
+
//流程意见标签
|
|
422
|
+
expression = i18npkg + 'wfdProcess.ideaLabels' + '.' + meta.wfIdeaLabel;
|
|
423
|
+
} else if (meta.i18nCode) {
|
|
424
|
+
expression = meta.i18nCode;
|
|
425
|
+
if (expression.indexOf(moduleCode) === -1) {
|
|
426
|
+
expression = moduleCode + expression;
|
|
427
|
+
}
|
|
428
|
+
if (expression.indexOf(i18npkg) === -1) {
|
|
429
|
+
expression = i18npkg + expression;
|
|
430
|
+
}
|
|
431
|
+
} else {
|
|
432
|
+
debugger;
|
|
433
|
+
}
|
|
434
|
+
var globalExpression = expression;
|
|
435
|
+
globalExpression = expression.replace(i18npkg, '').replace(moduleCode, '');
|
|
436
|
+
if ($scope && $scope.$te) {
|
|
437
|
+
if ($scope.$te(expression)) {
|
|
438
|
+
return $scope.$t(expression, variables);
|
|
439
|
+
} else if ($scope.$te(globalExpression)) {
|
|
440
|
+
return $scope.$t(globalExpression, variables);
|
|
441
|
+
} else if ($scope.$i18n.locale !== 'zhCN' && meta.type !== 'option') {
|
|
442
|
+
var titles = '';
|
|
443
|
+
var i18nCode = meta.i18nCode || meta.code || meta.field || meta.btnI18nCode || meta.title || '';
|
|
444
|
+
if (i18nCode.split('.').length > 1) {
|
|
445
|
+
titles = i18nCode.substring(i18nCode.lastIndexOf('.') + 1).replace('-', '_');
|
|
446
|
+
} else {
|
|
447
|
+
titles = i18nCode.replace('-', '_');
|
|
448
|
+
}
|
|
449
|
+
if (titles.indexOf('_') !== -1) {
|
|
450
|
+
titles = titles.toLowerCase().split('_');
|
|
451
|
+
for (var i = 0; i < titles.length; i++) {
|
|
452
|
+
titles[i] = titles[i].substring(0, 1).toUpperCase() + titles[i].substring(1);
|
|
453
|
+
}
|
|
454
|
+
return titles.join('');
|
|
455
|
+
} else {
|
|
456
|
+
return titles.substring(0, 1).toUpperCase() + titles.substring(1);
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
return meta.title || meta.btnName || meta.formTitle;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* 路由跳转时设置浏览器标题
|
|
465
|
+
* @param {*} key
|
|
466
|
+
* @returns
|
|
467
|
+
*/
|
|
468
|
+
function getPageTitle(itemName, i18nCode, href, $scope) {
|
|
469
|
+
var title = _store__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A.state.settings.title;
|
|
470
|
+
if ($scope.$te('sysName')) {
|
|
471
|
+
title = $scope.$t('sysName');
|
|
472
|
+
}
|
|
473
|
+
if (i18nCode) {
|
|
474
|
+
itemName = generateTitle({
|
|
475
|
+
i18nCode: i18nCode,
|
|
476
|
+
href: href,
|
|
477
|
+
type: 'menuItem'
|
|
478
|
+
}, $scope);
|
|
479
|
+
}
|
|
480
|
+
if (itemName) {
|
|
481
|
+
return "".concat(itemName, " - ").concat(title);
|
|
482
|
+
} else {
|
|
483
|
+
return title;
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
function getLanguage() {
|
|
487
|
+
var chooseLanguage = js_cookie__WEBPACK_IMPORTED_MODULE_0___default().get('language');
|
|
488
|
+
if (chooseLanguage) return chooseLanguage;
|
|
489
|
+
|
|
490
|
+
// if has not choose language
|
|
491
|
+
var language = (navigator.language || navigator.browserLanguage || '').toLowerCase();
|
|
492
|
+
if ($messages) {
|
|
493
|
+
var locales = Object.keys($messages);
|
|
494
|
+
for (var _i = 0, _locales = locales; _i < _locales.length; _i++) {
|
|
495
|
+
var locale = _locales[_i];
|
|
496
|
+
if (language.indexOf(locale) > -1) {
|
|
497
|
+
return locale;
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
return 'zhCN';
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
/***/ }),
|
|
505
|
+
|
|
506
|
+
/***/ 3921:
|
|
507
|
+
/***/ (function(module) {
|
|
508
|
+
|
|
509
|
+
module.exports = {
|
|
510
|
+
request: {
|
|
511
|
+
status401relogin: 'The session has expired, please log in again.',
|
|
512
|
+
status401: 'The session has expired.',
|
|
513
|
+
status404: 'Interface does not exist or execution error:'
|
|
514
|
+
}
|
|
515
|
+
};
|
|
516
|
+
|
|
517
|
+
/***/ }),
|
|
518
|
+
|
|
519
|
+
/***/ 1375:
|
|
520
|
+
/***/ (function(module) {
|
|
521
|
+
|
|
522
|
+
module.exports = {
|
|
523
|
+
request: {
|
|
524
|
+
status401relogin: '认证会话已过期,请重新登录。',
|
|
525
|
+
status401: '认证会话已过期。',
|
|
526
|
+
status404: '接口不存在或执行错误:'
|
|
527
|
+
}
|
|
528
|
+
};
|
|
529
|
+
|
|
204
530
|
/***/ }),
|
|
205
531
|
|
|
206
532
|
/***/ 9693:
|
|
@@ -878,28 +1204,43 @@ var actions = {
|
|
|
878
1204
|
logout: function logout(_ref14) {
|
|
879
1205
|
var commit = _ref14.commit,
|
|
880
1206
|
state = _ref14.state;
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
1207
|
+
return new Promise( /*#__PURE__*/function () {
|
|
1208
|
+
var _ref15 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(resolve) {
|
|
1209
|
+
return _regeneratorRuntime().wrap(function _callee7$(_context7) {
|
|
1210
|
+
while (1) switch (_context7.prev = _context7.next) {
|
|
1211
|
+
case 0:
|
|
1212
|
+
window.$user.logout().then(function () {
|
|
1213
|
+
_store__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.dispatch('route/updateRoutes', []).then(function () {
|
|
1214
|
+
commit('SET_TOKEN', '');
|
|
1215
|
+
commit('SET_LOGIN_USER', null);
|
|
1216
|
+
commit('SET_ROLES', []);
|
|
1217
|
+
commit('SET_PERMISSIONS', []);
|
|
1218
|
+
commit('SET_PERSON_ORGAN_LIST', []);
|
|
1219
|
+
commit('SET_AVATAR', '');
|
|
1220
|
+
commit('SET_PRODUCT_CODE_LIST', []);
|
|
1221
|
+
commit('SET_PRODUCT_CODE_ALL', []);
|
|
1222
|
+
window.$auth.removeProductCode();
|
|
1223
|
+
window.$auth.removeToken();
|
|
1224
|
+
window.$auth.removeTicket();
|
|
1225
|
+
window.$auth.removeRoles();
|
|
1226
|
+
window.$auth.removePermissions();
|
|
1227
|
+
resolve();
|
|
1228
|
+
});
|
|
1229
|
+
});
|
|
1230
|
+
case 1:
|
|
1231
|
+
case "end":
|
|
1232
|
+
return _context7.stop();
|
|
1233
|
+
}
|
|
1234
|
+
}, _callee7);
|
|
1235
|
+
}));
|
|
1236
|
+
return function (_x7) {
|
|
1237
|
+
return _ref15.apply(this, arguments);
|
|
1238
|
+
};
|
|
1239
|
+
}());
|
|
899
1240
|
},
|
|
900
1241
|
// remove token
|
|
901
|
-
resetToken: function resetToken(
|
|
902
|
-
var commit =
|
|
1242
|
+
resetToken: function resetToken(_ref16) {
|
|
1243
|
+
var commit = _ref16.commit;
|
|
903
1244
|
return new Promise(function (resolve) {
|
|
904
1245
|
commit('SET_TOKEN', '');
|
|
905
1246
|
commit('SET_LOGIN_USER', null);
|
|
@@ -922,112 +1263,42 @@ var actions = {
|
|
|
922
1263
|
|
|
923
1264
|
/***/ }),
|
|
924
1265
|
|
|
925
|
-
/***/
|
|
1266
|
+
/***/ 5905:
|
|
926
1267
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
927
1268
|
|
|
928
1269
|
"use strict";
|
|
929
|
-
// ESM COMPAT FLAG
|
|
930
1270
|
__webpack_require__.r(__webpack_exports__);
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
__webpack_require__
|
|
934
|
-
"default": function() { return /* binding */ app; }
|
|
935
|
-
});
|
|
936
|
-
|
|
937
|
-
// EXTERNAL MODULE: ./node_modules/js-cookie/src/js.cookie.js
|
|
938
|
-
var js_cookie = __webpack_require__(2215);
|
|
939
|
-
var js_cookie_default = /*#__PURE__*/__webpack_require__.n(js_cookie);
|
|
940
|
-
;// CONCATENATED MODULE: ./packages/common/lang/index.js
|
|
941
|
-
|
|
942
|
-
// import { messages } from '@/global/lang/index'
|
|
943
|
-
var messages = __webpack_require__(3283);
|
|
944
|
-
|
|
945
|
-
// translate router.meta.title, be used in breadcrumb sidebar tagsview
|
|
946
|
-
function generateTitle(meta, $scope, moduleCode) {
|
|
947
|
-
$scope = $scope || this;
|
|
948
|
-
var expression = '';
|
|
949
|
-
if (meta.i18nCode) {
|
|
950
|
-
expression = (moduleCode || 'menuItem') + '.' + meta.i18nCode;
|
|
951
|
-
} else if (meta.field && moduleCode) {
|
|
952
|
-
// 表单输入框标题、列表表头标题
|
|
953
|
-
expression = moduleCode + '.fields.' + meta.field;
|
|
954
|
-
} else if (meta.field && $scope.moduleInfo && $scope.moduleInfo.moduleCode) {
|
|
955
|
-
// 表单输入框标题、列表表头标题
|
|
956
|
-
var _moduleCode = $scope.moduleInfo.moduleCode;
|
|
957
|
-
expression = _moduleCode + '.fields.' + meta.field;
|
|
958
|
-
} else if (meta.formTitle) {
|
|
959
|
-
// 表单标题
|
|
960
|
-
expression = meta.code + '.formTitle';
|
|
961
|
-
} else if (meta.btnI18nCode) {
|
|
962
|
-
// 按钮名称
|
|
963
|
-
expression = 'button' + '.' + meta.btnI18nCode;
|
|
964
|
-
} else {
|
|
965
|
-
expression = 'navbar.' + meta.title;
|
|
966
|
-
}
|
|
967
|
-
if ($scope && $scope.$te) {
|
|
968
|
-
var hasKey = $scope.$te(expression);
|
|
969
|
-
if (hasKey) {
|
|
970
|
-
var translatedTitle = $scope.$t(expression);
|
|
971
|
-
return translatedTitle;
|
|
972
|
-
} else if ($scope.$i18n.locale !== 'zhCN') {
|
|
973
|
-
var titles = (meta.i18nCode || meta.code || meta.field || meta.btnI18nCode || meta.title || '').split('.')[0].replace('-', '_');
|
|
974
|
-
if (titles.indexOf('_') !== -1) {
|
|
975
|
-
titles = titles.toLowerCase().split('_');
|
|
976
|
-
for (var i = 0; i < titles.length; i++) {
|
|
977
|
-
titles[i] = titles[i].substring(0, 1).toUpperCase() + titles[i].substring(1);
|
|
978
|
-
}
|
|
979
|
-
return titles.join('');
|
|
980
|
-
} else {
|
|
981
|
-
return titles.substring(0, 1).toUpperCase() + titles.substring(1);
|
|
982
|
-
}
|
|
983
|
-
}
|
|
984
|
-
}
|
|
985
|
-
return meta.title || meta.btnName || meta.formTitle;
|
|
986
|
-
}
|
|
987
|
-
function getLanguage() {
|
|
988
|
-
var chooseLanguage = js_cookie_default().get('language');
|
|
989
|
-
if (chooseLanguage) return chooseLanguage;
|
|
990
|
-
|
|
991
|
-
// if has not choose language
|
|
992
|
-
var language = (navigator.language || navigator.browserLanguage || '').toLowerCase();
|
|
993
|
-
var locales = Object.keys(messages);
|
|
994
|
-
for (var _i = 0, _locales = locales; _i < _locales.length; _i++) {
|
|
995
|
-
var locale = _locales[_i];
|
|
996
|
-
if (language.indexOf(locale) > -1) {
|
|
997
|
-
return locale;
|
|
998
|
-
}
|
|
999
|
-
}
|
|
1000
|
-
return 'zhCN';
|
|
1001
|
-
}
|
|
1002
|
-
;// CONCATENATED MODULE: ./packages/common/store/modules/wapp/app.js
|
|
1271
|
+
/* harmony import */ var js_cookie__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2215);
|
|
1272
|
+
/* harmony import */ var js_cookie__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(js_cookie__WEBPACK_IMPORTED_MODULE_0__);
|
|
1273
|
+
/* harmony import */ var _lang_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3626);
|
|
1003
1274
|
|
|
1004
1275
|
|
|
1005
1276
|
var state = {
|
|
1006
1277
|
sidebar: {
|
|
1007
|
-
opened:
|
|
1278
|
+
opened: js_cookie__WEBPACK_IMPORTED_MODULE_0___default().get('sidebarStatus') ? !!+js_cookie__WEBPACK_IMPORTED_MODULE_0___default().get('sidebarStatus') : true,
|
|
1008
1279
|
withoutAnimation: false
|
|
1009
1280
|
},
|
|
1010
1281
|
device: 'desktop',
|
|
1011
|
-
language: getLanguage(),
|
|
1012
|
-
size:
|
|
1282
|
+
language: (0,_lang_index__WEBPACK_IMPORTED_MODULE_1__/* .getLanguage */ .Z0)(),
|
|
1283
|
+
size: js_cookie__WEBPACK_IMPORTED_MODULE_0___default().get('size') || 'medium'
|
|
1013
1284
|
};
|
|
1014
1285
|
var mutations = {
|
|
1015
1286
|
TOGGLE_SIDEBAR: function TOGGLE_SIDEBAR(state) {
|
|
1016
1287
|
state.sidebar.opened = !state.sidebar.opened;
|
|
1017
1288
|
state.sidebar.withoutAnimation = false;
|
|
1018
1289
|
if (state.sidebar.opened) {
|
|
1019
|
-
|
|
1290
|
+
js_cookie__WEBPACK_IMPORTED_MODULE_0___default().set('sidebarStatus', 1);
|
|
1020
1291
|
} else {
|
|
1021
|
-
|
|
1292
|
+
js_cookie__WEBPACK_IMPORTED_MODULE_0___default().set('sidebarStatus', 0);
|
|
1022
1293
|
}
|
|
1023
1294
|
},
|
|
1024
1295
|
CLOSE_SIDEBAR: function CLOSE_SIDEBAR(state, withoutAnimation) {
|
|
1025
|
-
|
|
1296
|
+
js_cookie__WEBPACK_IMPORTED_MODULE_0___default().set('sidebarStatus', 0);
|
|
1026
1297
|
state.sidebar.opened = false;
|
|
1027
1298
|
state.sidebar.withoutAnimation = withoutAnimation;
|
|
1028
1299
|
},
|
|
1029
1300
|
OPEN_SIDEBAR: function OPEN_SIDEBAR(state, withoutAnimation) {
|
|
1030
|
-
|
|
1301
|
+
js_cookie__WEBPACK_IMPORTED_MODULE_0___default().set('sidebarStatus', 1);
|
|
1031
1302
|
state.sidebar.opened = true;
|
|
1032
1303
|
state.sidebar.withoutAnimation = withoutAnimation;
|
|
1033
1304
|
},
|
|
@@ -1036,11 +1307,11 @@ var mutations = {
|
|
|
1036
1307
|
},
|
|
1037
1308
|
SET_LANGUAGE: function SET_LANGUAGE(state, language) {
|
|
1038
1309
|
state.language = language;
|
|
1039
|
-
|
|
1310
|
+
js_cookie__WEBPACK_IMPORTED_MODULE_0___default().set('language', language);
|
|
1040
1311
|
},
|
|
1041
1312
|
SET_SIZE: function SET_SIZE(state, size) {
|
|
1042
1313
|
state.size = size;
|
|
1043
|
-
|
|
1314
|
+
js_cookie__WEBPACK_IMPORTED_MODULE_0___default().set('size', size);
|
|
1044
1315
|
}
|
|
1045
1316
|
};
|
|
1046
1317
|
var actions = {
|
|
@@ -1071,7 +1342,7 @@ var actions = {
|
|
|
1071
1342
|
commit('SET_SIZE', size);
|
|
1072
1343
|
}
|
|
1073
1344
|
};
|
|
1074
|
-
/* harmony default export */
|
|
1345
|
+
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
1075
1346
|
namespaced: true,
|
|
1076
1347
|
state: state,
|
|
1077
1348
|
mutations: mutations,
|
|
@@ -1080,7 +1351,7 @@ var actions = {
|
|
|
1080
1351
|
|
|
1081
1352
|
/***/ }),
|
|
1082
1353
|
|
|
1083
|
-
/***/
|
|
1354
|
+
/***/ 2700:
|
|
1084
1355
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1085
1356
|
|
|
1086
1357
|
"use strict";
|
|
@@ -1092,14 +1363,14 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1092
1363
|
"default": function() { return /* binding */ route; }
|
|
1093
1364
|
});
|
|
1094
1365
|
|
|
1095
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplat/Module/src/index.vue?vue&type=template&id=
|
|
1366
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplat/Module/src/index.vue?vue&type=template&id=75f36493&scoped=true
|
|
1096
1367
|
var render = function render() {
|
|
1097
1368
|
var _vm = this,
|
|
1098
1369
|
_c = _vm._self._c;
|
|
1099
1370
|
return _c('LRLayout', [_c('LeftPanel', [_vm.orgCode && !_vm.row.id && _vm.sysSetupList.length > 1 ? _c('el-switch', {
|
|
1100
1371
|
attrs: {
|
|
1101
|
-
"active-text":
|
|
1102
|
-
"inactive-text":
|
|
1372
|
+
"active-text": _vm.$tx('ecwplat.sysSetup.activeText', '按主系统合并'),
|
|
1373
|
+
"inactive-text": _vm.$tx('ecwplat.sysSetup.inactiveText', '展开子系统')
|
|
1103
1374
|
},
|
|
1104
1375
|
on: {
|
|
1105
1376
|
"change": function change($event) {
|
|
@@ -1130,36 +1401,72 @@ var render = function render() {
|
|
|
1130
1401
|
key: "context-menu",
|
|
1131
1402
|
fn: function fn(slotProps) {
|
|
1132
1403
|
return [slotProps && slotProps.contextNode.pId === null ? _c('ul', [_c('li', {
|
|
1404
|
+
directives: [{
|
|
1405
|
+
name: "pageBtn-lbl",
|
|
1406
|
+
rawName: "v-pageBtn-lbl",
|
|
1407
|
+
value: 'ecwplat.PageBtns.addColumn',
|
|
1408
|
+
expression: "'ecwplat.PageBtns.addColumn'"
|
|
1409
|
+
}],
|
|
1133
1410
|
on: {
|
|
1134
1411
|
"click": function click($event) {
|
|
1135
1412
|
return _vm.addModuleMenu(slotProps.treeId, slotProps.contextNode);
|
|
1136
1413
|
}
|
|
1137
1414
|
}
|
|
1138
1415
|
}, [_vm._v("新增栏目")]), _vm.dwadmin != 1 ? _c('li', {
|
|
1416
|
+
directives: [{
|
|
1417
|
+
name: "pageBtn-lbl",
|
|
1418
|
+
rawName: "v-pageBtn-lbl",
|
|
1419
|
+
value: 'ecwplat.PageBtns.systemSetting',
|
|
1420
|
+
expression: "'ecwplat.PageBtns.systemSetting'"
|
|
1421
|
+
}],
|
|
1139
1422
|
on: {
|
|
1140
1423
|
"click": function click($event) {
|
|
1141
1424
|
return _vm.editSysSetup(slotProps.treeId, slotProps.contextNode);
|
|
1142
1425
|
}
|
|
1143
1426
|
}
|
|
1144
1427
|
}, [_vm._v("系统设置")]) : _vm._e()]) : _vm._e(), slotProps && slotProps.contextNode.pId !== null ? _c('ul', [_c('li', {
|
|
1428
|
+
directives: [{
|
|
1429
|
+
name: "pageBtn-lbl",
|
|
1430
|
+
rawName: "v-pageBtn-lbl",
|
|
1431
|
+
value: 'ecwplat.PageBtns.addSubmenu',
|
|
1432
|
+
expression: "'ecwplat.PageBtns.addSubmenu'"
|
|
1433
|
+
}],
|
|
1145
1434
|
on: {
|
|
1146
1435
|
"click": function click($event) {
|
|
1147
1436
|
return _vm.addMenu(slotProps.treeId, slotProps.contextNode);
|
|
1148
1437
|
}
|
|
1149
1438
|
}
|
|
1150
1439
|
}, [_vm._v("新增子菜单")]), slotProps.contextNode.moduleLevel <= 2 ? _c('li', {
|
|
1440
|
+
directives: [{
|
|
1441
|
+
name: "pageBtn-lbl",
|
|
1442
|
+
rawName: "v-pageBtn-lbl",
|
|
1443
|
+
value: 'ecwplat.PageBtns.addApprMenu',
|
|
1444
|
+
expression: "'ecwplat.PageBtns.addApprMenu'"
|
|
1445
|
+
}],
|
|
1151
1446
|
on: {
|
|
1152
1447
|
"click": function click($event) {
|
|
1153
1448
|
return _vm.addWflowMenus(slotProps.treeId, slotProps.contextNode);
|
|
1154
1449
|
}
|
|
1155
1450
|
}
|
|
1156
1451
|
}, [_vm._v("新增审批菜单组")]) : _vm._e(), _c('li', {
|
|
1452
|
+
directives: [{
|
|
1453
|
+
name: "pageBtn-lbl",
|
|
1454
|
+
rawName: "v-pageBtn-lbl",
|
|
1455
|
+
value: 'ecwplat.PageBtns.modifyMenu',
|
|
1456
|
+
expression: "'ecwplat.PageBtns.modifyMenu'"
|
|
1457
|
+
}],
|
|
1157
1458
|
on: {
|
|
1158
1459
|
"click": function click($event) {
|
|
1159
1460
|
return _vm.editMenu(slotProps.treeId, slotProps.contextNode);
|
|
1160
1461
|
}
|
|
1161
1462
|
}
|
|
1162
1463
|
}, [_vm._v("修改菜单")]), _c('li', {
|
|
1464
|
+
directives: [{
|
|
1465
|
+
name: "pageBtn-lbl",
|
|
1466
|
+
rawName: "v-pageBtn-lbl",
|
|
1467
|
+
value: 'ecwplat.PageBtns.deleteMenu',
|
|
1468
|
+
expression: "'ecwplat.PageBtns.deleteMenu'"
|
|
1469
|
+
}],
|
|
1163
1470
|
on: {
|
|
1164
1471
|
"click": function click($event) {
|
|
1165
1472
|
return _vm.deleteMenu(slotProps.treeId, slotProps.contextNode);
|
|
@@ -1167,15 +1474,21 @@ var render = function render() {
|
|
|
1167
1474
|
}
|
|
1168
1475
|
}, [_vm._v("删除菜单")])]) : _vm._e()];
|
|
1169
1476
|
}
|
|
1170
|
-
}], null, false,
|
|
1477
|
+
}], null, false, 3142527844)
|
|
1171
1478
|
}) : _vm._e(), _vm.treeData == null || _vm.treeData.length == 0 ? _c('div', {
|
|
1479
|
+
directives: [{
|
|
1480
|
+
name: "text-lbl",
|
|
1481
|
+
rawName: "v-text-lbl",
|
|
1482
|
+
value: 'selectMechanism',
|
|
1483
|
+
expression: "'selectMechanism'"
|
|
1484
|
+
}],
|
|
1172
1485
|
staticClass: "dwadmin-initmessage",
|
|
1173
1486
|
on: {
|
|
1174
1487
|
"click": _vm.openSelectRootOrgDialog
|
|
1175
1488
|
}
|
|
1176
1489
|
}, [_vm._v("请选择模块菜单所属机构")]) : _vm._e()], 1), _c('RightPanel', [_vm.sys == null && _vm.dwadmin != 1 ? _c('div', [_c('PageContent', {
|
|
1177
1490
|
attrs: {
|
|
1178
|
-
"title":
|
|
1491
|
+
"title": _vm.$tx('ecwplat.sysSetup.moduleMenu', '模块菜单'),
|
|
1179
1492
|
"set-nav-search": false
|
|
1180
1493
|
}
|
|
1181
1494
|
}, [_vm.importResult == null ? _c('el-form', [_c('div', {
|
|
@@ -1194,6 +1507,12 @@ var render = function render() {
|
|
|
1194
1507
|
"border": "0"
|
|
1195
1508
|
}
|
|
1196
1509
|
}, [_c('tbody', [_vm.dwadmin != 1 ? _c('tr', [_c('td', {
|
|
1510
|
+
directives: [{
|
|
1511
|
+
name: "text-lbl",
|
|
1512
|
+
rawName: "v-text-lbl",
|
|
1513
|
+
value: 'affiliatedInstitution',
|
|
1514
|
+
expression: "'affiliatedInstitution'"
|
|
1515
|
+
}],
|
|
1197
1516
|
staticClass: "tdlbl tdw17"
|
|
1198
1517
|
}, [_vm._v("所属机构")]), _c('td', {
|
|
1199
1518
|
staticClass: "tdcont tdw83 td-organ",
|
|
@@ -1203,7 +1522,7 @@ var render = function render() {
|
|
|
1203
1522
|
}, [_c('ValidationProvider', {
|
|
1204
1523
|
ref: "ValidationProvider",
|
|
1205
1524
|
attrs: {
|
|
1206
|
-
"name":
|
|
1525
|
+
"name": _vm.$tx('ecwplat.sysSetup.affiliatedInstitution', '所属机构'),
|
|
1207
1526
|
"rules": "required"
|
|
1208
1527
|
},
|
|
1209
1528
|
scopedSlots: _vm._u([{
|
|
@@ -1232,7 +1551,7 @@ var render = function render() {
|
|
|
1232
1551
|
"org-type": "1",
|
|
1233
1552
|
"readonly": "",
|
|
1234
1553
|
"name": "orgCode",
|
|
1235
|
-
"placeholder":
|
|
1554
|
+
"placeholder": _vm.$tx('ecwplat.sysSetup.selectAffInsti', '请选择模块菜单所属机构')
|
|
1236
1555
|
},
|
|
1237
1556
|
model: {
|
|
1238
1557
|
value: _vm.treeNode,
|
|
@@ -1243,8 +1562,14 @@ var render = function render() {
|
|
|
1243
1562
|
}
|
|
1244
1563
|
})], 1)];
|
|
1245
1564
|
}
|
|
1246
|
-
}], null, false,
|
|
1565
|
+
}], null, false, 3659148067)
|
|
1247
1566
|
})], 1)]) : _vm._e(), _c('tr', [_c('td', {
|
|
1567
|
+
directives: [{
|
|
1568
|
+
name: "text-lbl",
|
|
1569
|
+
rawName: "v-text-lbl",
|
|
1570
|
+
value: 'settingInstruction',
|
|
1571
|
+
expression: "'settingInstruction'"
|
|
1572
|
+
}],
|
|
1248
1573
|
staticClass: "tdlbl tdw17"
|
|
1249
1574
|
}, [_vm._v("设置说明")]), _c('td', {
|
|
1250
1575
|
staticClass: "tdcont tdw83",
|
|
@@ -1257,7 +1582,28 @@ var render = function render() {
|
|
|
1257
1582
|
"text-align": "left",
|
|
1258
1583
|
"line-height": "25px"
|
|
1259
1584
|
}
|
|
1260
|
-
}, [_c('span',
|
|
1585
|
+
}, [_c('span', {
|
|
1586
|
+
directives: [{
|
|
1587
|
+
name: "text-lbl",
|
|
1588
|
+
rawName: "v-text-lbl",
|
|
1589
|
+
value: 'explainTip1',
|
|
1590
|
+
expression: "'explainTip1'"
|
|
1591
|
+
}]
|
|
1592
|
+
}, [_vm._v("1.产品业务开通后,可对各单位已开通产品的模块菜单做个性化设置;")]), _c('br'), _c('span', {
|
|
1593
|
+
directives: [{
|
|
1594
|
+
name: "text-lbl",
|
|
1595
|
+
rawName: "v-text-lbl",
|
|
1596
|
+
value: 'explainTip2',
|
|
1597
|
+
expression: "'explainTip2'"
|
|
1598
|
+
}]
|
|
1599
|
+
}, [_vm._v("2.一个单位开通多个产品,一次性加载全部产品模块菜单;")]), _c('br'), _c('span', {
|
|
1600
|
+
directives: [{
|
|
1601
|
+
name: "text-lbl",
|
|
1602
|
+
rawName: "v-text-lbl",
|
|
1603
|
+
value: 'explainTip3',
|
|
1604
|
+
expression: "'explainTip3'"
|
|
1605
|
+
}]
|
|
1606
|
+
}, [_vm._v("3.请先选择模块菜单所属单位。")]), _c('br')])])])])])])])]) : _vm._e()], 1)], 1) : _vm._e(), _vm.sys !== null && _vm.menuItem === null ? _c('SysSetup', {
|
|
1261
1607
|
attrs: {
|
|
1262
1608
|
"vo": _vm.sys,
|
|
1263
1609
|
"z-tree": _vm.zTree,
|
|
@@ -1308,6 +1654,8 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
1308
1654
|
},
|
|
1309
1655
|
data: function data() {
|
|
1310
1656
|
return {
|
|
1657
|
+
i18npkg: 'base',
|
|
1658
|
+
moduleCode: 'sysSetup',
|
|
1311
1659
|
moduleInfo: {
|
|
1312
1660
|
loadSysSetupUrl: 'base/sysSetup/querydata',
|
|
1313
1661
|
// 加载系统配置(业务开通管理)url
|
|
@@ -1426,7 +1774,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
1426
1774
|
}
|
|
1427
1775
|
});
|
|
1428
1776
|
} else {
|
|
1429
|
-
_this.$alert('您所选择的单位未开通任何业务,请重新选择!', '操作提示', {
|
|
1777
|
+
_this.$alert(_this.$tx('ecwplat.sysSetup.chooseAgain', '您所选择的单位未开通任何业务,请重新选择!'), _this.$tx('common.operationTip', '操作提示'), {
|
|
1430
1778
|
type: 'warning'
|
|
1431
1779
|
});
|
|
1432
1780
|
}
|
|
@@ -1550,7 +1898,9 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
1550
1898
|
},
|
|
1551
1899
|
treeBeforeDropNode: function treeBeforeDropNode(treeId, dropNode, targetNode, moveType, isCopy) {
|
|
1552
1900
|
if (moveType === 'inner' && targetNode.moduleLevel > 1 && targetNode.leafFlag === 1) {
|
|
1553
|
-
this.$alert(
|
|
1901
|
+
this.$alert(this.$tx('ecwplat.sysSetup.cannotBe', {
|
|
1902
|
+
targetNode: targetNode.name
|
|
1903
|
+
}, '{targetNode}不是文件夹菜单,不能移入。'), {
|
|
1554
1904
|
type: 'warning'
|
|
1555
1905
|
});
|
|
1556
1906
|
return false;
|
|
@@ -1609,7 +1959,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
1609
1959
|
}).then(function (res) {
|
|
1610
1960
|
if (res.code === 'success') {
|
|
1611
1961
|
_this3.onTreeNodeClick(event, treeId, dropNode);
|
|
1612
|
-
_this3.$message.success(
|
|
1962
|
+
_this3.$message.success(res.message);
|
|
1613
1963
|
} else {
|
|
1614
1964
|
_this3.$alert(res.message, {
|
|
1615
1965
|
type: 'error'
|
|
@@ -1673,9 +2023,9 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
1673
2023
|
});
|
|
1674
2024
|
;// CONCATENATED MODULE: ./packages/ecwplat/Module/src/index.vue?vue&type=script&lang=js
|
|
1675
2025
|
/* harmony default export */ var Module_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
|
|
1676
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplat/Module/src/index.vue?vue&type=style&index=0&id=
|
|
1677
|
-
var
|
|
1678
|
-
;// CONCATENATED MODULE: ./packages/ecwplat/Module/src/index.vue?vue&type=style&index=0&id=
|
|
2026
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplat/Module/src/index.vue?vue&type=style&index=0&id=75f36493&prod&scoped=true&lang=scss
|
|
2027
|
+
var srcvue_type_style_index_0_id_75f36493_prod_scoped_true_lang_scss = __webpack_require__(6188);
|
|
2028
|
+
;// CONCATENATED MODULE: ./packages/ecwplat/Module/src/index.vue?vue&type=style&index=0&id=75f36493&prod&scoped=true&lang=scss
|
|
1679
2029
|
|
|
1680
2030
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
1681
2031
|
var componentNormalizer = __webpack_require__(1656);
|
|
@@ -1694,14 +2044,14 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
1694
2044
|
staticRenderFns,
|
|
1695
2045
|
false,
|
|
1696
2046
|
null,
|
|
1697
|
-
"
|
|
2047
|
+
"75f36493",
|
|
1698
2048
|
null
|
|
1699
2049
|
|
|
1700
2050
|
)
|
|
1701
2051
|
|
|
1702
2052
|
/* harmony default export */ var src = (component.exports);
|
|
1703
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplat/Module/src/SysSetup.vue?vue&type=template&id=
|
|
1704
|
-
var
|
|
2053
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplat/Module/src/SysSetup.vue?vue&type=template&id=ded36afa&scoped=true
|
|
2054
|
+
var SysSetupvue_type_template_id_ded36afa_scoped_true_render = function render() {
|
|
1705
2055
|
var _vm = this,
|
|
1706
2056
|
_c = _vm._self._c;
|
|
1707
2057
|
return _c('PageContent', {
|
|
@@ -1717,7 +2067,7 @@ var SysSetupvue_type_template_id_13900aee_scoped_true_render = function render()
|
|
|
1717
2067
|
}
|
|
1718
2068
|
}), _vm.formType === 'SysSetup' ? _c('Basicform', {
|
|
1719
2069
|
attrs: {
|
|
1720
|
-
"title": '系统设置',
|
|
2070
|
+
"title": _vm.$tx('ecwplat.PageBtns.systemSetting', '系统设置'),
|
|
1721
2071
|
"win-width": _vm.sysSetupModuleInfo.winWidth,
|
|
1722
2072
|
"win-height": _vm.sysSetupModuleInfo.winHeight,
|
|
1723
2073
|
"toolbar-btns": _vm.busiformBtns,
|
|
@@ -1736,10 +2086,10 @@ var SysSetupvue_type_template_id_13900aee_scoped_true_render = function render()
|
|
|
1736
2086
|
}
|
|
1737
2087
|
})];
|
|
1738
2088
|
}
|
|
1739
|
-
}], null, false,
|
|
2089
|
+
}], null, false, 1967240207)
|
|
1740
2090
|
}) : _vm._e(), _vm.formType === 'ModuleMenu' ? _c('Basicform', {
|
|
1741
2091
|
attrs: {
|
|
1742
|
-
"title": '栏目菜单配置',
|
|
2092
|
+
"title": _vm.$tx('ecwplat.Common.columnMenuConfiguration', '栏目菜单配置'),
|
|
1743
2093
|
"append-to-body": true,
|
|
1744
2094
|
"win-width": _vm.menuModuleInfo.winWidth,
|
|
1745
2095
|
"win-height": _vm.menuModuleInfo.winHeight,
|
|
@@ -1757,7 +2107,7 @@ var SysSetupvue_type_template_id_13900aee_scoped_true_render = function render()
|
|
|
1757
2107
|
}
|
|
1758
2108
|
})];
|
|
1759
2109
|
}
|
|
1760
|
-
}], null, false,
|
|
2110
|
+
}], null, false, 1127664884)
|
|
1761
2111
|
}) : _vm._e(), _c('div', {
|
|
1762
2112
|
attrs: {
|
|
1763
2113
|
"slot": "footer"
|
|
@@ -1769,6 +2119,11 @@ var SysSetupvue_type_template_id_13900aee_scoped_true_render = function render()
|
|
|
1769
2119
|
rawName: "v-permission",
|
|
1770
2120
|
value: 'addModuleMenu',
|
|
1771
2121
|
expression: "'addModuleMenu'"
|
|
2122
|
+
}, {
|
|
2123
|
+
name: "pageBtn-lbl",
|
|
2124
|
+
rawName: "v-pageBtn-lbl",
|
|
2125
|
+
value: 'ecwplat.PageBtns.addColumn',
|
|
2126
|
+
expression: "'ecwplat.PageBtns.addColumn'"
|
|
1772
2127
|
}],
|
|
1773
2128
|
attrs: {
|
|
1774
2129
|
"plain": "",
|
|
@@ -1783,6 +2138,11 @@ var SysSetupvue_type_template_id_13900aee_scoped_true_render = function render()
|
|
|
1783
2138
|
rawName: "v-permission",
|
|
1784
2139
|
value: 'editSysSetup',
|
|
1785
2140
|
expression: "'editSysSetup'"
|
|
2141
|
+
}, {
|
|
2142
|
+
name: "pageBtn-lbl",
|
|
2143
|
+
rawName: "v-pageBtn-lbl",
|
|
2144
|
+
value: 'ecwplat.PageBtns.systemSetting',
|
|
2145
|
+
expression: "'ecwplat.PageBtns.systemSetting'"
|
|
1786
2146
|
}],
|
|
1787
2147
|
attrs: {
|
|
1788
2148
|
"plain": "",
|
|
@@ -1797,6 +2157,11 @@ var SysSetupvue_type_template_id_13900aee_scoped_true_render = function render()
|
|
|
1797
2157
|
rawName: "v-permission",
|
|
1798
2158
|
value: 'editSysSetup',
|
|
1799
2159
|
expression: "'editSysSetup'"
|
|
2160
|
+
}, {
|
|
2161
|
+
name: "pageBtn-lbl",
|
|
2162
|
+
rawName: "v-pageBtn-lbl",
|
|
2163
|
+
value: 'ecwplat.PageBtns.oneClickDelete',
|
|
2164
|
+
expression: "'ecwplat.PageBtns.oneClickDelete'"
|
|
1800
2165
|
}],
|
|
1801
2166
|
attrs: {
|
|
1802
2167
|
"plain": "",
|
|
@@ -1811,6 +2176,11 @@ var SysSetupvue_type_template_id_13900aee_scoped_true_render = function render()
|
|
|
1811
2176
|
rawName: "v-permission",
|
|
1812
2177
|
value: 'editSysSetup',
|
|
1813
2178
|
expression: "'editSysSetup'"
|
|
2179
|
+
}, {
|
|
2180
|
+
name: "pageBtn-lbl",
|
|
2181
|
+
rawName: "v-pageBtn-lbl",
|
|
2182
|
+
value: 'ecwplat.PageBtns.switchUnits',
|
|
2183
|
+
expression: "'ecwplat.PageBtns.switchUnits'"
|
|
1814
2184
|
}],
|
|
1815
2185
|
attrs: {
|
|
1816
2186
|
"plain": "",
|
|
@@ -1820,6 +2190,12 @@ var SysSetupvue_type_template_id_13900aee_scoped_true_render = function render()
|
|
|
1820
2190
|
"click": _vm.selectOrgan
|
|
1821
2191
|
}
|
|
1822
2192
|
}, [_vm._v("切换单位")]) : _vm._e(), _vm.dwadmin != 1 ? _c('el-button', {
|
|
2193
|
+
directives: [{
|
|
2194
|
+
name: "pageBtn-lbl",
|
|
2195
|
+
rawName: "v-pageBtn-lbl",
|
|
2196
|
+
value: 'ecwplat.PageBtns.exportMenu',
|
|
2197
|
+
expression: "'ecwplat.PageBtns.exportMenu'"
|
|
2198
|
+
}],
|
|
1823
2199
|
attrs: {
|
|
1824
2200
|
"plain": "",
|
|
1825
2201
|
"icon": "el-icon-top-right"
|
|
@@ -1828,6 +2204,12 @@ var SysSetupvue_type_template_id_13900aee_scoped_true_render = function render()
|
|
|
1828
2204
|
"click": _vm.exportMenu
|
|
1829
2205
|
}
|
|
1830
2206
|
}, [_vm._v("导出菜单")]) : _vm._e(), _vm.dwadmin != 1 ? _c('el-button', {
|
|
2207
|
+
directives: [{
|
|
2208
|
+
name: "pageBtn-lbl",
|
|
2209
|
+
rawName: "v-pageBtn-lbl",
|
|
2210
|
+
value: 'ecwplat.PageBtns.importMenu',
|
|
2211
|
+
expression: "'ecwplat.PageBtns.importMenu'"
|
|
2212
|
+
}],
|
|
1831
2213
|
attrs: {
|
|
1832
2214
|
"plain": "",
|
|
1833
2215
|
"icon": "el-icon-bottom-right"
|
|
@@ -1837,10 +2219,10 @@ var SysSetupvue_type_template_id_13900aee_scoped_true_render = function render()
|
|
|
1837
2219
|
}
|
|
1838
2220
|
}, [_vm._v("导入菜单")]) : _vm._e()], 1), _c('ExportModuleCode'), _c('ImportModuleCode'), _c('DoingDialog')], 1);
|
|
1839
2221
|
};
|
|
1840
|
-
var
|
|
2222
|
+
var SysSetupvue_type_template_id_ded36afa_scoped_true_staticRenderFns = [];
|
|
1841
2223
|
|
|
1842
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplat/Module/src/MenuItemForm.vue?vue&type=template&id=
|
|
1843
|
-
var
|
|
2224
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplat/Module/src/MenuItemForm.vue?vue&type=template&id=383980ee&scoped=true
|
|
2225
|
+
var MenuItemFormvue_type_template_id_383980ee_scoped_true_render = function render() {
|
|
1844
2226
|
var _vm = this,
|
|
1845
2227
|
_c = _vm._self._c;
|
|
1846
2228
|
return _c('el-form', {
|
|
@@ -1859,6 +2241,12 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
1859
2241
|
"border": "0"
|
|
1860
2242
|
}
|
|
1861
2243
|
}, [_c('tbody', [_vm.vo.parentName ? _c('tr', [_c('td', {
|
|
2244
|
+
directives: [{
|
|
2245
|
+
name: "field-lbl",
|
|
2246
|
+
rawName: "v-field-lbl",
|
|
2247
|
+
value: 'parentName',
|
|
2248
|
+
expression: "'parentName'"
|
|
2249
|
+
}],
|
|
1862
2250
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
1863
2251
|
}, [_vm._v("上级名称")]), _c('td', {
|
|
1864
2252
|
staticClass: "el-table__cell tdcont tdw83",
|
|
@@ -1873,7 +2261,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
1873
2261
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
1874
2262
|
}, [_c('span', {
|
|
1875
2263
|
staticClass: "required"
|
|
1876
|
-
}, [_vm._v("*")]), _vm._v(_vm._s(_vm.nameLabel))]), _c('td', {
|
|
2264
|
+
}, [_vm._v("*")]), _vm._v(" " + _vm._s(_vm.nameLabel) + " ")]), _c('td', {
|
|
1877
2265
|
staticClass: "el-table__cell tdcont tdw33"
|
|
1878
2266
|
}, [_c('ValidationProvider', {
|
|
1879
2267
|
ref: "ValidationProvider",
|
|
@@ -1903,7 +2291,9 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
1903
2291
|
}],
|
|
1904
2292
|
attrs: {
|
|
1905
2293
|
"name": "name",
|
|
1906
|
-
"placeholder": '
|
|
2294
|
+
"placeholder": _vm.$tx('common.plInputContent', {
|
|
2295
|
+
content: _vm.nameLabel
|
|
2296
|
+
}, '请输入{content}')
|
|
1907
2297
|
},
|
|
1908
2298
|
model: {
|
|
1909
2299
|
value: _vm.vo.name,
|
|
@@ -1919,7 +2309,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
1919
2309
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
1920
2310
|
}, [_c('span', {
|
|
1921
2311
|
staticClass: "required"
|
|
1922
|
-
}, [_vm._v("*")]), _vm._v(_vm._s(_vm.codeLabel))]), _c('td', {
|
|
2312
|
+
}, [_vm._v("*")]), _vm._v(" " + _vm._s(_vm.codeLabel) + " ")]), _c('td', {
|
|
1923
2313
|
staticClass: "el-table__cell tdcont tdw33"
|
|
1924
2314
|
}, [_c('ValidationProvider', {
|
|
1925
2315
|
ref: "ValidationProvider",
|
|
@@ -1949,7 +2339,9 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
1949
2339
|
}],
|
|
1950
2340
|
attrs: {
|
|
1951
2341
|
"name": "code",
|
|
1952
|
-
"placeholder": '
|
|
2342
|
+
"placeholder": _vm.$tx('common.plInputContent', {
|
|
2343
|
+
content: _vm.codeLabel
|
|
2344
|
+
}, '请输入{content}')
|
|
1953
2345
|
},
|
|
1954
2346
|
model: {
|
|
1955
2347
|
value: _vm.vo.code,
|
|
@@ -1971,6 +2363,12 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
1971
2363
|
}
|
|
1972
2364
|
}])
|
|
1973
2365
|
})], 1)]), _vm.vo.moduleLevel == 1 ? _c('tr', [_c('td', {
|
|
2366
|
+
directives: [{
|
|
2367
|
+
name: "field-lbl",
|
|
2368
|
+
rawName: "v-field-lbl",
|
|
2369
|
+
value: 'columnAbbre',
|
|
2370
|
+
expression: "'columnAbbre'"
|
|
2371
|
+
}],
|
|
1974
2372
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
1975
2373
|
}, [_vm._v("栏目简称")]), _c('td', {
|
|
1976
2374
|
staticClass: "el-table__cell tdcont tdw83",
|
|
@@ -1984,7 +2382,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
1984
2382
|
}],
|
|
1985
2383
|
attrs: {
|
|
1986
2384
|
"name": "description",
|
|
1987
|
-
"placeholder": '请输入栏目简称'
|
|
2385
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.columnAbbreEnter', '请输入栏目简称')
|
|
1988
2386
|
},
|
|
1989
2387
|
model: {
|
|
1990
2388
|
value: _vm.vo.description,
|
|
@@ -1997,7 +2395,14 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
1997
2395
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
1998
2396
|
}, [_c('span', {
|
|
1999
2397
|
staticClass: "required"
|
|
2000
|
-
}, [_vm._v("*")]),
|
|
2398
|
+
}, [_vm._v("*")]), _c('span', {
|
|
2399
|
+
directives: [{
|
|
2400
|
+
name: "field-lbl",
|
|
2401
|
+
rawName: "v-field-lbl",
|
|
2402
|
+
value: 'menuType',
|
|
2403
|
+
expression: "'menuType'"
|
|
2404
|
+
}]
|
|
2405
|
+
}, [_vm._v("菜单类型")])]), _c('td', {
|
|
2001
2406
|
staticClass: "el-table__cell tdcont tdw83",
|
|
2002
2407
|
attrs: {
|
|
2003
2408
|
"colspan": "3"
|
|
@@ -2005,7 +2410,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2005
2410
|
}, [!_vm.isWflowMenus ? _c('ValidationProvider', {
|
|
2006
2411
|
ref: "ValidationProvider",
|
|
2007
2412
|
attrs: {
|
|
2008
|
-
"name":
|
|
2413
|
+
"name": _vm.$tx('ecwplat.menuForm.fields.menuType', '菜单类型'),
|
|
2009
2414
|
"rules": "required"
|
|
2010
2415
|
},
|
|
2011
2416
|
scopedSlots: _vm._u([{
|
|
@@ -2033,7 +2438,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2033
2438
|
},
|
|
2034
2439
|
attrs: {
|
|
2035
2440
|
"name": "leafFlag",
|
|
2036
|
-
"placeholder":
|
|
2441
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.selectmenuType', '请选择菜单类型')
|
|
2037
2442
|
},
|
|
2038
2443
|
model: {
|
|
2039
2444
|
value: _vm.vo.leafFlag,
|
|
@@ -2051,12 +2456,26 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2051
2456
|
}, [_vm._v(_vm._s(option.text))]);
|
|
2052
2457
|
}), 1)], 1)];
|
|
2053
2458
|
}
|
|
2054
|
-
}], null, false,
|
|
2055
|
-
}) : _c('div',
|
|
2459
|
+
}], null, false, 2896587604)
|
|
2460
|
+
}) : _c('div', {
|
|
2461
|
+
directives: [{
|
|
2462
|
+
name: "field-lbl",
|
|
2463
|
+
rawName: "v-field-lbl",
|
|
2464
|
+
value: 'approvalMenu',
|
|
2465
|
+
expression: "'approvalMenu'"
|
|
2466
|
+
}]
|
|
2467
|
+
}, [_vm._v("审批菜单组")])], 1)]) : _vm._e(), _vm.isWflowMenus ? _c('tr', [_c('td', {
|
|
2056
2468
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2057
2469
|
}, [_c('span', {
|
|
2058
2470
|
staticClass: "required"
|
|
2059
|
-
}, [_vm._v("*")]),
|
|
2471
|
+
}, [_vm._v("*")]), _c('span', {
|
|
2472
|
+
directives: [{
|
|
2473
|
+
name: "field-lbl",
|
|
2474
|
+
rawName: "v-field-lbl",
|
|
2475
|
+
value: 'moduleSubmenu',
|
|
2476
|
+
expression: "'moduleSubmenu'"
|
|
2477
|
+
}]
|
|
2478
|
+
}, [_vm._v("审批模块子菜单")])]), _c('td', {
|
|
2060
2479
|
staticClass: "el-table__cell tdcont tdw83",
|
|
2061
2480
|
attrs: {
|
|
2062
2481
|
"colspan": "3"
|
|
@@ -2064,7 +2483,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2064
2483
|
}, [_c('ValidationProvider', {
|
|
2065
2484
|
ref: "ValidationProvider",
|
|
2066
2485
|
attrs: {
|
|
2067
|
-
"name":
|
|
2486
|
+
"name": _vm.$tx('ecwplat.menuForm.fields.moduleSubmenu', '审批模块子菜单'),
|
|
2068
2487
|
"rules": "required"
|
|
2069
2488
|
},
|
|
2070
2489
|
scopedSlots: _vm._u([{
|
|
@@ -2092,7 +2511,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2092
2511
|
},
|
|
2093
2512
|
attrs: {
|
|
2094
2513
|
"name": "selectedItem",
|
|
2095
|
-
"placeholder":
|
|
2514
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.selectModuleSubmenu', '请选择审批模块子菜单')
|
|
2096
2515
|
},
|
|
2097
2516
|
model: {
|
|
2098
2517
|
value: _vm.selectedItem,
|
|
@@ -2110,12 +2529,19 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2110
2529
|
}, [_vm._v(_vm._s(option.name + option.text))]);
|
|
2111
2530
|
}), 1)], 1)];
|
|
2112
2531
|
}
|
|
2113
|
-
}], null, false,
|
|
2532
|
+
}], null, false, 1789908154)
|
|
2114
2533
|
})], 1)]) : _vm._e(), _vm.isWflowMenus && _vm.selectedItem.indexOf('MyCreated') != -1 ? _c('tr', [_c('td', {
|
|
2115
2534
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2116
2535
|
}, [_c('span', {
|
|
2117
2536
|
staticClass: "required"
|
|
2118
|
-
}, [_vm._v("*")]),
|
|
2537
|
+
}, [_vm._v("*")]), _c('span', {
|
|
2538
|
+
directives: [{
|
|
2539
|
+
name: "field-lbl",
|
|
2540
|
+
rawName: "v-field-lbl",
|
|
2541
|
+
value: 'myCreatedURL',
|
|
2542
|
+
expression: "'myCreatedURL'"
|
|
2543
|
+
}]
|
|
2544
|
+
}, [_vm._v("我创建的列表URL")])]), _c('td', {
|
|
2119
2545
|
staticClass: "el-table__cell tdcont tdw83",
|
|
2120
2546
|
attrs: {
|
|
2121
2547
|
"colspan": "3"
|
|
@@ -2123,7 +2549,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2123
2549
|
}, [_c('ValidationProvider', {
|
|
2124
2550
|
ref: "ValidationProvider",
|
|
2125
2551
|
attrs: {
|
|
2126
|
-
"name":
|
|
2552
|
+
"name": _vm.$tx('ecwplat.menuForm.fields.myCreatedURL', '我创建的列表URL'),
|
|
2127
2553
|
"rules": "required"
|
|
2128
2554
|
},
|
|
2129
2555
|
scopedSlots: _vm._u([{
|
|
@@ -2151,7 +2577,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2151
2577
|
}],
|
|
2152
2578
|
attrs: {
|
|
2153
2579
|
"name": "listMyCratedPageUrl",
|
|
2154
|
-
"placeholder":
|
|
2580
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.enterMyCreatedURL', '请输入我创建的列表URL'),
|
|
2155
2581
|
"listviewurl": 'base.entityListpage.list?urlsearch=listViewType:W'
|
|
2156
2582
|
},
|
|
2157
2583
|
model: {
|
|
@@ -2163,12 +2589,22 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2163
2589
|
}
|
|
2164
2590
|
})], 1)];
|
|
2165
2591
|
}
|
|
2166
|
-
}], null, false,
|
|
2592
|
+
}], null, false, 1791232420)
|
|
2167
2593
|
})], 1)]) : _vm._e(), _vm.isWflowMenus && _vm.selectedItem.indexOf('AllFile') != -1 ? _c('tr', [_c('td', {
|
|
2168
2594
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2169
2595
|
}, [_c('span', {
|
|
2170
2596
|
staticClass: "required"
|
|
2171
|
-
}, [_vm._v("*")]),
|
|
2597
|
+
}, [_vm._v("*")]), _c('span', {
|
|
2598
|
+
directives: [{
|
|
2599
|
+
name: "field-lbl",
|
|
2600
|
+
rawName: "v-field-lbl",
|
|
2601
|
+
value: 'listURL',
|
|
2602
|
+
expression: "'listURL'"
|
|
2603
|
+
}],
|
|
2604
|
+
attrs: {
|
|
2605
|
+
"dataType": _vm.wflowMenuItems[2].name
|
|
2606
|
+
}
|
|
2607
|
+
}, [_vm._v(_vm._s(_vm.wflowMenuItems[2].name) + "列表URL")])]), _c('td', {
|
|
2172
2608
|
staticClass: "el-table__cell tdcont tdw83",
|
|
2173
2609
|
attrs: {
|
|
2174
2610
|
"colspan": "3"
|
|
@@ -2204,7 +2640,9 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2204
2640
|
}],
|
|
2205
2641
|
attrs: {
|
|
2206
2642
|
"name": "listAllFilepageUrl",
|
|
2207
|
-
"placeholder": '
|
|
2643
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.enterListURL', {
|
|
2644
|
+
dataType: _vm.wflowMenuItems[2].name
|
|
2645
|
+
}, '{dataType}列表URL'),
|
|
2208
2646
|
"listviewurl": 'base.entityListpage.list?urlsearch=listViewType:W'
|
|
2209
2647
|
},
|
|
2210
2648
|
model: {
|
|
@@ -2216,12 +2654,19 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2216
2654
|
}
|
|
2217
2655
|
})], 1)];
|
|
2218
2656
|
}
|
|
2219
|
-
}], null, false,
|
|
2657
|
+
}], null, false, 1791012380)
|
|
2220
2658
|
})], 1)]) : _vm._e(), _vm.isWflowMenus && _vm.selectedItem.indexOf('MyProcessed') != -1 ? _c('tr', [_c('td', {
|
|
2221
2659
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2222
2660
|
}, [_c('span', {
|
|
2223
2661
|
staticClass: "required"
|
|
2224
|
-
}, [_vm._v("*")]),
|
|
2662
|
+
}, [_vm._v("*")]), _c('span', {
|
|
2663
|
+
directives: [{
|
|
2664
|
+
name: "field-lbl",
|
|
2665
|
+
rawName: "v-field-lbl",
|
|
2666
|
+
value: 'approvalCode',
|
|
2667
|
+
expression: "'approvalCode'"
|
|
2668
|
+
}]
|
|
2669
|
+
}, [_vm._v("审批模块业务代码")])]), _c('td', {
|
|
2225
2670
|
staticClass: "el-table__cell tdcont tdw83",
|
|
2226
2671
|
attrs: {
|
|
2227
2672
|
"colspan": "3"
|
|
@@ -2229,7 +2674,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2229
2674
|
}, [_c('ValidationProvider', {
|
|
2230
2675
|
ref: "ValidationProvider",
|
|
2231
2676
|
attrs: {
|
|
2232
|
-
"name":
|
|
2677
|
+
"name": _vm.$tx('ecwplat.menuForm.fields.approvalCode', '审批模块业务代码'),
|
|
2233
2678
|
"rules": "required"
|
|
2234
2679
|
},
|
|
2235
2680
|
scopedSlots: _vm._u([{
|
|
@@ -2253,7 +2698,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2253
2698
|
rawName: "v-can-edit"
|
|
2254
2699
|
}],
|
|
2255
2700
|
attrs: {
|
|
2256
|
-
"placeholder":
|
|
2701
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.enterApprovalCode', '请输入审批模块业务代码,例:fawen,shouwen,hytz')
|
|
2257
2702
|
},
|
|
2258
2703
|
model: {
|
|
2259
2704
|
value: _vm.vo.passenger.busiCode,
|
|
@@ -2264,12 +2709,19 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2264
2709
|
}
|
|
2265
2710
|
})], 1)];
|
|
2266
2711
|
}
|
|
2267
|
-
}], null, false,
|
|
2712
|
+
}], null, false, 471353048)
|
|
2268
2713
|
})], 1)]) : _vm._e(), !_vm.refresh && (_vm.vo.moduleLevel === 1 || _vm.vo.moduleLevel !== 1 && _vm.vo.leafFlag === 1) ? _c('tr', [_c('td', {
|
|
2269
2714
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2270
2715
|
}, [_c('span', {
|
|
2271
2716
|
staticClass: "required"
|
|
2272
|
-
}, [_vm._v("*")]),
|
|
2717
|
+
}, [_vm._v("*")]), _c('span', {
|
|
2718
|
+
directives: [{
|
|
2719
|
+
name: "field-lbl",
|
|
2720
|
+
rawName: "v-field-lbl",
|
|
2721
|
+
value: 'pageContentType',
|
|
2722
|
+
expression: "'pageContentType'"
|
|
2723
|
+
}]
|
|
2724
|
+
}, [_vm._v("页面内容类型")])]), _c('td', {
|
|
2273
2725
|
staticClass: "el-table__cell tdcont tdw83",
|
|
2274
2726
|
attrs: {
|
|
2275
2727
|
"colspan": "3"
|
|
@@ -2277,7 +2729,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2277
2729
|
}, [_c('ValidationProvider', {
|
|
2278
2730
|
ref: "ValidationProvider",
|
|
2279
2731
|
attrs: {
|
|
2280
|
-
"name":
|
|
2732
|
+
"name": _vm.$tx('ecwplat.menuForm.fields.pageContentType', '页面内容类型'),
|
|
2281
2733
|
"rules": "required"
|
|
2282
2734
|
},
|
|
2283
2735
|
scopedSlots: _vm._u([{
|
|
@@ -2305,7 +2757,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2305
2757
|
},
|
|
2306
2758
|
attrs: {
|
|
2307
2759
|
"name": "leafType",
|
|
2308
|
-
"placeholder":
|
|
2760
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.selectPageContentType', '请选择页面内容类型')
|
|
2309
2761
|
},
|
|
2310
2762
|
model: {
|
|
2311
2763
|
value: _vm.vo.leafType,
|
|
@@ -2323,12 +2775,19 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2323
2775
|
}, [_vm._v(_vm._s(option.text))]);
|
|
2324
2776
|
}), 1)], 1)];
|
|
2325
2777
|
}
|
|
2326
|
-
}], null, false,
|
|
2778
|
+
}], null, false, 2308690411)
|
|
2327
2779
|
})], 1)]) : _vm._e(), _vm.vo.leafFlag === 1 ? _c('tr', [_c('td', {
|
|
2328
2780
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2329
2781
|
}, [_c('span', {
|
|
2330
2782
|
staticClass: "required"
|
|
2331
|
-
}, [_vm._v("*")]),
|
|
2783
|
+
}, [_vm._v("*")]), _c('span', {
|
|
2784
|
+
directives: [{
|
|
2785
|
+
name: "field-lbl",
|
|
2786
|
+
rawName: "v-field-lbl",
|
|
2787
|
+
value: 'openType',
|
|
2788
|
+
expression: "'openType'"
|
|
2789
|
+
}]
|
|
2790
|
+
}, [_vm._v("打开方式")])]), _c('td', {
|
|
2332
2791
|
staticClass: "el-table__cell tdcont tdw83",
|
|
2333
2792
|
attrs: {
|
|
2334
2793
|
"colspan": "3"
|
|
@@ -2336,7 +2795,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2336
2795
|
}, [_c('ValidationProvider', {
|
|
2337
2796
|
ref: "ValidationProvider",
|
|
2338
2797
|
attrs: {
|
|
2339
|
-
"name":
|
|
2798
|
+
"name": _vm.$tx('ecwplat.menuForm.fields.openType', '打开方式'),
|
|
2340
2799
|
"rules": "required"
|
|
2341
2800
|
},
|
|
2342
2801
|
scopedSlots: _vm._u([{
|
|
@@ -2364,7 +2823,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2364
2823
|
},
|
|
2365
2824
|
attrs: {
|
|
2366
2825
|
"name": "target",
|
|
2367
|
-
"placeholder":
|
|
2826
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.selectOpenType', '请选择打开方式')
|
|
2368
2827
|
},
|
|
2369
2828
|
model: {
|
|
2370
2829
|
value: _vm.vo.target,
|
|
@@ -2382,12 +2841,19 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2382
2841
|
}, [_vm._v(_vm._s(option.text))]);
|
|
2383
2842
|
}), 1)], 1)];
|
|
2384
2843
|
}
|
|
2385
|
-
}], null, false,
|
|
2844
|
+
}], null, false, 859240764)
|
|
2386
2845
|
})], 1)]) : _vm._e(), _vm.vo.moduleLevel >= 2 && _vm.vo.leafFlag === 0 && !_vm.isWflowMenus ? _c('tr', [_c('td', {
|
|
2387
2846
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2388
2847
|
}, [_c('span', {
|
|
2389
2848
|
staticClass: "required"
|
|
2390
|
-
}, [_vm._v("*")]),
|
|
2849
|
+
}, [_vm._v("*")]), _c('span', {
|
|
2850
|
+
directives: [{
|
|
2851
|
+
name: "field-lbl",
|
|
2852
|
+
rawName: "v-field-lbl",
|
|
2853
|
+
value: 'submenuStyle',
|
|
2854
|
+
expression: "'submenuStyle'"
|
|
2855
|
+
}]
|
|
2856
|
+
}, [_vm._v("子菜单样式")])]), _c('td', {
|
|
2391
2857
|
staticClass: "el-table__cell tdcont tdw83",
|
|
2392
2858
|
attrs: {
|
|
2393
2859
|
"colspan": "3"
|
|
@@ -2395,7 +2861,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2395
2861
|
}, [_c('ValidationProvider', {
|
|
2396
2862
|
ref: "ValidationProvider",
|
|
2397
2863
|
attrs: {
|
|
2398
|
-
"name":
|
|
2864
|
+
"name": _vm.$tx('ecwplat.menuForm.fields.submenuStyle', '子菜单样式'),
|
|
2399
2865
|
"rules": "required"
|
|
2400
2866
|
},
|
|
2401
2867
|
scopedSlots: _vm._u([{
|
|
@@ -2423,7 +2889,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2423
2889
|
},
|
|
2424
2890
|
attrs: {
|
|
2425
2891
|
"name": "target",
|
|
2426
|
-
"placeholder":
|
|
2892
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.selectSubmenuStyle', '请选择子菜单样式')
|
|
2427
2893
|
},
|
|
2428
2894
|
model: {
|
|
2429
2895
|
value: _vm.vo.target,
|
|
@@ -2441,8 +2907,14 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2441
2907
|
}, [_vm._v(_vm._s(option.text))]);
|
|
2442
2908
|
}), 1)], 1)];
|
|
2443
2909
|
}
|
|
2444
|
-
}], null, false,
|
|
2910
|
+
}], null, false, 454132852)
|
|
2445
2911
|
})], 1)]) : _vm._e(), _vm.vo.leafFlag === 1 && (_vm.vo.leafType === 1 || _vm.vo.leafType === 2 || _vm.vo.leafType === 5) ? _c('tr', [_c('td', {
|
|
2912
|
+
directives: [{
|
|
2913
|
+
name: "field-lbl",
|
|
2914
|
+
rawName: "v-field-lbl",
|
|
2915
|
+
value: 'navName',
|
|
2916
|
+
expression: "'navName'"
|
|
2917
|
+
}],
|
|
2446
2918
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2447
2919
|
}, [_vm._v("页面导航名称")]), _c('td', {
|
|
2448
2920
|
staticClass: "el-table__cell tdcont tdw83",
|
|
@@ -2456,7 +2928,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2456
2928
|
}],
|
|
2457
2929
|
attrs: {
|
|
2458
2930
|
"name": "listNavName",
|
|
2459
|
-
"placeholder":
|
|
2931
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.navNameEnter', '请输入页面导航名称')
|
|
2460
2932
|
},
|
|
2461
2933
|
model: {
|
|
2462
2934
|
value: _vm.vo.listNavName,
|
|
@@ -2469,7 +2941,14 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2469
2941
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2470
2942
|
}, [_c('span', {
|
|
2471
2943
|
staticClass: "required"
|
|
2472
|
-
}, [_vm._v("*")]),
|
|
2944
|
+
}, [_vm._v("*")]), _c('span', {
|
|
2945
|
+
directives: [{
|
|
2946
|
+
name: "field-lbl",
|
|
2947
|
+
rawName: "v-field-lbl",
|
|
2948
|
+
value: 'menuLink',
|
|
2949
|
+
expression: "'menuLink'"
|
|
2950
|
+
}]
|
|
2951
|
+
}, [_vm._v("菜单链接")])]), _c('td', {
|
|
2473
2952
|
staticClass: "el-table__cell tdcont tdw83",
|
|
2474
2953
|
attrs: {
|
|
2475
2954
|
"colspan": "3"
|
|
@@ -2477,7 +2956,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2477
2956
|
}, [_c('ValidationProvider', {
|
|
2478
2957
|
ref: "ValidationProvider",
|
|
2479
2958
|
attrs: {
|
|
2480
|
-
"name":
|
|
2959
|
+
"name": _vm.$tx('ecwplat.menuForm.fields.menuLink', '菜单链接'),
|
|
2481
2960
|
"rules": "required"
|
|
2482
2961
|
},
|
|
2483
2962
|
scopedSlots: _vm._u([{
|
|
@@ -2502,7 +2981,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2502
2981
|
}],
|
|
2503
2982
|
attrs: {
|
|
2504
2983
|
"name": "href",
|
|
2505
|
-
"placeholder":
|
|
2984
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.menuLinkEnter', '请输入菜单链接')
|
|
2506
2985
|
},
|
|
2507
2986
|
model: {
|
|
2508
2987
|
value: _vm.vo.href,
|
|
@@ -2513,12 +2992,19 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2513
2992
|
}
|
|
2514
2993
|
})], 1)];
|
|
2515
2994
|
}
|
|
2516
|
-
}], null, false,
|
|
2995
|
+
}], null, false, 1000627797)
|
|
2517
2996
|
})], 1)]) : _vm._e(), _vm.vo.leafFlag === 1 && (_vm.vo.leafType === 1 || _vm.vo.leafType === 5 || _vm.vo.leafType === 6) ? _c('tr', [_c('td', {
|
|
2518
2997
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2519
2998
|
}, [_c('span', {
|
|
2520
2999
|
staticClass: "required"
|
|
2521
|
-
}, [_vm._v("*")]),
|
|
3000
|
+
}, [_vm._v("*")]), _c('span', {
|
|
3001
|
+
directives: [{
|
|
3002
|
+
name: "field-lbl",
|
|
3003
|
+
rawName: "v-field-lbl",
|
|
3004
|
+
value: 'menuLink',
|
|
3005
|
+
expression: "'menuLink'"
|
|
3006
|
+
}]
|
|
3007
|
+
}, [_vm._v("菜单链接")])]), _c('td', {
|
|
2522
3008
|
staticClass: "el-table__cell tdcont tdw83",
|
|
2523
3009
|
attrs: {
|
|
2524
3010
|
"colspan": "3"
|
|
@@ -2526,7 +3012,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2526
3012
|
}, [_c('ValidationProvider', {
|
|
2527
3013
|
ref: "ValidationProvider",
|
|
2528
3014
|
attrs: {
|
|
2529
|
-
"name":
|
|
3015
|
+
"name": _vm.$tx('ecwplat.menuForm.fields.menuLink', '菜单链接'),
|
|
2530
3016
|
"rules": "required"
|
|
2531
3017
|
},
|
|
2532
3018
|
scopedSlots: _vm._u([{
|
|
@@ -2554,7 +3040,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2554
3040
|
}],
|
|
2555
3041
|
attrs: {
|
|
2556
3042
|
"name": "href",
|
|
2557
|
-
"placeholder":
|
|
3043
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.menuLinkEnter', '请输入菜单链接'),
|
|
2558
3044
|
"listviewurl": _vm.portalPageListUrl
|
|
2559
3045
|
},
|
|
2560
3046
|
model: {
|
|
@@ -2574,7 +3060,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2574
3060
|
}],
|
|
2575
3061
|
attrs: {
|
|
2576
3062
|
"name": "href",
|
|
2577
|
-
"placeholder":
|
|
3063
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.menuLinkEnter', '请输入菜单链接'),
|
|
2578
3064
|
"listviewurl": 'ureport.reportDefine.list?urlsearch=reportViewType:W'
|
|
2579
3065
|
},
|
|
2580
3066
|
model: {
|
|
@@ -2594,7 +3080,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2594
3080
|
}],
|
|
2595
3081
|
attrs: {
|
|
2596
3082
|
"name": "href",
|
|
2597
|
-
"placeholder":
|
|
3083
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.menuLinkEnter', '请输入菜单链接'),
|
|
2598
3084
|
"listviewurl": 'base.entityListpage.list?urlsearch=listViewType:W'
|
|
2599
3085
|
},
|
|
2600
3086
|
model: {
|
|
@@ -2606,8 +3092,14 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2606
3092
|
}
|
|
2607
3093
|
})], 1)];
|
|
2608
3094
|
}
|
|
2609
|
-
}], null, false,
|
|
3095
|
+
}], null, false, 3601479216)
|
|
2610
3096
|
})], 1)]) : _vm._e(), _vm.vo.leafFlag === 1 && (_vm.vo.leafType === 1 || _vm.vo.leafType === 2) ? _c('tr', [_c('td', {
|
|
3097
|
+
directives: [{
|
|
3098
|
+
name: "field-lbl",
|
|
3099
|
+
rawName: "v-field-lbl",
|
|
3100
|
+
value: 'urlFormat',
|
|
3101
|
+
expression: "'urlFormat'"
|
|
3102
|
+
}],
|
|
2611
3103
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2612
3104
|
}, [_vm._v("URL格式")]), _c('td', {
|
|
2613
3105
|
staticClass: "el-table__cell tdcont tdw83",
|
|
@@ -2618,20 +3110,55 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2618
3110
|
staticStyle: {
|
|
2619
3111
|
"line-height": "20px"
|
|
2620
3112
|
}
|
|
2621
|
-
}, [
|
|
3113
|
+
}, [_c('span', {
|
|
3114
|
+
directives: [{
|
|
3115
|
+
name: "field-lbl",
|
|
3116
|
+
rawName: "v-field-lbl",
|
|
3117
|
+
value: 'urlFormatTip1',
|
|
3118
|
+
expression: "'urlFormatTip1'"
|
|
3119
|
+
}]
|
|
3120
|
+
}, [_vm._v("1、动态列表视图vue组件url,以英文字符\"/\"结尾,不包括扩展名")]), _c('br'), _c('span', {
|
|
3121
|
+
directives: [{
|
|
3122
|
+
name: "field-lbl",
|
|
3123
|
+
rawName: "v-field-lbl",
|
|
3124
|
+
value: 'urlFormatTip2',
|
|
3125
|
+
expression: "'urlFormatTip2'"
|
|
3126
|
+
}]
|
|
3127
|
+
}, [_vm._v("2、格式为:#/dcontent/base.jobPosition.list/")])]) : _vm._e(), _vm.vo.leafType === 2 ? _c('div', {
|
|
2622
3128
|
staticStyle: {
|
|
2623
3129
|
"line-height": "20px"
|
|
2624
3130
|
}
|
|
2625
|
-
}, [
|
|
3131
|
+
}, [_c('span', {
|
|
3132
|
+
directives: [{
|
|
3133
|
+
name: "field-lbl",
|
|
3134
|
+
rawName: "v-field-lbl",
|
|
3135
|
+
value: 'urlFormatTip3',
|
|
3136
|
+
expression: "'urlFormatTip3'"
|
|
3137
|
+
}]
|
|
3138
|
+
}, [_vm._v("1、静态列表视图vue组件文件路径,不包括文件扩展名")]), _c('br'), _c('span', {
|
|
3139
|
+
directives: [{
|
|
3140
|
+
name: "field-lbl",
|
|
3141
|
+
rawName: "v-field-lbl",
|
|
3142
|
+
value: 'urlFormatTip4',
|
|
3143
|
+
expression: "'urlFormatTip4'"
|
|
3144
|
+
}]
|
|
3145
|
+
}, [_vm._v("2、格式为:@/wapp/workflow/wfTaskItem/myTodo")])]) : _vm._e()])]) : _vm._e(), _vm.vo.moduleLevel !== 1 && _vm.vo.leafFlag === 1 && _vm.vo.leafType === 3 ? _c('tr', [_c('td', {
|
|
2626
3146
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2627
3147
|
}, [_c('span', {
|
|
2628
3148
|
staticClass: "required"
|
|
2629
|
-
}, [_vm._v("*")]),
|
|
3149
|
+
}, [_vm._v("*")]), _c('span', {
|
|
3150
|
+
directives: [{
|
|
3151
|
+
name: "field-lbl",
|
|
3152
|
+
rawName: "v-field-lbl",
|
|
3153
|
+
value: 'businessCode',
|
|
3154
|
+
expression: "'businessCode'"
|
|
3155
|
+
}]
|
|
3156
|
+
}, [_vm._v("业务代码")])]), _c('td', {
|
|
2630
3157
|
staticClass: "el-table__cell tdcont tdw33"
|
|
2631
3158
|
}, [_c('ValidationProvider', {
|
|
2632
3159
|
ref: "ValidationProvider",
|
|
2633
3160
|
attrs: {
|
|
2634
|
-
"name":
|
|
3161
|
+
"name": _vm.$tx('ecwplat.menuForm.fields.businessCode', '业务代码'),
|
|
2635
3162
|
"rules": "required"
|
|
2636
3163
|
},
|
|
2637
3164
|
scopedSlots: _vm._u([{
|
|
@@ -2659,7 +3186,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2659
3186
|
}],
|
|
2660
3187
|
attrs: {
|
|
2661
3188
|
"name": "href",
|
|
2662
|
-
"placeholder":
|
|
3189
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.businessCodeEnter', '请输入业务代码,首字母小写'),
|
|
2663
3190
|
"listviewurl": "base.entityListpage.list"
|
|
2664
3191
|
},
|
|
2665
3192
|
model: {
|
|
@@ -2671,8 +3198,14 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2671
3198
|
}
|
|
2672
3199
|
})], 1)];
|
|
2673
3200
|
}
|
|
2674
|
-
}], null, false,
|
|
3201
|
+
}], null, false, 3104104198)
|
|
2675
3202
|
})], 1), _c('td', {
|
|
3203
|
+
directives: [{
|
|
3204
|
+
name: "field-lbl",
|
|
3205
|
+
rawName: "v-field-lbl",
|
|
3206
|
+
value: 'engineUrl',
|
|
3207
|
+
expression: "'engineUrl'"
|
|
3208
|
+
}],
|
|
2676
3209
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2677
3210
|
}, [_vm._v("引擎(模块)URL")]), _c('td', {
|
|
2678
3211
|
staticClass: "el-table__cell tdcont tdw33"
|
|
@@ -2683,7 +3216,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2683
3216
|
}],
|
|
2684
3217
|
attrs: {
|
|
2685
3218
|
"name": "wfEngineUrl",
|
|
2686
|
-
"placeholder":
|
|
3219
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.engineUrlEnter', '请输入引擎(模块)URL')
|
|
2687
3220
|
},
|
|
2688
3221
|
model: {
|
|
2689
3222
|
value: _vm.vo.wfEngineUrl,
|
|
@@ -2696,12 +3229,19 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2696
3229
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2697
3230
|
}, [_c('span', {
|
|
2698
3231
|
staticClass: "required"
|
|
2699
|
-
}, [_vm._v("*")]),
|
|
3232
|
+
}, [_vm._v("*")]), _c('span', {
|
|
3233
|
+
directives: [{
|
|
3234
|
+
name: "field-lbl",
|
|
3235
|
+
rawName: "v-field-lbl",
|
|
3236
|
+
value: 'wfName',
|
|
3237
|
+
expression: "'wfName'"
|
|
3238
|
+
}]
|
|
3239
|
+
}, [_vm._v("流程名称")])]), _c('td', {
|
|
2700
3240
|
staticClass: "el-table__cell tdcont tdw33"
|
|
2701
3241
|
}, [_c('ValidationProvider', {
|
|
2702
3242
|
ref: "ValidationProvider",
|
|
2703
3243
|
attrs: {
|
|
2704
|
-
"name":
|
|
3244
|
+
"name": _vm.$tx('ecwplat.menuForm.fields.wfName', '流程名称'),
|
|
2705
3245
|
"rules": "required"
|
|
2706
3246
|
},
|
|
2707
3247
|
scopedSlots: _vm._u([{
|
|
@@ -2729,7 +3269,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2729
3269
|
}],
|
|
2730
3270
|
attrs: {
|
|
2731
3271
|
"name": "wfName",
|
|
2732
|
-
"placeholder":
|
|
3272
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.wfNameEnter', '请输入流程名称'),
|
|
2733
3273
|
"listviewurl": "workflow.wfdProcess.list"
|
|
2734
3274
|
},
|
|
2735
3275
|
model: {
|
|
@@ -2741,8 +3281,14 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2741
3281
|
}
|
|
2742
3282
|
})], 1)];
|
|
2743
3283
|
}
|
|
2744
|
-
}], null, false,
|
|
3284
|
+
}], null, false, 223860017)
|
|
2745
3285
|
})], 1), _c('td', {
|
|
3286
|
+
directives: [{
|
|
3287
|
+
name: "field-lbl",
|
|
3288
|
+
rawName: "v-field-lbl",
|
|
3289
|
+
value: 'wfCode',
|
|
3290
|
+
expression: "'wfCode'"
|
|
3291
|
+
}],
|
|
2746
3292
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2747
3293
|
}, [_vm._v("流程编码")]), _c('td', {
|
|
2748
3294
|
staticClass: "el-table__cell tdcont tdw33"
|
|
@@ -2753,7 +3299,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2753
3299
|
}],
|
|
2754
3300
|
attrs: {
|
|
2755
3301
|
"name": "wfCode",
|
|
2756
|
-
"placeholder":
|
|
3302
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.wfCodeEnter', '请输入流程编码')
|
|
2757
3303
|
},
|
|
2758
3304
|
model: {
|
|
2759
3305
|
value: _vm.vo.wfCode,
|
|
@@ -2763,6 +3309,12 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2763
3309
|
expression: "vo.wfCode"
|
|
2764
3310
|
}
|
|
2765
3311
|
})], 1)]) : _vm._e(), _vm.vo.moduleLevel != 1 && _vm.vo.leafFlag == 1 && (_vm.vo.leafType == 3 || _vm.vo.leafType == 4) ? _c('tr', [_c('td', {
|
|
3312
|
+
directives: [{
|
|
3313
|
+
name: "field-lbl",
|
|
3314
|
+
rawName: "v-field-lbl",
|
|
3315
|
+
value: 'stageName',
|
|
3316
|
+
expression: "'stageName'"
|
|
3317
|
+
}],
|
|
2766
3318
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2767
3319
|
}, [_vm._v("起始环节名称")]), _c('td', {
|
|
2768
3320
|
staticClass: "el-table__cell tdcont tdw33"
|
|
@@ -2773,7 +3325,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2773
3325
|
}],
|
|
2774
3326
|
attrs: {
|
|
2775
3327
|
"name": "wfNodeName",
|
|
2776
|
-
"placeholder":
|
|
3328
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.stageNameEnter', '请输入起始环节名称')
|
|
2777
3329
|
},
|
|
2778
3330
|
model: {
|
|
2779
3331
|
value: _vm.vo.wfNodeName,
|
|
@@ -2783,6 +3335,12 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2783
3335
|
expression: "vo.wfNodeName"
|
|
2784
3336
|
}
|
|
2785
3337
|
})], 1), _c('td', {
|
|
3338
|
+
directives: [{
|
|
3339
|
+
name: "field-lbl",
|
|
3340
|
+
rawName: "v-field-lbl",
|
|
3341
|
+
value: 'stageCode',
|
|
3342
|
+
expression: "'stageCode'"
|
|
3343
|
+
}],
|
|
2786
3344
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2787
3345
|
}, [_vm._v("起始环节编码")]), _c('td', {
|
|
2788
3346
|
staticClass: "el-table__cell tdcont tdw33"
|
|
@@ -2793,7 +3351,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2793
3351
|
}],
|
|
2794
3352
|
attrs: {
|
|
2795
3353
|
"name": "wfNodeCode",
|
|
2796
|
-
"placeholder":
|
|
3354
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.stageCodeEnter', '请输入起始环节编码')
|
|
2797
3355
|
},
|
|
2798
3356
|
model: {
|
|
2799
3357
|
value: _vm.vo.wfNodeCode,
|
|
@@ -2803,6 +3361,12 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2803
3361
|
expression: "vo.wfNodeCode"
|
|
2804
3362
|
}
|
|
2805
3363
|
})], 1)]) : _vm._e(), _vm.vo.moduleLevel == 1 ? _c('tr', [_c('td', {
|
|
3364
|
+
directives: [{
|
|
3365
|
+
name: "field-lbl",
|
|
3366
|
+
rawName: "v-field-lbl",
|
|
3367
|
+
value: 'navShow',
|
|
3368
|
+
expression: "'navShow'"
|
|
3369
|
+
}],
|
|
2806
3370
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2807
3371
|
}, [_vm._v("导航栏显示")]), _c('td', {
|
|
2808
3372
|
staticClass: "el-table__cell tdcont tdw83",
|
|
@@ -2828,10 +3392,22 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2828
3392
|
expression: "vo.topFlag"
|
|
2829
3393
|
}
|
|
2830
3394
|
}, [_c('el-radio', {
|
|
3395
|
+
directives: [{
|
|
3396
|
+
name: "field-lbl",
|
|
3397
|
+
rawName: "v-field-lbl",
|
|
3398
|
+
value: 'navOption1',
|
|
3399
|
+
expression: "'navOption1'"
|
|
3400
|
+
}],
|
|
2831
3401
|
attrs: {
|
|
2832
3402
|
"label": 1
|
|
2833
3403
|
}
|
|
2834
3404
|
}, [_vm._v("显示")]), _c('el-radio', {
|
|
3405
|
+
directives: [{
|
|
3406
|
+
name: "field-lbl",
|
|
3407
|
+
rawName: "v-field-lbl",
|
|
3408
|
+
value: 'navOption2',
|
|
3409
|
+
expression: "'navOption2'"
|
|
3410
|
+
}],
|
|
2835
3411
|
attrs: {
|
|
2836
3412
|
"label": 0
|
|
2837
3413
|
}
|
|
@@ -2839,12 +3415,19 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2839
3415
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2840
3416
|
}, [_c('span', {
|
|
2841
3417
|
staticClass: "required"
|
|
2842
|
-
}, [_vm._v("*")]),
|
|
3418
|
+
}, [_vm._v("*")]), _c('span', {
|
|
3419
|
+
directives: [{
|
|
3420
|
+
name: "field-lbl",
|
|
3421
|
+
rawName: "v-field-lbl",
|
|
3422
|
+
value: 'authoType',
|
|
3423
|
+
expression: "'authoType'"
|
|
3424
|
+
}]
|
|
3425
|
+
}, [_vm._v("授权方式")])]), _c('td', {
|
|
2843
3426
|
staticClass: "el-table__cell tdcont tdw33"
|
|
2844
3427
|
}, [_c('ValidationProvider', {
|
|
2845
3428
|
ref: "ValidationProvider",
|
|
2846
3429
|
attrs: {
|
|
2847
|
-
"name":
|
|
3430
|
+
"name": _vm.$tx('ecwplat.menuForm.fields.authoType', '授权方式'),
|
|
2848
3431
|
"rules": "required"
|
|
2849
3432
|
},
|
|
2850
3433
|
scopedSlots: _vm._u([{
|
|
@@ -2872,7 +3455,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2872
3455
|
},
|
|
2873
3456
|
attrs: {
|
|
2874
3457
|
"name": "visitType",
|
|
2875
|
-
"placeholder":
|
|
3458
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.selectAuthoType', '请选择授权方式')
|
|
2876
3459
|
},
|
|
2877
3460
|
model: {
|
|
2878
3461
|
value: _vm.vo.visitType,
|
|
@@ -2893,6 +3476,12 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2893
3476
|
}
|
|
2894
3477
|
}])
|
|
2895
3478
|
})], 1), _c('td', {
|
|
3479
|
+
directives: [{
|
|
3480
|
+
name: "field-lbl",
|
|
3481
|
+
rawName: "v-field-lbl",
|
|
3482
|
+
value: 'i18nCode',
|
|
3483
|
+
expression: "'i18nCode'"
|
|
3484
|
+
}],
|
|
2896
3485
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2897
3486
|
}, [_vm._v("I18N代码")]), _c('td', {
|
|
2898
3487
|
staticClass: "el-table__cell tdcont tdw33"
|
|
@@ -2903,7 +3492,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2903
3492
|
}],
|
|
2904
3493
|
attrs: {
|
|
2905
3494
|
"name": "i18nCode",
|
|
2906
|
-
"placeholder":
|
|
3495
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.i18nCodeEnter', '请输入I18N代码')
|
|
2907
3496
|
},
|
|
2908
3497
|
model: {
|
|
2909
3498
|
value: _vm.vo.i18nCode,
|
|
@@ -2913,6 +3502,12 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2913
3502
|
expression: "vo.i18nCode"
|
|
2914
3503
|
}
|
|
2915
3504
|
})], 1)]), _vm.vo.visitType !== 0 ? _c('tr', [_c('td', {
|
|
3505
|
+
directives: [{
|
|
3506
|
+
name: "field-lbl",
|
|
3507
|
+
rawName: "v-field-lbl",
|
|
3508
|
+
value: 'accessAuthorization',
|
|
3509
|
+
expression: "'accessAuthorization'"
|
|
3510
|
+
}],
|
|
2916
3511
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2917
3512
|
}, [_vm._v("访问授权")]), _c('td', {
|
|
2918
3513
|
staticClass: "el-table__cell tdcont tdw83",
|
|
@@ -2935,12 +3530,19 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2935
3530
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2936
3531
|
}, [_c('span', {
|
|
2937
3532
|
staticClass: "required"
|
|
2938
|
-
}, [_vm._v("*")]),
|
|
3533
|
+
}, [_vm._v("*")]), _c('span', {
|
|
3534
|
+
directives: [{
|
|
3535
|
+
name: "field-lbl",
|
|
3536
|
+
rawName: "v-field-lbl",
|
|
3537
|
+
value: 'orderNumber',
|
|
3538
|
+
expression: "'orderNumber'"
|
|
3539
|
+
}]
|
|
3540
|
+
}, [_vm._v("排序序号")])]), _c('td', {
|
|
2939
3541
|
staticClass: "el-table__cell tdcont tdw33"
|
|
2940
3542
|
}, [_c('ValidationProvider', {
|
|
2941
3543
|
ref: "ValidationProvider",
|
|
2942
3544
|
attrs: {
|
|
2943
|
-
"name":
|
|
3545
|
+
"name": _vm.$tx('ecwplat.menuForm.fields.orderNumber', '排序序号'),
|
|
2944
3546
|
"rules": "required|integer|length:4"
|
|
2945
3547
|
},
|
|
2946
3548
|
scopedSlots: _vm._u([{
|
|
@@ -2965,7 +3567,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2965
3567
|
}],
|
|
2966
3568
|
attrs: {
|
|
2967
3569
|
"name": "orderNo",
|
|
2968
|
-
"placeholder":
|
|
3570
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.orderNumberEnter', '请输入4位数字排序序号'),
|
|
2969
3571
|
"ecng-listpage-dialog": "",
|
|
2970
3572
|
"listviewurl": "base.entityListpage.list"
|
|
2971
3573
|
},
|
|
@@ -2983,12 +3585,19 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2983
3585
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2984
3586
|
}, [_c('span', {
|
|
2985
3587
|
staticClass: "required"
|
|
2986
|
-
}, [_vm._v("*")]),
|
|
3588
|
+
}, [_vm._v("*")]), _c('span', {
|
|
3589
|
+
directives: [{
|
|
3590
|
+
name: "field-lbl",
|
|
3591
|
+
rawName: "v-field-lbl",
|
|
3592
|
+
value: 'status',
|
|
3593
|
+
expression: "'status'"
|
|
3594
|
+
}]
|
|
3595
|
+
}, [_vm._v("状态")])]), _c('td', {
|
|
2987
3596
|
staticClass: "el-table__cell tdcont tdw33"
|
|
2988
3597
|
}, [_c('ValidationProvider', {
|
|
2989
3598
|
ref: "ValidationProvider",
|
|
2990
3599
|
attrs: {
|
|
2991
|
-
"name":
|
|
3600
|
+
"name": _vm.$tx('ecwplat.menuForm.fields.status', '状态'),
|
|
2992
3601
|
"rules": "required"
|
|
2993
3602
|
},
|
|
2994
3603
|
scopedSlots: _vm._u([{
|
|
@@ -3016,7 +3625,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
3016
3625
|
},
|
|
3017
3626
|
attrs: {
|
|
3018
3627
|
"name": "status",
|
|
3019
|
-
"placeholder":
|
|
3628
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.selectstatus', '请选择状态')
|
|
3020
3629
|
},
|
|
3021
3630
|
model: {
|
|
3022
3631
|
value: _vm.vo.status,
|
|
@@ -3045,7 +3654,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
3045
3654
|
"append-to-body": true,
|
|
3046
3655
|
"close-on-click-modal": true,
|
|
3047
3656
|
"width": "1250px",
|
|
3048
|
-
"title":
|
|
3657
|
+
"title": _vm.$tx('ecwplat.menuForm.fields.menuIcon', '选择菜单图标')
|
|
3049
3658
|
},
|
|
3050
3659
|
on: {
|
|
3051
3660
|
"update:visible": function updateVisible($event) {
|
|
@@ -3054,7 +3663,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
3054
3663
|
}
|
|
3055
3664
|
}, [_c('Icons')], 1) : _vm._e()], 1);
|
|
3056
3665
|
};
|
|
3057
|
-
var
|
|
3666
|
+
var MenuItemFormvue_type_template_id_383980ee_scoped_true_staticRenderFns = [];
|
|
3058
3667
|
|
|
3059
3668
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplat/Module/src/MenuItemForm.vue?vue&type=script&lang=js
|
|
3060
3669
|
/* harmony default export */ var MenuItemFormvue_type_script_lang_js = ({
|
|
@@ -3090,73 +3699,75 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_staticRenderFns = [];
|
|
|
3090
3699
|
},
|
|
3091
3700
|
data: function data() {
|
|
3092
3701
|
return {
|
|
3702
|
+
i18npkg: 'base',
|
|
3703
|
+
moduleCode: 'menuForm',
|
|
3093
3704
|
leafFlagOptions: [{
|
|
3094
3705
|
value: 0,
|
|
3095
|
-
text: '文件夹'
|
|
3706
|
+
text: this.$tx('ecwplat.menuForm.folder', '文件夹')
|
|
3096
3707
|
}, {
|
|
3097
3708
|
value: 1,
|
|
3098
|
-
text: '菜单项'
|
|
3709
|
+
text: this.$tx('ecwplat.menuForm.menuItem', '菜单项')
|
|
3099
3710
|
}],
|
|
3100
3711
|
statusOptions: [{
|
|
3101
3712
|
value: 1,
|
|
3102
|
-
text: '启用'
|
|
3713
|
+
text: this.$tx('ecwplat.PageBtns.enable', '启用')
|
|
3103
3714
|
}, {
|
|
3104
3715
|
value: 0,
|
|
3105
|
-
text: '禁用'
|
|
3716
|
+
text: this.$tx('ecwplat.PageBtns.disable', '禁用')
|
|
3106
3717
|
}],
|
|
3107
3718
|
refresh: false,
|
|
3108
3719
|
iconDialogFormVisible: false,
|
|
3109
3720
|
selectedItem: ['MyCreated', 'MyProcessed', 'AllFile'],
|
|
3110
3721
|
wflowMenuItems: [{
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3722
|
+
code: 'MyCreated',
|
|
3723
|
+
name: this.$tx('ecwplat.menuForm.myCreated', '我创建的'),
|
|
3724
|
+
text: this.$tx('ecwplat.menuForm.fourStatus', '(全部、草稿、处理中、已结束)'),
|
|
3725
|
+
children: [{
|
|
3726
|
+
code: 'All',
|
|
3727
|
+
name: '全部',
|
|
3728
|
+
urlsearch: 'status<:2'
|
|
3118
3729
|
}, {
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3730
|
+
code: 'Draft',
|
|
3731
|
+
name: '草稿',
|
|
3732
|
+
urlsearch: 'status:0'
|
|
3122
3733
|
}, {
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3734
|
+
code: 'Doing',
|
|
3735
|
+
name: '处理中',
|
|
3736
|
+
urlsearch: 'status:1'
|
|
3126
3737
|
}, {
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3738
|
+
code: 'Done',
|
|
3739
|
+
name: '已结束',
|
|
3740
|
+
urlsearch: 'status:2'
|
|
3130
3741
|
}]
|
|
3131
3742
|
}, {
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3743
|
+
code: 'MyProcessed',
|
|
3744
|
+
name: this.$tx('ecwplat.menuForm.myProcessed', '我处理的'),
|
|
3745
|
+
text: this.$tx('ecwplat.menuForm.twoStatus', '(待办、已办)'),
|
|
3746
|
+
children: [{
|
|
3747
|
+
code: 'Todo',
|
|
3748
|
+
name: '待办',
|
|
3749
|
+
listpageUrl: '#/dcontent/workflow.wfTaskItem.myTodo/?urlsearch=module:[busiCode]'
|
|
3139
3750
|
}, {
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3751
|
+
code: 'Done',
|
|
3752
|
+
name: '已办',
|
|
3753
|
+
listpageUrl: '#/dcontent/workflow.wfTaskItem.myDone/?urlsearch=module:[busiCode]'
|
|
3143
3754
|
}]
|
|
3144
3755
|
}, {
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3756
|
+
code: 'AllFile',
|
|
3757
|
+
name: this.$tx('ecwplat.menuForm.allFile', '全部'),
|
|
3758
|
+
text: this.$tx('ecwplat.menuForm.threeStatus', '(全部、处理中、已结束)'),
|
|
3759
|
+
children: [{
|
|
3760
|
+
code: 'All',
|
|
3761
|
+
name: '全部',
|
|
3762
|
+
urlsearch: 'status<:2'
|
|
3152
3763
|
}, {
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3764
|
+
code: 'Doing',
|
|
3765
|
+
name: '处理中',
|
|
3766
|
+
urlsearch: 'status:1'
|
|
3156
3767
|
}, {
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3768
|
+
code: 'Done',
|
|
3769
|
+
name: '已结束',
|
|
3770
|
+
urlsearch: 'status:2'
|
|
3160
3771
|
}]
|
|
3161
3772
|
}],
|
|
3162
3773
|
productCodeAll: this.$store.getters.productCodeAll,
|
|
@@ -3165,33 +3776,33 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_staticRenderFns = [];
|
|
|
3165
3776
|
},
|
|
3166
3777
|
computed: {
|
|
3167
3778
|
nameLabel: function nameLabel() {
|
|
3168
|
-
return
|
|
3779
|
+
return this.vo.moduleLevel === 1 ? this.$tx('ecwplat.menuForm.columnName', '栏目名称') : this.$tx('ecwplat.menuForm.menuName', '菜单名称');
|
|
3169
3780
|
},
|
|
3170
3781
|
codeLabel: function codeLabel() {
|
|
3171
|
-
return
|
|
3782
|
+
return this.vo.moduleLevel === 1 ? this.$tx('ecwplat.menuForm.columnCode', '栏目编码') : this.$tx('ecwplat.menuForm.menuCode', '菜单编码');
|
|
3172
3783
|
},
|
|
3173
3784
|
targetOptions: function targetOptions() {
|
|
3174
3785
|
if (this.vo.moduleLevel === 1 || this.vo.leafFlag === 1) {
|
|
3175
3786
|
return [{
|
|
3176
3787
|
value: 'mainpage',
|
|
3177
|
-
text: '左导航+工作区'
|
|
3788
|
+
text: this.$tx('ecwplat.menuForm.lnavWork', '左导航+工作区')
|
|
3178
3789
|
}, {
|
|
3179
3790
|
value: 'content',
|
|
3180
|
-
text: '工作区'
|
|
3791
|
+
text: this.$tx('ecwplat.menuForm.work', '工作区')
|
|
3181
3792
|
}, {
|
|
3182
3793
|
value: '_blank',
|
|
3183
|
-
text: '弹出窗口'
|
|
3794
|
+
text: this.$tx('ecwplat.menuForm.popUp', '弹出窗口')
|
|
3184
3795
|
}, {
|
|
3185
3796
|
value: '_top',
|
|
3186
|
-
text: '顶层窗口'
|
|
3797
|
+
text: this.$tx('ecwplat.menuForm.topWAin', '顶层窗口')
|
|
3187
3798
|
}];
|
|
3188
3799
|
} else if (this.vo.moduleLevel >= 2 && this.vo.leafFlag === 0) {
|
|
3189
3800
|
return [{
|
|
3190
3801
|
value: 'leftMenuItem',
|
|
3191
|
-
text: '左侧菜单顶'
|
|
3802
|
+
text: this.$tx('ecwplat.menuForm.leftMenu', '左侧菜单顶')
|
|
3192
3803
|
}, {
|
|
3193
3804
|
value: 'rightLabel',
|
|
3194
|
-
text: '右侧页面标签'
|
|
3805
|
+
text: this.$tx('ecwplat.menuForm.rightLabel', '右侧页面标签')
|
|
3195
3806
|
}];
|
|
3196
3807
|
} else {
|
|
3197
3808
|
return [];
|
|
@@ -3201,45 +3812,45 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_staticRenderFns = [];
|
|
|
3201
3812
|
if (this.vo.moduleLevel === 1) {
|
|
3202
3813
|
return [{
|
|
3203
3814
|
value: null,
|
|
3204
|
-
text: '无'
|
|
3815
|
+
text: this.$tx('ecwplat.menuForm.not', '无')
|
|
3205
3816
|
}, {
|
|
3206
3817
|
value: 0,
|
|
3207
|
-
text: '普通URL'
|
|
3818
|
+
text: this.$tx('ecwplat.menuForm.regularURL', '普通URL')
|
|
3208
3819
|
}, {
|
|
3209
3820
|
value: 1,
|
|
3210
|
-
text: '动态列表页面'
|
|
3821
|
+
text: this.$tx('ecwplat.menuForm.dynamicListPage', '动态列表页面')
|
|
3211
3822
|
}, {
|
|
3212
3823
|
value: 2,
|
|
3213
|
-
text: '静态列表页面'
|
|
3824
|
+
text: this.$tx('ecwplat.menuForm.staticListPage', '静态列表页面')
|
|
3214
3825
|
}, {
|
|
3215
3826
|
value: 6,
|
|
3216
|
-
text: '动态门户'
|
|
3827
|
+
text: this.$tx('ecwplat.menuForm.superiorName', '动态门户')
|
|
3217
3828
|
}];
|
|
3218
3829
|
} else if (this.vo.leafFlag === 1) {
|
|
3219
3830
|
var menus = [{
|
|
3220
3831
|
value: 0,
|
|
3221
|
-
text: '普通URL'
|
|
3832
|
+
text: this.$tx('ecwplat.menuForm.regularURL', '普通URL')
|
|
3222
3833
|
}, {
|
|
3223
3834
|
value: 1,
|
|
3224
|
-
text: '动态列表'
|
|
3835
|
+
text: this.$tx('ecwplat.menuForm.dynamicList', '动态列表')
|
|
3225
3836
|
}, {
|
|
3226
3837
|
value: 2,
|
|
3227
|
-
text: '静态列表'
|
|
3838
|
+
text: this.$tx('ecwplat.menuForm.staticList', '静态列表')
|
|
3228
3839
|
}, {
|
|
3229
3840
|
value: 6,
|
|
3230
|
-
text: '动态门户'
|
|
3841
|
+
text: this.$tx('ecwplat.menuForm.superiorName', '动态门户')
|
|
3231
3842
|
}, {
|
|
3232
3843
|
value: 5,
|
|
3233
|
-
text: '统计报表'
|
|
3844
|
+
text: this.$tx('ecwplat.menuForm.statisticalReport', '统计报表')
|
|
3234
3845
|
}];
|
|
3235
3846
|
if (this.sys && this.sys.passenger && this.sys.passenger.workflow !== 0) {
|
|
3236
3847
|
menus.push({
|
|
3237
3848
|
value: 3,
|
|
3238
|
-
text: '起草文件(标准)'
|
|
3849
|
+
text: this.$tx('ecwplat.menuForm.standardDraft', '起草文件(标准)')
|
|
3239
3850
|
});
|
|
3240
3851
|
menus.push({
|
|
3241
3852
|
value: 4,
|
|
3242
|
-
text: '起草文件(定制)'
|
|
3853
|
+
text: this.$tx('ecwplat.menuForm.customizedDraft', '起草文件(定制)')
|
|
3243
3854
|
});
|
|
3244
3855
|
}
|
|
3245
3856
|
return menus;
|
|
@@ -3250,20 +3861,20 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_staticRenderFns = [];
|
|
|
3250
3861
|
visitTypeOptions: function visitTypeOptions() {
|
|
3251
3862
|
var visitTypeOptions = [{
|
|
3252
3863
|
value: 0,
|
|
3253
|
-
text: '不限制'
|
|
3864
|
+
text: this.$tx('ecwplat.menuForm.Unrestricted', '不限制')
|
|
3254
3865
|
}, {
|
|
3255
3866
|
value: 1,
|
|
3256
|
-
text: '指定角色'
|
|
3867
|
+
text: this.$tx('ecwplat.menuForm.designatedRole', '指定角色')
|
|
3257
3868
|
}];
|
|
3258
3869
|
if (this.vo.orgCode !== 'plat' || this.productCodeAll.indexOf(this.vo.sysCode) === -1) {
|
|
3259
3870
|
// 非产品菜单,可指定机构人员、工作群组
|
|
3260
3871
|
visitTypeOptions.push({
|
|
3261
3872
|
value: 2,
|
|
3262
|
-
text: '指定机构人员'
|
|
3873
|
+
text: this.$tx('ecwplat.menuForm.desiPerson', '指定机构人员')
|
|
3263
3874
|
});
|
|
3264
3875
|
visitTypeOptions.push({
|
|
3265
3876
|
value: 3,
|
|
3266
|
-
text: '指定群组'
|
|
3877
|
+
text: this.$tx('ecwplat.menuForm.specifyGroup', '指定群组')
|
|
3267
3878
|
});
|
|
3268
3879
|
}
|
|
3269
3880
|
return visitTypeOptions;
|
|
@@ -3304,7 +3915,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_staticRenderFns = [];
|
|
|
3304
3915
|
updateMenuItemView: function updateMenuItemView() {
|
|
3305
3916
|
var _this = this;
|
|
3306
3917
|
if (this.isWflowMenus) {
|
|
3307
|
-
this.wflowMenuItems[2].name = '全部' + (this.vo.name || '');
|
|
3918
|
+
this.wflowMenuItems[2].name = this.$tx('ecwplat.menuForm.allFile', '全部') + (this.vo.name || '');
|
|
3308
3919
|
this.vo.passenger.wflowMenuItems = this.wflowMenuItems;
|
|
3309
3920
|
}
|
|
3310
3921
|
if (this.vo.moduleLevel === 1) {
|
|
@@ -3384,9 +3995,9 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_staticRenderFns = [];
|
|
|
3384
3995
|
});
|
|
3385
3996
|
;// CONCATENATED MODULE: ./packages/ecwplat/Module/src/MenuItemForm.vue?vue&type=script&lang=js
|
|
3386
3997
|
/* harmony default export */ var src_MenuItemFormvue_type_script_lang_js = (MenuItemFormvue_type_script_lang_js);
|
|
3387
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplat/Module/src/MenuItemForm.vue?vue&type=style&index=0&id=
|
|
3388
|
-
var
|
|
3389
|
-
;// CONCATENATED MODULE: ./packages/ecwplat/Module/src/MenuItemForm.vue?vue&type=style&index=0&id=
|
|
3998
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplat/Module/src/MenuItemForm.vue?vue&type=style&index=0&id=383980ee&prod&scoped=true&lang=scss
|
|
3999
|
+
var MenuItemFormvue_type_style_index_0_id_383980ee_prod_scoped_true_lang_scss = __webpack_require__(2774);
|
|
4000
|
+
;// CONCATENATED MODULE: ./packages/ecwplat/Module/src/MenuItemForm.vue?vue&type=style&index=0&id=383980ee&prod&scoped=true&lang=scss
|
|
3390
4001
|
|
|
3391
4002
|
;// CONCATENATED MODULE: ./packages/ecwplat/Module/src/MenuItemForm.vue
|
|
3392
4003
|
|
|
@@ -3399,11 +4010,11 @@ var MenuItemFormvue_type_style_index_0_id_4198e92f_prod_scoped_true_lang_scss =
|
|
|
3399
4010
|
|
|
3400
4011
|
var MenuItemForm_component = (0,componentNormalizer/* default */.A)(
|
|
3401
4012
|
src_MenuItemFormvue_type_script_lang_js,
|
|
3402
|
-
|
|
3403
|
-
|
|
4013
|
+
MenuItemFormvue_type_template_id_383980ee_scoped_true_render,
|
|
4014
|
+
MenuItemFormvue_type_template_id_383980ee_scoped_true_staticRenderFns,
|
|
3404
4015
|
false,
|
|
3405
4016
|
null,
|
|
3406
|
-
"
|
|
4017
|
+
"383980ee",
|
|
3407
4018
|
null
|
|
3408
4019
|
|
|
3409
4020
|
)
|
|
@@ -3440,236 +4051,238 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
3440
4051
|
},
|
|
3441
4052
|
data: function data() {
|
|
3442
4053
|
return {
|
|
3443
|
-
|
|
4054
|
+
i18npkg: 'base',
|
|
4055
|
+
moduleCode: 'sysSetup',
|
|
4056
|
+
formTitle: this.$tx('ecwplat.sysSetup.sysConfigInfo', '系统配置信息'),
|
|
3444
4057
|
dwadmin: 0,
|
|
3445
4058
|
platadmin: 0,
|
|
3446
4059
|
loginUser: this.$store.getters.loginUser,
|
|
3447
4060
|
formType: 'SysSetup',
|
|
3448
4061
|
formVo: null,
|
|
3449
4062
|
sysSetupModuleInfo: {
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
4063
|
+
winWidth: 1000,
|
|
4064
|
+
winHeight: 600,
|
|
4065
|
+
moduleCode: 'sysSetup',
|
|
4066
|
+
updateUrl: 'base/sysSetup/update',
|
|
4067
|
+
delUrl: 'base/sysSetup/deleteSysSetup',
|
|
4068
|
+
getByIdUrl: 'base/sysSetup/getById'
|
|
3456
4069
|
},
|
|
3457
4070
|
menuModuleInfo: {
|
|
3458
|
-
|
|
3459
|
-
|
|
4071
|
+
moduleCode: 'Module',
|
|
4072
|
+
addNewUrl: 'base/menuMgr/addNew?sysCode=' + this.vo.sysCode + '&parentId=0',
|
|
3460
4073
|
// 新增保存模块菜单信息、访问授权信息url
|
|
3461
|
-
|
|
4074
|
+
insertUrl: 'base/menuMgr/insertModuleAndPermissions',
|
|
3462
4075
|
// 新增保存模块菜单、访问授权信息url
|
|
3463
|
-
|
|
3464
|
-
|
|
4076
|
+
winWidth: 900,
|
|
4077
|
+
winHeight: 600
|
|
3465
4078
|
},
|
|
3466
4079
|
sysSetupTableFieldInfo: [{
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
4080
|
+
defaultValue: '',
|
|
4081
|
+
elementCanEdit: 0,
|
|
4082
|
+
elementFormatter: '',
|
|
4083
|
+
elementReadonly: 0,
|
|
4084
|
+
elementType: 'input',
|
|
4085
|
+
emptyMessage: '请输入用户单位名称',
|
|
4086
|
+
errorMessage: '',
|
|
4087
|
+
formElementIndex: 0,
|
|
4088
|
+
formShow: 1,
|
|
4089
|
+
formTdAlign: 'text-left',
|
|
4090
|
+
formTdColspan: 12,
|
|
4091
|
+
id: 'b06df403257a4614a78cc883b2149c3c',
|
|
4092
|
+
isRequired: 1,
|
|
4093
|
+
passenger: {},
|
|
4094
|
+
propComment: '用户单位名称',
|
|
4095
|
+
propName: 'orgFullname',
|
|
4096
|
+
propType: 'String',
|
|
4097
|
+
textFormatter: 'textfield',
|
|
4098
|
+
valueMaxLength: 100
|
|
3486
4099
|
}, {
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
4100
|
+
defaultValue: '',
|
|
4101
|
+
elementCanEdit: 0,
|
|
4102
|
+
elementFormatter: '',
|
|
4103
|
+
elementReadonly: 0,
|
|
4104
|
+
elementType: 'input',
|
|
4105
|
+
emptyMessage: '请输入用户单位代码',
|
|
4106
|
+
errorMessage: '',
|
|
4107
|
+
formElementIndex: 2,
|
|
4108
|
+
formShow: 1,
|
|
4109
|
+
formTdAlign: 'text-left',
|
|
4110
|
+
formTdColspan: 12,
|
|
4111
|
+
id: '364d485f85ee49a4b0e7307b7e489a6d',
|
|
4112
|
+
isRequired: 1,
|
|
4113
|
+
propComment: '用户单位代码',
|
|
4114
|
+
propName: 'orgCode',
|
|
4115
|
+
propType: 'String',
|
|
4116
|
+
textFormatter: 'textfield',
|
|
4117
|
+
valueMaxLength: 50
|
|
3505
4118
|
}, {
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
4119
|
+
defaultValue: '',
|
|
4120
|
+
elementCanEdit: '{${canEdit}}',
|
|
4121
|
+
elementFormatter: '',
|
|
4122
|
+
elementReadonly: 0,
|
|
4123
|
+
elementType: 'input',
|
|
4124
|
+
emptyMessage: '请输入系统名称',
|
|
4125
|
+
errorMessage: '',
|
|
4126
|
+
formElementIndex: 3,
|
|
4127
|
+
formShow: 1,
|
|
4128
|
+
formTdAlign: 'text-left',
|
|
4129
|
+
formTdColspan: 12,
|
|
4130
|
+
id: 'eb35f7324ce245d2bfcc2d8599fb7be2',
|
|
4131
|
+
isRequired: 1,
|
|
4132
|
+
propComment: '系统名称',
|
|
4133
|
+
propName: 'sysName',
|
|
4134
|
+
propType: 'String',
|
|
4135
|
+
textFormatter: 'textfield',
|
|
4136
|
+
valueMaxLength: 250
|
|
3524
4137
|
}, {
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
4138
|
+
defaultValue: '',
|
|
4139
|
+
elementCanEdit: 0,
|
|
4140
|
+
elementFormatter: '',
|
|
4141
|
+
elementReadonly: 0,
|
|
4142
|
+
elementType: 'input',
|
|
4143
|
+
emptyMessage: '请输入系统代码',
|
|
4144
|
+
errorMessage: '',
|
|
4145
|
+
formElementIndex: 4,
|
|
4146
|
+
formShow: 1,
|
|
4147
|
+
formTdAlign: 'text-left',
|
|
4148
|
+
formTdColspan: 12,
|
|
4149
|
+
id: '3d71c21947bb4edcb692026c44a83625',
|
|
4150
|
+
isRequired: 1,
|
|
4151
|
+
propComment: '系统代码',
|
|
4152
|
+
propName: 'sysCode',
|
|
4153
|
+
propType: 'String',
|
|
4154
|
+
textFormatter: 'textfield',
|
|
4155
|
+
valueMaxLength: 50
|
|
3543
4156
|
}, {
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
4157
|
+
defaultValue: '',
|
|
4158
|
+
elementCanEdit: '0',
|
|
4159
|
+
elementFormatter: '1:是\n0:否',
|
|
4160
|
+
elementType: 'radio',
|
|
4161
|
+
emptyMessage: '请输入是否默认主系统',
|
|
4162
|
+
errorMessage: '',
|
|
4163
|
+
formElementIndex: 5,
|
|
4164
|
+
formShow: 1,
|
|
4165
|
+
formTdAlign: 'text-left',
|
|
4166
|
+
formTdColspan: 12,
|
|
4167
|
+
id: 'bbbcdcece2704ad986ed9fe66f2fc653',
|
|
4168
|
+
isRequired: 1,
|
|
4169
|
+
passenger: {},
|
|
4170
|
+
propComment: '是否默认主系统',
|
|
4171
|
+
propName: 'isDefaultSys',
|
|
4172
|
+
propType: 'Short',
|
|
4173
|
+
textFormatter: ''
|
|
3561
4174
|
}, {
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
4175
|
+
defaultValue: '',
|
|
4176
|
+
elementCanEdit: 0,
|
|
4177
|
+
elementFormatter: '',
|
|
4178
|
+
elementType: 'select',
|
|
4179
|
+
emptyMessage: '请选择产品名称 ',
|
|
4180
|
+
errorMessage: '',
|
|
4181
|
+
formElementIndex: 6,
|
|
4182
|
+
formShow: 1,
|
|
4183
|
+
formTdAlign: 'text-left',
|
|
4184
|
+
formTdColspan: 12,
|
|
4185
|
+
id: '4d2ef571906e487baa359f215b32b18e',
|
|
4186
|
+
isRequired: 0,
|
|
4187
|
+
propComment: '产品代码',
|
|
4188
|
+
propName: 'productName',
|
|
4189
|
+
propType: 'String',
|
|
4190
|
+
textFormatter: '',
|
|
4191
|
+
valueMaxLength: 50
|
|
3579
4192
|
}, {
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
4193
|
+
defaultValue: '',
|
|
4194
|
+
elementCanEdit: '{${canEdit}}',
|
|
4195
|
+
elementFormatter: '',
|
|
4196
|
+
elementReadonly: 0,
|
|
4197
|
+
elementType: 'input',
|
|
4198
|
+
emptyMessage: '请输入LOGO图片文件名',
|
|
4199
|
+
errorMessage: '',
|
|
4200
|
+
formElementIndex: 0,
|
|
4201
|
+
formShow: 0,
|
|
4202
|
+
formTdAlign: 'text-left',
|
|
4203
|
+
formTdColspan: 0,
|
|
4204
|
+
id: '7eee9e8e3a884c33ac731b94bfbc0637',
|
|
4205
|
+
isRequired: 1,
|
|
4206
|
+
propComment: 'LOGO图片文件名',
|
|
4207
|
+
propName: 'sysLogoFileName',
|
|
4208
|
+
propType: 'String',
|
|
4209
|
+
textFormatter: 'textfield',
|
|
4210
|
+
valueMaxLength: 100
|
|
3598
4211
|
}, {
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
4212
|
+
defaultValue: 'sysLogoFileName',
|
|
4213
|
+
elementCanEdit: '{{canEdit}}',
|
|
4214
|
+
elementFormatter: '',
|
|
4215
|
+
elementType: 'file',
|
|
4216
|
+
emptyMessage: '请选择系统LOGO图片',
|
|
4217
|
+
errorMessage: '',
|
|
4218
|
+
formElementIndex: 0,
|
|
4219
|
+
formShow: 0,
|
|
4220
|
+
formTdAlign: 'text-left',
|
|
4221
|
+
formTdColspan: 0,
|
|
4222
|
+
id: 'e2a472a94bfe4b23b72171cd74dc9d4a',
|
|
4223
|
+
isRequired: 1,
|
|
4224
|
+
propComment: '系统LOGO图片',
|
|
4225
|
+
propName: 'sysLogo',
|
|
4226
|
+
propType: 'byte[]',
|
|
4227
|
+
textFormatter: 'image/*',
|
|
4228
|
+
valueMaxLength: 1,
|
|
4229
|
+
valueMinLength: 0
|
|
3617
4230
|
}, {
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
4231
|
+
defaultValue: '',
|
|
4232
|
+
elementCanEdit: '0',
|
|
4233
|
+
elementFormatter: '',
|
|
4234
|
+
elementReadonly: 1,
|
|
4235
|
+
elementType: 'date',
|
|
4236
|
+
emptyMessage: '请输入业务开通时间',
|
|
4237
|
+
errorMessage: '',
|
|
4238
|
+
formElementIndex: 24,
|
|
4239
|
+
formShow: 1,
|
|
4240
|
+
formTdAlign: 'text-left',
|
|
4241
|
+
formTdColspan: 12,
|
|
4242
|
+
id: '6c4558fc66af4d1c8c83ce00bcd4ca55',
|
|
4243
|
+
isRequired: 1,
|
|
4244
|
+
propComment: '业务开通时间',
|
|
4245
|
+
propName: 'openTime',
|
|
4246
|
+
propType: 'java.util.Date',
|
|
4247
|
+
textFormatter: 'yyyy-MM-dd',
|
|
4248
|
+
valueMinLength: 0
|
|
3636
4249
|
}, {
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
4250
|
+
defaultValue: '',
|
|
4251
|
+
elementCanEdit: '0',
|
|
4252
|
+
elementFormatter: '',
|
|
4253
|
+
elementReadonly: 1,
|
|
4254
|
+
elementType: 'date',
|
|
4255
|
+
emptyMessage: '请输入业务开通时间',
|
|
4256
|
+
errorMessage: '',
|
|
4257
|
+
formElementIndex: 24,
|
|
4258
|
+
formShow: 1,
|
|
4259
|
+
formTdAlign: 'text-left',
|
|
4260
|
+
formTdColspan: 12,
|
|
4261
|
+
id: '6c4558fc66af4d1c8c83ce00bcd4ca55',
|
|
4262
|
+
isRequired: 1,
|
|
4263
|
+
propComment: '业务截止时间',
|
|
4264
|
+
propName: 'expiredTime',
|
|
4265
|
+
propType: 'java.util.Date',
|
|
4266
|
+
textFormatter: 'yyyy-MM-dd',
|
|
4267
|
+
valueMinLength: 0
|
|
3655
4268
|
}, {
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
4269
|
+
defaultValue: '1',
|
|
4270
|
+
elementCanEdit: '{{canEdit}}',
|
|
4271
|
+
elementFormatter: '1:启用\r\n0:禁用\r\n',
|
|
4272
|
+
elementType: 'radio',
|
|
4273
|
+
emptyMessage: '请选择系统状态 ',
|
|
4274
|
+
errorMessage: '',
|
|
4275
|
+
formElementIndex: 11,
|
|
4276
|
+
formShow: 1,
|
|
4277
|
+
formTdAlign: 'text-left',
|
|
4278
|
+
formTdColspan: 24,
|
|
4279
|
+
id: '9391e6e75a964a82949543dd899e746e',
|
|
4280
|
+
isRequired: 1,
|
|
4281
|
+
propComment: '系统状态 ',
|
|
4282
|
+
propName: 'sysStatus',
|
|
4283
|
+
propType: 'Short',
|
|
4284
|
+
textFormatter: '',
|
|
4285
|
+
valueMinLength: 0
|
|
3673
4286
|
}],
|
|
3674
4287
|
busiformBtns: []
|
|
3675
4288
|
};
|
|
@@ -3701,11 +4314,15 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
3701
4314
|
},
|
|
3702
4315
|
deleteSysSetup: function deleteSysSetup() {
|
|
3703
4316
|
var _this2 = this;
|
|
3704
|
-
var confirmMsg = '
|
|
4317
|
+
var confirmMsg = this.$tx('ecwplat.sysSetup.delSysSetupTip', {
|
|
4318
|
+
sysName: this.vo.sysName
|
|
4319
|
+
}, '您是否确认删除{sysName}的全部系统数据?');
|
|
3705
4320
|
if (this.vo.sysType === 1) {
|
|
3706
|
-
confirmMsg = '
|
|
4321
|
+
confirmMsg = this.$tx('ecwplat.sysSetup.delSysSetupAllTip', {
|
|
4322
|
+
sysName: this.vo.sysName
|
|
4323
|
+
}, '您是否确认删除{sysName}以及关联子系统的全部数据?');
|
|
3707
4324
|
}
|
|
3708
|
-
this.$confirm(confirmMsg, '确认操作', {
|
|
4325
|
+
this.$confirm(confirmMsg, this.$tx('common.confirmOperate', '确认操作'), {
|
|
3709
4326
|
type: 'warning'
|
|
3710
4327
|
}).then( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
3711
4328
|
var res;
|
|
@@ -3719,13 +4336,13 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
3719
4336
|
res = _context.sent;
|
|
3720
4337
|
_this2.$bus.emit('closeDoingDialog');
|
|
3721
4338
|
if (res.code === 'success') {
|
|
3722
|
-
_this2.$alert(res.message, '操作提示', {
|
|
4339
|
+
_this2.$alert(res.message, _this2.$tx('common.operationTip', '操作提示'), {
|
|
3723
4340
|
type: 'warning'
|
|
3724
4341
|
});
|
|
3725
4342
|
_this2.$vnode.context.treeData = [];
|
|
3726
4343
|
_this2.$vnode.context.sys = null;
|
|
3727
4344
|
} else {
|
|
3728
|
-
_this2.$alert(res.message, '操作提示', {
|
|
4345
|
+
_this2.$alert(res.message, _this2.$tx('common.operationTip', '操作提示'), {
|
|
3729
4346
|
type: 'error'
|
|
3730
4347
|
});
|
|
3731
4348
|
}
|
|
@@ -3787,12 +4404,12 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
3787
4404
|
var _this4 = this;
|
|
3788
4405
|
var dataScopeList = [{
|
|
3789
4406
|
value: 'menus',
|
|
3790
|
-
text: '模块菜单'
|
|
4407
|
+
text: this.$tx('ecwplat.Common.moduleMenu', '模块菜单')
|
|
3791
4408
|
}, {
|
|
3792
4409
|
value: 'rolePermissions',
|
|
3793
|
-
text: '角色授权'
|
|
4410
|
+
text: this.$tx('ecwplat.Common.role', '角色授权')
|
|
3794
4411
|
}];
|
|
3795
|
-
this.$bus.emit('openExportModuleDialog', '
|
|
4412
|
+
this.$bus.emit('openExportModuleDialog', this.$tx('ecwplat.PageBtns.exportMenu', '导出菜单'), dataScopeList, function (rst) {
|
|
3796
4413
|
if (rst.code === 'success') {
|
|
3797
4414
|
var params = rst.value;
|
|
3798
4415
|
params.sysCode = _this4.vo.sysCode;
|
|
@@ -3805,7 +4422,7 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
3805
4422
|
}).then(function (res) {
|
|
3806
4423
|
if (res.code === 'success') {
|
|
3807
4424
|
var downloadUrl = '<br/>下载代码:<a href="' + "/apigw" + '/' + res.body.zipurl + '" target="_blank">' + res.body.zipname + '</a>';
|
|
3808
|
-
_this4.$alert(res.message + downloadUrl, '操作提示', {
|
|
4425
|
+
_this4.$alert(res.message + downloadUrl, _this4.$tx('common.operationTip', '操作提示'), {
|
|
3809
4426
|
type: 'success',
|
|
3810
4427
|
dangerouslyUseHTMLString: true
|
|
3811
4428
|
});
|
|
@@ -3816,11 +4433,11 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
3816
4433
|
}
|
|
3817
4434
|
});
|
|
3818
4435
|
}
|
|
3819
|
-
}, null, null, '请选择目标数据库类型:');
|
|
4436
|
+
}, null, null, this.$tx('ecwplat.Common.selectSqlType', '请选择目标数据库类型:'));
|
|
3820
4437
|
},
|
|
3821
4438
|
importMenu: function importMenu() {
|
|
3822
4439
|
var _this5 = this;
|
|
3823
|
-
this.$bus.emit('openImportModuleDialog', '模块菜单', '/base/codeGenerate/importModuleMenu?parentId=' + this.vo.id, function (rst) {
|
|
4440
|
+
this.$bus.emit('openImportModuleDialog', this.$tx('ecwplat.Common.moduleMenu', '模块菜单'), '/base/codeGenerate/importModuleMenu?parentId=' + this.vo.id, function (rst) {
|
|
3824
4441
|
if (rst.code === 'success') {
|
|
3825
4442
|
_this5.$vnode.context.loadSysSetup(_this5.vo.orgCode);
|
|
3826
4443
|
}
|
|
@@ -3840,18 +4457,18 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
3840
4457
|
;
|
|
3841
4458
|
var SysSetup_component = (0,componentNormalizer/* default */.A)(
|
|
3842
4459
|
src_SysSetupvue_type_script_lang_js,
|
|
3843
|
-
|
|
3844
|
-
|
|
4460
|
+
SysSetupvue_type_template_id_ded36afa_scoped_true_render,
|
|
4461
|
+
SysSetupvue_type_template_id_ded36afa_scoped_true_staticRenderFns,
|
|
3845
4462
|
false,
|
|
3846
4463
|
null,
|
|
3847
|
-
"
|
|
4464
|
+
"ded36afa",
|
|
3848
4465
|
null
|
|
3849
4466
|
|
|
3850
4467
|
)
|
|
3851
4468
|
|
|
3852
4469
|
/* harmony default export */ var SysSetup = (SysSetup_component.exports);
|
|
3853
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplat/Module/src/CopyMenu.vue?vue&type=template&id=
|
|
3854
|
-
var
|
|
4470
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplat/Module/src/CopyMenu.vue?vue&type=template&id=46cffb18&scoped=true
|
|
4471
|
+
var CopyMenuvue_type_template_id_46cffb18_scoped_true_render = function render() {
|
|
3855
4472
|
var _vm = this,
|
|
3856
4473
|
_c = _vm._self._c;
|
|
3857
4474
|
return _vm.dialogFormVisible ? _c('el-dialog', {
|
|
@@ -3864,7 +4481,7 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_render = function render()
|
|
|
3864
4481
|
"append-to-body": true,
|
|
3865
4482
|
"close-on-click-modal": false,
|
|
3866
4483
|
"width": "900px",
|
|
3867
|
-
"title":
|
|
4484
|
+
"title": _vm.$tx('ecwplat.resRolePermission.formTitle', '复制菜单')
|
|
3868
4485
|
},
|
|
3869
4486
|
on: {
|
|
3870
4487
|
"update:visible": function updateVisible($event) {
|
|
@@ -3887,6 +4504,12 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_render = function render()
|
|
|
3887
4504
|
"border": "0"
|
|
3888
4505
|
}
|
|
3889
4506
|
}, [_c('tbody', [_c('tr', [_c('td', {
|
|
4507
|
+
directives: [{
|
|
4508
|
+
name: "field-lbl",
|
|
4509
|
+
rawName: "v-field-lbl",
|
|
4510
|
+
value: 'superiorMenu',
|
|
4511
|
+
expression: "'superiorMenu'"
|
|
4512
|
+
}],
|
|
3890
4513
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
3891
4514
|
}, [_vm._v("上级菜单名称")]), _c('td', {
|
|
3892
4515
|
staticClass: "el-table__cell tdcont tdw83",
|
|
@@ -3898,6 +4521,12 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_render = function render()
|
|
|
3898
4521
|
"innerHTML": _vm._s(_vm.srcMenu.parentName)
|
|
3899
4522
|
}
|
|
3900
4523
|
})])]), _c('tr', [_c('td', {
|
|
4524
|
+
directives: [{
|
|
4525
|
+
name: "field-lbl",
|
|
4526
|
+
rawName: "v-field-lbl",
|
|
4527
|
+
value: 'currentMenu',
|
|
4528
|
+
expression: "'currentMenu'"
|
|
4529
|
+
}],
|
|
3901
4530
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
3902
4531
|
}, [_vm._v("当前菜单名称")]), _c('td', {
|
|
3903
4532
|
staticClass: "el-table__cell tdcont tdw83",
|
|
@@ -3912,7 +4541,14 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_render = function render()
|
|
|
3912
4541
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
3913
4542
|
}, [_c('span', {
|
|
3914
4543
|
staticClass: "required"
|
|
3915
|
-
}, [_vm._v("*")]),
|
|
4544
|
+
}, [_vm._v("*")]), _c('span', {
|
|
4545
|
+
directives: [{
|
|
4546
|
+
name: "field-lbl",
|
|
4547
|
+
rawName: "v-field-lbl",
|
|
4548
|
+
value: 'tarSystemCode',
|
|
4549
|
+
expression: "'tarSystemCode'"
|
|
4550
|
+
}]
|
|
4551
|
+
}, [_vm._v("目标系统代码")])]), _c('td', {
|
|
3916
4552
|
staticClass: "el-table__cell tdcont tdw83",
|
|
3917
4553
|
attrs: {
|
|
3918
4554
|
"colspan": "3"
|
|
@@ -3920,7 +4556,7 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_render = function render()
|
|
|
3920
4556
|
}, [_c('ValidationProvider', {
|
|
3921
4557
|
ref: "ValidationProvider",
|
|
3922
4558
|
attrs: {
|
|
3923
|
-
"name":
|
|
4559
|
+
"name": _vm.$tx('ecwplat.resRolePermission.fields.tarSystemCode', '目标系统代码'),
|
|
3924
4560
|
"rules": "required"
|
|
3925
4561
|
},
|
|
3926
4562
|
scopedSlots: _vm._u([{
|
|
@@ -3941,7 +4577,7 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_render = function render()
|
|
|
3941
4577
|
}, [_c('el-input', {
|
|
3942
4578
|
attrs: {
|
|
3943
4579
|
"name": "sysCode",
|
|
3944
|
-
"placeholder":
|
|
4580
|
+
"placeholder": _vm.$tx('ecwplat.resRolePermission.fields.tarSystemCodeEnter', '请输入新菜单目标系统代码')
|
|
3945
4581
|
},
|
|
3946
4582
|
model: {
|
|
3947
4583
|
value: _vm.newMenu.sysCode,
|
|
@@ -3952,12 +4588,19 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_render = function render()
|
|
|
3952
4588
|
}
|
|
3953
4589
|
})], 1)];
|
|
3954
4590
|
}
|
|
3955
|
-
}], null, false,
|
|
4591
|
+
}], null, false, 3917819172)
|
|
3956
4592
|
})], 1)]), _c('tr', [_c('td', {
|
|
3957
4593
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
3958
4594
|
}, [_c('span', {
|
|
3959
4595
|
staticClass: "required"
|
|
3960
|
-
}, [_vm._v("*")]),
|
|
4596
|
+
}, [_vm._v("*")]), _c('span', {
|
|
4597
|
+
directives: [{
|
|
4598
|
+
name: "field-lbl",
|
|
4599
|
+
rawName: "v-field-lbl",
|
|
4600
|
+
value: 'newMenu',
|
|
4601
|
+
expression: "'newMenu'"
|
|
4602
|
+
}]
|
|
4603
|
+
}, [_vm._v("新菜单名称")])]), _c('td', {
|
|
3961
4604
|
staticClass: "el-table__cell tdcont tdw83",
|
|
3962
4605
|
attrs: {
|
|
3963
4606
|
"colspan": "3"
|
|
@@ -3965,7 +4608,7 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_render = function render()
|
|
|
3965
4608
|
}, [_c('ValidationProvider', {
|
|
3966
4609
|
ref: "ValidationProvider",
|
|
3967
4610
|
attrs: {
|
|
3968
|
-
"name":
|
|
4611
|
+
"name": _vm.$tx('ecwplat.resRolePermission.fields.newMenu', '新菜单名称'),
|
|
3969
4612
|
"rules": "required"
|
|
3970
4613
|
},
|
|
3971
4614
|
scopedSlots: _vm._u([{
|
|
@@ -3986,7 +4629,7 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_render = function render()
|
|
|
3986
4629
|
}, [_c('el-input', {
|
|
3987
4630
|
attrs: {
|
|
3988
4631
|
"name": "newName",
|
|
3989
|
-
"placeholder":
|
|
4632
|
+
"placeholder": _vm.$tx('ecwplat.resRolePermission.fields.newMenuEnter', '请输入新菜单名称')
|
|
3990
4633
|
},
|
|
3991
4634
|
model: {
|
|
3992
4635
|
value: _vm.newMenu.newName,
|
|
@@ -3997,12 +4640,19 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_render = function render()
|
|
|
3997
4640
|
}
|
|
3998
4641
|
})], 1)];
|
|
3999
4642
|
}
|
|
4000
|
-
}], null, false,
|
|
4643
|
+
}], null, false, 2916623158)
|
|
4001
4644
|
})], 1)]), _c('tr', [_c('td', {
|
|
4002
4645
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
4003
4646
|
}, [_vm.srcMenu.sysCode == _vm.newMenu.sysCode ? _c('span', {
|
|
4004
4647
|
staticClass: "required"
|
|
4005
|
-
}, [_vm._v("*")]) : _vm._e(),
|
|
4648
|
+
}, [_vm._v("*")]) : _vm._e(), _c('span', {
|
|
4649
|
+
directives: [{
|
|
4650
|
+
name: "field-lbl",
|
|
4651
|
+
rawName: "v-field-lbl",
|
|
4652
|
+
value: 'replaceForm',
|
|
4653
|
+
expression: "'replaceForm'"
|
|
4654
|
+
}]
|
|
4655
|
+
}, [_vm._v("菜单代码替换From")])]), _c('td', {
|
|
4006
4656
|
staticClass: "el-table__cell tdcont tdw83",
|
|
4007
4657
|
attrs: {
|
|
4008
4658
|
"colspan": "3"
|
|
@@ -4010,7 +4660,7 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_render = function render()
|
|
|
4010
4660
|
}, [_c('el-input', {
|
|
4011
4661
|
attrs: {
|
|
4012
4662
|
"name": "replaceFrom",
|
|
4013
|
-
"placeholder":
|
|
4663
|
+
"placeholder": _vm.$tx('ecwplat.resRolePermission.fields.replaceFormKey', '请输入菜单代码替换From关键词')
|
|
4014
4664
|
},
|
|
4015
4665
|
on: {
|
|
4016
4666
|
"input": function input($event) {
|
|
@@ -4028,7 +4678,14 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_render = function render()
|
|
|
4028
4678
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
4029
4679
|
}, [_vm.srcMenu.sysCode == _vm.newMenu.sysCode ? _c('span', {
|
|
4030
4680
|
staticClass: "required"
|
|
4031
|
-
}, [_vm._v("*")]) : _vm._e(),
|
|
4681
|
+
}, [_vm._v("*")]) : _vm._e(), _c('span', {
|
|
4682
|
+
directives: [{
|
|
4683
|
+
name: "field-lbl",
|
|
4684
|
+
rawName: "v-field-lbl",
|
|
4685
|
+
value: 'replaceTo',
|
|
4686
|
+
expression: "'replaceTo'"
|
|
4687
|
+
}]
|
|
4688
|
+
}, [_vm._v("菜单代码替换To")])]), _c('td', {
|
|
4032
4689
|
staticClass: "el-table__cell tdcont tdw83",
|
|
4033
4690
|
attrs: {
|
|
4034
4691
|
"colspan": "3"
|
|
@@ -4036,7 +4693,7 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_render = function render()
|
|
|
4036
4693
|
}, [_c('el-input', {
|
|
4037
4694
|
attrs: {
|
|
4038
4695
|
"name": "replaceTo",
|
|
4039
|
-
"placeholder":
|
|
4696
|
+
"placeholder": _vm.$tx('ecwplat.resRolePermission.fields.replaceToKey', '请输入菜单代码替换To关键词')
|
|
4040
4697
|
},
|
|
4041
4698
|
on: {
|
|
4042
4699
|
"input": function input($event) {
|
|
@@ -4057,6 +4714,12 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_render = function render()
|
|
|
4057
4714
|
},
|
|
4058
4715
|
slot: "footer"
|
|
4059
4716
|
}, [_c('el-button', {
|
|
4717
|
+
directives: [{
|
|
4718
|
+
name: "pageBtns-lbl",
|
|
4719
|
+
rawName: "v-pageBtns-lbl",
|
|
4720
|
+
value: 'pageBtns.close',
|
|
4721
|
+
expression: "'pageBtns.close'"
|
|
4722
|
+
}],
|
|
4060
4723
|
attrs: {
|
|
4061
4724
|
"plain": "",
|
|
4062
4725
|
"icon": "el-icon-close"
|
|
@@ -4065,6 +4728,12 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_render = function render()
|
|
|
4065
4728
|
"click": _vm.closeDialog
|
|
4066
4729
|
}
|
|
4067
4730
|
}, [_vm._v("关 闭")]), _c('el-button', {
|
|
4731
|
+
directives: [{
|
|
4732
|
+
name: "pageBtns-lbl",
|
|
4733
|
+
rawName: "v-pageBtns-lbl",
|
|
4734
|
+
value: 'pageBtns.save',
|
|
4735
|
+
expression: "'pageBtns.save'"
|
|
4736
|
+
}],
|
|
4068
4737
|
attrs: {
|
|
4069
4738
|
"type": "primary",
|
|
4070
4739
|
"icon": "el-icon-check"
|
|
@@ -4074,7 +4743,7 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_render = function render()
|
|
|
4074
4743
|
}
|
|
4075
4744
|
}, [_vm._v("保 存")])], 1)], 1) : _vm._e();
|
|
4076
4745
|
};
|
|
4077
|
-
var
|
|
4746
|
+
var CopyMenuvue_type_template_id_46cffb18_scoped_true_staticRenderFns = [];
|
|
4078
4747
|
|
|
4079
4748
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplat/Module/src/CopyMenu.vue?vue&type=script&lang=js
|
|
4080
4749
|
/* harmony default export */ var CopyMenuvue_type_script_lang_js = ({
|
|
@@ -4090,6 +4759,8 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_staticRenderFns = [];
|
|
|
4090
4759
|
},
|
|
4091
4760
|
data: function data() {
|
|
4092
4761
|
return {
|
|
4762
|
+
i18npkg: 'base',
|
|
4763
|
+
moduleCode: 'resRolePermission',
|
|
4093
4764
|
srcMenu: {},
|
|
4094
4765
|
newMenu: {},
|
|
4095
4766
|
moduleInfo: {},
|
|
@@ -4126,19 +4797,19 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_staticRenderFns = [];
|
|
|
4126
4797
|
this.formValidate(function () {
|
|
4127
4798
|
if (_this2.srcMenu.sysCode === _this2.newMenu.sysCode) {
|
|
4128
4799
|
if (_this2.srcMenu.name === _this2.newMenu.newName) {
|
|
4129
|
-
_this2.$alert('同一系统,新菜单名称不能与当前菜单相同', '操作提示', {
|
|
4800
|
+
_this2.$alert(_this2.$tx('ecwplat.resRolePermission.replaceMenu', '同一系统,新菜单名称不能与当前菜单相同'), _this2.$tx('common.operationTip', '操作提示'), {
|
|
4130
4801
|
type: 'warning'
|
|
4131
4802
|
});
|
|
4132
4803
|
return;
|
|
4133
4804
|
}
|
|
4134
4805
|
if (_this2.newMenu.replaceFrom === '') {
|
|
4135
|
-
_this2.$alert('同一系统,必须输入菜单代码替换From关键词', '操作提示', {
|
|
4806
|
+
_this2.$alert(_this2.$tx('ecwplat.resRolePermission.replaceMenuForm', '同一系统,必须输入菜单代码替换From关键词'), _this2.$tx('common.operationTip', '操作提示'), {
|
|
4136
4807
|
type: 'warning'
|
|
4137
4808
|
});
|
|
4138
4809
|
return;
|
|
4139
4810
|
}
|
|
4140
4811
|
if (_this2.newMenu.replaceTo === '') {
|
|
4141
|
-
_this2.$alert('同一系统,必须输入菜单代码替换To关键词', '操作提示', {
|
|
4812
|
+
_this2.$alert(_this2.$tx('ecwplat.resRolePermission.replaceMenuTo', '同一系统,必须输入菜单代码替换To关键词'), _this2.$tx('common.operationTip', '操作提示'), {
|
|
4142
4813
|
type: 'warning'
|
|
4143
4814
|
});
|
|
4144
4815
|
return;
|
|
@@ -4161,7 +4832,9 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_staticRenderFns = [];
|
|
|
4161
4832
|
|
|
4162
4833
|
// 更新模块菜单树
|
|
4163
4834
|
_this2.$emit('refreshTreeData', res.body.listdata);
|
|
4164
|
-
_this2.$alert('
|
|
4835
|
+
_this2.$alert(_this2.$tx('ecwplat.resRolePermission.replaceSuccess', {
|
|
4836
|
+
newName: pname + _this2.newMenu.newName
|
|
4837
|
+
}, '复制成功,新菜单名称为:{newName}'), {
|
|
4165
4838
|
type: 'success'
|
|
4166
4839
|
});
|
|
4167
4840
|
_this2.closeDialog();
|
|
@@ -4194,18 +4867,18 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_staticRenderFns = [];
|
|
|
4194
4867
|
;
|
|
4195
4868
|
var CopyMenu_component = (0,componentNormalizer/* default */.A)(
|
|
4196
4869
|
src_CopyMenuvue_type_script_lang_js,
|
|
4197
|
-
|
|
4198
|
-
|
|
4870
|
+
CopyMenuvue_type_template_id_46cffb18_scoped_true_render,
|
|
4871
|
+
CopyMenuvue_type_template_id_46cffb18_scoped_true_staticRenderFns,
|
|
4199
4872
|
false,
|
|
4200
4873
|
null,
|
|
4201
|
-
"
|
|
4874
|
+
"46cffb18",
|
|
4202
4875
|
null
|
|
4203
4876
|
|
|
4204
4877
|
)
|
|
4205
4878
|
|
|
4206
4879
|
/* harmony default export */ var CopyMenu = (CopyMenu_component.exports);
|
|
4207
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplat/Module/src/ModuleMenu.vue?vue&type=template&id=
|
|
4208
|
-
var
|
|
4880
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplat/Module/src/ModuleMenu.vue?vue&type=template&id=ef821778&scoped=true
|
|
4881
|
+
var ModuleMenuvue_type_template_id_ef821778_scoped_true_render = function render() {
|
|
4209
4882
|
var _vm = this,
|
|
4210
4883
|
_c = _vm._self._c;
|
|
4211
4884
|
return _c('div', [_c('PageContent', {
|
|
@@ -4224,6 +4897,12 @@ var ModuleMenuvue_type_template_id_377bfc6f_scoped_true_render = function render
|
|
|
4224
4897
|
},
|
|
4225
4898
|
slot: "footer"
|
|
4226
4899
|
}, [_c('el-button', {
|
|
4900
|
+
directives: [{
|
|
4901
|
+
name: "pageBtn-lbl",
|
|
4902
|
+
rawName: "v-pageBtn-lbl",
|
|
4903
|
+
value: 'ecwplat.PageBtns.addSubmenu',
|
|
4904
|
+
expression: "'ecwplat.PageBtns.addSubmenu'"
|
|
4905
|
+
}],
|
|
4227
4906
|
attrs: {
|
|
4228
4907
|
"plain": "",
|
|
4229
4908
|
"icon": "el-icon-plus"
|
|
@@ -4234,6 +4913,12 @@ var ModuleMenuvue_type_template_id_377bfc6f_scoped_true_render = function render
|
|
|
4234
4913
|
}
|
|
4235
4914
|
}
|
|
4236
4915
|
}, [_vm._v("新增子菜单")]), _vm.sys != null && _vm.sys.passenger && _vm.sys.passenger.workflow !== 0 && _vm.vo.moduleLevel <= 2 ? _c('el-button', {
|
|
4916
|
+
directives: [{
|
|
4917
|
+
name: "pageBtn-lbl",
|
|
4918
|
+
rawName: "v-pageBtn-lbl",
|
|
4919
|
+
value: 'ecwplat.PageBtns.addApprMenu',
|
|
4920
|
+
expression: "'ecwplat.PageBtns.addApprMenu'"
|
|
4921
|
+
}],
|
|
4237
4922
|
attrs: {
|
|
4238
4923
|
"plain": "",
|
|
4239
4924
|
"icon": "el-icon-plus"
|
|
@@ -4244,6 +4929,12 @@ var ModuleMenuvue_type_template_id_377bfc6f_scoped_true_render = function render
|
|
|
4244
4929
|
}
|
|
4245
4930
|
}
|
|
4246
4931
|
}, [_vm._v("新增审批菜单组")]) : _vm._e(), _c('el-button', {
|
|
4932
|
+
directives: [{
|
|
4933
|
+
name: "pageBtn-lbl",
|
|
4934
|
+
rawName: "v-pageBtn-lbl",
|
|
4935
|
+
value: 'ecwplat.PageBtns.modifyMenu',
|
|
4936
|
+
expression: "'ecwplat.PageBtns.modifyMenu'"
|
|
4937
|
+
}],
|
|
4247
4938
|
attrs: {
|
|
4248
4939
|
"plain": "",
|
|
4249
4940
|
"icon": "el-icon-edit"
|
|
@@ -4252,6 +4943,12 @@ var ModuleMenuvue_type_template_id_377bfc6f_scoped_true_render = function render
|
|
|
4252
4943
|
"click": _vm.editMenu
|
|
4253
4944
|
}
|
|
4254
4945
|
}, [_vm._v("修改菜单")]), _c('el-button', {
|
|
4946
|
+
directives: [{
|
|
4947
|
+
name: "pageBtn-lbl",
|
|
4948
|
+
rawName: "v-pageBtn-lbl",
|
|
4949
|
+
value: 'ecwplat.PageBtns.copyMenu',
|
|
4950
|
+
expression: "'ecwplat.PageBtns.copyMenu'"
|
|
4951
|
+
}],
|
|
4255
4952
|
attrs: {
|
|
4256
4953
|
"plain": "",
|
|
4257
4954
|
"icon": "el-icon-document-copy"
|
|
@@ -4260,6 +4957,12 @@ var ModuleMenuvue_type_template_id_377bfc6f_scoped_true_render = function render
|
|
|
4260
4957
|
"click": _vm.copyMenu
|
|
4261
4958
|
}
|
|
4262
4959
|
}, [_vm._v("复制菜单")]), _c('el-button', {
|
|
4960
|
+
directives: [{
|
|
4961
|
+
name: "pageBtn-lbl",
|
|
4962
|
+
rawName: "v-pageBtn-lbl",
|
|
4963
|
+
value: 'ecwplat.PageBtns.exportMenu',
|
|
4964
|
+
expression: "'ecwplat.PageBtns.exportMenu'"
|
|
4965
|
+
}],
|
|
4263
4966
|
attrs: {
|
|
4264
4967
|
"plain": "",
|
|
4265
4968
|
"icon": "el-icon-top-right"
|
|
@@ -4268,6 +4971,12 @@ var ModuleMenuvue_type_template_id_377bfc6f_scoped_true_render = function render
|
|
|
4268
4971
|
"click": _vm.exportMenu
|
|
4269
4972
|
}
|
|
4270
4973
|
}, [_vm._v("导出菜单")]), _c('el-button', {
|
|
4974
|
+
directives: [{
|
|
4975
|
+
name: "pageBtn-lbl",
|
|
4976
|
+
rawName: "v-pageBtn-lbl",
|
|
4977
|
+
value: 'ecwplat.PageBtns.importMenu',
|
|
4978
|
+
expression: "'ecwplat.PageBtns.importMenu'"
|
|
4979
|
+
}],
|
|
4271
4980
|
attrs: {
|
|
4272
4981
|
"plain": "",
|
|
4273
4982
|
"icon": "el-icon-bottom-right"
|
|
@@ -4299,10 +5008,10 @@ var ModuleMenuvue_type_template_id_377bfc6f_scoped_true_render = function render
|
|
|
4299
5008
|
}
|
|
4300
5009
|
})];
|
|
4301
5010
|
}
|
|
4302
|
-
}], null, false,
|
|
5011
|
+
}], null, false, 440819207)
|
|
4303
5012
|
}) : _vm._e(), _c('ExportModuleCode'), _c('ImportModuleCode')], 1);
|
|
4304
5013
|
};
|
|
4305
|
-
var
|
|
5014
|
+
var ModuleMenuvue_type_template_id_ef821778_scoped_true_staticRenderFns = [];
|
|
4306
5015
|
|
|
4307
5016
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplat/Module/src/ModuleMenu.vue?vue&type=script&lang=js
|
|
4308
5017
|
|
|
@@ -4333,7 +5042,9 @@ var ModuleMenuvue_type_template_id_377bfc6f_scoped_true_staticRenderFns = [];
|
|
|
4333
5042
|
},
|
|
4334
5043
|
data: function data() {
|
|
4335
5044
|
return {
|
|
4336
|
-
|
|
5045
|
+
i18npkg: 'base',
|
|
5046
|
+
moduleCode: 'meunItem',
|
|
5047
|
+
title: this.vo.moduleLevel === 1 ? this.$tx('ecwplat.Common.columnMenuConfiguration', '栏目菜单配置') : this.$tx('ecwplat.Common.leftMenuConfiguration', '左导航菜单配置'),
|
|
4337
5048
|
moduleInfo: {
|
|
4338
5049
|
moduleCode: 'Module',
|
|
4339
5050
|
addNewUrl: 'base/menuMgr/addNew',
|
|
@@ -4381,12 +5092,16 @@ var ModuleMenuvue_type_template_id_377bfc6f_scoped_true_staticRenderFns = [];
|
|
|
4381
5092
|
addMenu: function addMenu(menuType) {
|
|
4382
5093
|
this.newMenuType = menuType;
|
|
4383
5094
|
if (this.vo.moduleLevel > 1 && this.vo.leafFlag !== 0) {
|
|
4384
|
-
this.$alert(this.
|
|
5095
|
+
this.$alert(this.$tx('ecwplat.meunItem.menuTip', {
|
|
5096
|
+
voName: this.vo.name
|
|
5097
|
+
}, '{voName}不是文件夹菜单,不能创建子菜单。'), {
|
|
4385
5098
|
type: 'warning'
|
|
4386
5099
|
});
|
|
4387
5100
|
return;
|
|
4388
5101
|
} else if (this.vo.passenger.disallowAddSubMenu) {
|
|
4389
|
-
this.$alert(this.
|
|
5102
|
+
this.$alert(this.$tx('ecwplat.meunItem.notAllMenu', {
|
|
5103
|
+
voName: this.vo.name
|
|
5104
|
+
}, '{voName}下不允许创建子菜单。'), {
|
|
4390
5105
|
type: 'warning'
|
|
4391
5106
|
});
|
|
4392
5107
|
return;
|
|
@@ -4411,9 +5126,13 @@ var ModuleMenuvue_type_template_id_377bfc6f_scoped_true_staticRenderFns = [];
|
|
|
4411
5126
|
},
|
|
4412
5127
|
deleteMenu: function deleteMenu(node) {
|
|
4413
5128
|
var _this2 = this;
|
|
4414
|
-
var confirmMsg = '
|
|
5129
|
+
var confirmMsg = this.$tx('ecwplat.meunItem.delMenu', {
|
|
5130
|
+
nodeName: node.name
|
|
5131
|
+
}, '确认删除“{nodeName}"吗?');
|
|
4415
5132
|
if (node.children && node.children.length > 0) {
|
|
4416
|
-
confirmMsg = '
|
|
5133
|
+
confirmMsg = this.$tx('ecwplat.meunItem.isDelMenu', {
|
|
5134
|
+
nodeName: node.name
|
|
5135
|
+
}, '确认删除“{nodeName}”及下级全部子菜单吗?');
|
|
4417
5136
|
}
|
|
4418
5137
|
this.$confirm(confirmMsg, {
|
|
4419
5138
|
type: 'warning'
|
|
@@ -4461,12 +5180,12 @@ var ModuleMenuvue_type_template_id_377bfc6f_scoped_true_staticRenderFns = [];
|
|
|
4461
5180
|
}
|
|
4462
5181
|
var dataScopeList = [{
|
|
4463
5182
|
value: 'menus',
|
|
4464
|
-
text: '模块菜单'
|
|
5183
|
+
text: this.$tx('ecwplat.Common.moduleMenu', '模块菜单')
|
|
4465
5184
|
}, {
|
|
4466
5185
|
value: 'rolePermissions',
|
|
4467
|
-
text: '角色授权'
|
|
5186
|
+
text: this.$tx('ecwplat.Common.role', '角色授权')
|
|
4468
5187
|
}];
|
|
4469
|
-
this.$bus.emit('openExportModuleDialog', '
|
|
5188
|
+
this.$bus.emit('openExportModuleDialog', this.$tx('ecwplat.PageBtns.exportMenu', '导出菜单'), dataScopeList, function (rst) {
|
|
4470
5189
|
if (rst.code === 'success') {
|
|
4471
5190
|
var params = rst.value;
|
|
4472
5191
|
params.menuName = menuName;
|
|
@@ -4479,7 +5198,7 @@ var ModuleMenuvue_type_template_id_377bfc6f_scoped_true_staticRenderFns = [];
|
|
|
4479
5198
|
}).then(function (res) {
|
|
4480
5199
|
if (res.code === 'success') {
|
|
4481
5200
|
var downloadUrl = '<br/>下载代码:<a href="' + "/apigw" + '/' + res.body.zipurl + '" target="_blank">' + res.body.zipname + '</a>';
|
|
4482
|
-
_this3.$alert(res.message + downloadUrl, '操作提示', {
|
|
5201
|
+
_this3.$alert(res.message + downloadUrl, _this3.$tx('common.operationTip', '操作提示'), {
|
|
4483
5202
|
type: 'success',
|
|
4484
5203
|
dangerouslyUseHTMLString: true
|
|
4485
5204
|
});
|
|
@@ -4490,19 +5209,19 @@ var ModuleMenuvue_type_template_id_377bfc6f_scoped_true_staticRenderFns = [];
|
|
|
4490
5209
|
}
|
|
4491
5210
|
});
|
|
4492
5211
|
}
|
|
4493
|
-
}, null, null, '请选择目标数据库类型:');
|
|
5212
|
+
}, null, null, this.$tx('ecwplat.Common.selectSqlType', '请选择目标数据库类型:'));
|
|
4494
5213
|
},
|
|
4495
5214
|
importMenu: function importMenu() {
|
|
4496
5215
|
var _this4 = this;
|
|
4497
|
-
this.$bus.emit('openImportModuleDialog', '模块菜单', '/base/codeGenerate/importModuleMenu?parentId=' + this.vo.id, function (rst) {
|
|
5216
|
+
this.$bus.emit('openImportModuleDialog', this.$tx('ecwplat.Common.moduleMenu', '模块菜单'), '/base/codeGenerate/importModuleMenu?parentId=' + this.vo.id, function (rst) {
|
|
4498
5217
|
if (rst.code === 'success') {
|
|
4499
5218
|
_this4.$vnode.context.loadSysSetup(_this4.vo.orgCode);
|
|
4500
5219
|
}
|
|
4501
5220
|
});
|
|
4502
5221
|
},
|
|
4503
5222
|
/**
|
|
4504
|
-
|
|
4505
|
-
|
|
5223
|
+
* 表单打开检查,vo为已加载moduleMenu对象,允许打开:defer.resolve(true),阻止打开:defer.reject(reason)
|
|
5224
|
+
*/
|
|
4506
5225
|
onBasicFormBeforeOpen: function onBasicFormBeforeOpen($scope, vo, defer) {
|
|
4507
5226
|
if (false) {}
|
|
4508
5227
|
var pname = '';
|
|
@@ -4530,7 +5249,7 @@ var ModuleMenuvue_type_template_id_377bfc6f_scoped_true_staticRenderFns = [];
|
|
|
4530
5249
|
},
|
|
4531
5250
|
/**
|
|
4532
5251
|
* 表单打开完成,vo为已加载的moduleMenu对象,前端页面dom对象已完成初始化、已经呈现,不需要返回值
|
|
4533
|
-
|
|
5252
|
+
*/
|
|
4534
5253
|
onBasicFormOpened: function onBasicFormOpened($scope, vo) {
|
|
4535
5254
|
if (false) {}
|
|
4536
5255
|
},
|
|
@@ -4553,8 +5272,8 @@ var ModuleMenuvue_type_template_id_377bfc6f_scoped_true_staticRenderFns = [];
|
|
|
4553
5272
|
defer.resolve(true);
|
|
4554
5273
|
},
|
|
4555
5274
|
/**
|
|
4556
|
-
|
|
4557
|
-
|
|
5275
|
+
* 表单提交完成,vo为已保存成功的moduleMenu对象,窗口即将关闭,不需要返回值
|
|
5276
|
+
*/
|
|
4558
5277
|
onBasicFormSubmited: function onBasicFormSubmited($scope, vo) {
|
|
4559
5278
|
if (false) {}
|
|
4560
5279
|
if (vo.pId === undefined || vo.pId === null) {
|
|
@@ -4594,11 +5313,11 @@ var ModuleMenuvue_type_template_id_377bfc6f_scoped_true_staticRenderFns = [];
|
|
|
4594
5313
|
;
|
|
4595
5314
|
var ModuleMenu_component = (0,componentNormalizer/* default */.A)(
|
|
4596
5315
|
src_ModuleMenuvue_type_script_lang_js,
|
|
4597
|
-
|
|
4598
|
-
|
|
5316
|
+
ModuleMenuvue_type_template_id_ef821778_scoped_true_render,
|
|
5317
|
+
ModuleMenuvue_type_template_id_ef821778_scoped_true_staticRenderFns,
|
|
4599
5318
|
false,
|
|
4600
5319
|
null,
|
|
4601
|
-
"
|
|
5320
|
+
"ef821778",
|
|
4602
5321
|
null
|
|
4603
5322
|
|
|
4604
5323
|
)
|
|
@@ -4734,6 +5453,10 @@ var Module_CopyMenu = (/* unused pure expression or super */ null && ($CopyMenu)
|
|
|
4734
5453
|
var Module_ModuleMenu = (/* unused pure expression or super */ null && ($ModuleMenu));
|
|
4735
5454
|
var Module_FrameLoader = FrameLoader;
|
|
4736
5455
|
;// CONCATENATED MODULE: ./packages/common/store/modules/wapp/route.js
|
|
5456
|
+
function route_typeof(o) { "@babel/helpers - typeof"; return route_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, route_typeof(o); }
|
|
5457
|
+
function route_defineProperty(e, r, t) { return (r = route_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
5458
|
+
function route_toPropertyKey(t) { var i = route_toPrimitive(t, "string"); return "symbol" == route_typeof(i) ? i : i + ""; }
|
|
5459
|
+
function route_toPrimitive(t, r) { if ("object" != route_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != route_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
4737
5460
|
var defaultSettings = __webpack_require__(3844);
|
|
4738
5461
|
var showTopMenus = defaultSettings.showTopMenus.showTopMenus;
|
|
4739
5462
|
|
|
@@ -4760,11 +5483,11 @@ var actions = {
|
|
|
4760
5483
|
if (item.href && (item.href.substring(0, 2) === '@/' || item.href.substring(0, 10) === '#/dcontent') && item.target === '_top') {
|
|
4761
5484
|
view = window.$loadComponent(item.href);
|
|
4762
5485
|
}
|
|
4763
|
-
var route = convertToRoute(view, item, null, null);
|
|
5486
|
+
var route = convertToRoute(view, item, null, null, null);
|
|
4764
5487
|
accessedRoutes.push(route);
|
|
4765
5488
|
|
|
4766
5489
|
// if (item.leafFlag === 0) {
|
|
4767
|
-
var children = findChildrenRoute(view, response.body.listdata, item, null);
|
|
5490
|
+
var children = findChildrenRoute(view, response.body.listdata, item, null, null);
|
|
4768
5491
|
accessedRoutes = accessedRoutes.concat(children);
|
|
4769
5492
|
// }
|
|
4770
5493
|
});
|
|
@@ -4794,7 +5517,7 @@ function loadWappRoutes(accessedRoutes, wappRoutes) {
|
|
|
4794
5517
|
}
|
|
4795
5518
|
});
|
|
4796
5519
|
}
|
|
4797
|
-
function findChildrenRoute(layout, allm, menuItem, parentIconCode, parentTitle) {
|
|
5520
|
+
function findChildrenRoute(layout, allm, menuItem, parentIconCode, parentTitle, parentI18nCode) {
|
|
4798
5521
|
var children = [];
|
|
4799
5522
|
var childs = allm.filter(function (item) {
|
|
4800
5523
|
if (item.parentId === menuItem.id) return true;
|
|
@@ -4805,13 +5528,14 @@ function findChildrenRoute(layout, allm, menuItem, parentIconCode, parentTitle)
|
|
|
4805
5528
|
}
|
|
4806
5529
|
if (item.moduleLevel === 3) {
|
|
4807
5530
|
parentTitle = item.name;
|
|
5531
|
+
parentI18nCode = (item.i18nCode || item.code).replace('.svg', '');
|
|
4808
5532
|
} else if (item.moduleLevel === 4 && !item.target) {
|
|
4809
5533
|
item.target = 'rightLabel';
|
|
4810
5534
|
}
|
|
4811
|
-
var route = convertToRoute(layout, item, parentIconCode, parentTitle);
|
|
5535
|
+
var route = convertToRoute(layout, item, parentIconCode, parentTitle, parentI18nCode);
|
|
4812
5536
|
route.meta.parentTarget = menuItem.target;
|
|
4813
5537
|
if (item.leafFlag === 0) {
|
|
4814
|
-
route.children = findChildrenRoute(layout, allm, item, parentIconCode, parentTitle);
|
|
5538
|
+
route.children = findChildrenRoute(layout, allm, item, parentIconCode, parentTitle, parentI18nCode);
|
|
4815
5539
|
if ((item.target === 'rightLabel' || item.moduleLevel >= 3 && item.target !== 'leftMenuItem') && route.children.length > 0) {
|
|
4816
5540
|
route.children.forEach(function (child, index) {
|
|
4817
5541
|
child.hidden = true;
|
|
@@ -4833,7 +5557,8 @@ function findChildrenRoute(layout, allm, menuItem, parentIconCode, parentTitle)
|
|
|
4833
5557
|
});
|
|
4834
5558
|
return children;
|
|
4835
5559
|
}
|
|
4836
|
-
function convertToRoute(layout, menuItem, parentIconCode, parentTitle) {
|
|
5560
|
+
function convertToRoute(layout, menuItem, parentIconCode, parentTitle, parentI18nCode) {
|
|
5561
|
+
var _meta;
|
|
4837
5562
|
var isHidden = false;
|
|
4838
5563
|
var itemPath = '/lm/' + menuItem.id;
|
|
4839
5564
|
var iconCode = menuItem.code;
|
|
@@ -4895,28 +5620,15 @@ function convertToRoute(layout, menuItem, parentIconCode, parentTitle) {
|
|
|
4895
5620
|
alias: menuItem.name,
|
|
4896
5621
|
hidden: isHidden,
|
|
4897
5622
|
alwaysShow: menuItem.moduleLevel === 2 && menuItem.leafFlag === 0 && menuItem.target !== 'rightLabel',
|
|
4898
|
-
meta: {
|
|
5623
|
+
meta: (_meta = {
|
|
4899
5624
|
id: menuItem.id,
|
|
4900
5625
|
title: menuItem.name,
|
|
4901
5626
|
description: menuItem.description,
|
|
4902
5627
|
i18nCode: menuItem.i18nCode,
|
|
4903
5628
|
busiType: menuItem.busiType,
|
|
4904
5629
|
icon: iconCode,
|
|
4905
|
-
code: menuItem.code
|
|
4906
|
-
|
|
4907
|
-
topFlag: menuItem.topFlag,
|
|
4908
|
-
href: href,
|
|
4909
|
-
target: menuItem.target,
|
|
4910
|
-
params: params,
|
|
4911
|
-
parentId: menuItem.parentId,
|
|
4912
|
-
parentIconCode: parentIconCode,
|
|
4913
|
-
parentTitle: parentTitle,
|
|
4914
|
-
activeMenu: activeMenu,
|
|
4915
|
-
wfName: menuItem.wfName,
|
|
4916
|
-
wfNodeName: menuItem.wfNodeName,
|
|
4917
|
-
wfEngineUrl: menuItem.wfEngineUrl,
|
|
4918
|
-
sysCode: menuItem.sysCode
|
|
4919
|
-
}
|
|
5630
|
+
code: menuItem.code
|
|
5631
|
+
}, route_defineProperty(route_defineProperty(route_defineProperty(route_defineProperty(route_defineProperty(route_defineProperty(route_defineProperty(route_defineProperty(route_defineProperty(route_defineProperty(_meta, "i18nCode", (menuItem.i18nCode || menuItem.code).replace('.svg', '')), "level", menuItem.moduleLevel), "topFlag", menuItem.topFlag), "href", href), "target", menuItem.target), "params", params), "parentId", menuItem.parentId), "parentIconCode", parentIconCode), "parentTitle", parentTitle), "parentI18nCode", parentI18nCode), route_defineProperty(route_defineProperty(route_defineProperty(route_defineProperty(route_defineProperty(_meta, "activeMenu", activeMenu), "wfName", menuItem.wfName), "wfNodeName", menuItem.wfNodeName), "wfEngineUrl", menuItem.wfEngineUrl), "sysCode", menuItem.sysCode))
|
|
4920
5632
|
};
|
|
4921
5633
|
if (menuItem.href && (menuItem.href.substring(0, 2) === '@/' || menuItem.href.substring(0, 11) === '#/dcontent/') && menuItem.moduleLevel <= 2 && (menuItem.target === 'content' || menuItem.target === 'mainpage')) {
|
|
4922
5634
|
route.path = '/lm/' + menuItem.parentId + '/' + menuItem.id;
|
|
@@ -4929,7 +5641,7 @@ function convertToRoute(layout, menuItem, parentIconCode, parentTitle) {
|
|
|
4929
5641
|
meta: {
|
|
4930
5642
|
id: menuItem.id,
|
|
4931
5643
|
title: menuItem.name,
|
|
4932
|
-
i18nCode: menuItem.i18nCode,
|
|
5644
|
+
i18nCode: (menuItem.i18nCode || menuItem.code).replace('.svg', ''),
|
|
4933
5645
|
busiType: menuItem.busiType,
|
|
4934
5646
|
icon: menuItem.code,
|
|
4935
5647
|
level: menuItem.moduleLevel,
|
|
@@ -5281,138 +5993,23 @@ var actions = {
|
|
|
5281
5993
|
|
|
5282
5994
|
/***/ }),
|
|
5283
5995
|
|
|
5284
|
-
/***/
|
|
5996
|
+
/***/ 2732:
|
|
5285
5997
|
/***/ (function(module) {
|
|
5286
5998
|
|
|
5287
5999
|
module.exports = {
|
|
5288
|
-
|
|
5289
|
-
dashboard: 'Dashboard',
|
|
5290
|
-
github: 'Github',
|
|
5291
|
-
logOut: 'Log Out',
|
|
5292
|
-
profile: 'Profile',
|
|
5293
|
-
theme: 'Theme',
|
|
5294
|
-
size: 'Global Size'
|
|
5295
|
-
},
|
|
5296
|
-
menuItem: {
|
|
5297
|
-
portal: 'Portal',
|
|
5298
|
-
console: 'AdminConsole'
|
|
5299
|
-
},
|
|
5300
|
-
user: {
|
|
5301
|
-
formTitle: 'User',
|
|
5302
|
-
fields: {}
|
|
5303
|
-
},
|
|
5304
|
-
paramConfig: {
|
|
5305
|
-
formTitle: 'Param Config',
|
|
5306
|
-
fields: {
|
|
5307
|
-
paramName: 'Parameter name',
|
|
5308
|
-
paramValue: 'Parameter value',
|
|
5309
|
-
paramUnit: 'Parameter unit',
|
|
5310
|
-
paramDesc2: 'Parameter desc'
|
|
5311
|
-
}
|
|
5312
|
-
},
|
|
5313
|
-
login: {
|
|
5314
|
-
title: 'Login Form',
|
|
5315
|
-
mobileLogin: 'Mobile',
|
|
5316
|
-
accountLogin: 'Account',
|
|
5317
|
-
logIn: 'Login',
|
|
5318
|
-
usermobile: 'Mobile number',
|
|
5319
|
-
username: 'User account',
|
|
5320
|
-
orgCode: 'Organization code',
|
|
5321
|
-
password: 'Password',
|
|
5322
|
-
kaptcha: 'Kaptcha',
|
|
5323
|
-
forget: 'Forget?',
|
|
5324
|
-
remember: 'Remember',
|
|
5325
|
-
trial: 'No account?Trial account',
|
|
5326
|
-
any: 'any',
|
|
5327
|
-
thirdparty: 'Or connect with',
|
|
5328
|
-
thirdpartyTips: 'Can not be simulated on local, so please combine you own business simulation! ! !'
|
|
5329
|
-
},
|
|
5330
|
-
tagsView: {
|
|
5331
|
-
refresh: 'Refresh',
|
|
5332
|
-
close: 'Close',
|
|
5333
|
-
closeOthers: 'Close Others',
|
|
5334
|
-
closeAll: 'Close All'
|
|
5335
|
-
},
|
|
5336
|
-
settings: {
|
|
5337
|
-
title: 'Page style setting',
|
|
5338
|
-
theme: 'Theme Color',
|
|
5339
|
-
tagsView: 'Open Tags-View',
|
|
5340
|
-
fixedHeader: 'Fixed Header',
|
|
5341
|
-
showTopMenus: 'Open TopMenu'
|
|
5342
|
-
},
|
|
5343
|
-
personalPortal: {
|
|
5344
|
-
MyBoard: 'My Board',
|
|
5345
|
-
CommonApps: 'Common Apps',
|
|
5346
|
-
AppCenter: 'App Center',
|
|
5347
|
-
MySchedule: 'My Schedule',
|
|
5348
|
-
MyProcess: 'My Process',
|
|
5349
|
-
Activities: 'Activities',
|
|
5350
|
-
MoreApp: 'More',
|
|
5351
|
-
MoreSchedule: 'More',
|
|
5352
|
-
More: 'More',
|
|
5353
|
-
MoreProcess: 'ZEEKR Process'
|
|
5354
|
-
},
|
|
5355
|
-
enterprisePortal: {
|
|
5356
|
-
ZghHeadlines: 'ZGH Headlines',
|
|
5357
|
-
ZEEKRHeadlines: 'ZEEKR Headlines',
|
|
5358
|
-
ZGHAnnouncements: 'ZGH Announcements',
|
|
5359
|
-
ZGHAppointments: 'ZGH Appointments',
|
|
5360
|
-
ZGHPolicies: 'ZGH Policies',
|
|
5361
|
-
Announcements: 'ZEEKR Announcements',
|
|
5362
|
-
Appointments: 'ZEEKR Appointments',
|
|
5363
|
-
Policies: 'ZEEKR Policies',
|
|
5364
|
-
ZEEKRHonor: 'ZEEKR HONOR',
|
|
5365
|
-
ZEEKRHonortitle: 'Share Moments Of Glory With You',
|
|
5366
|
-
ZEEKREcology: 'ZEEKR ECOLOGY',
|
|
5367
|
-
ZEEKREcologytitle: 'Create Ultimate Experience In Service Scenarios',
|
|
5368
|
-
ZEEKRCoordinates: 'ZEEKR COORDINATES',
|
|
5369
|
-
ZEEKRCoordinatestitle: 'Explore The Expansion Of Territory In The Information Age',
|
|
5370
|
-
ZEEKRMilestone: 'ZEEKR MILESTONE',
|
|
5371
|
-
ZEEKRMilestonetitle: 'Witness The Growth Of Brand On The Journey Of History'
|
|
5372
|
-
}
|
|
6000
|
+
ecmapp: {}
|
|
5373
6001
|
};
|
|
5374
6002
|
|
|
5375
6003
|
/***/ }),
|
|
5376
6004
|
|
|
5377
|
-
/***/
|
|
6005
|
+
/***/ 8239:
|
|
5378
6006
|
/***/ (function(module) {
|
|
5379
6007
|
|
|
5380
|
-
module.exports = {
|
|
5381
|
-
navbar: {
|
|
5382
|
-
logOut: 'Salir',
|
|
5383
|
-
dashboard: 'Panel de control',
|
|
5384
|
-
github: 'Github',
|
|
5385
|
-
theme: 'Tema',
|
|
5386
|
-
size: 'Tamaño global',
|
|
5387
|
-
profile: 'Profile'
|
|
5388
|
-
},
|
|
5389
|
-
login: {
|
|
5390
|
-
title: 'Formulario de acceso',
|
|
5391
|
-
logIn: 'Acceso',
|
|
5392
|
-
username: 'Usuario',
|
|
5393
|
-
password: 'Contraseña',
|
|
5394
|
-
any: 'nada',
|
|
5395
|
-
thirdparty: 'Conectar con',
|
|
5396
|
-
thirdpartyTips: 'No se puede simular en local, así que combine su propia simulación de negocios. ! !'
|
|
5397
|
-
},
|
|
5398
|
-
tagsView: {
|
|
5399
|
-
refresh: 'Actualizar',
|
|
5400
|
-
close: 'Cerrar',
|
|
5401
|
-
closeOthers: 'Cerrar otros',
|
|
5402
|
-
closeAll: 'Cerrar todos'
|
|
5403
|
-
},
|
|
5404
|
-
settings: {
|
|
5405
|
-
title: 'Page style setting',
|
|
5406
|
-
theme: 'Theme Color',
|
|
5407
|
-
tagsView: 'Open Tags-View',
|
|
5408
|
-
fixedHeader: 'Fixed Header',
|
|
5409
|
-
showTopMenus: 'Open TopMenu'
|
|
5410
|
-
}
|
|
5411
|
-
};
|
|
6008
|
+
module.exports = {};
|
|
5412
6009
|
|
|
5413
6010
|
/***/ }),
|
|
5414
6011
|
|
|
5415
|
-
/***/
|
|
6012
|
+
/***/ 7767:
|
|
5416
6013
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5417
6014
|
|
|
5418
6015
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
@@ -5421,130 +6018,35 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
5421
6018
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
5422
6019
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
5423
6020
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
5424
|
-
var enLocale = __webpack_require__(
|
|
5425
|
-
var zhCNLocale = __webpack_require__(
|
|
5426
|
-
var esLocale = __webpack_require__(
|
|
5427
|
-
var jaLocale = __webpack_require__(
|
|
6021
|
+
var enLocale = __webpack_require__(2732);
|
|
6022
|
+
var zhCNLocale = __webpack_require__(8824);
|
|
6023
|
+
var esLocale = __webpack_require__(8239);
|
|
6024
|
+
var jaLocale = __webpack_require__(7490);
|
|
5428
6025
|
var $messages = {
|
|
5429
6026
|
en: _objectSpread({}, enLocale),
|
|
5430
6027
|
zhCN: _objectSpread({}, zhCNLocale),
|
|
5431
6028
|
es: _objectSpread({}, esLocale),
|
|
5432
6029
|
ja: _objectSpread({}, jaLocale)
|
|
5433
6030
|
};
|
|
6031
|
+
|
|
6032
|
+
// export const messages = $messages
|
|
6033
|
+
|
|
5434
6034
|
module.exports = _objectSpread({}, $messages);
|
|
5435
6035
|
|
|
5436
6036
|
/***/ }),
|
|
5437
6037
|
|
|
5438
|
-
/***/
|
|
6038
|
+
/***/ 7490:
|
|
5439
6039
|
/***/ (function(module) {
|
|
5440
6040
|
|
|
5441
|
-
module.exports = {
|
|
5442
|
-
navbar: {
|
|
5443
|
-
dashboard: 'トップ',
|
|
5444
|
-
github: 'GitHub',
|
|
5445
|
-
logOut: 'ログアウト',
|
|
5446
|
-
profile: 'プロフィール',
|
|
5447
|
-
theme: 'テーマ変更',
|
|
5448
|
-
size: '画面サイズ'
|
|
5449
|
-
},
|
|
5450
|
-
login: {
|
|
5451
|
-
title: 'ユーザログイン',
|
|
5452
|
-
logIn: 'ログイン',
|
|
5453
|
-
username: 'ユーザ名',
|
|
5454
|
-
password: 'パスワード',
|
|
5455
|
-
any: 'password',
|
|
5456
|
-
thirdparty: '外部IDでログイン',
|
|
5457
|
-
thirdpartyTips: 'ローカル環境ではログインできません。実装が必要です。'
|
|
5458
|
-
},
|
|
5459
|
-
tagsView: {
|
|
5460
|
-
refresh: '更新',
|
|
5461
|
-
close: '閉じる',
|
|
5462
|
-
closeOthers: 'その他閉じる',
|
|
5463
|
-
closeAll: 'すべて閉じる'
|
|
5464
|
-
},
|
|
5465
|
-
settings: {
|
|
5466
|
-
title: 'システムテーマ',
|
|
5467
|
-
theme: 'テーマ色',
|
|
5468
|
-
tagsView: 'Tags-View 開く',
|
|
5469
|
-
fixedHeader: 'Fixed Header',
|
|
5470
|
-
showTopMenus: 'TopMenu 開く'
|
|
5471
|
-
}
|
|
5472
|
-
};
|
|
6041
|
+
module.exports = {};
|
|
5473
6042
|
|
|
5474
6043
|
/***/ }),
|
|
5475
6044
|
|
|
5476
|
-
/***/
|
|
6045
|
+
/***/ 8824:
|
|
5477
6046
|
/***/ (function(module) {
|
|
5478
6047
|
|
|
5479
6048
|
module.exports = {
|
|
5480
|
-
|
|
5481
|
-
dashboard: '首页',
|
|
5482
|
-
github: '项目地址',
|
|
5483
|
-
logOut: '退出登录',
|
|
5484
|
-
profile: '个人中心',
|
|
5485
|
-
theme: '换肤',
|
|
5486
|
-
size: '布局大小'
|
|
5487
|
-
},
|
|
5488
|
-
login: {
|
|
5489
|
-
title: '系统登录',
|
|
5490
|
-
mobileLogin: '手机号登录',
|
|
5491
|
-
accountLogin: '账号登录',
|
|
5492
|
-
logIn: '登录',
|
|
5493
|
-
usermobile: '手机号',
|
|
5494
|
-
username: '用户账号',
|
|
5495
|
-
orgCode: '单位编码/机构代码',
|
|
5496
|
-
password: '密码',
|
|
5497
|
-
kaptcha: '验证码',
|
|
5498
|
-
forget: '忘记密码',
|
|
5499
|
-
remember: '记住密码',
|
|
5500
|
-
trial: '申请试用',
|
|
5501
|
-
any: '随便填',
|
|
5502
|
-
thirdparty: '第三方登录',
|
|
5503
|
-
thirdpartyTips: '本地不能模拟,请结合自己业务进行模拟!!!'
|
|
5504
|
-
},
|
|
5505
|
-
tagsView: {
|
|
5506
|
-
refresh: '刷新',
|
|
5507
|
-
close: '关闭',
|
|
5508
|
-
closeOthers: '关闭其它',
|
|
5509
|
-
closeAll: '关闭所有'
|
|
5510
|
-
},
|
|
5511
|
-
settings: {
|
|
5512
|
-
title: '系统布局配置',
|
|
5513
|
-
theme: '主题色',
|
|
5514
|
-
tagsView: '开启 Tags-View',
|
|
5515
|
-
fixedHeader: '固定 Header',
|
|
5516
|
-
showTopMenus: '开启 TopMenu'
|
|
5517
|
-
},
|
|
5518
|
-
personalPortal: {
|
|
5519
|
-
MyBoard: '我的看板',
|
|
5520
|
-
CommonApps: '常用应用',
|
|
5521
|
-
AppCenter: '应用中心',
|
|
5522
|
-
MySchedule: '我的日程',
|
|
5523
|
-
MyProcess: '我的审批流程',
|
|
5524
|
-
Activities: '活动福利',
|
|
5525
|
-
MoreApp: '更多应用',
|
|
5526
|
-
MoreSchedule: '更多日程',
|
|
5527
|
-
More: '更多',
|
|
5528
|
-
MoreProcess: '极氪审批流程'
|
|
5529
|
-
},
|
|
5530
|
-
enterprisePortal: {
|
|
5531
|
-
ZghHeadlines: '控股要闻',
|
|
5532
|
-
ZEEKRHeadlines: '极氪要闻',
|
|
5533
|
-
ZGHAnnouncements: '控股通知',
|
|
5534
|
-
ZGHAppointments: '控股人事',
|
|
5535
|
-
ZGHPolicies: '控股制度',
|
|
5536
|
-
Announcements: '极氪通知',
|
|
5537
|
-
Appointments: '极氪人事',
|
|
5538
|
-
Policies: '极氪制度',
|
|
5539
|
-
ZEEKRHonor: '极氪荣誉',
|
|
5540
|
-
ZEEKRHonortitle: '荣耀时氪与你我共享',
|
|
5541
|
-
ZEEKREcology: '极氪生态',
|
|
5542
|
-
ZEEKREcologytitle: '服务场景打造极致体验',
|
|
5543
|
-
ZEEKRCoordinates: '极氪坐标',
|
|
5544
|
-
ZEEKRCoordinatestitle: '信息时代探索版图扩张',
|
|
5545
|
-
ZEEKRMilestone: '极氪里程碑',
|
|
5546
|
-
ZEEKRMilestonetitle: '历史征途见证品牌成长'
|
|
5547
|
-
}
|
|
6049
|
+
ecmapp: {}
|
|
5548
6050
|
};
|
|
5549
6051
|
|
|
5550
6052
|
/***/ }),
|
|
@@ -6364,7 +6866,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".van-cell__label[data-v-acd37e78]{colo
|
|
|
6364
6866
|
|
|
6365
6867
|
/***/ }),
|
|
6366
6868
|
|
|
6367
|
-
/***/
|
|
6869
|
+
/***/ 2598:
|
|
6368
6870
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6369
6871
|
|
|
6370
6872
|
"use strict";
|
|
@@ -6378,7 +6880,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6378
6880
|
|
|
6379
6881
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
6380
6882
|
// Module
|
|
6381
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".popub-container[data-v-
|
|
6883
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".popub-container[data-v-7fb3465d]{width:100%;height:100%}.popub-container .outer-deputy-selector[data-v-7fb3465d]{background-color:#f8f8ff;padding-top:5px;padding-bottom:5px}.popub-container .outer-deputy-selector[data-v-7fb3465d] .van-field__control{text-align:right}", ""]);
|
|
6382
6884
|
// Exports
|
|
6383
6885
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6384
6886
|
|
|
@@ -6474,7 +6976,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".loading[data-v-6bf27af0]{margin-top:1
|
|
|
6474
6976
|
|
|
6475
6977
|
/***/ }),
|
|
6476
6978
|
|
|
6477
|
-
/***/
|
|
6979
|
+
/***/ 5018:
|
|
6478
6980
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6479
6981
|
|
|
6480
6982
|
"use strict";
|
|
@@ -6488,14 +6990,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6488
6990
|
|
|
6489
6991
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
6490
6992
|
// Module
|
|
6491
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
6993
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-383980ee] .el-dialog__body{height:650px;overflow-y:auto;padding:0 0 20px 0}[data-v-383980ee] .el-dialog__body .el-tabs--top{margin-top:0}", ""]);
|
|
6492
6994
|
// Exports
|
|
6493
6995
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6494
6996
|
|
|
6495
6997
|
|
|
6496
6998
|
/***/ }),
|
|
6497
6999
|
|
|
6498
|
-
/***/
|
|
7000
|
+
/***/ 5736:
|
|
6499
7001
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6500
7002
|
|
|
6501
7003
|
"use strict";
|
|
@@ -6509,7 +7011,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6509
7011
|
|
|
6510
7012
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
6511
7013
|
// Module
|
|
6512
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".dwadmin-initmessage[data-v-
|
|
7014
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".dwadmin-initmessage[data-v-75f36493]{text-align:center;font-size:13px;padding-top:50px}.panel-left[data-v-75f36493] .el-input__inner{border-top:0;border-left:0;border-right:0}.el-switch[data-v-75f36493]{margin:6px 12px}.can-merge-subsys[data-v-75f36493]{border-top:1px solid #f3f3f3;height:calc(100% - 32px)}", ""]);
|
|
6513
7015
|
// Exports
|
|
6514
7016
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6515
7017
|
|
|
@@ -31526,19 +32028,19 @@ var update = add("6cb93832", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
31526
32028
|
|
|
31527
32029
|
/***/ }),
|
|
31528
32030
|
|
|
31529
|
-
/***/
|
|
32031
|
+
/***/ 3101:
|
|
31530
32032
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
31531
32033
|
|
|
31532
32034
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
31533
32035
|
|
|
31534
32036
|
// load the styles
|
|
31535
|
-
var content = __webpack_require__(
|
|
32037
|
+
var content = __webpack_require__(2598);
|
|
31536
32038
|
if(content.__esModule) content = content.default;
|
|
31537
32039
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
31538
32040
|
if(content.locals) module.exports = content.locals;
|
|
31539
32041
|
// add the styles to the DOM
|
|
31540
32042
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
31541
|
-
var update = add("
|
|
32043
|
+
var update = add("3d02eaa4", content, true, {"sourceMap":false,"shadowMode":false});
|
|
31542
32044
|
|
|
31543
32045
|
/***/ }),
|
|
31544
32046
|
|
|
@@ -31606,35 +32108,35 @@ var update = add("68fc3148", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
31606
32108
|
|
|
31607
32109
|
/***/ }),
|
|
31608
32110
|
|
|
31609
|
-
/***/
|
|
32111
|
+
/***/ 2774:
|
|
31610
32112
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
31611
32113
|
|
|
31612
32114
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
31613
32115
|
|
|
31614
32116
|
// load the styles
|
|
31615
|
-
var content = __webpack_require__(
|
|
32117
|
+
var content = __webpack_require__(5018);
|
|
31616
32118
|
if(content.__esModule) content = content.default;
|
|
31617
32119
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
31618
32120
|
if(content.locals) module.exports = content.locals;
|
|
31619
32121
|
// add the styles to the DOM
|
|
31620
32122
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
31621
|
-
var update = add("
|
|
32123
|
+
var update = add("7b9fcb63", content, true, {"sourceMap":false,"shadowMode":false});
|
|
31622
32124
|
|
|
31623
32125
|
/***/ }),
|
|
31624
32126
|
|
|
31625
|
-
/***/
|
|
32127
|
+
/***/ 6188:
|
|
31626
32128
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
31627
32129
|
|
|
31628
32130
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
31629
32131
|
|
|
31630
32132
|
// load the styles
|
|
31631
|
-
var content = __webpack_require__(
|
|
32133
|
+
var content = __webpack_require__(5736);
|
|
31632
32134
|
if(content.__esModule) content = content.default;
|
|
31633
32135
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
31634
32136
|
if(content.locals) module.exports = content.locals;
|
|
31635
32137
|
// add the styles to the DOM
|
|
31636
32138
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
31637
|
-
var update = add("
|
|
32139
|
+
var update = add("8a90f42e", content, true, {"sourceMap":false,"shadowMode":false});
|
|
31638
32140
|
|
|
31639
32141
|
/***/ }),
|
|
31640
32142
|
|
|
@@ -33170,8 +33672,8 @@ webpackContext.id = 2397;
|
|
|
33170
33672
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
33171
33673
|
|
|
33172
33674
|
var map = {
|
|
33173
|
-
"./app.js":
|
|
33174
|
-
"./route.js":
|
|
33675
|
+
"./app.js": 5905,
|
|
33676
|
+
"./route.js": 2700,
|
|
33175
33677
|
"./settings.js": 7577,
|
|
33176
33678
|
"./tagsView.js": 7556
|
|
33177
33679
|
};
|
|
@@ -33374,6 +33876,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
33374
33876
|
__webpack_require__.d(__webpack_exports__, {
|
|
33375
33877
|
"default": function() { return /* binding */ entry_lib; },
|
|
33376
33878
|
httpRequest: function() { return /* reexport */ httpRequest; },
|
|
33879
|
+
lang: function() { return /* reexport */ npmaio_mappaio_lang; },
|
|
33377
33880
|
store: function() { return /* reexport */ mappaio_store; }
|
|
33378
33881
|
});
|
|
33379
33882
|
|
|
@@ -33412,8 +33915,34 @@ if (typeof window !== 'undefined') {
|
|
|
33412
33915
|
// Indicate to webpack that this file can be concatenated
|
|
33413
33916
|
/* harmony default export */ var setPublicPath = (null);
|
|
33414
33917
|
|
|
33415
|
-
|
|
33918
|
+
// EXTERNAL MODULE: ./packages/common/lang/index.js
|
|
33919
|
+
var lang = __webpack_require__(3626);
|
|
33920
|
+
// EXTERNAL MODULE: ./packages/ecmapp/lang/index.js
|
|
33921
|
+
var ecmapp_lang = __webpack_require__(7767);
|
|
33922
|
+
var lang_default = /*#__PURE__*/__webpack_require__.n(ecmapp_lang);
|
|
33923
|
+
;// CONCATENATED MODULE: ./packages/npmaio/mappaio/lang/index.js
|
|
33416
33924
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
33925
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
33926
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
33927
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
33928
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
33929
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
33930
|
+
|
|
33931
|
+
|
|
33932
|
+
var messages = {};
|
|
33933
|
+
messages.en = _objectSpread(_objectSpread({}, lang/* commonMessages */.ot.en), (lang_default()).en);
|
|
33934
|
+
messages.zhCN = _objectSpread(_objectSpread({}, lang/* commonMessages */.ot.zhCN), (lang_default()).zhCN);
|
|
33935
|
+
messages.es = _objectSpread(_objectSpread({}, lang/* commonMessages */.ot.es), (lang_default()).es);
|
|
33936
|
+
messages.ja = _objectSpread(_objectSpread({}, lang/* commonMessages */.ot.ja), (lang_default()).en);
|
|
33937
|
+
var lang_lang = {};
|
|
33938
|
+
lang_lang.aiomessages = messages;
|
|
33939
|
+
lang_lang.generateTitle = lang/* generateTitle */.KS;
|
|
33940
|
+
lang_lang.getPageTitle = lang/* getPageTitle */.wS;
|
|
33941
|
+
lang_lang.getLanguage = lang/* getLanguage */.Z0;
|
|
33942
|
+
lang_lang.$tx = lang/* $tx */.Pc;
|
|
33943
|
+
/* harmony default export */ var mappaio_lang = (lang_lang);
|
|
33944
|
+
;// CONCATENATED MODULE: ./src/global/utils/index.js
|
|
33945
|
+
function utils_typeof(o) { "@babel/helpers - typeof"; return utils_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, utils_typeof(o); }
|
|
33417
33946
|
var moment = __webpack_require__(5093);
|
|
33418
33947
|
|
|
33419
33948
|
/**
|
|
@@ -33426,7 +33955,7 @@ function parseTime(time) {
|
|
|
33426
33955
|
return null;
|
|
33427
33956
|
}
|
|
33428
33957
|
var date;
|
|
33429
|
-
if (
|
|
33958
|
+
if (utils_typeof(time) === 'object') {
|
|
33430
33959
|
date = time;
|
|
33431
33960
|
} else {
|
|
33432
33961
|
if (typeof time === 'string') {
|
|
@@ -33566,7 +34095,7 @@ function html2Text(val) {
|
|
|
33566
34095
|
* @returns {Object}
|
|
33567
34096
|
*/
|
|
33568
34097
|
function objectMerge(target, source) {
|
|
33569
|
-
if (
|
|
34098
|
+
if (utils_typeof(target) !== 'object') {
|
|
33570
34099
|
target = {};
|
|
33571
34100
|
}
|
|
33572
34101
|
if (Array.isArray(source)) {
|
|
@@ -33574,7 +34103,7 @@ function objectMerge(target, source) {
|
|
|
33574
34103
|
}
|
|
33575
34104
|
Object.keys(source).forEach(function (property) {
|
|
33576
34105
|
var sourceProperty = source[property];
|
|
33577
|
-
if (
|
|
34106
|
+
if (utils_typeof(sourceProperty) === 'object') {
|
|
33578
34107
|
target[property] = objectMerge(target[property], sourceProperty);
|
|
33579
34108
|
} else {
|
|
33580
34109
|
target[property] = sourceProperty;
|
|
@@ -33661,12 +34190,12 @@ function debounce(func, wait, immediate) {
|
|
|
33661
34190
|
* @returns {Object}
|
|
33662
34191
|
*/
|
|
33663
34192
|
function deepClone(source) {
|
|
33664
|
-
if (!source &&
|
|
34193
|
+
if (!source && utils_typeof(source) !== 'object') {
|
|
33665
34194
|
throw new Error('error arguments', 'deepClone');
|
|
33666
34195
|
}
|
|
33667
34196
|
var targetObj = source.constructor === Array ? [] : {};
|
|
33668
34197
|
Object.keys(source).forEach(function (keys) {
|
|
33669
|
-
if (source[keys] &&
|
|
34198
|
+
if (source[keys] && utils_typeof(source[keys]) === 'object') {
|
|
33670
34199
|
targetObj[keys] = deepClone(source[keys]);
|
|
33671
34200
|
} else {
|
|
33672
34201
|
targetObj[keys] = source[keys];
|
|
@@ -33799,7 +34328,7 @@ function formItemValidate(parent) {
|
|
|
33799
34328
|
if (item.$el.querySelector('.is-checked') === null) {
|
|
33800
34329
|
item.validate().then(function (rst) {
|
|
33801
34330
|
var tooltip = item.$children[0];
|
|
33802
|
-
if (tooltip !== undefined) {
|
|
34331
|
+
if (tooltip !== undefined && tooltip.$el.className) {
|
|
33803
34332
|
if (hasClass(tooltip.$el, 'el-tooltip')) {
|
|
33804
34333
|
if (!rst.valid) {
|
|
33805
34334
|
tooltip.disabled = false;
|
|
@@ -37863,6 +38392,8 @@ var store = __webpack_require__(9693);
|
|
|
37863
38392
|
;// CONCATENATED MODULE: ./packages/common/request/index.js
|
|
37864
38393
|
|
|
37865
38394
|
|
|
38395
|
+
|
|
38396
|
+
|
|
37866
38397
|
// 允许携带cookie
|
|
37867
38398
|
lib_axios.defaults.withCredentials = false;
|
|
37868
38399
|
|
|
@@ -37903,6 +38434,13 @@ service.interceptors.request.use(function (config) {
|
|
|
37903
38434
|
} else if (window.productCode && location.href.indexOf('productCode') === -1) {
|
|
37904
38435
|
config.headers['productCode'] = window.productCode;
|
|
37905
38436
|
}
|
|
38437
|
+
var language = (0,lang/* getLanguage */.Z0)();
|
|
38438
|
+
if (language === 'en') {
|
|
38439
|
+
language = 'en-US';
|
|
38440
|
+
} else if (language === 'zhCN') {
|
|
38441
|
+
language = 'zh-CN';
|
|
38442
|
+
}
|
|
38443
|
+
config.headers['accept-language'] = language;
|
|
37906
38444
|
return config;
|
|
37907
38445
|
}, function (error) {
|
|
37908
38446
|
console.log(error); // for debug
|
|
@@ -37916,7 +38454,8 @@ service.interceptors.response.use(function (response) {
|
|
|
37916
38454
|
if (error.response && error.response.status === 401 && location.href.toLowerCase().indexOf('login') === -1 && error.config.url.indexOf('http:') === -1 && error.config.url.indexOf('https:') === -1) {
|
|
37917
38455
|
store/* default */.A.dispatch('user/resetToken').then(function () {
|
|
37918
38456
|
if (window.vType === 'wapp') {
|
|
37919
|
-
|
|
38457
|
+
//认证会话已过期,请重新登录。
|
|
38458
|
+
window.$alert(window.$tx('request.status401relogin'), window.$tx('common.operationTip'), {
|
|
37920
38459
|
type: 'error',
|
|
37921
38460
|
callback: function callback() {
|
|
37922
38461
|
if (location.href.indexOf('#/wflow?') !== -1 || location.href.indexOf('#/viewcontent?') !== -1 || location.href.indexOf('#/viewpdffile?') !== -1 || location.href.indexOf('#/designer?') !== -1) {
|
|
@@ -37931,7 +38470,8 @@ service.interceptors.response.use(function (response) {
|
|
|
37931
38470
|
});
|
|
37932
38471
|
} else {
|
|
37933
38472
|
window.$alert({
|
|
37934
|
-
message: '
|
|
38473
|
+
message: window.$tx('request.status401'),
|
|
38474
|
+
//'认证会话已过期。'
|
|
37935
38475
|
type: 'error',
|
|
37936
38476
|
callback: function callback() {
|
|
37937
38477
|
if (window.mappType === 'ecinc') {
|
|
@@ -37974,7 +38514,7 @@ service.interceptors.response.use(function (response) {
|
|
|
37974
38514
|
errrst.message = error.response.data.message;
|
|
37975
38515
|
} else if (error.response.data.error) {
|
|
37976
38516
|
if (error.response.data.status === 404) {
|
|
37977
|
-
errrst.message = '
|
|
38517
|
+
errrst.message = window.$tx('request.status404') + '<br/><div style="width: 100%;word-wrap: break-word;">' + (error.response.data.path.replace('/aipgw', '').replace('/ecweb', '') || '') + '</div>';
|
|
37978
38518
|
} else {
|
|
37979
38519
|
errrst.message = error.response.data.error;
|
|
37980
38520
|
}
|
|
@@ -37984,7 +38524,7 @@ service.interceptors.response.use(function (response) {
|
|
|
37984
38524
|
errrst.message = error.response.data;
|
|
37985
38525
|
}
|
|
37986
38526
|
if (window.vType === 'wapp') {
|
|
37987
|
-
window.$alert(errrst.message, '
|
|
38527
|
+
window.$alert(errrst.message, window.$tx('common.operationTip'), {
|
|
37988
38528
|
type: 'error',
|
|
37989
38529
|
dangerouslyUseHTMLString: true
|
|
37990
38530
|
});
|
|
@@ -38011,11 +38551,11 @@ var lib = __webpack_require__(5373);
|
|
|
38011
38551
|
var lib_default = /*#__PURE__*/__webpack_require__.n(lib);
|
|
38012
38552
|
;// CONCATENATED MODULE: ./packages/common/app/index.js
|
|
38013
38553
|
function app_typeof(o) { "@babel/helpers - typeof"; return app_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, app_typeof(o); }
|
|
38014
|
-
function
|
|
38015
|
-
function
|
|
38016
|
-
function
|
|
38017
|
-
function
|
|
38018
|
-
function
|
|
38554
|
+
function app_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
38555
|
+
function app_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? app_ownKeys(Object(t), !0).forEach(function (r) { app_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : app_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
38556
|
+
function app_defineProperty(e, r, t) { return (r = app_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
38557
|
+
function app_toPropertyKey(t) { var i = app_toPrimitive(t, "string"); return "symbol" == app_typeof(i) ? i : i + ""; }
|
|
38558
|
+
function app_toPrimitive(t, r) { if ("object" != app_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != app_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
38019
38559
|
|
|
38020
38560
|
|
|
38021
38561
|
|
|
@@ -38122,7 +38662,7 @@ var install = function install(Vue) {
|
|
|
38122
38662
|
formData.append('file', file);
|
|
38123
38663
|
if (config === undefined || config === null) config = {};
|
|
38124
38664
|
config.timeout = 10 * 60 * 1000;
|
|
38125
|
-
return request(
|
|
38665
|
+
return request(app_objectSpread(app_objectSpread({
|
|
38126
38666
|
url: uploadUrl
|
|
38127
38667
|
}, config), {}, {
|
|
38128
38668
|
method: 'put',
|
|
@@ -38148,8 +38688,8 @@ var install = function install(Vue) {
|
|
|
38148
38688
|
url: reqUrl,
|
|
38149
38689
|
method: 'post',
|
|
38150
38690
|
params: {
|
|
38151
|
-
|
|
38152
|
-
|
|
38691
|
+
orderBy: orderBy,
|
|
38692
|
+
count: count
|
|
38153
38693
|
},
|
|
38154
38694
|
data: searchFields
|
|
38155
38695
|
});
|
|
@@ -38159,7 +38699,7 @@ var install = function install(Vue) {
|
|
|
38159
38699
|
url: reqUrl,
|
|
38160
38700
|
method: 'delete',
|
|
38161
38701
|
params: {
|
|
38162
|
-
|
|
38702
|
+
ids: ids.join(),
|
|
38163
38703
|
confirmContinue: confirmContinue
|
|
38164
38704
|
}
|
|
38165
38705
|
});
|
|
@@ -38339,6 +38879,12 @@ var user_install = function install(Vue) {
|
|
|
38339
38879
|
data: lib_default().stringify(data)
|
|
38340
38880
|
});
|
|
38341
38881
|
},
|
|
38882
|
+
logout: function logout() {
|
|
38883
|
+
return request({
|
|
38884
|
+
url: 'logout',
|
|
38885
|
+
method: 'get'
|
|
38886
|
+
});
|
|
38887
|
+
},
|
|
38342
38888
|
getLoginUser: function getLoginUser(jwtToken) {
|
|
38343
38889
|
return new Promise(function (resolve) {
|
|
38344
38890
|
if (jwtToken.indexOf('&enjwt') !== -1) {
|
|
@@ -38373,20 +38919,20 @@ var user_install = function install(Vue) {
|
|
|
38373
38919
|
},
|
|
38374
38920
|
findH5apps: function findH5apps() {
|
|
38375
38921
|
var searchFields = [{
|
|
38376
|
-
|
|
38377
|
-
|
|
38378
|
-
|
|
38922
|
+
compare: '=',
|
|
38923
|
+
field: 'status',
|
|
38924
|
+
value: 1
|
|
38379
38925
|
}, {
|
|
38380
|
-
|
|
38381
|
-
|
|
38382
|
-
|
|
38926
|
+
compare: 'notLike',
|
|
38927
|
+
field: 'h5Url',
|
|
38928
|
+
value: 'app:'
|
|
38383
38929
|
}];
|
|
38384
38930
|
var orderBy = 'appType,orderNo,appCode';
|
|
38385
38931
|
return request({
|
|
38386
38932
|
url: 'mpp/h5app/querydata?httpPort=' + location.port,
|
|
38387
38933
|
method: 'post',
|
|
38388
38934
|
params: {
|
|
38389
|
-
|
|
38935
|
+
orderBy: orderBy
|
|
38390
38936
|
},
|
|
38391
38937
|
data: searchFields
|
|
38392
38938
|
});
|
|
@@ -38402,7 +38948,7 @@ var user_install = function install(Vue) {
|
|
|
38402
38948
|
url: 'base/styleConfig/getNiMingUiStyleConfig?httpPort=' + location.port,
|
|
38403
38949
|
method: 'get',
|
|
38404
38950
|
params: {
|
|
38405
|
-
|
|
38951
|
+
orgCode: orgCode
|
|
38406
38952
|
}
|
|
38407
38953
|
});
|
|
38408
38954
|
}
|
|
@@ -38421,6 +38967,12 @@ function wfengine_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
|
|
|
38421
38967
|
function wfengine_defineProperty(e, r, t) { return (r = wfengine_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
38422
38968
|
function wfengine_toPropertyKey(t) { var i = wfengine_toPrimitive(t, "string"); return "symbol" == wfengine_typeof(i) ? i : i + ""; }
|
|
38423
38969
|
function wfengine_toPrimitive(t, r) { if ("object" != wfengine_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != wfengine_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
38970
|
+
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
38971
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
38972
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
38973
|
+
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
38974
|
+
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
|
|
38975
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
38424
38976
|
|
|
38425
38977
|
|
|
38426
38978
|
var wfengine_install = function install(Vue) {
|
|
@@ -39100,45 +39652,64 @@ var wfengine_install = function install(Vue) {
|
|
|
39100
39652
|
}
|
|
39101
39653
|
var hasSelected = false;
|
|
39102
39654
|
var todoNodeCount = 0;
|
|
39103
|
-
|
|
39104
|
-
|
|
39105
|
-
|
|
39106
|
-
|
|
39107
|
-
|
|
39108
|
-
|
|
39109
|
-
|
|
39110
|
-
|
|
39111
|
-
|
|
39112
|
-
|
|
39113
|
-
|
|
39114
|
-
if (wfnode.
|
|
39115
|
-
|
|
39116
|
-
|
|
39117
|
-
|
|
39118
|
-
|
|
39119
|
-
|
|
39120
|
-
|
|
39121
|
-
|
|
39122
|
-
|
|
39123
|
-
|
|
39124
|
-
|
|
39655
|
+
var _loop = function _loop() {
|
|
39656
|
+
var wfnode = selRoute.taskNodes[i];
|
|
39657
|
+
if (wfnode.type !== 3 && wfnode.type !== '3') todoNodeCount += 1;
|
|
39658
|
+
if (wfnode.tmLmtType !== 9 && wfnode.tmLmtType !== '9' && wfnode.timeLimit === '') {
|
|
39659
|
+
return {
|
|
39660
|
+
v: {
|
|
39661
|
+
code: 'warning',
|
|
39662
|
+
message: '请输入“' + wfnode.name + '”环节处理时限。'
|
|
39663
|
+
}
|
|
39664
|
+
};
|
|
39665
|
+
}
|
|
39666
|
+
if ($scope.submitHandle.route[wfnode.name] && $scope.submitHandle.route[wfnode.name].users && $scope.submitHandle.route[wfnode.name].users.length > 0) {
|
|
39667
|
+
$scope.submitHandle.selectedNodes.push(wfnode.name);
|
|
39668
|
+
if (wfnode.pathType !== '9') {
|
|
39669
|
+
// 抄送阅知的环节处理人不计算
|
|
39670
|
+
hasSelected = true;
|
|
39671
|
+
|
|
39672
|
+
// 非阅知环节选择了处理人,提交保存前需要检查外出授权
|
|
39673
|
+
if (wfnode.type !== 3 && wfnode.type !== '3') {
|
|
39674
|
+
if (!$scope.submitHandle.needCheckOuterDeputy) $scope.submitHandle.needCheckOuterDeputy = [];
|
|
39675
|
+
var users = $scope.submitHandle.route[wfnode.name].users;
|
|
39676
|
+
var checkUsers = [];
|
|
39677
|
+
users.forEach(function (user) {
|
|
39678
|
+
if (user.collapseNodes) {
|
|
39679
|
+
var _checkUsers;
|
|
39680
|
+
(_checkUsers = checkUsers).push.apply(_checkUsers, _toConsumableArray(user.collapseNodes));
|
|
39681
|
+
} else {
|
|
39682
|
+
checkUsers.push(user);
|
|
39683
|
+
}
|
|
39684
|
+
});
|
|
39685
|
+
// 如果是串行处理任务,只检查第一个处理人
|
|
39686
|
+
if ((wfnode.todoMode === 3 || wfnode.todoMode === '3') && users.length > 1) {
|
|
39687
|
+
checkUsers = checkUsers.slice(0, 1);
|
|
39688
|
+
}
|
|
39689
|
+
$scope.submitHandle.needCheckOuterDeputy.push({
|
|
39690
|
+
wfnodeId: wfnode.id,
|
|
39691
|
+
wfnodeName: wfnode.name,
|
|
39692
|
+
users: checkUsers,
|
|
39693
|
+
todoType: wfnode.todoType
|
|
39694
|
+
});
|
|
39125
39695
|
}
|
|
39126
|
-
$scope.submitHandle.needCheckOuterDeputy.push({
|
|
39127
|
-
wfnodeId: wfnode.id,
|
|
39128
|
-
wfnodeName: wfnode.name,
|
|
39129
|
-
users: users
|
|
39130
|
-
});
|
|
39131
39696
|
}
|
|
39132
39697
|
}
|
|
39133
|
-
|
|
39134
|
-
|
|
39135
|
-
|
|
39136
|
-
|
|
39137
|
-
|
|
39138
|
-
|
|
39139
|
-
|
|
39698
|
+
if (selRoute.mustNextTN.indexOf(wfnode.name) !== -1) {
|
|
39699
|
+
if (!$scope.submitHandle.route[wfnode.name] || !$scope.submitHandle.route[wfnode.name].users || $scope.submitHandle.route[wfnode.name].users.length === 0) {
|
|
39700
|
+
return {
|
|
39701
|
+
v: {
|
|
39702
|
+
code: 'warning',
|
|
39703
|
+
message: '请选择“' + wfnode.name + '”处理人。'
|
|
39704
|
+
}
|
|
39705
|
+
};
|
|
39706
|
+
}
|
|
39140
39707
|
}
|
|
39141
|
-
}
|
|
39708
|
+
},
|
|
39709
|
+
_ret;
|
|
39710
|
+
for (var i = 0; i < selRoute.taskNodes.length; i++) {
|
|
39711
|
+
_ret = _loop();
|
|
39712
|
+
if (_ret) return _ret.v;
|
|
39142
39713
|
}
|
|
39143
39714
|
if (todoNodeCount > 0 && !hasSelected) {
|
|
39144
39715
|
return {
|
|
@@ -39251,7 +39822,7 @@ var wfengine_install = function install(Vue) {
|
|
|
39251
39822
|
if (submitTemplate.askSMS !== undefined) {
|
|
39252
39823
|
$scope.submitHandle.askSMS = submitTemplate.askSMS;
|
|
39253
39824
|
}
|
|
39254
|
-
var
|
|
39825
|
+
var _loop2 = function _loop2(i) {
|
|
39255
39826
|
if ($scope.wfJsonData.routes[i].name === submitTemplate.submitRoute.name) {
|
|
39256
39827
|
$scope.submitHandle.route.index = i;
|
|
39257
39828
|
$scope.wfJsonData.routes[i].taskNodes.forEach(function (wfNode) {
|
|
@@ -39334,7 +39905,7 @@ var wfengine_install = function install(Vue) {
|
|
|
39334
39905
|
}
|
|
39335
39906
|
};
|
|
39336
39907
|
for (var i = 0; i < $scope.wfJsonData.routes.length; i++) {
|
|
39337
|
-
if (
|
|
39908
|
+
if (_loop2(i)) break;
|
|
39338
39909
|
}
|
|
39339
39910
|
},
|
|
39340
39911
|
upload: function upload($scope, uploadUrl, file, params, config) {
|
|
@@ -40008,12 +40579,12 @@ function src_typeof(o) { "@babel/helpers - typeof"; return src_typeof = "functio
|
|
|
40008
40579
|
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == src_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(src_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
40009
40580
|
function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
40010
40581
|
function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
40011
|
-
function
|
|
40012
|
-
function
|
|
40013
|
-
function
|
|
40014
|
-
function
|
|
40015
|
-
function
|
|
40016
|
-
function
|
|
40582
|
+
function src_toConsumableArray(r) { return src_arrayWithoutHoles(r) || src_iterableToArray(r) || src_unsupportedIterableToArray(r) || src_nonIterableSpread(); }
|
|
40583
|
+
function src_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
40584
|
+
function src_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return src_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? src_arrayLikeToArray(r, a) : void 0; } }
|
|
40585
|
+
function src_iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
40586
|
+
function src_arrayWithoutHoles(r) { if (Array.isArray(r)) return src_arrayLikeToArray(r); }
|
|
40587
|
+
function src_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
40017
40588
|
/* eslint-disable object-curly-spacing */
|
|
40018
40589
|
/* eslint-disable space-before-function-paren */
|
|
40019
40590
|
|
|
@@ -40106,7 +40677,7 @@ var src_install = function install(Vue) {
|
|
|
40106
40677
|
resultPromise = window.flutter_inappwebview.callHandler(method);
|
|
40107
40678
|
} else if (data instanceof Array) {
|
|
40108
40679
|
var _window$flutter_inapp;
|
|
40109
|
-
resultPromise = (_window$flutter_inapp = window.flutter_inappwebview).callHandler.apply(_window$flutter_inapp, [method].concat(
|
|
40680
|
+
resultPromise = (_window$flutter_inapp = window.flutter_inappwebview).callHandler.apply(_window$flutter_inapp, [method].concat(src_toConsumableArray(data)));
|
|
40110
40681
|
} else {
|
|
40111
40682
|
resultPromise = window.flutter_inappwebview.callHandler(method, data);
|
|
40112
40683
|
}
|
|
@@ -56876,8 +57447,8 @@ var HandleIdea_component = (0,componentNormalizer/* default */.A)(
|
|
|
56876
57447
|
)
|
|
56877
57448
|
|
|
56878
57449
|
/* harmony default export */ var HandleIdea = (HandleIdea_component.exports);
|
|
56879
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/SelectOuterDeputy.vue?vue&type=template&id=
|
|
56880
|
-
var
|
|
57450
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/SelectOuterDeputy.vue?vue&type=template&id=7fb3465d&scoped=true
|
|
57451
|
+
var SelectOuterDeputyvue_type_template_id_7fb3465d_scoped_true_render = function render() {
|
|
56881
57452
|
var _vm = this,
|
|
56882
57453
|
_c = _vm._self._c;
|
|
56883
57454
|
return _c('PopupDialog', {
|
|
@@ -56957,7 +57528,7 @@ var SelectOuterDeputyvue_type_template_id_6dd58a5e_scoped_true_render = function
|
|
|
56957
57528
|
}
|
|
56958
57529
|
})], 1)], 2);
|
|
56959
57530
|
};
|
|
56960
|
-
var
|
|
57531
|
+
var SelectOuterDeputyvue_type_template_id_7fb3465d_scoped_true_staticRenderFns = [];
|
|
56961
57532
|
|
|
56962
57533
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/SelectOuterDeputy.vue?vue&type=script&lang=js
|
|
56963
57534
|
/* harmony default export */ var SelectOuterDeputyvue_type_script_lang_js = ({
|
|
@@ -57008,6 +57579,12 @@ var SelectOuterDeputyvue_type_template_id_6dd58a5e_scoped_true_staticRenderFns =
|
|
|
57008
57579
|
_this.submitRoute[key].users.forEach(function (user) {
|
|
57009
57580
|
if (user.id === outer.id) {
|
|
57010
57581
|
user.deputy = outer.deputy;
|
|
57582
|
+
} else if (user.collapseNodes) {
|
|
57583
|
+
user.collapseNodes.forEach(function (u) {
|
|
57584
|
+
if (u.id === outer.id) {
|
|
57585
|
+
u.deputy = outer.deputy;
|
|
57586
|
+
}
|
|
57587
|
+
});
|
|
57011
57588
|
}
|
|
57012
57589
|
});
|
|
57013
57590
|
}
|
|
@@ -57017,8 +57594,8 @@ var SelectOuterDeputyvue_type_template_id_6dd58a5e_scoped_true_staticRenderFns =
|
|
|
57017
57594
|
}
|
|
57018
57595
|
});
|
|
57019
57596
|
this.outerDeputyResolve({
|
|
57020
|
-
|
|
57021
|
-
|
|
57597
|
+
code: 'success',
|
|
57598
|
+
message: '已选择外出代理人。'
|
|
57022
57599
|
});
|
|
57023
57600
|
this.handleDialogClose();
|
|
57024
57601
|
},
|
|
@@ -57035,9 +57612,9 @@ var SelectOuterDeputyvue_type_template_id_6dd58a5e_scoped_true_staticRenderFns =
|
|
|
57035
57612
|
});
|
|
57036
57613
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SelectOuterDeputy.vue?vue&type=script&lang=js
|
|
57037
57614
|
/* harmony default export */ var src_SelectOuterDeputyvue_type_script_lang_js = (SelectOuterDeputyvue_type_script_lang_js);
|
|
57038
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/SelectOuterDeputy.vue?vue&type=style&index=0&id=
|
|
57039
|
-
var
|
|
57040
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SelectOuterDeputy.vue?vue&type=style&index=0&id=
|
|
57615
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/SelectOuterDeputy.vue?vue&type=style&index=0&id=7fb3465d&prod&scoped=true&lang=scss
|
|
57616
|
+
var SelectOuterDeputyvue_type_style_index_0_id_7fb3465d_prod_scoped_true_lang_scss = __webpack_require__(3101);
|
|
57617
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SelectOuterDeputy.vue?vue&type=style&index=0&id=7fb3465d&prod&scoped=true&lang=scss
|
|
57041
57618
|
|
|
57042
57619
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SelectOuterDeputy.vue
|
|
57043
57620
|
|
|
@@ -57050,11 +57627,11 @@ var SelectOuterDeputyvue_type_style_index_0_id_6dd58a5e_prod_scoped_true_lang_sc
|
|
|
57050
57627
|
|
|
57051
57628
|
var SelectOuterDeputy_component = (0,componentNormalizer/* default */.A)(
|
|
57052
57629
|
src_SelectOuterDeputyvue_type_script_lang_js,
|
|
57053
|
-
|
|
57054
|
-
|
|
57630
|
+
SelectOuterDeputyvue_type_template_id_7fb3465d_scoped_true_render,
|
|
57631
|
+
SelectOuterDeputyvue_type_template_id_7fb3465d_scoped_true_staticRenderFns,
|
|
57055
57632
|
false,
|
|
57056
57633
|
null,
|
|
57057
|
-
"
|
|
57634
|
+
"7fb3465d",
|
|
57058
57635
|
null
|
|
57059
57636
|
|
|
57060
57637
|
)
|
|
@@ -60069,6 +60646,345 @@ RichtextEditor_src.install = function (Vue) {
|
|
|
60069
60646
|
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
60070
60647
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(9274);
|
|
60071
60648
|
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
|
|
60649
|
+
;// CONCATENATED MODULE: ./packages/common/directive/field-lbl/index.js
|
|
60650
|
+
|
|
60651
|
+
/**
|
|
60652
|
+
* 表单输入框文本标签多语言自动切换
|
|
60653
|
+
*/
|
|
60654
|
+
external_commonjs_vue_commonjs2_vue_root_Vue_default().directive('field-lbl', {
|
|
60655
|
+
bind: function bind(el, binding, vnode) {
|
|
60656
|
+
var field = binding.value;
|
|
60657
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60658
|
+
var attrs = vnode.data.attrs || {};
|
|
60659
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60660
|
+
field: binding.value
|
|
60661
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60662
|
+
if (label) {
|
|
60663
|
+
el.innerHTML = label;
|
|
60664
|
+
}
|
|
60665
|
+
}
|
|
60666
|
+
},
|
|
60667
|
+
inserted: function inserted(el, binding, vnode) {
|
|
60668
|
+
var field = binding.value;
|
|
60669
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60670
|
+
var attrs = vnode.data.attrs || {};
|
|
60671
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60672
|
+
field: binding.value
|
|
60673
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60674
|
+
if (label) {
|
|
60675
|
+
el.innerHTML = label;
|
|
60676
|
+
}
|
|
60677
|
+
}
|
|
60678
|
+
}
|
|
60679
|
+
});
|
|
60680
|
+
;// CONCATENATED MODULE: ./packages/common/directive/option-lbl/index.js
|
|
60681
|
+
|
|
60682
|
+
/**
|
|
60683
|
+
* 表单复选框、单选框、列表框选项标签多语言自动切换
|
|
60684
|
+
*/
|
|
60685
|
+
external_commonjs_vue_commonjs2_vue_root_Vue_default().directive('option-lbl', {
|
|
60686
|
+
bind: function bind(el, binding, vnode) {
|
|
60687
|
+
var field = binding.value;
|
|
60688
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60689
|
+
var attrs = vnode.data.attrs || {};
|
|
60690
|
+
var value = el['__vue__'].label;
|
|
60691
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60692
|
+
field: binding.value,
|
|
60693
|
+
type: 'option',
|
|
60694
|
+
value: value
|
|
60695
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60696
|
+
if (label) {
|
|
60697
|
+
if (vnode.context.formItem.formatterMap) {
|
|
60698
|
+
vnode.context.formItem.formatterMap.forEach(function (item) {
|
|
60699
|
+
if (item.value == value) {
|
|
60700
|
+
item.text = label;
|
|
60701
|
+
}
|
|
60702
|
+
});
|
|
60703
|
+
}
|
|
60704
|
+
var spanEl = el.querySelector('.el-checkbox__label') || el.querySelector('.el-radio__label') || el.querySelector('span');
|
|
60705
|
+
if (spanEl) {
|
|
60706
|
+
spanEl.innerHTML = label;
|
|
60707
|
+
}
|
|
60708
|
+
}
|
|
60709
|
+
}
|
|
60710
|
+
},
|
|
60711
|
+
inserted: function inserted(el, binding, vnode) {
|
|
60712
|
+
var field = binding.value;
|
|
60713
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60714
|
+
var attrs = vnode.data.attrs || {};
|
|
60715
|
+
var value = el['__vue__'].label;
|
|
60716
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60717
|
+
field: binding.value,
|
|
60718
|
+
type: 'option',
|
|
60719
|
+
value: value
|
|
60720
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60721
|
+
if (label) {
|
|
60722
|
+
if (vnode.context.formItem.formatterMap) {
|
|
60723
|
+
vnode.context.formItem.formatterMap.forEach(function (item) {
|
|
60724
|
+
if (item.value == value) {
|
|
60725
|
+
item.text = label;
|
|
60726
|
+
}
|
|
60727
|
+
});
|
|
60728
|
+
}
|
|
60729
|
+
var spanEl = el.querySelector('.el-checkbox__label') || el.querySelector('.el-radio__label') || el.querySelector('span');
|
|
60730
|
+
if (spanEl) {
|
|
60731
|
+
spanEl.innerHTML = label;
|
|
60732
|
+
}
|
|
60733
|
+
}
|
|
60734
|
+
}
|
|
60735
|
+
}
|
|
60736
|
+
});
|
|
60737
|
+
;// CONCATENATED MODULE: ./packages/common/directive/form-title/index.js
|
|
60738
|
+
|
|
60739
|
+
/**
|
|
60740
|
+
* 流程路径名称多语言自动切换
|
|
60741
|
+
*/
|
|
60742
|
+
external_commonjs_vue_commonjs2_vue_root_Vue_default().directive('form-title', {
|
|
60743
|
+
bind: function bind(el, binding, vnode) {
|
|
60744
|
+
var field = binding.value;
|
|
60745
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60746
|
+
var attrs = vnode.data.attrs || {};
|
|
60747
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60748
|
+
formTitle: binding.value,
|
|
60749
|
+
code: binding.value
|
|
60750
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60751
|
+
if (label) {
|
|
60752
|
+
if (el.querySelector('.content')) {
|
|
60753
|
+
//仿真表单
|
|
60754
|
+
el.querySelector('.content').innerHTML = label;
|
|
60755
|
+
} else {
|
|
60756
|
+
el.innerHTML = label;
|
|
60757
|
+
}
|
|
60758
|
+
}
|
|
60759
|
+
}
|
|
60760
|
+
},
|
|
60761
|
+
inserted: function inserted(el, binding, vnode) {
|
|
60762
|
+
var field = binding.value;
|
|
60763
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60764
|
+
var attrs = vnode.data.attrs || {};
|
|
60765
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60766
|
+
formTitle: binding.value,
|
|
60767
|
+
code: binding.value
|
|
60768
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60769
|
+
if (label) {
|
|
60770
|
+
if (el.querySelector('.content')) {
|
|
60771
|
+
//仿真表单
|
|
60772
|
+
el.querySelector('.content').innerHTML = label;
|
|
60773
|
+
} else {
|
|
60774
|
+
el.innerHTML = label;
|
|
60775
|
+
}
|
|
60776
|
+
}
|
|
60777
|
+
}
|
|
60778
|
+
}
|
|
60779
|
+
});
|
|
60780
|
+
;// CONCATENATED MODULE: ./packages/common/directive/text-lbl/index.js
|
|
60781
|
+
|
|
60782
|
+
/**
|
|
60783
|
+
* 普通文本标签多语言自动切换
|
|
60784
|
+
*/
|
|
60785
|
+
external_commonjs_vue_commonjs2_vue_root_Vue_default().directive('text-lbl', {
|
|
60786
|
+
bind: function bind(el, binding, vnode) {
|
|
60787
|
+
var field = binding.value;
|
|
60788
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60789
|
+
var attrs = vnode.data.attrs || {};
|
|
60790
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60791
|
+
i18nCode: binding.value
|
|
60792
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60793
|
+
if (label) {
|
|
60794
|
+
var spanEl = el.querySelector('.el-checkbox__label') || el.querySelector('.el-radio__label');
|
|
60795
|
+
if (spanEl) {
|
|
60796
|
+
spanEl.innerHTML = label;
|
|
60797
|
+
} else {
|
|
60798
|
+
el.innerHTML = label;
|
|
60799
|
+
}
|
|
60800
|
+
}
|
|
60801
|
+
}
|
|
60802
|
+
},
|
|
60803
|
+
inserted: function inserted(el, binding, vnode) {
|
|
60804
|
+
var field = binding.value;
|
|
60805
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60806
|
+
var attrs = vnode.data.attrs || {};
|
|
60807
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60808
|
+
i18nCode: binding.value
|
|
60809
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60810
|
+
if (label) {
|
|
60811
|
+
var spanEl = el.querySelector('.el-checkbox__label') || el.querySelector('.el-radio__label');
|
|
60812
|
+
if (spanEl) {
|
|
60813
|
+
spanEl.innerHTML = label;
|
|
60814
|
+
} else {
|
|
60815
|
+
el.innerHTML = label;
|
|
60816
|
+
}
|
|
60817
|
+
}
|
|
60818
|
+
}
|
|
60819
|
+
}
|
|
60820
|
+
});
|
|
60821
|
+
;// CONCATENATED MODULE: ./packages/common/directive/pageBtn-lbl/index.js
|
|
60822
|
+
|
|
60823
|
+
/**
|
|
60824
|
+
* 页面按钮标签多语言自动切换
|
|
60825
|
+
*/
|
|
60826
|
+
external_commonjs_vue_commonjs2_vue_root_Vue_default().directive('pageBtn-lbl', {
|
|
60827
|
+
bind: function bind(el, binding, vnode) {
|
|
60828
|
+
var field = binding.value;
|
|
60829
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60830
|
+
var attrs = vnode.data.attrs || {};
|
|
60831
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60832
|
+
btnI18nCode: binding.value
|
|
60833
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60834
|
+
if (label) {
|
|
60835
|
+
el.innerHTML = label;
|
|
60836
|
+
}
|
|
60837
|
+
}
|
|
60838
|
+
},
|
|
60839
|
+
inserted: function inserted(el, binding, vnode) {
|
|
60840
|
+
var field = binding.value;
|
|
60841
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60842
|
+
var attrs = vnode.data.attrs || {};
|
|
60843
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60844
|
+
btnI18nCode: binding.value
|
|
60845
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60846
|
+
if (label) {
|
|
60847
|
+
el.innerHTML = label;
|
|
60848
|
+
}
|
|
60849
|
+
}
|
|
60850
|
+
}
|
|
60851
|
+
});
|
|
60852
|
+
;// CONCATENATED MODULE: ./packages/common/directive/wfBtn-lbl/index.js
|
|
60853
|
+
|
|
60854
|
+
/**
|
|
60855
|
+
* 流程表单按钮标签多语言自动切换
|
|
60856
|
+
*/
|
|
60857
|
+
external_commonjs_vue_commonjs2_vue_root_Vue_default().directive('wfBtn-lbl', {
|
|
60858
|
+
bind: function bind(el, binding, vnode) {
|
|
60859
|
+
var field = binding.value;
|
|
60860
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60861
|
+
var attrs = vnode.data.attrs || {};
|
|
60862
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60863
|
+
btnI18nCode: binding.value,
|
|
60864
|
+
type: 'commandBarBtn'
|
|
60865
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60866
|
+
if (label) {
|
|
60867
|
+
el.innerHTML = label;
|
|
60868
|
+
}
|
|
60869
|
+
}
|
|
60870
|
+
},
|
|
60871
|
+
inserted: function inserted(el, binding, vnode) {
|
|
60872
|
+
var field = binding.value;
|
|
60873
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60874
|
+
var attrs = vnode.data.attrs || {};
|
|
60875
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60876
|
+
btnI18nCode: binding.value,
|
|
60877
|
+
type: 'commandBarBtn'
|
|
60878
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60879
|
+
if (label) {
|
|
60880
|
+
el.innerHTML = label;
|
|
60881
|
+
}
|
|
60882
|
+
}
|
|
60883
|
+
}
|
|
60884
|
+
});
|
|
60885
|
+
;// CONCATENATED MODULE: ./packages/common/directive/wfNode-lbl/index.js
|
|
60886
|
+
|
|
60887
|
+
/**
|
|
60888
|
+
* 流程环节名称多语言自动切换
|
|
60889
|
+
*/
|
|
60890
|
+
external_commonjs_vue_commonjs2_vue_root_Vue_default().directive('wfNode-lbl', {
|
|
60891
|
+
bind: function bind(el, binding, vnode) {
|
|
60892
|
+
var field = binding.value;
|
|
60893
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60894
|
+
var attrs = vnode.data.attrs || {};
|
|
60895
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60896
|
+
wfNodeName: binding.value
|
|
60897
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60898
|
+
if (label) {
|
|
60899
|
+
el.innerHTML = label;
|
|
60900
|
+
}
|
|
60901
|
+
}
|
|
60902
|
+
},
|
|
60903
|
+
inserted: function inserted(el, binding, vnode) {
|
|
60904
|
+
var field = binding.value;
|
|
60905
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60906
|
+
var attrs = vnode.data.attrs || {};
|
|
60907
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60908
|
+
wfNodeName: binding.value
|
|
60909
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60910
|
+
if (label) {
|
|
60911
|
+
el.innerHTML = label;
|
|
60912
|
+
}
|
|
60913
|
+
}
|
|
60914
|
+
}
|
|
60915
|
+
});
|
|
60916
|
+
;// CONCATENATED MODULE: ./packages/common/directive/wfPath-lbl/index.js
|
|
60917
|
+
|
|
60918
|
+
/**
|
|
60919
|
+
* 流程路径名称多语言自动切换
|
|
60920
|
+
*/
|
|
60921
|
+
external_commonjs_vue_commonjs2_vue_root_Vue_default().directive('wfPath-lbl', {
|
|
60922
|
+
bind: function bind(el, binding, vnode) {
|
|
60923
|
+
var field = binding.value;
|
|
60924
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60925
|
+
var attrs = vnode.data.attrs || {};
|
|
60926
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60927
|
+
wfPathName: binding.value
|
|
60928
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60929
|
+
if (label) {
|
|
60930
|
+
el.innerHTML = label;
|
|
60931
|
+
}
|
|
60932
|
+
}
|
|
60933
|
+
},
|
|
60934
|
+
inserted: function inserted(el, binding, vnode) {
|
|
60935
|
+
var field = binding.value;
|
|
60936
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60937
|
+
var attrs = vnode.data.attrs || {};
|
|
60938
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60939
|
+
wfPathName: binding.value
|
|
60940
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60941
|
+
if (label) {
|
|
60942
|
+
el.innerHTML = label;
|
|
60943
|
+
}
|
|
60944
|
+
}
|
|
60945
|
+
}
|
|
60946
|
+
});
|
|
60947
|
+
;// CONCATENATED MODULE: ./packages/common/directive/wfIdea-lbl/index.js
|
|
60948
|
+
|
|
60949
|
+
/**
|
|
60950
|
+
* 流程意见标签多语言自动切换
|
|
60951
|
+
*/
|
|
60952
|
+
external_commonjs_vue_commonjs2_vue_root_Vue_default().directive('wfIdea-lbl', {
|
|
60953
|
+
bind: function bind(el, binding, vnode) {
|
|
60954
|
+
var field = binding.value;
|
|
60955
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60956
|
+
var attrs = vnode.data.attrs || {};
|
|
60957
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60958
|
+
wfIdeaLabel: binding.value
|
|
60959
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60960
|
+
if (label) {
|
|
60961
|
+
el.innerHTML = label;
|
|
60962
|
+
}
|
|
60963
|
+
}
|
|
60964
|
+
},
|
|
60965
|
+
inserted: function inserted(el, binding, vnode) {
|
|
60966
|
+
var field = binding.value;
|
|
60967
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60968
|
+
var attrs = vnode.data.attrs || {};
|
|
60969
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60970
|
+
wfIdeaLabel: binding.value
|
|
60971
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60972
|
+
if (label) {
|
|
60973
|
+
el.innerHTML = label;
|
|
60974
|
+
}
|
|
60975
|
+
}
|
|
60976
|
+
}
|
|
60977
|
+
});
|
|
60978
|
+
;// CONCATENATED MODULE: ./packages/common/directive/index.js
|
|
60979
|
+
|
|
60980
|
+
|
|
60981
|
+
|
|
60982
|
+
|
|
60983
|
+
|
|
60984
|
+
|
|
60985
|
+
|
|
60986
|
+
|
|
60987
|
+
|
|
60072
60988
|
;// CONCATENATED MODULE: ./packages/ecmapp/Directive/format-value/index.js
|
|
60073
60989
|
function format_value_typeof(o) { "@babel/helpers - typeof"; return format_value_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, format_value_typeof(o); }
|
|
60074
60990
|
|
|
@@ -60200,6 +61116,8 @@ function mappaio_toPrimitive(t, r) { if ("object" != mappaio_typeof(t) || !t) re
|
|
|
60200
61116
|
|
|
60201
61117
|
|
|
60202
61118
|
|
|
61119
|
+
|
|
61120
|
+
|
|
60203
61121
|
|
|
60204
61122
|
|
|
60205
61123
|
// 以数组的结构保存组件,便于遍历
|
|
@@ -60218,16 +61136,19 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
60218
61136
|
mappaio_install(window.Vue);
|
|
60219
61137
|
setTimeout(function () {
|
|
60220
61138
|
window.$alert = window.Vue.prototype.$dialog.alert;
|
|
61139
|
+
Vue.prototype.$tx = npmaio_mappaio_lang.$tx;
|
|
61140
|
+
window.$tx = mappaio_lang.$tx;
|
|
60221
61141
|
}, 0);
|
|
60222
61142
|
}
|
|
60223
|
-
|
|
60224
|
-
// 导出的对象必须具备一个 install 方法
|
|
60225
|
-
install: mappaio_install
|
|
60226
|
-
}, mappaio_components));
|
|
61143
|
+
var npmaio_mappaio_lang = mappaio_lang;
|
|
60227
61144
|
|
|
60228
61145
|
|
|
60229
61146
|
var httpRequest = request;
|
|
60230
61147
|
var mappaio_store = store/* default */.A;
|
|
61148
|
+
/* harmony default export */ var mappaio = (mappaio_objectSpread({
|
|
61149
|
+
// 导出的对象必须具备一个 install 方法
|
|
61150
|
+
install: mappaio_install
|
|
61151
|
+
}, mappaio_components));
|
|
60231
61152
|
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
|
|
60232
61153
|
|
|
60233
61154
|
|