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.common.js
CHANGED
|
@@ -191,6 +191,332 @@ function normalizeComponent(
|
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
|
|
194
|
+
/***/ }),
|
|
195
|
+
|
|
196
|
+
/***/ 4229:
|
|
197
|
+
/***/ (function(module) {
|
|
198
|
+
|
|
199
|
+
module.exports = {
|
|
200
|
+
request: {
|
|
201
|
+
status401relogin: 'The session has expired, please log in again.',
|
|
202
|
+
status401: 'The session has expired.',
|
|
203
|
+
status404: 'Interface does not exist or execution error:'
|
|
204
|
+
}
|
|
205
|
+
};
|
|
206
|
+
|
|
207
|
+
/***/ }),
|
|
208
|
+
|
|
209
|
+
/***/ 1874:
|
|
210
|
+
/***/ (function(module) {
|
|
211
|
+
|
|
212
|
+
module.exports = {
|
|
213
|
+
request: {
|
|
214
|
+
status401relogin: 'The session has expired, please log in again.',
|
|
215
|
+
status401: 'The session has expired.',
|
|
216
|
+
status404: 'Interface does not exist or execution error:'
|
|
217
|
+
}
|
|
218
|
+
};
|
|
219
|
+
|
|
220
|
+
/***/ }),
|
|
221
|
+
|
|
222
|
+
/***/ 3112:
|
|
223
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
224
|
+
|
|
225
|
+
"use strict";
|
|
226
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
227
|
+
/* harmony export */ KS: function() { return /* binding */ generateTitle; },
|
|
228
|
+
/* harmony export */ Pc: function() { return /* binding */ $tx; },
|
|
229
|
+
/* harmony export */ Z0: function() { return /* binding */ getLanguage; },
|
|
230
|
+
/* harmony export */ ot: function() { return /* binding */ commonMessages; },
|
|
231
|
+
/* harmony export */ wS: function() { return /* binding */ getPageTitle; }
|
|
232
|
+
/* harmony export */ });
|
|
233
|
+
/* harmony import */ var js_cookie__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2215);
|
|
234
|
+
/* harmony import */ var js_cookie__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(js_cookie__WEBPACK_IMPORTED_MODULE_0__);
|
|
235
|
+
/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3547);
|
|
236
|
+
/* harmony import */ var _en_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4229);
|
|
237
|
+
/* harmony import */ var _en_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_en_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
238
|
+
/* harmony import */ var _zhCN_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1865);
|
|
239
|
+
/* harmony import */ var _zhCN_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_zhCN_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
240
|
+
/* harmony import */ var _es_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1874);
|
|
241
|
+
/* harmony import */ var _es_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_es_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
242
|
+
/* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(8051);
|
|
243
|
+
/* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_ja_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
244
|
+
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); }
|
|
245
|
+
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; }
|
|
246
|
+
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; }
|
|
247
|
+
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; }
|
|
248
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
249
|
+
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); }
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
var $messages = {
|
|
257
|
+
en: _objectSpread({}, (_en_js__WEBPACK_IMPORTED_MODULE_2___default())),
|
|
258
|
+
zhCN: _objectSpread({}, (_zhCN_js__WEBPACK_IMPORTED_MODULE_3___default())),
|
|
259
|
+
es: _objectSpread({}, (_es_js__WEBPACK_IMPORTED_MODULE_4___default())),
|
|
260
|
+
ja: _objectSpread({}, (_ja_js__WEBPACK_IMPORTED_MODULE_5___default()))
|
|
261
|
+
};
|
|
262
|
+
var commonMessages = $messages;
|
|
263
|
+
|
|
264
|
+
/*
|
|
265
|
+
expression:完整表达式
|
|
266
|
+
variables:动态变量
|
|
267
|
+
defaultText:默认文本
|
|
268
|
+
*/
|
|
269
|
+
function $tx(expression, variables, defaultText) {
|
|
270
|
+
var $scope = this.$vnode ? this.$vnode.context : window.$wapp || window.$mapp;
|
|
271
|
+
if (expression === 'ecwapp.DataTable.selectRow') {
|
|
272
|
+
//debugger
|
|
273
|
+
}
|
|
274
|
+
var text;
|
|
275
|
+
if ($scope.$te(expression)) {
|
|
276
|
+
text = $scope.$t(expression);
|
|
277
|
+
} else if (_typeof(variables) !== 'object') {
|
|
278
|
+
text = variables;
|
|
279
|
+
} else {
|
|
280
|
+
text = defaultText;
|
|
281
|
+
}
|
|
282
|
+
if (_typeof(variables) === 'object' && text) {
|
|
283
|
+
Object.keys(variables).forEach(function (key) {
|
|
284
|
+
text = text.replace('{' + key + '}', variables[key]);
|
|
285
|
+
});
|
|
286
|
+
}
|
|
287
|
+
return text;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
// translate router.meta.title, be used in breadcrumb sidebar tagsview
|
|
291
|
+
function generateTitle(meta, $scope, moduleCode, i18npkg, variables) {
|
|
292
|
+
if (meta.i18nCode === 'cancel') {
|
|
293
|
+
//debugger
|
|
294
|
+
}
|
|
295
|
+
$scope = $scope || this;
|
|
296
|
+
if (meta.i18nCode && $scope.$te(meta.i18nCode)) {
|
|
297
|
+
return $scope.$t(meta.i18nCode, variables);
|
|
298
|
+
}
|
|
299
|
+
var moduleInfo = $scope.moduleInfo || $scope.$vnode.context.moduleInfo || $scope.$vnode.context.$vnode.context.moduleInfo;
|
|
300
|
+
if (!i18npkg) {
|
|
301
|
+
i18npkg = $scope.i18npkg || $scope.$vnode.context.i18npkg || $scope.$vnode.context.$vnode.context.i18npkg;
|
|
302
|
+
if (!i18npkg) {
|
|
303
|
+
if ($scope.wfInstance || $scope.$vnode.context.wfInstance) {
|
|
304
|
+
var workform = ($scope.wfInstance || $scope.$vnode.context.wfInstance).workForm;
|
|
305
|
+
if (workform.indexOf('/dcontent/') !== -1) {
|
|
306
|
+
workform = workform.split('/dcontent/')[1].split('.');
|
|
307
|
+
i18npkg = workform[0];
|
|
308
|
+
moduleCode = workform[1];
|
|
309
|
+
} else if ($scope.wfEngineUrl || $scope.$vnode.context.wfEngineUrl || $scope.$vnode.context.$vnode.context.wfEngineUrl) {
|
|
310
|
+
var wfEngineUrl = ($scope.wfEngineUrl || $scope.$vnode.context.wfEngineUrl || $scope.$vnode.context.$vnode.context.wfEngineUrl).split('/');
|
|
311
|
+
i18npkg = wfEngineUrl[0];
|
|
312
|
+
moduleCode = wfEngineUrl[1];
|
|
313
|
+
} else if (workform.indexOf('@/') !== -1) {
|
|
314
|
+
workform = workform.split('/');
|
|
315
|
+
i18npkg = workform[2];
|
|
316
|
+
moduleCode = workform[3];
|
|
317
|
+
}
|
|
318
|
+
} else if (meta.activeMenu !== undefined || meta.type === 'menuItem') {
|
|
319
|
+
if (meta.i18npkg) {
|
|
320
|
+
i18npkg = meta.i18npkg;
|
|
321
|
+
} else if (meta.i18nCode && meta.i18nCode.indexOf('.') != -1) {
|
|
322
|
+
i18npkg = meta.i18nCode.substring(0, meta.i18nCode.indexOf('.'));
|
|
323
|
+
meta.i18npkg = i18npkg;
|
|
324
|
+
meta.i18nCode = meta.i18nCode.substring(meta.i18nCode.lastIndexOf('.') + 1);
|
|
325
|
+
} else if (!meta.i18npkg && meta.href) {
|
|
326
|
+
var href = meta.href;
|
|
327
|
+
if (href.indexOf('/dcontent/') !== -1) {
|
|
328
|
+
href = href.split('/dcontent/')[1].split('.');
|
|
329
|
+
i18npkg = href[0];
|
|
330
|
+
meta.i18npkg = href[0];
|
|
331
|
+
} else if (href.indexOf('@/') !== -1) {
|
|
332
|
+
href = href.split('/');
|
|
333
|
+
i18npkg = href[2];
|
|
334
|
+
meta.i18npkg = href[0];
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
} else if (moduleInfo && moduleInfo.listDataUrl && moduleInfo.listDataUrl.split('/').length > 2) {
|
|
338
|
+
if (moduleInfo.listDataUrl.substring(0, 1) === '/') {
|
|
339
|
+
moduleInfo.listDataUrl = moduleInfo.listDataUrl.substring(1);
|
|
340
|
+
}
|
|
341
|
+
i18npkg = moduleInfo.listDataUrl.split('/')[0];
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
if (i18npkg) {
|
|
346
|
+
i18npkg += '.';
|
|
347
|
+
} else {
|
|
348
|
+
i18npkg = '';
|
|
349
|
+
}
|
|
350
|
+
if (!moduleCode) {
|
|
351
|
+
moduleCode = $scope.moduleCode || $scope.$vnode.context.moduleCode || $scope.$vnode.context.$vnode.context.moduleCode;
|
|
352
|
+
if (!moduleCode && moduleInfo) {
|
|
353
|
+
if (moduleInfo.moduleCode) {
|
|
354
|
+
moduleCode = moduleInfo.moduleCode;
|
|
355
|
+
} else if (moduleInfo.listDataUrl && moduleInfo.listDataUrl.split('/').length > 2) {
|
|
356
|
+
if (moduleInfo.listDataUrl.substring(0, 1) === '/') {
|
|
357
|
+
moduleInfo.listDataUrl = moduleInfo.listDataUrl.substring(1);
|
|
358
|
+
}
|
|
359
|
+
moduleCode = moduleInfo.listDataUrl.split('/')[1];
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
if (moduleCode) {
|
|
364
|
+
moduleCode = moduleCode + '.';
|
|
365
|
+
} else {
|
|
366
|
+
moduleCode = '';
|
|
367
|
+
}
|
|
368
|
+
var expression = '';
|
|
369
|
+
if (meta.type === 'menuItem' || meta.activeMenu !== undefined || meta.level === 1 && meta.topFlag === 1) {
|
|
370
|
+
expression = i18npkg + 'menuItem' + '.' + meta.i18nCode;
|
|
371
|
+
} else if (meta.type === 'navbar' || meta.breadcrumb !== undefined) {
|
|
372
|
+
expression = 'navbar.' + meta.title;
|
|
373
|
+
} else if (meta.formTitle) {
|
|
374
|
+
// 表单标题
|
|
375
|
+
expression = i18npkg + meta.code + '.formTitle';
|
|
376
|
+
} else if (meta.field && meta.type === 'option') {
|
|
377
|
+
// 表单复选框、单选框、列表框选项标签,value为中文时,$te、$t执行报错
|
|
378
|
+
//expression = i18npkg + moduleCode + 'options.' + meta.field + '.' + meta.value
|
|
379
|
+
var pkg = null;
|
|
380
|
+
if (i18npkg) {
|
|
381
|
+
pkg = $scope.$i18n.messages[$scope.$i18n.locale][i18npkg.replace('.', '')];
|
|
382
|
+
}
|
|
383
|
+
if (!pkg) {
|
|
384
|
+
pkg = $scope.$i18n.messages[$scope.$i18n.locale];
|
|
385
|
+
}
|
|
386
|
+
moduleCode = moduleCode.substring(0, moduleCode.length - 1);
|
|
387
|
+
var options = [];
|
|
388
|
+
if (pkg && pkg[moduleCode] && pkg[moduleCode].options && pkg[moduleCode].options[meta.field]) {
|
|
389
|
+
options = pkg[moduleCode].options[meta.field];
|
|
390
|
+
} else if (pkg && pkg.options && pkg.options[meta.field]) {
|
|
391
|
+
options = pkg.options[meta.field];
|
|
392
|
+
}
|
|
393
|
+
return options[meta.value];
|
|
394
|
+
} else if (meta.field) {
|
|
395
|
+
// 表单输入框标题、列表表头标题
|
|
396
|
+
expression = i18npkg + moduleCode + 'fields.' + meta.field;
|
|
397
|
+
} else if (meta.btnI18nCode) {
|
|
398
|
+
// 按钮名称
|
|
399
|
+
if (meta.type === 'commandBarBtn') {
|
|
400
|
+
expression = i18npkg + 'wfdProcess.operations' + '.' + meta.btnI18nCode;
|
|
401
|
+
} else {
|
|
402
|
+
expression = i18npkg + 'pageBtns' + '.' + meta.btnI18nCode;
|
|
403
|
+
}
|
|
404
|
+
} else if (meta.wfNodeName) {
|
|
405
|
+
//流程环节名称
|
|
406
|
+
expression = i18npkg + 'wfdProcess.nodes' + '.' + meta.wfNodeName;
|
|
407
|
+
} else if (meta.wfPathName) {
|
|
408
|
+
//流程路径名称
|
|
409
|
+
expression = i18npkg + 'wfdProcess.paths' + '.' + meta.wfPathName;
|
|
410
|
+
} else if (meta.wfIdeaLabel) {
|
|
411
|
+
//流程意见标签
|
|
412
|
+
expression = i18npkg + 'wfdProcess.ideaLabels' + '.' + meta.wfIdeaLabel;
|
|
413
|
+
} else if (meta.i18nCode) {
|
|
414
|
+
expression = meta.i18nCode;
|
|
415
|
+
if (expression.indexOf(moduleCode) === -1) {
|
|
416
|
+
expression = moduleCode + expression;
|
|
417
|
+
}
|
|
418
|
+
if (expression.indexOf(i18npkg) === -1) {
|
|
419
|
+
expression = i18npkg + expression;
|
|
420
|
+
}
|
|
421
|
+
} else {
|
|
422
|
+
debugger;
|
|
423
|
+
}
|
|
424
|
+
var globalExpression = expression;
|
|
425
|
+
globalExpression = expression.replace(i18npkg, '').replace(moduleCode, '');
|
|
426
|
+
if ($scope && $scope.$te) {
|
|
427
|
+
if ($scope.$te(expression)) {
|
|
428
|
+
return $scope.$t(expression, variables);
|
|
429
|
+
} else if ($scope.$te(globalExpression)) {
|
|
430
|
+
return $scope.$t(globalExpression, variables);
|
|
431
|
+
} else if ($scope.$i18n.locale !== 'zhCN' && meta.type !== 'option') {
|
|
432
|
+
var titles = '';
|
|
433
|
+
var i18nCode = meta.i18nCode || meta.code || meta.field || meta.btnI18nCode || meta.title || '';
|
|
434
|
+
if (i18nCode.split('.').length > 1) {
|
|
435
|
+
titles = i18nCode.substring(i18nCode.lastIndexOf('.') + 1).replace('-', '_');
|
|
436
|
+
} else {
|
|
437
|
+
titles = i18nCode.replace('-', '_');
|
|
438
|
+
}
|
|
439
|
+
if (titles.indexOf('_') !== -1) {
|
|
440
|
+
titles = titles.toLowerCase().split('_');
|
|
441
|
+
for (var i = 0; i < titles.length; i++) {
|
|
442
|
+
titles[i] = titles[i].substring(0, 1).toUpperCase() + titles[i].substring(1);
|
|
443
|
+
}
|
|
444
|
+
return titles.join('');
|
|
445
|
+
} else {
|
|
446
|
+
return titles.substring(0, 1).toUpperCase() + titles.substring(1);
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
return meta.title || meta.btnName || meta.formTitle;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
* 路由跳转时设置浏览器标题
|
|
455
|
+
* @param {*} key
|
|
456
|
+
* @returns
|
|
457
|
+
*/
|
|
458
|
+
function getPageTitle(itemName, i18nCode, href, $scope) {
|
|
459
|
+
var title = _store__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .A.state.settings.title;
|
|
460
|
+
if ($scope.$te('sysName')) {
|
|
461
|
+
title = $scope.$t('sysName');
|
|
462
|
+
}
|
|
463
|
+
if (i18nCode) {
|
|
464
|
+
itemName = generateTitle({
|
|
465
|
+
i18nCode: i18nCode,
|
|
466
|
+
href: href,
|
|
467
|
+
type: 'menuItem'
|
|
468
|
+
}, $scope);
|
|
469
|
+
}
|
|
470
|
+
if (itemName) {
|
|
471
|
+
return "".concat(itemName, " - ").concat(title);
|
|
472
|
+
} else {
|
|
473
|
+
return title;
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
function getLanguage() {
|
|
477
|
+
var chooseLanguage = js_cookie__WEBPACK_IMPORTED_MODULE_0___default().get('language');
|
|
478
|
+
if (chooseLanguage) return chooseLanguage;
|
|
479
|
+
|
|
480
|
+
// if has not choose language
|
|
481
|
+
var language = (navigator.language || navigator.browserLanguage || '').toLowerCase();
|
|
482
|
+
if ($messages) {
|
|
483
|
+
var locales = Object.keys($messages);
|
|
484
|
+
for (var _i = 0, _locales = locales; _i < _locales.length; _i++) {
|
|
485
|
+
var locale = _locales[_i];
|
|
486
|
+
if (language.indexOf(locale) > -1) {
|
|
487
|
+
return locale;
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
return 'zhCN';
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
/***/ }),
|
|
495
|
+
|
|
496
|
+
/***/ 8051:
|
|
497
|
+
/***/ (function(module) {
|
|
498
|
+
|
|
499
|
+
module.exports = {
|
|
500
|
+
request: {
|
|
501
|
+
status401relogin: 'The session has expired, please log in again.',
|
|
502
|
+
status401: 'The session has expired.',
|
|
503
|
+
status404: 'Interface does not exist or execution error:'
|
|
504
|
+
}
|
|
505
|
+
};
|
|
506
|
+
|
|
507
|
+
/***/ }),
|
|
508
|
+
|
|
509
|
+
/***/ 1865:
|
|
510
|
+
/***/ (function(module) {
|
|
511
|
+
|
|
512
|
+
module.exports = {
|
|
513
|
+
request: {
|
|
514
|
+
status401relogin: '认证会话已过期,请重新登录。',
|
|
515
|
+
status401: '认证会话已过期。',
|
|
516
|
+
status404: '接口不存在或执行错误:'
|
|
517
|
+
}
|
|
518
|
+
};
|
|
519
|
+
|
|
194
520
|
/***/ }),
|
|
195
521
|
|
|
196
522
|
/***/ 3547:
|
|
@@ -868,28 +1194,43 @@ var actions = {
|
|
|
868
1194
|
logout: function logout(_ref14) {
|
|
869
1195
|
var commit = _ref14.commit,
|
|
870
1196
|
state = _ref14.state;
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
1197
|
+
return new Promise( /*#__PURE__*/function () {
|
|
1198
|
+
var _ref15 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(resolve) {
|
|
1199
|
+
return _regeneratorRuntime().wrap(function _callee7$(_context7) {
|
|
1200
|
+
while (1) switch (_context7.prev = _context7.next) {
|
|
1201
|
+
case 0:
|
|
1202
|
+
window.$user.logout().then(function () {
|
|
1203
|
+
_store__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.dispatch('route/updateRoutes', []).then(function () {
|
|
1204
|
+
commit('SET_TOKEN', '');
|
|
1205
|
+
commit('SET_LOGIN_USER', null);
|
|
1206
|
+
commit('SET_ROLES', []);
|
|
1207
|
+
commit('SET_PERMISSIONS', []);
|
|
1208
|
+
commit('SET_PERSON_ORGAN_LIST', []);
|
|
1209
|
+
commit('SET_AVATAR', '');
|
|
1210
|
+
commit('SET_PRODUCT_CODE_LIST', []);
|
|
1211
|
+
commit('SET_PRODUCT_CODE_ALL', []);
|
|
1212
|
+
window.$auth.removeProductCode();
|
|
1213
|
+
window.$auth.removeToken();
|
|
1214
|
+
window.$auth.removeTicket();
|
|
1215
|
+
window.$auth.removeRoles();
|
|
1216
|
+
window.$auth.removePermissions();
|
|
1217
|
+
resolve();
|
|
1218
|
+
});
|
|
1219
|
+
});
|
|
1220
|
+
case 1:
|
|
1221
|
+
case "end":
|
|
1222
|
+
return _context7.stop();
|
|
1223
|
+
}
|
|
1224
|
+
}, _callee7);
|
|
1225
|
+
}));
|
|
1226
|
+
return function (_x7) {
|
|
1227
|
+
return _ref15.apply(this, arguments);
|
|
1228
|
+
};
|
|
1229
|
+
}());
|
|
889
1230
|
},
|
|
890
1231
|
// remove token
|
|
891
|
-
resetToken: function resetToken(
|
|
892
|
-
var commit =
|
|
1232
|
+
resetToken: function resetToken(_ref16) {
|
|
1233
|
+
var commit = _ref16.commit;
|
|
893
1234
|
return new Promise(function (resolve) {
|
|
894
1235
|
commit('SET_TOKEN', '');
|
|
895
1236
|
commit('SET_LOGIN_USER', null);
|
|
@@ -912,112 +1253,42 @@ var actions = {
|
|
|
912
1253
|
|
|
913
1254
|
/***/ }),
|
|
914
1255
|
|
|
915
|
-
/***/
|
|
1256
|
+
/***/ 3299:
|
|
916
1257
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
917
1258
|
|
|
918
1259
|
"use strict";
|
|
919
|
-
// ESM COMPAT FLAG
|
|
920
1260
|
__webpack_require__.r(__webpack_exports__);
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
__webpack_require__
|
|
924
|
-
"default": function() { return /* binding */ app; }
|
|
925
|
-
});
|
|
926
|
-
|
|
927
|
-
// EXTERNAL MODULE: ./node_modules/js-cookie/src/js.cookie.js
|
|
928
|
-
var js_cookie = __webpack_require__(2215);
|
|
929
|
-
var js_cookie_default = /*#__PURE__*/__webpack_require__.n(js_cookie);
|
|
930
|
-
;// CONCATENATED MODULE: ./packages/common/lang/index.js
|
|
931
|
-
|
|
932
|
-
// import { messages } from '@/global/lang/index'
|
|
933
|
-
var messages = __webpack_require__(7293);
|
|
934
|
-
|
|
935
|
-
// translate router.meta.title, be used in breadcrumb sidebar tagsview
|
|
936
|
-
function generateTitle(meta, $scope, moduleCode) {
|
|
937
|
-
$scope = $scope || this;
|
|
938
|
-
var expression = '';
|
|
939
|
-
if (meta.i18nCode) {
|
|
940
|
-
expression = (moduleCode || 'menuItem') + '.' + meta.i18nCode;
|
|
941
|
-
} else if (meta.field && moduleCode) {
|
|
942
|
-
// 表单输入框标题、列表表头标题
|
|
943
|
-
expression = moduleCode + '.fields.' + meta.field;
|
|
944
|
-
} else if (meta.field && $scope.moduleInfo && $scope.moduleInfo.moduleCode) {
|
|
945
|
-
// 表单输入框标题、列表表头标题
|
|
946
|
-
var _moduleCode = $scope.moduleInfo.moduleCode;
|
|
947
|
-
expression = _moduleCode + '.fields.' + meta.field;
|
|
948
|
-
} else if (meta.formTitle) {
|
|
949
|
-
// 表单标题
|
|
950
|
-
expression = meta.code + '.formTitle';
|
|
951
|
-
} else if (meta.btnI18nCode) {
|
|
952
|
-
// 按钮名称
|
|
953
|
-
expression = 'button' + '.' + meta.btnI18nCode;
|
|
954
|
-
} else {
|
|
955
|
-
expression = 'navbar.' + meta.title;
|
|
956
|
-
}
|
|
957
|
-
if ($scope && $scope.$te) {
|
|
958
|
-
var hasKey = $scope.$te(expression);
|
|
959
|
-
if (hasKey) {
|
|
960
|
-
var translatedTitle = $scope.$t(expression);
|
|
961
|
-
return translatedTitle;
|
|
962
|
-
} else if ($scope.$i18n.locale !== 'zhCN') {
|
|
963
|
-
var titles = (meta.i18nCode || meta.code || meta.field || meta.btnI18nCode || meta.title || '').split('.')[0].replace('-', '_');
|
|
964
|
-
if (titles.indexOf('_') !== -1) {
|
|
965
|
-
titles = titles.toLowerCase().split('_');
|
|
966
|
-
for (var i = 0; i < titles.length; i++) {
|
|
967
|
-
titles[i] = titles[i].substring(0, 1).toUpperCase() + titles[i].substring(1);
|
|
968
|
-
}
|
|
969
|
-
return titles.join('');
|
|
970
|
-
} else {
|
|
971
|
-
return titles.substring(0, 1).toUpperCase() + titles.substring(1);
|
|
972
|
-
}
|
|
973
|
-
}
|
|
974
|
-
}
|
|
975
|
-
return meta.title || meta.btnName || meta.formTitle;
|
|
976
|
-
}
|
|
977
|
-
function getLanguage() {
|
|
978
|
-
var chooseLanguage = js_cookie_default().get('language');
|
|
979
|
-
if (chooseLanguage) return chooseLanguage;
|
|
980
|
-
|
|
981
|
-
// if has not choose language
|
|
982
|
-
var language = (navigator.language || navigator.browserLanguage || '').toLowerCase();
|
|
983
|
-
var locales = Object.keys(messages);
|
|
984
|
-
for (var _i = 0, _locales = locales; _i < _locales.length; _i++) {
|
|
985
|
-
var locale = _locales[_i];
|
|
986
|
-
if (language.indexOf(locale) > -1) {
|
|
987
|
-
return locale;
|
|
988
|
-
}
|
|
989
|
-
}
|
|
990
|
-
return 'zhCN';
|
|
991
|
-
}
|
|
992
|
-
;// CONCATENATED MODULE: ./packages/common/store/modules/wapp/app.js
|
|
1261
|
+
/* harmony import */ var js_cookie__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2215);
|
|
1262
|
+
/* harmony import */ var js_cookie__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(js_cookie__WEBPACK_IMPORTED_MODULE_0__);
|
|
1263
|
+
/* harmony import */ var _lang_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3112);
|
|
993
1264
|
|
|
994
1265
|
|
|
995
1266
|
var state = {
|
|
996
1267
|
sidebar: {
|
|
997
|
-
opened:
|
|
1268
|
+
opened: js_cookie__WEBPACK_IMPORTED_MODULE_0___default().get('sidebarStatus') ? !!+js_cookie__WEBPACK_IMPORTED_MODULE_0___default().get('sidebarStatus') : true,
|
|
998
1269
|
withoutAnimation: false
|
|
999
1270
|
},
|
|
1000
1271
|
device: 'desktop',
|
|
1001
|
-
language: getLanguage(),
|
|
1002
|
-
size:
|
|
1272
|
+
language: (0,_lang_index__WEBPACK_IMPORTED_MODULE_1__/* .getLanguage */ .Z0)(),
|
|
1273
|
+
size: js_cookie__WEBPACK_IMPORTED_MODULE_0___default().get('size') || 'medium'
|
|
1003
1274
|
};
|
|
1004
1275
|
var mutations = {
|
|
1005
1276
|
TOGGLE_SIDEBAR: function TOGGLE_SIDEBAR(state) {
|
|
1006
1277
|
state.sidebar.opened = !state.sidebar.opened;
|
|
1007
1278
|
state.sidebar.withoutAnimation = false;
|
|
1008
1279
|
if (state.sidebar.opened) {
|
|
1009
|
-
|
|
1280
|
+
js_cookie__WEBPACK_IMPORTED_MODULE_0___default().set('sidebarStatus', 1);
|
|
1010
1281
|
} else {
|
|
1011
|
-
|
|
1282
|
+
js_cookie__WEBPACK_IMPORTED_MODULE_0___default().set('sidebarStatus', 0);
|
|
1012
1283
|
}
|
|
1013
1284
|
},
|
|
1014
1285
|
CLOSE_SIDEBAR: function CLOSE_SIDEBAR(state, withoutAnimation) {
|
|
1015
|
-
|
|
1286
|
+
js_cookie__WEBPACK_IMPORTED_MODULE_0___default().set('sidebarStatus', 0);
|
|
1016
1287
|
state.sidebar.opened = false;
|
|
1017
1288
|
state.sidebar.withoutAnimation = withoutAnimation;
|
|
1018
1289
|
},
|
|
1019
1290
|
OPEN_SIDEBAR: function OPEN_SIDEBAR(state, withoutAnimation) {
|
|
1020
|
-
|
|
1291
|
+
js_cookie__WEBPACK_IMPORTED_MODULE_0___default().set('sidebarStatus', 1);
|
|
1021
1292
|
state.sidebar.opened = true;
|
|
1022
1293
|
state.sidebar.withoutAnimation = withoutAnimation;
|
|
1023
1294
|
},
|
|
@@ -1026,11 +1297,11 @@ var mutations = {
|
|
|
1026
1297
|
},
|
|
1027
1298
|
SET_LANGUAGE: function SET_LANGUAGE(state, language) {
|
|
1028
1299
|
state.language = language;
|
|
1029
|
-
|
|
1300
|
+
js_cookie__WEBPACK_IMPORTED_MODULE_0___default().set('language', language);
|
|
1030
1301
|
},
|
|
1031
1302
|
SET_SIZE: function SET_SIZE(state, size) {
|
|
1032
1303
|
state.size = size;
|
|
1033
|
-
|
|
1304
|
+
js_cookie__WEBPACK_IMPORTED_MODULE_0___default().set('size', size);
|
|
1034
1305
|
}
|
|
1035
1306
|
};
|
|
1036
1307
|
var actions = {
|
|
@@ -1061,7 +1332,7 @@ var actions = {
|
|
|
1061
1332
|
commit('SET_SIZE', size);
|
|
1062
1333
|
}
|
|
1063
1334
|
};
|
|
1064
|
-
/* harmony default export */
|
|
1335
|
+
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
1065
1336
|
namespaced: true,
|
|
1066
1337
|
state: state,
|
|
1067
1338
|
mutations: mutations,
|
|
@@ -1070,7 +1341,7 @@ var actions = {
|
|
|
1070
1341
|
|
|
1071
1342
|
/***/ }),
|
|
1072
1343
|
|
|
1073
|
-
/***/
|
|
1344
|
+
/***/ 9427:
|
|
1074
1345
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1075
1346
|
|
|
1076
1347
|
"use strict";
|
|
@@ -1082,14 +1353,14 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1082
1353
|
"default": function() { return /* binding */ route; }
|
|
1083
1354
|
});
|
|
1084
1355
|
|
|
1085
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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=
|
|
1356
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
1086
1357
|
var render = function render() {
|
|
1087
1358
|
var _vm = this,
|
|
1088
1359
|
_c = _vm._self._c;
|
|
1089
1360
|
return _c('LRLayout', [_c('LeftPanel', [_vm.orgCode && !_vm.row.id && _vm.sysSetupList.length > 1 ? _c('el-switch', {
|
|
1090
1361
|
attrs: {
|
|
1091
|
-
"active-text":
|
|
1092
|
-
"inactive-text":
|
|
1362
|
+
"active-text": _vm.$tx('ecwplat.sysSetup.activeText', '按主系统合并'),
|
|
1363
|
+
"inactive-text": _vm.$tx('ecwplat.sysSetup.inactiveText', '展开子系统')
|
|
1093
1364
|
},
|
|
1094
1365
|
on: {
|
|
1095
1366
|
"change": function change($event) {
|
|
@@ -1120,36 +1391,72 @@ var render = function render() {
|
|
|
1120
1391
|
key: "context-menu",
|
|
1121
1392
|
fn: function fn(slotProps) {
|
|
1122
1393
|
return [slotProps && slotProps.contextNode.pId === null ? _c('ul', [_c('li', {
|
|
1394
|
+
directives: [{
|
|
1395
|
+
name: "pageBtn-lbl",
|
|
1396
|
+
rawName: "v-pageBtn-lbl",
|
|
1397
|
+
value: 'ecwplat.PageBtns.addColumn',
|
|
1398
|
+
expression: "'ecwplat.PageBtns.addColumn'"
|
|
1399
|
+
}],
|
|
1123
1400
|
on: {
|
|
1124
1401
|
"click": function click($event) {
|
|
1125
1402
|
return _vm.addModuleMenu(slotProps.treeId, slotProps.contextNode);
|
|
1126
1403
|
}
|
|
1127
1404
|
}
|
|
1128
1405
|
}, [_vm._v("新增栏目")]), _vm.dwadmin != 1 ? _c('li', {
|
|
1406
|
+
directives: [{
|
|
1407
|
+
name: "pageBtn-lbl",
|
|
1408
|
+
rawName: "v-pageBtn-lbl",
|
|
1409
|
+
value: 'ecwplat.PageBtns.systemSetting',
|
|
1410
|
+
expression: "'ecwplat.PageBtns.systemSetting'"
|
|
1411
|
+
}],
|
|
1129
1412
|
on: {
|
|
1130
1413
|
"click": function click($event) {
|
|
1131
1414
|
return _vm.editSysSetup(slotProps.treeId, slotProps.contextNode);
|
|
1132
1415
|
}
|
|
1133
1416
|
}
|
|
1134
1417
|
}, [_vm._v("系统设置")]) : _vm._e()]) : _vm._e(), slotProps && slotProps.contextNode.pId !== null ? _c('ul', [_c('li', {
|
|
1418
|
+
directives: [{
|
|
1419
|
+
name: "pageBtn-lbl",
|
|
1420
|
+
rawName: "v-pageBtn-lbl",
|
|
1421
|
+
value: 'ecwplat.PageBtns.addSubmenu',
|
|
1422
|
+
expression: "'ecwplat.PageBtns.addSubmenu'"
|
|
1423
|
+
}],
|
|
1135
1424
|
on: {
|
|
1136
1425
|
"click": function click($event) {
|
|
1137
1426
|
return _vm.addMenu(slotProps.treeId, slotProps.contextNode);
|
|
1138
1427
|
}
|
|
1139
1428
|
}
|
|
1140
1429
|
}, [_vm._v("新增子菜单")]), slotProps.contextNode.moduleLevel <= 2 ? _c('li', {
|
|
1430
|
+
directives: [{
|
|
1431
|
+
name: "pageBtn-lbl",
|
|
1432
|
+
rawName: "v-pageBtn-lbl",
|
|
1433
|
+
value: 'ecwplat.PageBtns.addApprMenu',
|
|
1434
|
+
expression: "'ecwplat.PageBtns.addApprMenu'"
|
|
1435
|
+
}],
|
|
1141
1436
|
on: {
|
|
1142
1437
|
"click": function click($event) {
|
|
1143
1438
|
return _vm.addWflowMenus(slotProps.treeId, slotProps.contextNode);
|
|
1144
1439
|
}
|
|
1145
1440
|
}
|
|
1146
1441
|
}, [_vm._v("新增审批菜单组")]) : _vm._e(), _c('li', {
|
|
1442
|
+
directives: [{
|
|
1443
|
+
name: "pageBtn-lbl",
|
|
1444
|
+
rawName: "v-pageBtn-lbl",
|
|
1445
|
+
value: 'ecwplat.PageBtns.modifyMenu',
|
|
1446
|
+
expression: "'ecwplat.PageBtns.modifyMenu'"
|
|
1447
|
+
}],
|
|
1147
1448
|
on: {
|
|
1148
1449
|
"click": function click($event) {
|
|
1149
1450
|
return _vm.editMenu(slotProps.treeId, slotProps.contextNode);
|
|
1150
1451
|
}
|
|
1151
1452
|
}
|
|
1152
1453
|
}, [_vm._v("修改菜单")]), _c('li', {
|
|
1454
|
+
directives: [{
|
|
1455
|
+
name: "pageBtn-lbl",
|
|
1456
|
+
rawName: "v-pageBtn-lbl",
|
|
1457
|
+
value: 'ecwplat.PageBtns.deleteMenu',
|
|
1458
|
+
expression: "'ecwplat.PageBtns.deleteMenu'"
|
|
1459
|
+
}],
|
|
1153
1460
|
on: {
|
|
1154
1461
|
"click": function click($event) {
|
|
1155
1462
|
return _vm.deleteMenu(slotProps.treeId, slotProps.contextNode);
|
|
@@ -1157,15 +1464,21 @@ var render = function render() {
|
|
|
1157
1464
|
}
|
|
1158
1465
|
}, [_vm._v("删除菜单")])]) : _vm._e()];
|
|
1159
1466
|
}
|
|
1160
|
-
}], null, false,
|
|
1467
|
+
}], null, false, 3142527844)
|
|
1161
1468
|
}) : _vm._e(), _vm.treeData == null || _vm.treeData.length == 0 ? _c('div', {
|
|
1469
|
+
directives: [{
|
|
1470
|
+
name: "text-lbl",
|
|
1471
|
+
rawName: "v-text-lbl",
|
|
1472
|
+
value: 'selectMechanism',
|
|
1473
|
+
expression: "'selectMechanism'"
|
|
1474
|
+
}],
|
|
1162
1475
|
staticClass: "dwadmin-initmessage",
|
|
1163
1476
|
on: {
|
|
1164
1477
|
"click": _vm.openSelectRootOrgDialog
|
|
1165
1478
|
}
|
|
1166
1479
|
}, [_vm._v("请选择模块菜单所属机构")]) : _vm._e()], 1), _c('RightPanel', [_vm.sys == null && _vm.dwadmin != 1 ? _c('div', [_c('PageContent', {
|
|
1167
1480
|
attrs: {
|
|
1168
|
-
"title":
|
|
1481
|
+
"title": _vm.$tx('ecwplat.sysSetup.moduleMenu', '模块菜单'),
|
|
1169
1482
|
"set-nav-search": false
|
|
1170
1483
|
}
|
|
1171
1484
|
}, [_vm.importResult == null ? _c('el-form', [_c('div', {
|
|
@@ -1184,6 +1497,12 @@ var render = function render() {
|
|
|
1184
1497
|
"border": "0"
|
|
1185
1498
|
}
|
|
1186
1499
|
}, [_c('tbody', [_vm.dwadmin != 1 ? _c('tr', [_c('td', {
|
|
1500
|
+
directives: [{
|
|
1501
|
+
name: "text-lbl",
|
|
1502
|
+
rawName: "v-text-lbl",
|
|
1503
|
+
value: 'affiliatedInstitution',
|
|
1504
|
+
expression: "'affiliatedInstitution'"
|
|
1505
|
+
}],
|
|
1187
1506
|
staticClass: "tdlbl tdw17"
|
|
1188
1507
|
}, [_vm._v("所属机构")]), _c('td', {
|
|
1189
1508
|
staticClass: "tdcont tdw83 td-organ",
|
|
@@ -1193,7 +1512,7 @@ var render = function render() {
|
|
|
1193
1512
|
}, [_c('ValidationProvider', {
|
|
1194
1513
|
ref: "ValidationProvider",
|
|
1195
1514
|
attrs: {
|
|
1196
|
-
"name":
|
|
1515
|
+
"name": _vm.$tx('ecwplat.sysSetup.affiliatedInstitution', '所属机构'),
|
|
1197
1516
|
"rules": "required"
|
|
1198
1517
|
},
|
|
1199
1518
|
scopedSlots: _vm._u([{
|
|
@@ -1222,7 +1541,7 @@ var render = function render() {
|
|
|
1222
1541
|
"org-type": "1",
|
|
1223
1542
|
"readonly": "",
|
|
1224
1543
|
"name": "orgCode",
|
|
1225
|
-
"placeholder":
|
|
1544
|
+
"placeholder": _vm.$tx('ecwplat.sysSetup.selectAffInsti', '请选择模块菜单所属机构')
|
|
1226
1545
|
},
|
|
1227
1546
|
model: {
|
|
1228
1547
|
value: _vm.treeNode,
|
|
@@ -1233,8 +1552,14 @@ var render = function render() {
|
|
|
1233
1552
|
}
|
|
1234
1553
|
})], 1)];
|
|
1235
1554
|
}
|
|
1236
|
-
}], null, false,
|
|
1555
|
+
}], null, false, 3659148067)
|
|
1237
1556
|
})], 1)]) : _vm._e(), _c('tr', [_c('td', {
|
|
1557
|
+
directives: [{
|
|
1558
|
+
name: "text-lbl",
|
|
1559
|
+
rawName: "v-text-lbl",
|
|
1560
|
+
value: 'settingInstruction',
|
|
1561
|
+
expression: "'settingInstruction'"
|
|
1562
|
+
}],
|
|
1238
1563
|
staticClass: "tdlbl tdw17"
|
|
1239
1564
|
}, [_vm._v("设置说明")]), _c('td', {
|
|
1240
1565
|
staticClass: "tdcont tdw83",
|
|
@@ -1247,7 +1572,28 @@ var render = function render() {
|
|
|
1247
1572
|
"text-align": "left",
|
|
1248
1573
|
"line-height": "25px"
|
|
1249
1574
|
}
|
|
1250
|
-
}, [_c('span',
|
|
1575
|
+
}, [_c('span', {
|
|
1576
|
+
directives: [{
|
|
1577
|
+
name: "text-lbl",
|
|
1578
|
+
rawName: "v-text-lbl",
|
|
1579
|
+
value: 'explainTip1',
|
|
1580
|
+
expression: "'explainTip1'"
|
|
1581
|
+
}]
|
|
1582
|
+
}, [_vm._v("1.产品业务开通后,可对各单位已开通产品的模块菜单做个性化设置;")]), _c('br'), _c('span', {
|
|
1583
|
+
directives: [{
|
|
1584
|
+
name: "text-lbl",
|
|
1585
|
+
rawName: "v-text-lbl",
|
|
1586
|
+
value: 'explainTip2',
|
|
1587
|
+
expression: "'explainTip2'"
|
|
1588
|
+
}]
|
|
1589
|
+
}, [_vm._v("2.一个单位开通多个产品,一次性加载全部产品模块菜单;")]), _c('br'), _c('span', {
|
|
1590
|
+
directives: [{
|
|
1591
|
+
name: "text-lbl",
|
|
1592
|
+
rawName: "v-text-lbl",
|
|
1593
|
+
value: 'explainTip3',
|
|
1594
|
+
expression: "'explainTip3'"
|
|
1595
|
+
}]
|
|
1596
|
+
}, [_vm._v("3.请先选择模块菜单所属单位。")]), _c('br')])])])])])])])]) : _vm._e()], 1)], 1) : _vm._e(), _vm.sys !== null && _vm.menuItem === null ? _c('SysSetup', {
|
|
1251
1597
|
attrs: {
|
|
1252
1598
|
"vo": _vm.sys,
|
|
1253
1599
|
"z-tree": _vm.zTree,
|
|
@@ -1298,6 +1644,8 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
1298
1644
|
},
|
|
1299
1645
|
data: function data() {
|
|
1300
1646
|
return {
|
|
1647
|
+
i18npkg: 'base',
|
|
1648
|
+
moduleCode: 'sysSetup',
|
|
1301
1649
|
moduleInfo: {
|
|
1302
1650
|
loadSysSetupUrl: 'base/sysSetup/querydata',
|
|
1303
1651
|
// 加载系统配置(业务开通管理)url
|
|
@@ -1416,7 +1764,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
1416
1764
|
}
|
|
1417
1765
|
});
|
|
1418
1766
|
} else {
|
|
1419
|
-
_this.$alert('您所选择的单位未开通任何业务,请重新选择!', '操作提示', {
|
|
1767
|
+
_this.$alert(_this.$tx('ecwplat.sysSetup.chooseAgain', '您所选择的单位未开通任何业务,请重新选择!'), _this.$tx('common.operationTip', '操作提示'), {
|
|
1420
1768
|
type: 'warning'
|
|
1421
1769
|
});
|
|
1422
1770
|
}
|
|
@@ -1540,7 +1888,9 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
1540
1888
|
},
|
|
1541
1889
|
treeBeforeDropNode: function treeBeforeDropNode(treeId, dropNode, targetNode, moveType, isCopy) {
|
|
1542
1890
|
if (moveType === 'inner' && targetNode.moduleLevel > 1 && targetNode.leafFlag === 1) {
|
|
1543
|
-
this.$alert(
|
|
1891
|
+
this.$alert(this.$tx('ecwplat.sysSetup.cannotBe', {
|
|
1892
|
+
targetNode: targetNode.name
|
|
1893
|
+
}, '{targetNode}不是文件夹菜单,不能移入。'), {
|
|
1544
1894
|
type: 'warning'
|
|
1545
1895
|
});
|
|
1546
1896
|
return false;
|
|
@@ -1599,7 +1949,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
1599
1949
|
}).then(function (res) {
|
|
1600
1950
|
if (res.code === 'success') {
|
|
1601
1951
|
_this3.onTreeNodeClick(event, treeId, dropNode);
|
|
1602
|
-
_this3.$message.success(
|
|
1952
|
+
_this3.$message.success(res.message);
|
|
1603
1953
|
} else {
|
|
1604
1954
|
_this3.$alert(res.message, {
|
|
1605
1955
|
type: 'error'
|
|
@@ -1663,9 +2013,9 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
1663
2013
|
});
|
|
1664
2014
|
;// CONCATENATED MODULE: ./packages/ecwplat/Module/src/index.vue?vue&type=script&lang=js
|
|
1665
2015
|
/* harmony default export */ var Module_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
|
|
1666
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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=
|
|
1667
|
-
var
|
|
1668
|
-
;// CONCATENATED MODULE: ./packages/ecwplat/Module/src/index.vue?vue&type=style&index=0&id=
|
|
2016
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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
|
|
2017
|
+
var srcvue_type_style_index_0_id_75f36493_prod_scoped_true_lang_scss = __webpack_require__(6122);
|
|
2018
|
+
;// CONCATENATED MODULE: ./packages/ecwplat/Module/src/index.vue?vue&type=style&index=0&id=75f36493&prod&scoped=true&lang=scss
|
|
1669
2019
|
|
|
1670
2020
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
1671
2021
|
var componentNormalizer = __webpack_require__(1656);
|
|
@@ -1684,14 +2034,14 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
1684
2034
|
staticRenderFns,
|
|
1685
2035
|
false,
|
|
1686
2036
|
null,
|
|
1687
|
-
"
|
|
2037
|
+
"75f36493",
|
|
1688
2038
|
null
|
|
1689
2039
|
|
|
1690
2040
|
)
|
|
1691
2041
|
|
|
1692
2042
|
/* harmony default export */ var src = (component.exports);
|
|
1693
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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=
|
|
1694
|
-
var
|
|
2043
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
2044
|
+
var SysSetupvue_type_template_id_ded36afa_scoped_true_render = function render() {
|
|
1695
2045
|
var _vm = this,
|
|
1696
2046
|
_c = _vm._self._c;
|
|
1697
2047
|
return _c('PageContent', {
|
|
@@ -1707,7 +2057,7 @@ var SysSetupvue_type_template_id_13900aee_scoped_true_render = function render()
|
|
|
1707
2057
|
}
|
|
1708
2058
|
}), _vm.formType === 'SysSetup' ? _c('Basicform', {
|
|
1709
2059
|
attrs: {
|
|
1710
|
-
"title": '系统设置',
|
|
2060
|
+
"title": _vm.$tx('ecwplat.PageBtns.systemSetting', '系统设置'),
|
|
1711
2061
|
"win-width": _vm.sysSetupModuleInfo.winWidth,
|
|
1712
2062
|
"win-height": _vm.sysSetupModuleInfo.winHeight,
|
|
1713
2063
|
"toolbar-btns": _vm.busiformBtns,
|
|
@@ -1726,10 +2076,10 @@ var SysSetupvue_type_template_id_13900aee_scoped_true_render = function render()
|
|
|
1726
2076
|
}
|
|
1727
2077
|
})];
|
|
1728
2078
|
}
|
|
1729
|
-
}], null, false,
|
|
2079
|
+
}], null, false, 1967240207)
|
|
1730
2080
|
}) : _vm._e(), _vm.formType === 'ModuleMenu' ? _c('Basicform', {
|
|
1731
2081
|
attrs: {
|
|
1732
|
-
"title": '栏目菜单配置',
|
|
2082
|
+
"title": _vm.$tx('ecwplat.Common.columnMenuConfiguration', '栏目菜单配置'),
|
|
1733
2083
|
"append-to-body": true,
|
|
1734
2084
|
"win-width": _vm.menuModuleInfo.winWidth,
|
|
1735
2085
|
"win-height": _vm.menuModuleInfo.winHeight,
|
|
@@ -1747,7 +2097,7 @@ var SysSetupvue_type_template_id_13900aee_scoped_true_render = function render()
|
|
|
1747
2097
|
}
|
|
1748
2098
|
})];
|
|
1749
2099
|
}
|
|
1750
|
-
}], null, false,
|
|
2100
|
+
}], null, false, 1127664884)
|
|
1751
2101
|
}) : _vm._e(), _c('div', {
|
|
1752
2102
|
attrs: {
|
|
1753
2103
|
"slot": "footer"
|
|
@@ -1759,6 +2109,11 @@ var SysSetupvue_type_template_id_13900aee_scoped_true_render = function render()
|
|
|
1759
2109
|
rawName: "v-permission",
|
|
1760
2110
|
value: 'addModuleMenu',
|
|
1761
2111
|
expression: "'addModuleMenu'"
|
|
2112
|
+
}, {
|
|
2113
|
+
name: "pageBtn-lbl",
|
|
2114
|
+
rawName: "v-pageBtn-lbl",
|
|
2115
|
+
value: 'ecwplat.PageBtns.addColumn',
|
|
2116
|
+
expression: "'ecwplat.PageBtns.addColumn'"
|
|
1762
2117
|
}],
|
|
1763
2118
|
attrs: {
|
|
1764
2119
|
"plain": "",
|
|
@@ -1773,6 +2128,11 @@ var SysSetupvue_type_template_id_13900aee_scoped_true_render = function render()
|
|
|
1773
2128
|
rawName: "v-permission",
|
|
1774
2129
|
value: 'editSysSetup',
|
|
1775
2130
|
expression: "'editSysSetup'"
|
|
2131
|
+
}, {
|
|
2132
|
+
name: "pageBtn-lbl",
|
|
2133
|
+
rawName: "v-pageBtn-lbl",
|
|
2134
|
+
value: 'ecwplat.PageBtns.systemSetting',
|
|
2135
|
+
expression: "'ecwplat.PageBtns.systemSetting'"
|
|
1776
2136
|
}],
|
|
1777
2137
|
attrs: {
|
|
1778
2138
|
"plain": "",
|
|
@@ -1787,6 +2147,11 @@ var SysSetupvue_type_template_id_13900aee_scoped_true_render = function render()
|
|
|
1787
2147
|
rawName: "v-permission",
|
|
1788
2148
|
value: 'editSysSetup',
|
|
1789
2149
|
expression: "'editSysSetup'"
|
|
2150
|
+
}, {
|
|
2151
|
+
name: "pageBtn-lbl",
|
|
2152
|
+
rawName: "v-pageBtn-lbl",
|
|
2153
|
+
value: 'ecwplat.PageBtns.oneClickDelete',
|
|
2154
|
+
expression: "'ecwplat.PageBtns.oneClickDelete'"
|
|
1790
2155
|
}],
|
|
1791
2156
|
attrs: {
|
|
1792
2157
|
"plain": "",
|
|
@@ -1801,6 +2166,11 @@ var SysSetupvue_type_template_id_13900aee_scoped_true_render = function render()
|
|
|
1801
2166
|
rawName: "v-permission",
|
|
1802
2167
|
value: 'editSysSetup',
|
|
1803
2168
|
expression: "'editSysSetup'"
|
|
2169
|
+
}, {
|
|
2170
|
+
name: "pageBtn-lbl",
|
|
2171
|
+
rawName: "v-pageBtn-lbl",
|
|
2172
|
+
value: 'ecwplat.PageBtns.switchUnits',
|
|
2173
|
+
expression: "'ecwplat.PageBtns.switchUnits'"
|
|
1804
2174
|
}],
|
|
1805
2175
|
attrs: {
|
|
1806
2176
|
"plain": "",
|
|
@@ -1810,6 +2180,12 @@ var SysSetupvue_type_template_id_13900aee_scoped_true_render = function render()
|
|
|
1810
2180
|
"click": _vm.selectOrgan
|
|
1811
2181
|
}
|
|
1812
2182
|
}, [_vm._v("切换单位")]) : _vm._e(), _vm.dwadmin != 1 ? _c('el-button', {
|
|
2183
|
+
directives: [{
|
|
2184
|
+
name: "pageBtn-lbl",
|
|
2185
|
+
rawName: "v-pageBtn-lbl",
|
|
2186
|
+
value: 'ecwplat.PageBtns.exportMenu',
|
|
2187
|
+
expression: "'ecwplat.PageBtns.exportMenu'"
|
|
2188
|
+
}],
|
|
1813
2189
|
attrs: {
|
|
1814
2190
|
"plain": "",
|
|
1815
2191
|
"icon": "el-icon-top-right"
|
|
@@ -1818,6 +2194,12 @@ var SysSetupvue_type_template_id_13900aee_scoped_true_render = function render()
|
|
|
1818
2194
|
"click": _vm.exportMenu
|
|
1819
2195
|
}
|
|
1820
2196
|
}, [_vm._v("导出菜单")]) : _vm._e(), _vm.dwadmin != 1 ? _c('el-button', {
|
|
2197
|
+
directives: [{
|
|
2198
|
+
name: "pageBtn-lbl",
|
|
2199
|
+
rawName: "v-pageBtn-lbl",
|
|
2200
|
+
value: 'ecwplat.PageBtns.importMenu',
|
|
2201
|
+
expression: "'ecwplat.PageBtns.importMenu'"
|
|
2202
|
+
}],
|
|
1821
2203
|
attrs: {
|
|
1822
2204
|
"plain": "",
|
|
1823
2205
|
"icon": "el-icon-bottom-right"
|
|
@@ -1827,10 +2209,10 @@ var SysSetupvue_type_template_id_13900aee_scoped_true_render = function render()
|
|
|
1827
2209
|
}
|
|
1828
2210
|
}, [_vm._v("导入菜单")]) : _vm._e()], 1), _c('ExportModuleCode'), _c('ImportModuleCode'), _c('DoingDialog')], 1);
|
|
1829
2211
|
};
|
|
1830
|
-
var
|
|
2212
|
+
var SysSetupvue_type_template_id_ded36afa_scoped_true_staticRenderFns = [];
|
|
1831
2213
|
|
|
1832
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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=
|
|
1833
|
-
var
|
|
2214
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
2215
|
+
var MenuItemFormvue_type_template_id_383980ee_scoped_true_render = function render() {
|
|
1834
2216
|
var _vm = this,
|
|
1835
2217
|
_c = _vm._self._c;
|
|
1836
2218
|
return _c('el-form', {
|
|
@@ -1849,6 +2231,12 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
1849
2231
|
"border": "0"
|
|
1850
2232
|
}
|
|
1851
2233
|
}, [_c('tbody', [_vm.vo.parentName ? _c('tr', [_c('td', {
|
|
2234
|
+
directives: [{
|
|
2235
|
+
name: "field-lbl",
|
|
2236
|
+
rawName: "v-field-lbl",
|
|
2237
|
+
value: 'parentName',
|
|
2238
|
+
expression: "'parentName'"
|
|
2239
|
+
}],
|
|
1852
2240
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
1853
2241
|
}, [_vm._v("上级名称")]), _c('td', {
|
|
1854
2242
|
staticClass: "el-table__cell tdcont tdw83",
|
|
@@ -1863,7 +2251,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
1863
2251
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
1864
2252
|
}, [_c('span', {
|
|
1865
2253
|
staticClass: "required"
|
|
1866
|
-
}, [_vm._v("*")]), _vm._v(_vm._s(_vm.nameLabel))]), _c('td', {
|
|
2254
|
+
}, [_vm._v("*")]), _vm._v(" " + _vm._s(_vm.nameLabel) + " ")]), _c('td', {
|
|
1867
2255
|
staticClass: "el-table__cell tdcont tdw33"
|
|
1868
2256
|
}, [_c('ValidationProvider', {
|
|
1869
2257
|
ref: "ValidationProvider",
|
|
@@ -1893,7 +2281,9 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
1893
2281
|
}],
|
|
1894
2282
|
attrs: {
|
|
1895
2283
|
"name": "name",
|
|
1896
|
-
"placeholder": '
|
|
2284
|
+
"placeholder": _vm.$tx('common.plInputContent', {
|
|
2285
|
+
content: _vm.nameLabel
|
|
2286
|
+
}, '请输入{content}')
|
|
1897
2287
|
},
|
|
1898
2288
|
model: {
|
|
1899
2289
|
value: _vm.vo.name,
|
|
@@ -1909,7 +2299,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
1909
2299
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
1910
2300
|
}, [_c('span', {
|
|
1911
2301
|
staticClass: "required"
|
|
1912
|
-
}, [_vm._v("*")]), _vm._v(_vm._s(_vm.codeLabel))]), _c('td', {
|
|
2302
|
+
}, [_vm._v("*")]), _vm._v(" " + _vm._s(_vm.codeLabel) + " ")]), _c('td', {
|
|
1913
2303
|
staticClass: "el-table__cell tdcont tdw33"
|
|
1914
2304
|
}, [_c('ValidationProvider', {
|
|
1915
2305
|
ref: "ValidationProvider",
|
|
@@ -1939,7 +2329,9 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
1939
2329
|
}],
|
|
1940
2330
|
attrs: {
|
|
1941
2331
|
"name": "code",
|
|
1942
|
-
"placeholder": '
|
|
2332
|
+
"placeholder": _vm.$tx('common.plInputContent', {
|
|
2333
|
+
content: _vm.codeLabel
|
|
2334
|
+
}, '请输入{content}')
|
|
1943
2335
|
},
|
|
1944
2336
|
model: {
|
|
1945
2337
|
value: _vm.vo.code,
|
|
@@ -1961,6 +2353,12 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
1961
2353
|
}
|
|
1962
2354
|
}])
|
|
1963
2355
|
})], 1)]), _vm.vo.moduleLevel == 1 ? _c('tr', [_c('td', {
|
|
2356
|
+
directives: [{
|
|
2357
|
+
name: "field-lbl",
|
|
2358
|
+
rawName: "v-field-lbl",
|
|
2359
|
+
value: 'columnAbbre',
|
|
2360
|
+
expression: "'columnAbbre'"
|
|
2361
|
+
}],
|
|
1964
2362
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
1965
2363
|
}, [_vm._v("栏目简称")]), _c('td', {
|
|
1966
2364
|
staticClass: "el-table__cell tdcont tdw83",
|
|
@@ -1974,7 +2372,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
1974
2372
|
}],
|
|
1975
2373
|
attrs: {
|
|
1976
2374
|
"name": "description",
|
|
1977
|
-
"placeholder": '请输入栏目简称'
|
|
2375
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.columnAbbreEnter', '请输入栏目简称')
|
|
1978
2376
|
},
|
|
1979
2377
|
model: {
|
|
1980
2378
|
value: _vm.vo.description,
|
|
@@ -1987,7 +2385,14 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
1987
2385
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
1988
2386
|
}, [_c('span', {
|
|
1989
2387
|
staticClass: "required"
|
|
1990
|
-
}, [_vm._v("*")]),
|
|
2388
|
+
}, [_vm._v("*")]), _c('span', {
|
|
2389
|
+
directives: [{
|
|
2390
|
+
name: "field-lbl",
|
|
2391
|
+
rawName: "v-field-lbl",
|
|
2392
|
+
value: 'menuType',
|
|
2393
|
+
expression: "'menuType'"
|
|
2394
|
+
}]
|
|
2395
|
+
}, [_vm._v("菜单类型")])]), _c('td', {
|
|
1991
2396
|
staticClass: "el-table__cell tdcont tdw83",
|
|
1992
2397
|
attrs: {
|
|
1993
2398
|
"colspan": "3"
|
|
@@ -1995,7 +2400,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
1995
2400
|
}, [!_vm.isWflowMenus ? _c('ValidationProvider', {
|
|
1996
2401
|
ref: "ValidationProvider",
|
|
1997
2402
|
attrs: {
|
|
1998
|
-
"name":
|
|
2403
|
+
"name": _vm.$tx('ecwplat.menuForm.fields.menuType', '菜单类型'),
|
|
1999
2404
|
"rules": "required"
|
|
2000
2405
|
},
|
|
2001
2406
|
scopedSlots: _vm._u([{
|
|
@@ -2023,7 +2428,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2023
2428
|
},
|
|
2024
2429
|
attrs: {
|
|
2025
2430
|
"name": "leafFlag",
|
|
2026
|
-
"placeholder":
|
|
2431
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.selectmenuType', '请选择菜单类型')
|
|
2027
2432
|
},
|
|
2028
2433
|
model: {
|
|
2029
2434
|
value: _vm.vo.leafFlag,
|
|
@@ -2041,12 +2446,26 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2041
2446
|
}, [_vm._v(_vm._s(option.text))]);
|
|
2042
2447
|
}), 1)], 1)];
|
|
2043
2448
|
}
|
|
2044
|
-
}], null, false,
|
|
2045
|
-
}) : _c('div',
|
|
2449
|
+
}], null, false, 2896587604)
|
|
2450
|
+
}) : _c('div', {
|
|
2451
|
+
directives: [{
|
|
2452
|
+
name: "field-lbl",
|
|
2453
|
+
rawName: "v-field-lbl",
|
|
2454
|
+
value: 'approvalMenu',
|
|
2455
|
+
expression: "'approvalMenu'"
|
|
2456
|
+
}]
|
|
2457
|
+
}, [_vm._v("审批菜单组")])], 1)]) : _vm._e(), _vm.isWflowMenus ? _c('tr', [_c('td', {
|
|
2046
2458
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2047
2459
|
}, [_c('span', {
|
|
2048
2460
|
staticClass: "required"
|
|
2049
|
-
}, [_vm._v("*")]),
|
|
2461
|
+
}, [_vm._v("*")]), _c('span', {
|
|
2462
|
+
directives: [{
|
|
2463
|
+
name: "field-lbl",
|
|
2464
|
+
rawName: "v-field-lbl",
|
|
2465
|
+
value: 'moduleSubmenu',
|
|
2466
|
+
expression: "'moduleSubmenu'"
|
|
2467
|
+
}]
|
|
2468
|
+
}, [_vm._v("审批模块子菜单")])]), _c('td', {
|
|
2050
2469
|
staticClass: "el-table__cell tdcont tdw83",
|
|
2051
2470
|
attrs: {
|
|
2052
2471
|
"colspan": "3"
|
|
@@ -2054,7 +2473,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2054
2473
|
}, [_c('ValidationProvider', {
|
|
2055
2474
|
ref: "ValidationProvider",
|
|
2056
2475
|
attrs: {
|
|
2057
|
-
"name":
|
|
2476
|
+
"name": _vm.$tx('ecwplat.menuForm.fields.moduleSubmenu', '审批模块子菜单'),
|
|
2058
2477
|
"rules": "required"
|
|
2059
2478
|
},
|
|
2060
2479
|
scopedSlots: _vm._u([{
|
|
@@ -2082,7 +2501,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2082
2501
|
},
|
|
2083
2502
|
attrs: {
|
|
2084
2503
|
"name": "selectedItem",
|
|
2085
|
-
"placeholder":
|
|
2504
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.selectModuleSubmenu', '请选择审批模块子菜单')
|
|
2086
2505
|
},
|
|
2087
2506
|
model: {
|
|
2088
2507
|
value: _vm.selectedItem,
|
|
@@ -2100,12 +2519,19 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2100
2519
|
}, [_vm._v(_vm._s(option.name + option.text))]);
|
|
2101
2520
|
}), 1)], 1)];
|
|
2102
2521
|
}
|
|
2103
|
-
}], null, false,
|
|
2522
|
+
}], null, false, 1789908154)
|
|
2104
2523
|
})], 1)]) : _vm._e(), _vm.isWflowMenus && _vm.selectedItem.indexOf('MyCreated') != -1 ? _c('tr', [_c('td', {
|
|
2105
2524
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2106
2525
|
}, [_c('span', {
|
|
2107
2526
|
staticClass: "required"
|
|
2108
|
-
}, [_vm._v("*")]),
|
|
2527
|
+
}, [_vm._v("*")]), _c('span', {
|
|
2528
|
+
directives: [{
|
|
2529
|
+
name: "field-lbl",
|
|
2530
|
+
rawName: "v-field-lbl",
|
|
2531
|
+
value: 'myCreatedURL',
|
|
2532
|
+
expression: "'myCreatedURL'"
|
|
2533
|
+
}]
|
|
2534
|
+
}, [_vm._v("我创建的列表URL")])]), _c('td', {
|
|
2109
2535
|
staticClass: "el-table__cell tdcont tdw83",
|
|
2110
2536
|
attrs: {
|
|
2111
2537
|
"colspan": "3"
|
|
@@ -2113,7 +2539,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2113
2539
|
}, [_c('ValidationProvider', {
|
|
2114
2540
|
ref: "ValidationProvider",
|
|
2115
2541
|
attrs: {
|
|
2116
|
-
"name":
|
|
2542
|
+
"name": _vm.$tx('ecwplat.menuForm.fields.myCreatedURL', '我创建的列表URL'),
|
|
2117
2543
|
"rules": "required"
|
|
2118
2544
|
},
|
|
2119
2545
|
scopedSlots: _vm._u([{
|
|
@@ -2141,7 +2567,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2141
2567
|
}],
|
|
2142
2568
|
attrs: {
|
|
2143
2569
|
"name": "listMyCratedPageUrl",
|
|
2144
|
-
"placeholder":
|
|
2570
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.enterMyCreatedURL', '请输入我创建的列表URL'),
|
|
2145
2571
|
"listviewurl": 'base.entityListpage.list?urlsearch=listViewType:W'
|
|
2146
2572
|
},
|
|
2147
2573
|
model: {
|
|
@@ -2153,12 +2579,22 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2153
2579
|
}
|
|
2154
2580
|
})], 1)];
|
|
2155
2581
|
}
|
|
2156
|
-
}], null, false,
|
|
2582
|
+
}], null, false, 1791232420)
|
|
2157
2583
|
})], 1)]) : _vm._e(), _vm.isWflowMenus && _vm.selectedItem.indexOf('AllFile') != -1 ? _c('tr', [_c('td', {
|
|
2158
2584
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2159
2585
|
}, [_c('span', {
|
|
2160
2586
|
staticClass: "required"
|
|
2161
|
-
}, [_vm._v("*")]),
|
|
2587
|
+
}, [_vm._v("*")]), _c('span', {
|
|
2588
|
+
directives: [{
|
|
2589
|
+
name: "field-lbl",
|
|
2590
|
+
rawName: "v-field-lbl",
|
|
2591
|
+
value: 'listURL',
|
|
2592
|
+
expression: "'listURL'"
|
|
2593
|
+
}],
|
|
2594
|
+
attrs: {
|
|
2595
|
+
"dataType": _vm.wflowMenuItems[2].name
|
|
2596
|
+
}
|
|
2597
|
+
}, [_vm._v(_vm._s(_vm.wflowMenuItems[2].name) + "列表URL")])]), _c('td', {
|
|
2162
2598
|
staticClass: "el-table__cell tdcont tdw83",
|
|
2163
2599
|
attrs: {
|
|
2164
2600
|
"colspan": "3"
|
|
@@ -2194,7 +2630,9 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2194
2630
|
}],
|
|
2195
2631
|
attrs: {
|
|
2196
2632
|
"name": "listAllFilepageUrl",
|
|
2197
|
-
"placeholder": '
|
|
2633
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.enterListURL', {
|
|
2634
|
+
dataType: _vm.wflowMenuItems[2].name
|
|
2635
|
+
}, '{dataType}列表URL'),
|
|
2198
2636
|
"listviewurl": 'base.entityListpage.list?urlsearch=listViewType:W'
|
|
2199
2637
|
},
|
|
2200
2638
|
model: {
|
|
@@ -2206,12 +2644,19 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2206
2644
|
}
|
|
2207
2645
|
})], 1)];
|
|
2208
2646
|
}
|
|
2209
|
-
}], null, false,
|
|
2647
|
+
}], null, false, 1791012380)
|
|
2210
2648
|
})], 1)]) : _vm._e(), _vm.isWflowMenus && _vm.selectedItem.indexOf('MyProcessed') != -1 ? _c('tr', [_c('td', {
|
|
2211
2649
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2212
2650
|
}, [_c('span', {
|
|
2213
2651
|
staticClass: "required"
|
|
2214
|
-
}, [_vm._v("*")]),
|
|
2652
|
+
}, [_vm._v("*")]), _c('span', {
|
|
2653
|
+
directives: [{
|
|
2654
|
+
name: "field-lbl",
|
|
2655
|
+
rawName: "v-field-lbl",
|
|
2656
|
+
value: 'approvalCode',
|
|
2657
|
+
expression: "'approvalCode'"
|
|
2658
|
+
}]
|
|
2659
|
+
}, [_vm._v("审批模块业务代码")])]), _c('td', {
|
|
2215
2660
|
staticClass: "el-table__cell tdcont tdw83",
|
|
2216
2661
|
attrs: {
|
|
2217
2662
|
"colspan": "3"
|
|
@@ -2219,7 +2664,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2219
2664
|
}, [_c('ValidationProvider', {
|
|
2220
2665
|
ref: "ValidationProvider",
|
|
2221
2666
|
attrs: {
|
|
2222
|
-
"name":
|
|
2667
|
+
"name": _vm.$tx('ecwplat.menuForm.fields.approvalCode', '审批模块业务代码'),
|
|
2223
2668
|
"rules": "required"
|
|
2224
2669
|
},
|
|
2225
2670
|
scopedSlots: _vm._u([{
|
|
@@ -2243,7 +2688,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2243
2688
|
rawName: "v-can-edit"
|
|
2244
2689
|
}],
|
|
2245
2690
|
attrs: {
|
|
2246
|
-
"placeholder":
|
|
2691
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.enterApprovalCode', '请输入审批模块业务代码,例:fawen,shouwen,hytz')
|
|
2247
2692
|
},
|
|
2248
2693
|
model: {
|
|
2249
2694
|
value: _vm.vo.passenger.busiCode,
|
|
@@ -2254,12 +2699,19 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2254
2699
|
}
|
|
2255
2700
|
})], 1)];
|
|
2256
2701
|
}
|
|
2257
|
-
}], null, false,
|
|
2702
|
+
}], null, false, 471353048)
|
|
2258
2703
|
})], 1)]) : _vm._e(), !_vm.refresh && (_vm.vo.moduleLevel === 1 || _vm.vo.moduleLevel !== 1 && _vm.vo.leafFlag === 1) ? _c('tr', [_c('td', {
|
|
2259
2704
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2260
2705
|
}, [_c('span', {
|
|
2261
2706
|
staticClass: "required"
|
|
2262
|
-
}, [_vm._v("*")]),
|
|
2707
|
+
}, [_vm._v("*")]), _c('span', {
|
|
2708
|
+
directives: [{
|
|
2709
|
+
name: "field-lbl",
|
|
2710
|
+
rawName: "v-field-lbl",
|
|
2711
|
+
value: 'pageContentType',
|
|
2712
|
+
expression: "'pageContentType'"
|
|
2713
|
+
}]
|
|
2714
|
+
}, [_vm._v("页面内容类型")])]), _c('td', {
|
|
2263
2715
|
staticClass: "el-table__cell tdcont tdw83",
|
|
2264
2716
|
attrs: {
|
|
2265
2717
|
"colspan": "3"
|
|
@@ -2267,7 +2719,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2267
2719
|
}, [_c('ValidationProvider', {
|
|
2268
2720
|
ref: "ValidationProvider",
|
|
2269
2721
|
attrs: {
|
|
2270
|
-
"name":
|
|
2722
|
+
"name": _vm.$tx('ecwplat.menuForm.fields.pageContentType', '页面内容类型'),
|
|
2271
2723
|
"rules": "required"
|
|
2272
2724
|
},
|
|
2273
2725
|
scopedSlots: _vm._u([{
|
|
@@ -2295,7 +2747,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2295
2747
|
},
|
|
2296
2748
|
attrs: {
|
|
2297
2749
|
"name": "leafType",
|
|
2298
|
-
"placeholder":
|
|
2750
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.selectPageContentType', '请选择页面内容类型')
|
|
2299
2751
|
},
|
|
2300
2752
|
model: {
|
|
2301
2753
|
value: _vm.vo.leafType,
|
|
@@ -2313,12 +2765,19 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2313
2765
|
}, [_vm._v(_vm._s(option.text))]);
|
|
2314
2766
|
}), 1)], 1)];
|
|
2315
2767
|
}
|
|
2316
|
-
}], null, false,
|
|
2768
|
+
}], null, false, 2308690411)
|
|
2317
2769
|
})], 1)]) : _vm._e(), _vm.vo.leafFlag === 1 ? _c('tr', [_c('td', {
|
|
2318
2770
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2319
2771
|
}, [_c('span', {
|
|
2320
2772
|
staticClass: "required"
|
|
2321
|
-
}, [_vm._v("*")]),
|
|
2773
|
+
}, [_vm._v("*")]), _c('span', {
|
|
2774
|
+
directives: [{
|
|
2775
|
+
name: "field-lbl",
|
|
2776
|
+
rawName: "v-field-lbl",
|
|
2777
|
+
value: 'openType',
|
|
2778
|
+
expression: "'openType'"
|
|
2779
|
+
}]
|
|
2780
|
+
}, [_vm._v("打开方式")])]), _c('td', {
|
|
2322
2781
|
staticClass: "el-table__cell tdcont tdw83",
|
|
2323
2782
|
attrs: {
|
|
2324
2783
|
"colspan": "3"
|
|
@@ -2326,7 +2785,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2326
2785
|
}, [_c('ValidationProvider', {
|
|
2327
2786
|
ref: "ValidationProvider",
|
|
2328
2787
|
attrs: {
|
|
2329
|
-
"name":
|
|
2788
|
+
"name": _vm.$tx('ecwplat.menuForm.fields.openType', '打开方式'),
|
|
2330
2789
|
"rules": "required"
|
|
2331
2790
|
},
|
|
2332
2791
|
scopedSlots: _vm._u([{
|
|
@@ -2354,7 +2813,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2354
2813
|
},
|
|
2355
2814
|
attrs: {
|
|
2356
2815
|
"name": "target",
|
|
2357
|
-
"placeholder":
|
|
2816
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.selectOpenType', '请选择打开方式')
|
|
2358
2817
|
},
|
|
2359
2818
|
model: {
|
|
2360
2819
|
value: _vm.vo.target,
|
|
@@ -2372,12 +2831,19 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2372
2831
|
}, [_vm._v(_vm._s(option.text))]);
|
|
2373
2832
|
}), 1)], 1)];
|
|
2374
2833
|
}
|
|
2375
|
-
}], null, false,
|
|
2834
|
+
}], null, false, 859240764)
|
|
2376
2835
|
})], 1)]) : _vm._e(), _vm.vo.moduleLevel >= 2 && _vm.vo.leafFlag === 0 && !_vm.isWflowMenus ? _c('tr', [_c('td', {
|
|
2377
2836
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2378
2837
|
}, [_c('span', {
|
|
2379
2838
|
staticClass: "required"
|
|
2380
|
-
}, [_vm._v("*")]),
|
|
2839
|
+
}, [_vm._v("*")]), _c('span', {
|
|
2840
|
+
directives: [{
|
|
2841
|
+
name: "field-lbl",
|
|
2842
|
+
rawName: "v-field-lbl",
|
|
2843
|
+
value: 'submenuStyle',
|
|
2844
|
+
expression: "'submenuStyle'"
|
|
2845
|
+
}]
|
|
2846
|
+
}, [_vm._v("子菜单样式")])]), _c('td', {
|
|
2381
2847
|
staticClass: "el-table__cell tdcont tdw83",
|
|
2382
2848
|
attrs: {
|
|
2383
2849
|
"colspan": "3"
|
|
@@ -2385,7 +2851,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2385
2851
|
}, [_c('ValidationProvider', {
|
|
2386
2852
|
ref: "ValidationProvider",
|
|
2387
2853
|
attrs: {
|
|
2388
|
-
"name":
|
|
2854
|
+
"name": _vm.$tx('ecwplat.menuForm.fields.submenuStyle', '子菜单样式'),
|
|
2389
2855
|
"rules": "required"
|
|
2390
2856
|
},
|
|
2391
2857
|
scopedSlots: _vm._u([{
|
|
@@ -2413,7 +2879,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2413
2879
|
},
|
|
2414
2880
|
attrs: {
|
|
2415
2881
|
"name": "target",
|
|
2416
|
-
"placeholder":
|
|
2882
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.selectSubmenuStyle', '请选择子菜单样式')
|
|
2417
2883
|
},
|
|
2418
2884
|
model: {
|
|
2419
2885
|
value: _vm.vo.target,
|
|
@@ -2431,8 +2897,14 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2431
2897
|
}, [_vm._v(_vm._s(option.text))]);
|
|
2432
2898
|
}), 1)], 1)];
|
|
2433
2899
|
}
|
|
2434
|
-
}], null, false,
|
|
2900
|
+
}], null, false, 454132852)
|
|
2435
2901
|
})], 1)]) : _vm._e(), _vm.vo.leafFlag === 1 && (_vm.vo.leafType === 1 || _vm.vo.leafType === 2 || _vm.vo.leafType === 5) ? _c('tr', [_c('td', {
|
|
2902
|
+
directives: [{
|
|
2903
|
+
name: "field-lbl",
|
|
2904
|
+
rawName: "v-field-lbl",
|
|
2905
|
+
value: 'navName',
|
|
2906
|
+
expression: "'navName'"
|
|
2907
|
+
}],
|
|
2436
2908
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2437
2909
|
}, [_vm._v("页面导航名称")]), _c('td', {
|
|
2438
2910
|
staticClass: "el-table__cell tdcont tdw83",
|
|
@@ -2446,7 +2918,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2446
2918
|
}],
|
|
2447
2919
|
attrs: {
|
|
2448
2920
|
"name": "listNavName",
|
|
2449
|
-
"placeholder":
|
|
2921
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.navNameEnter', '请输入页面导航名称')
|
|
2450
2922
|
},
|
|
2451
2923
|
model: {
|
|
2452
2924
|
value: _vm.vo.listNavName,
|
|
@@ -2459,7 +2931,14 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2459
2931
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2460
2932
|
}, [_c('span', {
|
|
2461
2933
|
staticClass: "required"
|
|
2462
|
-
}, [_vm._v("*")]),
|
|
2934
|
+
}, [_vm._v("*")]), _c('span', {
|
|
2935
|
+
directives: [{
|
|
2936
|
+
name: "field-lbl",
|
|
2937
|
+
rawName: "v-field-lbl",
|
|
2938
|
+
value: 'menuLink',
|
|
2939
|
+
expression: "'menuLink'"
|
|
2940
|
+
}]
|
|
2941
|
+
}, [_vm._v("菜单链接")])]), _c('td', {
|
|
2463
2942
|
staticClass: "el-table__cell tdcont tdw83",
|
|
2464
2943
|
attrs: {
|
|
2465
2944
|
"colspan": "3"
|
|
@@ -2467,7 +2946,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2467
2946
|
}, [_c('ValidationProvider', {
|
|
2468
2947
|
ref: "ValidationProvider",
|
|
2469
2948
|
attrs: {
|
|
2470
|
-
"name":
|
|
2949
|
+
"name": _vm.$tx('ecwplat.menuForm.fields.menuLink', '菜单链接'),
|
|
2471
2950
|
"rules": "required"
|
|
2472
2951
|
},
|
|
2473
2952
|
scopedSlots: _vm._u([{
|
|
@@ -2492,7 +2971,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2492
2971
|
}],
|
|
2493
2972
|
attrs: {
|
|
2494
2973
|
"name": "href",
|
|
2495
|
-
"placeholder":
|
|
2974
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.menuLinkEnter', '请输入菜单链接')
|
|
2496
2975
|
},
|
|
2497
2976
|
model: {
|
|
2498
2977
|
value: _vm.vo.href,
|
|
@@ -2503,12 +2982,19 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2503
2982
|
}
|
|
2504
2983
|
})], 1)];
|
|
2505
2984
|
}
|
|
2506
|
-
}], null, false,
|
|
2985
|
+
}], null, false, 1000627797)
|
|
2507
2986
|
})], 1)]) : _vm._e(), _vm.vo.leafFlag === 1 && (_vm.vo.leafType === 1 || _vm.vo.leafType === 5 || _vm.vo.leafType === 6) ? _c('tr', [_c('td', {
|
|
2508
2987
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2509
2988
|
}, [_c('span', {
|
|
2510
2989
|
staticClass: "required"
|
|
2511
|
-
}, [_vm._v("*")]),
|
|
2990
|
+
}, [_vm._v("*")]), _c('span', {
|
|
2991
|
+
directives: [{
|
|
2992
|
+
name: "field-lbl",
|
|
2993
|
+
rawName: "v-field-lbl",
|
|
2994
|
+
value: 'menuLink',
|
|
2995
|
+
expression: "'menuLink'"
|
|
2996
|
+
}]
|
|
2997
|
+
}, [_vm._v("菜单链接")])]), _c('td', {
|
|
2512
2998
|
staticClass: "el-table__cell tdcont tdw83",
|
|
2513
2999
|
attrs: {
|
|
2514
3000
|
"colspan": "3"
|
|
@@ -2516,7 +3002,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2516
3002
|
}, [_c('ValidationProvider', {
|
|
2517
3003
|
ref: "ValidationProvider",
|
|
2518
3004
|
attrs: {
|
|
2519
|
-
"name":
|
|
3005
|
+
"name": _vm.$tx('ecwplat.menuForm.fields.menuLink', '菜单链接'),
|
|
2520
3006
|
"rules": "required"
|
|
2521
3007
|
},
|
|
2522
3008
|
scopedSlots: _vm._u([{
|
|
@@ -2544,7 +3030,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2544
3030
|
}],
|
|
2545
3031
|
attrs: {
|
|
2546
3032
|
"name": "href",
|
|
2547
|
-
"placeholder":
|
|
3033
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.menuLinkEnter', '请输入菜单链接'),
|
|
2548
3034
|
"listviewurl": _vm.portalPageListUrl
|
|
2549
3035
|
},
|
|
2550
3036
|
model: {
|
|
@@ -2564,7 +3050,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2564
3050
|
}],
|
|
2565
3051
|
attrs: {
|
|
2566
3052
|
"name": "href",
|
|
2567
|
-
"placeholder":
|
|
3053
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.menuLinkEnter', '请输入菜单链接'),
|
|
2568
3054
|
"listviewurl": 'ureport.reportDefine.list?urlsearch=reportViewType:W'
|
|
2569
3055
|
},
|
|
2570
3056
|
model: {
|
|
@@ -2584,7 +3070,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2584
3070
|
}],
|
|
2585
3071
|
attrs: {
|
|
2586
3072
|
"name": "href",
|
|
2587
|
-
"placeholder":
|
|
3073
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.menuLinkEnter', '请输入菜单链接'),
|
|
2588
3074
|
"listviewurl": 'base.entityListpage.list?urlsearch=listViewType:W'
|
|
2589
3075
|
},
|
|
2590
3076
|
model: {
|
|
@@ -2596,8 +3082,14 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2596
3082
|
}
|
|
2597
3083
|
})], 1)];
|
|
2598
3084
|
}
|
|
2599
|
-
}], null, false,
|
|
3085
|
+
}], null, false, 3601479216)
|
|
2600
3086
|
})], 1)]) : _vm._e(), _vm.vo.leafFlag === 1 && (_vm.vo.leafType === 1 || _vm.vo.leafType === 2) ? _c('tr', [_c('td', {
|
|
3087
|
+
directives: [{
|
|
3088
|
+
name: "field-lbl",
|
|
3089
|
+
rawName: "v-field-lbl",
|
|
3090
|
+
value: 'urlFormat',
|
|
3091
|
+
expression: "'urlFormat'"
|
|
3092
|
+
}],
|
|
2601
3093
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2602
3094
|
}, [_vm._v("URL格式")]), _c('td', {
|
|
2603
3095
|
staticClass: "el-table__cell tdcont tdw83",
|
|
@@ -2608,20 +3100,55 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2608
3100
|
staticStyle: {
|
|
2609
3101
|
"line-height": "20px"
|
|
2610
3102
|
}
|
|
2611
|
-
}, [
|
|
3103
|
+
}, [_c('span', {
|
|
3104
|
+
directives: [{
|
|
3105
|
+
name: "field-lbl",
|
|
3106
|
+
rawName: "v-field-lbl",
|
|
3107
|
+
value: 'urlFormatTip1',
|
|
3108
|
+
expression: "'urlFormatTip1'"
|
|
3109
|
+
}]
|
|
3110
|
+
}, [_vm._v("1、动态列表视图vue组件url,以英文字符\"/\"结尾,不包括扩展名")]), _c('br'), _c('span', {
|
|
3111
|
+
directives: [{
|
|
3112
|
+
name: "field-lbl",
|
|
3113
|
+
rawName: "v-field-lbl",
|
|
3114
|
+
value: 'urlFormatTip2',
|
|
3115
|
+
expression: "'urlFormatTip2'"
|
|
3116
|
+
}]
|
|
3117
|
+
}, [_vm._v("2、格式为:#/dcontent/base.jobPosition.list/")])]) : _vm._e(), _vm.vo.leafType === 2 ? _c('div', {
|
|
2612
3118
|
staticStyle: {
|
|
2613
3119
|
"line-height": "20px"
|
|
2614
3120
|
}
|
|
2615
|
-
}, [
|
|
3121
|
+
}, [_c('span', {
|
|
3122
|
+
directives: [{
|
|
3123
|
+
name: "field-lbl",
|
|
3124
|
+
rawName: "v-field-lbl",
|
|
3125
|
+
value: 'urlFormatTip3',
|
|
3126
|
+
expression: "'urlFormatTip3'"
|
|
3127
|
+
}]
|
|
3128
|
+
}, [_vm._v("1、静态列表视图vue组件文件路径,不包括文件扩展名")]), _c('br'), _c('span', {
|
|
3129
|
+
directives: [{
|
|
3130
|
+
name: "field-lbl",
|
|
3131
|
+
rawName: "v-field-lbl",
|
|
3132
|
+
value: 'urlFormatTip4',
|
|
3133
|
+
expression: "'urlFormatTip4'"
|
|
3134
|
+
}]
|
|
3135
|
+
}, [_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', {
|
|
2616
3136
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2617
3137
|
}, [_c('span', {
|
|
2618
3138
|
staticClass: "required"
|
|
2619
|
-
}, [_vm._v("*")]),
|
|
3139
|
+
}, [_vm._v("*")]), _c('span', {
|
|
3140
|
+
directives: [{
|
|
3141
|
+
name: "field-lbl",
|
|
3142
|
+
rawName: "v-field-lbl",
|
|
3143
|
+
value: 'businessCode',
|
|
3144
|
+
expression: "'businessCode'"
|
|
3145
|
+
}]
|
|
3146
|
+
}, [_vm._v("业务代码")])]), _c('td', {
|
|
2620
3147
|
staticClass: "el-table__cell tdcont tdw33"
|
|
2621
3148
|
}, [_c('ValidationProvider', {
|
|
2622
3149
|
ref: "ValidationProvider",
|
|
2623
3150
|
attrs: {
|
|
2624
|
-
"name":
|
|
3151
|
+
"name": _vm.$tx('ecwplat.menuForm.fields.businessCode', '业务代码'),
|
|
2625
3152
|
"rules": "required"
|
|
2626
3153
|
},
|
|
2627
3154
|
scopedSlots: _vm._u([{
|
|
@@ -2649,7 +3176,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2649
3176
|
}],
|
|
2650
3177
|
attrs: {
|
|
2651
3178
|
"name": "href",
|
|
2652
|
-
"placeholder":
|
|
3179
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.businessCodeEnter', '请输入业务代码,首字母小写'),
|
|
2653
3180
|
"listviewurl": "base.entityListpage.list"
|
|
2654
3181
|
},
|
|
2655
3182
|
model: {
|
|
@@ -2661,8 +3188,14 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2661
3188
|
}
|
|
2662
3189
|
})], 1)];
|
|
2663
3190
|
}
|
|
2664
|
-
}], null, false,
|
|
3191
|
+
}], null, false, 3104104198)
|
|
2665
3192
|
})], 1), _c('td', {
|
|
3193
|
+
directives: [{
|
|
3194
|
+
name: "field-lbl",
|
|
3195
|
+
rawName: "v-field-lbl",
|
|
3196
|
+
value: 'engineUrl',
|
|
3197
|
+
expression: "'engineUrl'"
|
|
3198
|
+
}],
|
|
2666
3199
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2667
3200
|
}, [_vm._v("引擎(模块)URL")]), _c('td', {
|
|
2668
3201
|
staticClass: "el-table__cell tdcont tdw33"
|
|
@@ -2673,7 +3206,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2673
3206
|
}],
|
|
2674
3207
|
attrs: {
|
|
2675
3208
|
"name": "wfEngineUrl",
|
|
2676
|
-
"placeholder":
|
|
3209
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.engineUrlEnter', '请输入引擎(模块)URL')
|
|
2677
3210
|
},
|
|
2678
3211
|
model: {
|
|
2679
3212
|
value: _vm.vo.wfEngineUrl,
|
|
@@ -2686,12 +3219,19 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2686
3219
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2687
3220
|
}, [_c('span', {
|
|
2688
3221
|
staticClass: "required"
|
|
2689
|
-
}, [_vm._v("*")]),
|
|
3222
|
+
}, [_vm._v("*")]), _c('span', {
|
|
3223
|
+
directives: [{
|
|
3224
|
+
name: "field-lbl",
|
|
3225
|
+
rawName: "v-field-lbl",
|
|
3226
|
+
value: 'wfName',
|
|
3227
|
+
expression: "'wfName'"
|
|
3228
|
+
}]
|
|
3229
|
+
}, [_vm._v("流程名称")])]), _c('td', {
|
|
2690
3230
|
staticClass: "el-table__cell tdcont tdw33"
|
|
2691
3231
|
}, [_c('ValidationProvider', {
|
|
2692
3232
|
ref: "ValidationProvider",
|
|
2693
3233
|
attrs: {
|
|
2694
|
-
"name":
|
|
3234
|
+
"name": _vm.$tx('ecwplat.menuForm.fields.wfName', '流程名称'),
|
|
2695
3235
|
"rules": "required"
|
|
2696
3236
|
},
|
|
2697
3237
|
scopedSlots: _vm._u([{
|
|
@@ -2719,7 +3259,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2719
3259
|
}],
|
|
2720
3260
|
attrs: {
|
|
2721
3261
|
"name": "wfName",
|
|
2722
|
-
"placeholder":
|
|
3262
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.wfNameEnter', '请输入流程名称'),
|
|
2723
3263
|
"listviewurl": "workflow.wfdProcess.list"
|
|
2724
3264
|
},
|
|
2725
3265
|
model: {
|
|
@@ -2731,8 +3271,14 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2731
3271
|
}
|
|
2732
3272
|
})], 1)];
|
|
2733
3273
|
}
|
|
2734
|
-
}], null, false,
|
|
3274
|
+
}], null, false, 223860017)
|
|
2735
3275
|
})], 1), _c('td', {
|
|
3276
|
+
directives: [{
|
|
3277
|
+
name: "field-lbl",
|
|
3278
|
+
rawName: "v-field-lbl",
|
|
3279
|
+
value: 'wfCode',
|
|
3280
|
+
expression: "'wfCode'"
|
|
3281
|
+
}],
|
|
2736
3282
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2737
3283
|
}, [_vm._v("流程编码")]), _c('td', {
|
|
2738
3284
|
staticClass: "el-table__cell tdcont tdw33"
|
|
@@ -2743,7 +3289,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2743
3289
|
}],
|
|
2744
3290
|
attrs: {
|
|
2745
3291
|
"name": "wfCode",
|
|
2746
|
-
"placeholder":
|
|
3292
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.wfCodeEnter', '请输入流程编码')
|
|
2747
3293
|
},
|
|
2748
3294
|
model: {
|
|
2749
3295
|
value: _vm.vo.wfCode,
|
|
@@ -2753,6 +3299,12 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2753
3299
|
expression: "vo.wfCode"
|
|
2754
3300
|
}
|
|
2755
3301
|
})], 1)]) : _vm._e(), _vm.vo.moduleLevel != 1 && _vm.vo.leafFlag == 1 && (_vm.vo.leafType == 3 || _vm.vo.leafType == 4) ? _c('tr', [_c('td', {
|
|
3302
|
+
directives: [{
|
|
3303
|
+
name: "field-lbl",
|
|
3304
|
+
rawName: "v-field-lbl",
|
|
3305
|
+
value: 'stageName',
|
|
3306
|
+
expression: "'stageName'"
|
|
3307
|
+
}],
|
|
2756
3308
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2757
3309
|
}, [_vm._v("起始环节名称")]), _c('td', {
|
|
2758
3310
|
staticClass: "el-table__cell tdcont tdw33"
|
|
@@ -2763,7 +3315,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2763
3315
|
}],
|
|
2764
3316
|
attrs: {
|
|
2765
3317
|
"name": "wfNodeName",
|
|
2766
|
-
"placeholder":
|
|
3318
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.stageNameEnter', '请输入起始环节名称')
|
|
2767
3319
|
},
|
|
2768
3320
|
model: {
|
|
2769
3321
|
value: _vm.vo.wfNodeName,
|
|
@@ -2773,6 +3325,12 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2773
3325
|
expression: "vo.wfNodeName"
|
|
2774
3326
|
}
|
|
2775
3327
|
})], 1), _c('td', {
|
|
3328
|
+
directives: [{
|
|
3329
|
+
name: "field-lbl",
|
|
3330
|
+
rawName: "v-field-lbl",
|
|
3331
|
+
value: 'stageCode',
|
|
3332
|
+
expression: "'stageCode'"
|
|
3333
|
+
}],
|
|
2776
3334
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2777
3335
|
}, [_vm._v("起始环节编码")]), _c('td', {
|
|
2778
3336
|
staticClass: "el-table__cell tdcont tdw33"
|
|
@@ -2783,7 +3341,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2783
3341
|
}],
|
|
2784
3342
|
attrs: {
|
|
2785
3343
|
"name": "wfNodeCode",
|
|
2786
|
-
"placeholder":
|
|
3344
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.stageCodeEnter', '请输入起始环节编码')
|
|
2787
3345
|
},
|
|
2788
3346
|
model: {
|
|
2789
3347
|
value: _vm.vo.wfNodeCode,
|
|
@@ -2793,6 +3351,12 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2793
3351
|
expression: "vo.wfNodeCode"
|
|
2794
3352
|
}
|
|
2795
3353
|
})], 1)]) : _vm._e(), _vm.vo.moduleLevel == 1 ? _c('tr', [_c('td', {
|
|
3354
|
+
directives: [{
|
|
3355
|
+
name: "field-lbl",
|
|
3356
|
+
rawName: "v-field-lbl",
|
|
3357
|
+
value: 'navShow',
|
|
3358
|
+
expression: "'navShow'"
|
|
3359
|
+
}],
|
|
2796
3360
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2797
3361
|
}, [_vm._v("导航栏显示")]), _c('td', {
|
|
2798
3362
|
staticClass: "el-table__cell tdcont tdw83",
|
|
@@ -2818,10 +3382,22 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2818
3382
|
expression: "vo.topFlag"
|
|
2819
3383
|
}
|
|
2820
3384
|
}, [_c('el-radio', {
|
|
3385
|
+
directives: [{
|
|
3386
|
+
name: "field-lbl",
|
|
3387
|
+
rawName: "v-field-lbl",
|
|
3388
|
+
value: 'navOption1',
|
|
3389
|
+
expression: "'navOption1'"
|
|
3390
|
+
}],
|
|
2821
3391
|
attrs: {
|
|
2822
3392
|
"label": 1
|
|
2823
3393
|
}
|
|
2824
3394
|
}, [_vm._v("显示")]), _c('el-radio', {
|
|
3395
|
+
directives: [{
|
|
3396
|
+
name: "field-lbl",
|
|
3397
|
+
rawName: "v-field-lbl",
|
|
3398
|
+
value: 'navOption2',
|
|
3399
|
+
expression: "'navOption2'"
|
|
3400
|
+
}],
|
|
2825
3401
|
attrs: {
|
|
2826
3402
|
"label": 0
|
|
2827
3403
|
}
|
|
@@ -2829,12 +3405,19 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2829
3405
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2830
3406
|
}, [_c('span', {
|
|
2831
3407
|
staticClass: "required"
|
|
2832
|
-
}, [_vm._v("*")]),
|
|
3408
|
+
}, [_vm._v("*")]), _c('span', {
|
|
3409
|
+
directives: [{
|
|
3410
|
+
name: "field-lbl",
|
|
3411
|
+
rawName: "v-field-lbl",
|
|
3412
|
+
value: 'authoType',
|
|
3413
|
+
expression: "'authoType'"
|
|
3414
|
+
}]
|
|
3415
|
+
}, [_vm._v("授权方式")])]), _c('td', {
|
|
2833
3416
|
staticClass: "el-table__cell tdcont tdw33"
|
|
2834
3417
|
}, [_c('ValidationProvider', {
|
|
2835
3418
|
ref: "ValidationProvider",
|
|
2836
3419
|
attrs: {
|
|
2837
|
-
"name":
|
|
3420
|
+
"name": _vm.$tx('ecwplat.menuForm.fields.authoType', '授权方式'),
|
|
2838
3421
|
"rules": "required"
|
|
2839
3422
|
},
|
|
2840
3423
|
scopedSlots: _vm._u([{
|
|
@@ -2862,7 +3445,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2862
3445
|
},
|
|
2863
3446
|
attrs: {
|
|
2864
3447
|
"name": "visitType",
|
|
2865
|
-
"placeholder":
|
|
3448
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.selectAuthoType', '请选择授权方式')
|
|
2866
3449
|
},
|
|
2867
3450
|
model: {
|
|
2868
3451
|
value: _vm.vo.visitType,
|
|
@@ -2883,6 +3466,12 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2883
3466
|
}
|
|
2884
3467
|
}])
|
|
2885
3468
|
})], 1), _c('td', {
|
|
3469
|
+
directives: [{
|
|
3470
|
+
name: "field-lbl",
|
|
3471
|
+
rawName: "v-field-lbl",
|
|
3472
|
+
value: 'i18nCode',
|
|
3473
|
+
expression: "'i18nCode'"
|
|
3474
|
+
}],
|
|
2886
3475
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2887
3476
|
}, [_vm._v("I18N代码")]), _c('td', {
|
|
2888
3477
|
staticClass: "el-table__cell tdcont tdw33"
|
|
@@ -2893,7 +3482,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2893
3482
|
}],
|
|
2894
3483
|
attrs: {
|
|
2895
3484
|
"name": "i18nCode",
|
|
2896
|
-
"placeholder":
|
|
3485
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.i18nCodeEnter', '请输入I18N代码')
|
|
2897
3486
|
},
|
|
2898
3487
|
model: {
|
|
2899
3488
|
value: _vm.vo.i18nCode,
|
|
@@ -2903,6 +3492,12 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2903
3492
|
expression: "vo.i18nCode"
|
|
2904
3493
|
}
|
|
2905
3494
|
})], 1)]), _vm.vo.visitType !== 0 ? _c('tr', [_c('td', {
|
|
3495
|
+
directives: [{
|
|
3496
|
+
name: "field-lbl",
|
|
3497
|
+
rawName: "v-field-lbl",
|
|
3498
|
+
value: 'accessAuthorization',
|
|
3499
|
+
expression: "'accessAuthorization'"
|
|
3500
|
+
}],
|
|
2906
3501
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2907
3502
|
}, [_vm._v("访问授权")]), _c('td', {
|
|
2908
3503
|
staticClass: "el-table__cell tdcont tdw83",
|
|
@@ -2925,12 +3520,19 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2925
3520
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2926
3521
|
}, [_c('span', {
|
|
2927
3522
|
staticClass: "required"
|
|
2928
|
-
}, [_vm._v("*")]),
|
|
3523
|
+
}, [_vm._v("*")]), _c('span', {
|
|
3524
|
+
directives: [{
|
|
3525
|
+
name: "field-lbl",
|
|
3526
|
+
rawName: "v-field-lbl",
|
|
3527
|
+
value: 'orderNumber',
|
|
3528
|
+
expression: "'orderNumber'"
|
|
3529
|
+
}]
|
|
3530
|
+
}, [_vm._v("排序序号")])]), _c('td', {
|
|
2929
3531
|
staticClass: "el-table__cell tdcont tdw33"
|
|
2930
3532
|
}, [_c('ValidationProvider', {
|
|
2931
3533
|
ref: "ValidationProvider",
|
|
2932
3534
|
attrs: {
|
|
2933
|
-
"name":
|
|
3535
|
+
"name": _vm.$tx('ecwplat.menuForm.fields.orderNumber', '排序序号'),
|
|
2934
3536
|
"rules": "required|integer|length:4"
|
|
2935
3537
|
},
|
|
2936
3538
|
scopedSlots: _vm._u([{
|
|
@@ -2955,7 +3557,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2955
3557
|
}],
|
|
2956
3558
|
attrs: {
|
|
2957
3559
|
"name": "orderNo",
|
|
2958
|
-
"placeholder":
|
|
3560
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.orderNumberEnter', '请输入4位数字排序序号'),
|
|
2959
3561
|
"ecng-listpage-dialog": "",
|
|
2960
3562
|
"listviewurl": "base.entityListpage.list"
|
|
2961
3563
|
},
|
|
@@ -2973,12 +3575,19 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
2973
3575
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
2974
3576
|
}, [_c('span', {
|
|
2975
3577
|
staticClass: "required"
|
|
2976
|
-
}, [_vm._v("*")]),
|
|
3578
|
+
}, [_vm._v("*")]), _c('span', {
|
|
3579
|
+
directives: [{
|
|
3580
|
+
name: "field-lbl",
|
|
3581
|
+
rawName: "v-field-lbl",
|
|
3582
|
+
value: 'status',
|
|
3583
|
+
expression: "'status'"
|
|
3584
|
+
}]
|
|
3585
|
+
}, [_vm._v("状态")])]), _c('td', {
|
|
2977
3586
|
staticClass: "el-table__cell tdcont tdw33"
|
|
2978
3587
|
}, [_c('ValidationProvider', {
|
|
2979
3588
|
ref: "ValidationProvider",
|
|
2980
3589
|
attrs: {
|
|
2981
|
-
"name":
|
|
3590
|
+
"name": _vm.$tx('ecwplat.menuForm.fields.status', '状态'),
|
|
2982
3591
|
"rules": "required"
|
|
2983
3592
|
},
|
|
2984
3593
|
scopedSlots: _vm._u([{
|
|
@@ -3006,7 +3615,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
3006
3615
|
},
|
|
3007
3616
|
attrs: {
|
|
3008
3617
|
"name": "status",
|
|
3009
|
-
"placeholder":
|
|
3618
|
+
"placeholder": _vm.$tx('ecwplat.menuForm.fields.selectstatus', '请选择状态')
|
|
3010
3619
|
},
|
|
3011
3620
|
model: {
|
|
3012
3621
|
value: _vm.vo.status,
|
|
@@ -3035,7 +3644,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
3035
3644
|
"append-to-body": true,
|
|
3036
3645
|
"close-on-click-modal": true,
|
|
3037
3646
|
"width": "1250px",
|
|
3038
|
-
"title":
|
|
3647
|
+
"title": _vm.$tx('ecwplat.menuForm.fields.menuIcon', '选择菜单图标')
|
|
3039
3648
|
},
|
|
3040
3649
|
on: {
|
|
3041
3650
|
"update:visible": function updateVisible($event) {
|
|
@@ -3044,7 +3653,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_render = function rend
|
|
|
3044
3653
|
}
|
|
3045
3654
|
}, [_c('Icons')], 1) : _vm._e()], 1);
|
|
3046
3655
|
};
|
|
3047
|
-
var
|
|
3656
|
+
var MenuItemFormvue_type_template_id_383980ee_scoped_true_staticRenderFns = [];
|
|
3048
3657
|
|
|
3049
3658
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
3050
3659
|
/* harmony default export */ var MenuItemFormvue_type_script_lang_js = ({
|
|
@@ -3080,73 +3689,75 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_staticRenderFns = [];
|
|
|
3080
3689
|
},
|
|
3081
3690
|
data: function data() {
|
|
3082
3691
|
return {
|
|
3692
|
+
i18npkg: 'base',
|
|
3693
|
+
moduleCode: 'menuForm',
|
|
3083
3694
|
leafFlagOptions: [{
|
|
3084
3695
|
value: 0,
|
|
3085
|
-
text: '文件夹'
|
|
3696
|
+
text: this.$tx('ecwplat.menuForm.folder', '文件夹')
|
|
3086
3697
|
}, {
|
|
3087
3698
|
value: 1,
|
|
3088
|
-
text: '菜单项'
|
|
3699
|
+
text: this.$tx('ecwplat.menuForm.menuItem', '菜单项')
|
|
3089
3700
|
}],
|
|
3090
3701
|
statusOptions: [{
|
|
3091
3702
|
value: 1,
|
|
3092
|
-
text: '启用'
|
|
3703
|
+
text: this.$tx('ecwplat.PageBtns.enable', '启用')
|
|
3093
3704
|
}, {
|
|
3094
3705
|
value: 0,
|
|
3095
|
-
text: '禁用'
|
|
3706
|
+
text: this.$tx('ecwplat.PageBtns.disable', '禁用')
|
|
3096
3707
|
}],
|
|
3097
3708
|
refresh: false,
|
|
3098
3709
|
iconDialogFormVisible: false,
|
|
3099
3710
|
selectedItem: ['MyCreated', 'MyProcessed', 'AllFile'],
|
|
3100
3711
|
wflowMenuItems: [{
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3712
|
+
code: 'MyCreated',
|
|
3713
|
+
name: this.$tx('ecwplat.menuForm.myCreated', '我创建的'),
|
|
3714
|
+
text: this.$tx('ecwplat.menuForm.fourStatus', '(全部、草稿、处理中、已结束)'),
|
|
3715
|
+
children: [{
|
|
3716
|
+
code: 'All',
|
|
3717
|
+
name: '全部',
|
|
3718
|
+
urlsearch: 'status<:2'
|
|
3108
3719
|
}, {
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3720
|
+
code: 'Draft',
|
|
3721
|
+
name: '草稿',
|
|
3722
|
+
urlsearch: 'status:0'
|
|
3112
3723
|
}, {
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3724
|
+
code: 'Doing',
|
|
3725
|
+
name: '处理中',
|
|
3726
|
+
urlsearch: 'status:1'
|
|
3116
3727
|
}, {
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3728
|
+
code: 'Done',
|
|
3729
|
+
name: '已结束',
|
|
3730
|
+
urlsearch: 'status:2'
|
|
3120
3731
|
}]
|
|
3121
3732
|
}, {
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3733
|
+
code: 'MyProcessed',
|
|
3734
|
+
name: this.$tx('ecwplat.menuForm.myProcessed', '我处理的'),
|
|
3735
|
+
text: this.$tx('ecwplat.menuForm.twoStatus', '(待办、已办)'),
|
|
3736
|
+
children: [{
|
|
3737
|
+
code: 'Todo',
|
|
3738
|
+
name: '待办',
|
|
3739
|
+
listpageUrl: '#/dcontent/workflow.wfTaskItem.myTodo/?urlsearch=module:[busiCode]'
|
|
3129
3740
|
}, {
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3741
|
+
code: 'Done',
|
|
3742
|
+
name: '已办',
|
|
3743
|
+
listpageUrl: '#/dcontent/workflow.wfTaskItem.myDone/?urlsearch=module:[busiCode]'
|
|
3133
3744
|
}]
|
|
3134
3745
|
}, {
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3746
|
+
code: 'AllFile',
|
|
3747
|
+
name: this.$tx('ecwplat.menuForm.allFile', '全部'),
|
|
3748
|
+
text: this.$tx('ecwplat.menuForm.threeStatus', '(全部、处理中、已结束)'),
|
|
3749
|
+
children: [{
|
|
3750
|
+
code: 'All',
|
|
3751
|
+
name: '全部',
|
|
3752
|
+
urlsearch: 'status<:2'
|
|
3142
3753
|
}, {
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3754
|
+
code: 'Doing',
|
|
3755
|
+
name: '处理中',
|
|
3756
|
+
urlsearch: 'status:1'
|
|
3146
3757
|
}, {
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3758
|
+
code: 'Done',
|
|
3759
|
+
name: '已结束',
|
|
3760
|
+
urlsearch: 'status:2'
|
|
3150
3761
|
}]
|
|
3151
3762
|
}],
|
|
3152
3763
|
productCodeAll: this.$store.getters.productCodeAll,
|
|
@@ -3155,33 +3766,33 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_staticRenderFns = [];
|
|
|
3155
3766
|
},
|
|
3156
3767
|
computed: {
|
|
3157
3768
|
nameLabel: function nameLabel() {
|
|
3158
|
-
return
|
|
3769
|
+
return this.vo.moduleLevel === 1 ? this.$tx('ecwplat.menuForm.columnName', '栏目名称') : this.$tx('ecwplat.menuForm.menuName', '菜单名称');
|
|
3159
3770
|
},
|
|
3160
3771
|
codeLabel: function codeLabel() {
|
|
3161
|
-
return
|
|
3772
|
+
return this.vo.moduleLevel === 1 ? this.$tx('ecwplat.menuForm.columnCode', '栏目编码') : this.$tx('ecwplat.menuForm.menuCode', '菜单编码');
|
|
3162
3773
|
},
|
|
3163
3774
|
targetOptions: function targetOptions() {
|
|
3164
3775
|
if (this.vo.moduleLevel === 1 || this.vo.leafFlag === 1) {
|
|
3165
3776
|
return [{
|
|
3166
3777
|
value: 'mainpage',
|
|
3167
|
-
text: '左导航+工作区'
|
|
3778
|
+
text: this.$tx('ecwplat.menuForm.lnavWork', '左导航+工作区')
|
|
3168
3779
|
}, {
|
|
3169
3780
|
value: 'content',
|
|
3170
|
-
text: '工作区'
|
|
3781
|
+
text: this.$tx('ecwplat.menuForm.work', '工作区')
|
|
3171
3782
|
}, {
|
|
3172
3783
|
value: '_blank',
|
|
3173
|
-
text: '弹出窗口'
|
|
3784
|
+
text: this.$tx('ecwplat.menuForm.popUp', '弹出窗口')
|
|
3174
3785
|
}, {
|
|
3175
3786
|
value: '_top',
|
|
3176
|
-
text: '顶层窗口'
|
|
3787
|
+
text: this.$tx('ecwplat.menuForm.topWAin', '顶层窗口')
|
|
3177
3788
|
}];
|
|
3178
3789
|
} else if (this.vo.moduleLevel >= 2 && this.vo.leafFlag === 0) {
|
|
3179
3790
|
return [{
|
|
3180
3791
|
value: 'leftMenuItem',
|
|
3181
|
-
text: '左侧菜单顶'
|
|
3792
|
+
text: this.$tx('ecwplat.menuForm.leftMenu', '左侧菜单顶')
|
|
3182
3793
|
}, {
|
|
3183
3794
|
value: 'rightLabel',
|
|
3184
|
-
text: '右侧页面标签'
|
|
3795
|
+
text: this.$tx('ecwplat.menuForm.rightLabel', '右侧页面标签')
|
|
3185
3796
|
}];
|
|
3186
3797
|
} else {
|
|
3187
3798
|
return [];
|
|
@@ -3191,45 +3802,45 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_staticRenderFns = [];
|
|
|
3191
3802
|
if (this.vo.moduleLevel === 1) {
|
|
3192
3803
|
return [{
|
|
3193
3804
|
value: null,
|
|
3194
|
-
text: '无'
|
|
3805
|
+
text: this.$tx('ecwplat.menuForm.not', '无')
|
|
3195
3806
|
}, {
|
|
3196
3807
|
value: 0,
|
|
3197
|
-
text: '普通URL'
|
|
3808
|
+
text: this.$tx('ecwplat.menuForm.regularURL', '普通URL')
|
|
3198
3809
|
}, {
|
|
3199
3810
|
value: 1,
|
|
3200
|
-
text: '动态列表页面'
|
|
3811
|
+
text: this.$tx('ecwplat.menuForm.dynamicListPage', '动态列表页面')
|
|
3201
3812
|
}, {
|
|
3202
3813
|
value: 2,
|
|
3203
|
-
text: '静态列表页面'
|
|
3814
|
+
text: this.$tx('ecwplat.menuForm.staticListPage', '静态列表页面')
|
|
3204
3815
|
}, {
|
|
3205
3816
|
value: 6,
|
|
3206
|
-
text: '动态门户'
|
|
3817
|
+
text: this.$tx('ecwplat.menuForm.superiorName', '动态门户')
|
|
3207
3818
|
}];
|
|
3208
3819
|
} else if (this.vo.leafFlag === 1) {
|
|
3209
3820
|
var menus = [{
|
|
3210
3821
|
value: 0,
|
|
3211
|
-
text: '普通URL'
|
|
3822
|
+
text: this.$tx('ecwplat.menuForm.regularURL', '普通URL')
|
|
3212
3823
|
}, {
|
|
3213
3824
|
value: 1,
|
|
3214
|
-
text: '动态列表'
|
|
3825
|
+
text: this.$tx('ecwplat.menuForm.dynamicList', '动态列表')
|
|
3215
3826
|
}, {
|
|
3216
3827
|
value: 2,
|
|
3217
|
-
text: '静态列表'
|
|
3828
|
+
text: this.$tx('ecwplat.menuForm.staticList', '静态列表')
|
|
3218
3829
|
}, {
|
|
3219
3830
|
value: 6,
|
|
3220
|
-
text: '动态门户'
|
|
3831
|
+
text: this.$tx('ecwplat.menuForm.superiorName', '动态门户')
|
|
3221
3832
|
}, {
|
|
3222
3833
|
value: 5,
|
|
3223
|
-
text: '统计报表'
|
|
3834
|
+
text: this.$tx('ecwplat.menuForm.statisticalReport', '统计报表')
|
|
3224
3835
|
}];
|
|
3225
3836
|
if (this.sys && this.sys.passenger && this.sys.passenger.workflow !== 0) {
|
|
3226
3837
|
menus.push({
|
|
3227
3838
|
value: 3,
|
|
3228
|
-
text: '起草文件(标准)'
|
|
3839
|
+
text: this.$tx('ecwplat.menuForm.standardDraft', '起草文件(标准)')
|
|
3229
3840
|
});
|
|
3230
3841
|
menus.push({
|
|
3231
3842
|
value: 4,
|
|
3232
|
-
text: '起草文件(定制)'
|
|
3843
|
+
text: this.$tx('ecwplat.menuForm.customizedDraft', '起草文件(定制)')
|
|
3233
3844
|
});
|
|
3234
3845
|
}
|
|
3235
3846
|
return menus;
|
|
@@ -3240,20 +3851,20 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_staticRenderFns = [];
|
|
|
3240
3851
|
visitTypeOptions: function visitTypeOptions() {
|
|
3241
3852
|
var visitTypeOptions = [{
|
|
3242
3853
|
value: 0,
|
|
3243
|
-
text: '不限制'
|
|
3854
|
+
text: this.$tx('ecwplat.menuForm.Unrestricted', '不限制')
|
|
3244
3855
|
}, {
|
|
3245
3856
|
value: 1,
|
|
3246
|
-
text: '指定角色'
|
|
3857
|
+
text: this.$tx('ecwplat.menuForm.designatedRole', '指定角色')
|
|
3247
3858
|
}];
|
|
3248
3859
|
if (this.vo.orgCode !== 'plat' || this.productCodeAll.indexOf(this.vo.sysCode) === -1) {
|
|
3249
3860
|
// 非产品菜单,可指定机构人员、工作群组
|
|
3250
3861
|
visitTypeOptions.push({
|
|
3251
3862
|
value: 2,
|
|
3252
|
-
text: '指定机构人员'
|
|
3863
|
+
text: this.$tx('ecwplat.menuForm.desiPerson', '指定机构人员')
|
|
3253
3864
|
});
|
|
3254
3865
|
visitTypeOptions.push({
|
|
3255
3866
|
value: 3,
|
|
3256
|
-
text: '指定群组'
|
|
3867
|
+
text: this.$tx('ecwplat.menuForm.specifyGroup', '指定群组')
|
|
3257
3868
|
});
|
|
3258
3869
|
}
|
|
3259
3870
|
return visitTypeOptions;
|
|
@@ -3294,7 +3905,7 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_staticRenderFns = [];
|
|
|
3294
3905
|
updateMenuItemView: function updateMenuItemView() {
|
|
3295
3906
|
var _this = this;
|
|
3296
3907
|
if (this.isWflowMenus) {
|
|
3297
|
-
this.wflowMenuItems[2].name = '全部' + (this.vo.name || '');
|
|
3908
|
+
this.wflowMenuItems[2].name = this.$tx('ecwplat.menuForm.allFile', '全部') + (this.vo.name || '');
|
|
3298
3909
|
this.vo.passenger.wflowMenuItems = this.wflowMenuItems;
|
|
3299
3910
|
}
|
|
3300
3911
|
if (this.vo.moduleLevel === 1) {
|
|
@@ -3374,9 +3985,9 @@ var MenuItemFormvue_type_template_id_4198e92f_scoped_true_staticRenderFns = [];
|
|
|
3374
3985
|
});
|
|
3375
3986
|
;// CONCATENATED MODULE: ./packages/ecwplat/Module/src/MenuItemForm.vue?vue&type=script&lang=js
|
|
3376
3987
|
/* harmony default export */ var src_MenuItemFormvue_type_script_lang_js = (MenuItemFormvue_type_script_lang_js);
|
|
3377
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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=
|
|
3378
|
-
var
|
|
3379
|
-
;// CONCATENATED MODULE: ./packages/ecwplat/Module/src/MenuItemForm.vue?vue&type=style&index=0&id=
|
|
3988
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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
|
|
3989
|
+
var MenuItemFormvue_type_style_index_0_id_383980ee_prod_scoped_true_lang_scss = __webpack_require__(2344);
|
|
3990
|
+
;// CONCATENATED MODULE: ./packages/ecwplat/Module/src/MenuItemForm.vue?vue&type=style&index=0&id=383980ee&prod&scoped=true&lang=scss
|
|
3380
3991
|
|
|
3381
3992
|
;// CONCATENATED MODULE: ./packages/ecwplat/Module/src/MenuItemForm.vue
|
|
3382
3993
|
|
|
@@ -3389,11 +4000,11 @@ var MenuItemFormvue_type_style_index_0_id_4198e92f_prod_scoped_true_lang_scss =
|
|
|
3389
4000
|
|
|
3390
4001
|
var MenuItemForm_component = (0,componentNormalizer/* default */.A)(
|
|
3391
4002
|
src_MenuItemFormvue_type_script_lang_js,
|
|
3392
|
-
|
|
3393
|
-
|
|
4003
|
+
MenuItemFormvue_type_template_id_383980ee_scoped_true_render,
|
|
4004
|
+
MenuItemFormvue_type_template_id_383980ee_scoped_true_staticRenderFns,
|
|
3394
4005
|
false,
|
|
3395
4006
|
null,
|
|
3396
|
-
"
|
|
4007
|
+
"383980ee",
|
|
3397
4008
|
null
|
|
3398
4009
|
|
|
3399
4010
|
)
|
|
@@ -3430,236 +4041,238 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
3430
4041
|
},
|
|
3431
4042
|
data: function data() {
|
|
3432
4043
|
return {
|
|
3433
|
-
|
|
4044
|
+
i18npkg: 'base',
|
|
4045
|
+
moduleCode: 'sysSetup',
|
|
4046
|
+
formTitle: this.$tx('ecwplat.sysSetup.sysConfigInfo', '系统配置信息'),
|
|
3434
4047
|
dwadmin: 0,
|
|
3435
4048
|
platadmin: 0,
|
|
3436
4049
|
loginUser: this.$store.getters.loginUser,
|
|
3437
4050
|
formType: 'SysSetup',
|
|
3438
4051
|
formVo: null,
|
|
3439
4052
|
sysSetupModuleInfo: {
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
4053
|
+
winWidth: 1000,
|
|
4054
|
+
winHeight: 600,
|
|
4055
|
+
moduleCode: 'sysSetup',
|
|
4056
|
+
updateUrl: 'base/sysSetup/update',
|
|
4057
|
+
delUrl: 'base/sysSetup/deleteSysSetup',
|
|
4058
|
+
getByIdUrl: 'base/sysSetup/getById'
|
|
3446
4059
|
},
|
|
3447
4060
|
menuModuleInfo: {
|
|
3448
|
-
|
|
3449
|
-
|
|
4061
|
+
moduleCode: 'Module',
|
|
4062
|
+
addNewUrl: 'base/menuMgr/addNew?sysCode=' + this.vo.sysCode + '&parentId=0',
|
|
3450
4063
|
// 新增保存模块菜单信息、访问授权信息url
|
|
3451
|
-
|
|
4064
|
+
insertUrl: 'base/menuMgr/insertModuleAndPermissions',
|
|
3452
4065
|
// 新增保存模块菜单、访问授权信息url
|
|
3453
|
-
|
|
3454
|
-
|
|
4066
|
+
winWidth: 900,
|
|
4067
|
+
winHeight: 600
|
|
3455
4068
|
},
|
|
3456
4069
|
sysSetupTableFieldInfo: [{
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
4070
|
+
defaultValue: '',
|
|
4071
|
+
elementCanEdit: 0,
|
|
4072
|
+
elementFormatter: '',
|
|
4073
|
+
elementReadonly: 0,
|
|
4074
|
+
elementType: 'input',
|
|
4075
|
+
emptyMessage: '请输入用户单位名称',
|
|
4076
|
+
errorMessage: '',
|
|
4077
|
+
formElementIndex: 0,
|
|
4078
|
+
formShow: 1,
|
|
4079
|
+
formTdAlign: 'text-left',
|
|
4080
|
+
formTdColspan: 12,
|
|
4081
|
+
id: 'b06df403257a4614a78cc883b2149c3c',
|
|
4082
|
+
isRequired: 1,
|
|
4083
|
+
passenger: {},
|
|
4084
|
+
propComment: '用户单位名称',
|
|
4085
|
+
propName: 'orgFullname',
|
|
4086
|
+
propType: 'String',
|
|
4087
|
+
textFormatter: 'textfield',
|
|
4088
|
+
valueMaxLength: 100
|
|
3476
4089
|
}, {
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
4090
|
+
defaultValue: '',
|
|
4091
|
+
elementCanEdit: 0,
|
|
4092
|
+
elementFormatter: '',
|
|
4093
|
+
elementReadonly: 0,
|
|
4094
|
+
elementType: 'input',
|
|
4095
|
+
emptyMessage: '请输入用户单位代码',
|
|
4096
|
+
errorMessage: '',
|
|
4097
|
+
formElementIndex: 2,
|
|
4098
|
+
formShow: 1,
|
|
4099
|
+
formTdAlign: 'text-left',
|
|
4100
|
+
formTdColspan: 12,
|
|
4101
|
+
id: '364d485f85ee49a4b0e7307b7e489a6d',
|
|
4102
|
+
isRequired: 1,
|
|
4103
|
+
propComment: '用户单位代码',
|
|
4104
|
+
propName: 'orgCode',
|
|
4105
|
+
propType: 'String',
|
|
4106
|
+
textFormatter: 'textfield',
|
|
4107
|
+
valueMaxLength: 50
|
|
3495
4108
|
}, {
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
4109
|
+
defaultValue: '',
|
|
4110
|
+
elementCanEdit: '{${canEdit}}',
|
|
4111
|
+
elementFormatter: '',
|
|
4112
|
+
elementReadonly: 0,
|
|
4113
|
+
elementType: 'input',
|
|
4114
|
+
emptyMessage: '请输入系统名称',
|
|
4115
|
+
errorMessage: '',
|
|
4116
|
+
formElementIndex: 3,
|
|
4117
|
+
formShow: 1,
|
|
4118
|
+
formTdAlign: 'text-left',
|
|
4119
|
+
formTdColspan: 12,
|
|
4120
|
+
id: 'eb35f7324ce245d2bfcc2d8599fb7be2',
|
|
4121
|
+
isRequired: 1,
|
|
4122
|
+
propComment: '系统名称',
|
|
4123
|
+
propName: 'sysName',
|
|
4124
|
+
propType: 'String',
|
|
4125
|
+
textFormatter: 'textfield',
|
|
4126
|
+
valueMaxLength: 250
|
|
3514
4127
|
}, {
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
4128
|
+
defaultValue: '',
|
|
4129
|
+
elementCanEdit: 0,
|
|
4130
|
+
elementFormatter: '',
|
|
4131
|
+
elementReadonly: 0,
|
|
4132
|
+
elementType: 'input',
|
|
4133
|
+
emptyMessage: '请输入系统代码',
|
|
4134
|
+
errorMessage: '',
|
|
4135
|
+
formElementIndex: 4,
|
|
4136
|
+
formShow: 1,
|
|
4137
|
+
formTdAlign: 'text-left',
|
|
4138
|
+
formTdColspan: 12,
|
|
4139
|
+
id: '3d71c21947bb4edcb692026c44a83625',
|
|
4140
|
+
isRequired: 1,
|
|
4141
|
+
propComment: '系统代码',
|
|
4142
|
+
propName: 'sysCode',
|
|
4143
|
+
propType: 'String',
|
|
4144
|
+
textFormatter: 'textfield',
|
|
4145
|
+
valueMaxLength: 50
|
|
3533
4146
|
}, {
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
4147
|
+
defaultValue: '',
|
|
4148
|
+
elementCanEdit: '0',
|
|
4149
|
+
elementFormatter: '1:是\n0:否',
|
|
4150
|
+
elementType: 'radio',
|
|
4151
|
+
emptyMessage: '请输入是否默认主系统',
|
|
4152
|
+
errorMessage: '',
|
|
4153
|
+
formElementIndex: 5,
|
|
4154
|
+
formShow: 1,
|
|
4155
|
+
formTdAlign: 'text-left',
|
|
4156
|
+
formTdColspan: 12,
|
|
4157
|
+
id: 'bbbcdcece2704ad986ed9fe66f2fc653',
|
|
4158
|
+
isRequired: 1,
|
|
4159
|
+
passenger: {},
|
|
4160
|
+
propComment: '是否默认主系统',
|
|
4161
|
+
propName: 'isDefaultSys',
|
|
4162
|
+
propType: 'Short',
|
|
4163
|
+
textFormatter: ''
|
|
3551
4164
|
}, {
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
4165
|
+
defaultValue: '',
|
|
4166
|
+
elementCanEdit: 0,
|
|
4167
|
+
elementFormatter: '',
|
|
4168
|
+
elementType: 'select',
|
|
4169
|
+
emptyMessage: '请选择产品名称 ',
|
|
4170
|
+
errorMessage: '',
|
|
4171
|
+
formElementIndex: 6,
|
|
4172
|
+
formShow: 1,
|
|
4173
|
+
formTdAlign: 'text-left',
|
|
4174
|
+
formTdColspan: 12,
|
|
4175
|
+
id: '4d2ef571906e487baa359f215b32b18e',
|
|
4176
|
+
isRequired: 0,
|
|
4177
|
+
propComment: '产品代码',
|
|
4178
|
+
propName: 'productName',
|
|
4179
|
+
propType: 'String',
|
|
4180
|
+
textFormatter: '',
|
|
4181
|
+
valueMaxLength: 50
|
|
3569
4182
|
}, {
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
4183
|
+
defaultValue: '',
|
|
4184
|
+
elementCanEdit: '{${canEdit}}',
|
|
4185
|
+
elementFormatter: '',
|
|
4186
|
+
elementReadonly: 0,
|
|
4187
|
+
elementType: 'input',
|
|
4188
|
+
emptyMessage: '请输入LOGO图片文件名',
|
|
4189
|
+
errorMessage: '',
|
|
4190
|
+
formElementIndex: 0,
|
|
4191
|
+
formShow: 0,
|
|
4192
|
+
formTdAlign: 'text-left',
|
|
4193
|
+
formTdColspan: 0,
|
|
4194
|
+
id: '7eee9e8e3a884c33ac731b94bfbc0637',
|
|
4195
|
+
isRequired: 1,
|
|
4196
|
+
propComment: 'LOGO图片文件名',
|
|
4197
|
+
propName: 'sysLogoFileName',
|
|
4198
|
+
propType: 'String',
|
|
4199
|
+
textFormatter: 'textfield',
|
|
4200
|
+
valueMaxLength: 100
|
|
3588
4201
|
}, {
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
4202
|
+
defaultValue: 'sysLogoFileName',
|
|
4203
|
+
elementCanEdit: '{{canEdit}}',
|
|
4204
|
+
elementFormatter: '',
|
|
4205
|
+
elementType: 'file',
|
|
4206
|
+
emptyMessage: '请选择系统LOGO图片',
|
|
4207
|
+
errorMessage: '',
|
|
4208
|
+
formElementIndex: 0,
|
|
4209
|
+
formShow: 0,
|
|
4210
|
+
formTdAlign: 'text-left',
|
|
4211
|
+
formTdColspan: 0,
|
|
4212
|
+
id: 'e2a472a94bfe4b23b72171cd74dc9d4a',
|
|
4213
|
+
isRequired: 1,
|
|
4214
|
+
propComment: '系统LOGO图片',
|
|
4215
|
+
propName: 'sysLogo',
|
|
4216
|
+
propType: 'byte[]',
|
|
4217
|
+
textFormatter: 'image/*',
|
|
4218
|
+
valueMaxLength: 1,
|
|
4219
|
+
valueMinLength: 0
|
|
3607
4220
|
}, {
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
4221
|
+
defaultValue: '',
|
|
4222
|
+
elementCanEdit: '0',
|
|
4223
|
+
elementFormatter: '',
|
|
4224
|
+
elementReadonly: 1,
|
|
4225
|
+
elementType: 'date',
|
|
4226
|
+
emptyMessage: '请输入业务开通时间',
|
|
4227
|
+
errorMessage: '',
|
|
4228
|
+
formElementIndex: 24,
|
|
4229
|
+
formShow: 1,
|
|
4230
|
+
formTdAlign: 'text-left',
|
|
4231
|
+
formTdColspan: 12,
|
|
4232
|
+
id: '6c4558fc66af4d1c8c83ce00bcd4ca55',
|
|
4233
|
+
isRequired: 1,
|
|
4234
|
+
propComment: '业务开通时间',
|
|
4235
|
+
propName: 'openTime',
|
|
4236
|
+
propType: 'java.util.Date',
|
|
4237
|
+
textFormatter: 'yyyy-MM-dd',
|
|
4238
|
+
valueMinLength: 0
|
|
3626
4239
|
}, {
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
4240
|
+
defaultValue: '',
|
|
4241
|
+
elementCanEdit: '0',
|
|
4242
|
+
elementFormatter: '',
|
|
4243
|
+
elementReadonly: 1,
|
|
4244
|
+
elementType: 'date',
|
|
4245
|
+
emptyMessage: '请输入业务开通时间',
|
|
4246
|
+
errorMessage: '',
|
|
4247
|
+
formElementIndex: 24,
|
|
4248
|
+
formShow: 1,
|
|
4249
|
+
formTdAlign: 'text-left',
|
|
4250
|
+
formTdColspan: 12,
|
|
4251
|
+
id: '6c4558fc66af4d1c8c83ce00bcd4ca55',
|
|
4252
|
+
isRequired: 1,
|
|
4253
|
+
propComment: '业务截止时间',
|
|
4254
|
+
propName: 'expiredTime',
|
|
4255
|
+
propType: 'java.util.Date',
|
|
4256
|
+
textFormatter: 'yyyy-MM-dd',
|
|
4257
|
+
valueMinLength: 0
|
|
3645
4258
|
}, {
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
4259
|
+
defaultValue: '1',
|
|
4260
|
+
elementCanEdit: '{{canEdit}}',
|
|
4261
|
+
elementFormatter: '1:启用\r\n0:禁用\r\n',
|
|
4262
|
+
elementType: 'radio',
|
|
4263
|
+
emptyMessage: '请选择系统状态 ',
|
|
4264
|
+
errorMessage: '',
|
|
4265
|
+
formElementIndex: 11,
|
|
4266
|
+
formShow: 1,
|
|
4267
|
+
formTdAlign: 'text-left',
|
|
4268
|
+
formTdColspan: 24,
|
|
4269
|
+
id: '9391e6e75a964a82949543dd899e746e',
|
|
4270
|
+
isRequired: 1,
|
|
4271
|
+
propComment: '系统状态 ',
|
|
4272
|
+
propName: 'sysStatus',
|
|
4273
|
+
propType: 'Short',
|
|
4274
|
+
textFormatter: '',
|
|
4275
|
+
valueMinLength: 0
|
|
3663
4276
|
}],
|
|
3664
4277
|
busiformBtns: []
|
|
3665
4278
|
};
|
|
@@ -3691,11 +4304,15 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
3691
4304
|
},
|
|
3692
4305
|
deleteSysSetup: function deleteSysSetup() {
|
|
3693
4306
|
var _this2 = this;
|
|
3694
|
-
var confirmMsg = '
|
|
4307
|
+
var confirmMsg = this.$tx('ecwplat.sysSetup.delSysSetupTip', {
|
|
4308
|
+
sysName: this.vo.sysName
|
|
4309
|
+
}, '您是否确认删除{sysName}的全部系统数据?');
|
|
3695
4310
|
if (this.vo.sysType === 1) {
|
|
3696
|
-
confirmMsg = '
|
|
4311
|
+
confirmMsg = this.$tx('ecwplat.sysSetup.delSysSetupAllTip', {
|
|
4312
|
+
sysName: this.vo.sysName
|
|
4313
|
+
}, '您是否确认删除{sysName}以及关联子系统的全部数据?');
|
|
3697
4314
|
}
|
|
3698
|
-
this.$confirm(confirmMsg, '确认操作', {
|
|
4315
|
+
this.$confirm(confirmMsg, this.$tx('common.confirmOperate', '确认操作'), {
|
|
3699
4316
|
type: 'warning'
|
|
3700
4317
|
}).then( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
3701
4318
|
var res;
|
|
@@ -3709,13 +4326,13 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
3709
4326
|
res = _context.sent;
|
|
3710
4327
|
_this2.$bus.emit('closeDoingDialog');
|
|
3711
4328
|
if (res.code === 'success') {
|
|
3712
|
-
_this2.$alert(res.message, '操作提示', {
|
|
4329
|
+
_this2.$alert(res.message, _this2.$tx('common.operationTip', '操作提示'), {
|
|
3713
4330
|
type: 'warning'
|
|
3714
4331
|
});
|
|
3715
4332
|
_this2.$vnode.context.treeData = [];
|
|
3716
4333
|
_this2.$vnode.context.sys = null;
|
|
3717
4334
|
} else {
|
|
3718
|
-
_this2.$alert(res.message, '操作提示', {
|
|
4335
|
+
_this2.$alert(res.message, _this2.$tx('common.operationTip', '操作提示'), {
|
|
3719
4336
|
type: 'error'
|
|
3720
4337
|
});
|
|
3721
4338
|
}
|
|
@@ -3777,12 +4394,12 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
3777
4394
|
var _this4 = this;
|
|
3778
4395
|
var dataScopeList = [{
|
|
3779
4396
|
value: 'menus',
|
|
3780
|
-
text: '模块菜单'
|
|
4397
|
+
text: this.$tx('ecwplat.Common.moduleMenu', '模块菜单')
|
|
3781
4398
|
}, {
|
|
3782
4399
|
value: 'rolePermissions',
|
|
3783
|
-
text: '角色授权'
|
|
4400
|
+
text: this.$tx('ecwplat.Common.role', '角色授权')
|
|
3784
4401
|
}];
|
|
3785
|
-
this.$bus.emit('openExportModuleDialog', '
|
|
4402
|
+
this.$bus.emit('openExportModuleDialog', this.$tx('ecwplat.PageBtns.exportMenu', '导出菜单'), dataScopeList, function (rst) {
|
|
3786
4403
|
if (rst.code === 'success') {
|
|
3787
4404
|
var params = rst.value;
|
|
3788
4405
|
params.sysCode = _this4.vo.sysCode;
|
|
@@ -3795,7 +4412,7 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
3795
4412
|
}).then(function (res) {
|
|
3796
4413
|
if (res.code === 'success') {
|
|
3797
4414
|
var downloadUrl = '<br/>下载代码:<a href="' + "/apigw" + '/' + res.body.zipurl + '" target="_blank">' + res.body.zipname + '</a>';
|
|
3798
|
-
_this4.$alert(res.message + downloadUrl, '操作提示', {
|
|
4415
|
+
_this4.$alert(res.message + downloadUrl, _this4.$tx('common.operationTip', '操作提示'), {
|
|
3799
4416
|
type: 'success',
|
|
3800
4417
|
dangerouslyUseHTMLString: true
|
|
3801
4418
|
});
|
|
@@ -3806,11 +4423,11 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
3806
4423
|
}
|
|
3807
4424
|
});
|
|
3808
4425
|
}
|
|
3809
|
-
}, null, null, '请选择目标数据库类型:');
|
|
4426
|
+
}, null, null, this.$tx('ecwplat.Common.selectSqlType', '请选择目标数据库类型:'));
|
|
3810
4427
|
},
|
|
3811
4428
|
importMenu: function importMenu() {
|
|
3812
4429
|
var _this5 = this;
|
|
3813
|
-
this.$bus.emit('openImportModuleDialog', '模块菜单', '/base/codeGenerate/importModuleMenu?parentId=' + this.vo.id, function (rst) {
|
|
4430
|
+
this.$bus.emit('openImportModuleDialog', this.$tx('ecwplat.Common.moduleMenu', '模块菜单'), '/base/codeGenerate/importModuleMenu?parentId=' + this.vo.id, function (rst) {
|
|
3814
4431
|
if (rst.code === 'success') {
|
|
3815
4432
|
_this5.$vnode.context.loadSysSetup(_this5.vo.orgCode);
|
|
3816
4433
|
}
|
|
@@ -3830,18 +4447,18 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
3830
4447
|
;
|
|
3831
4448
|
var SysSetup_component = (0,componentNormalizer/* default */.A)(
|
|
3832
4449
|
src_SysSetupvue_type_script_lang_js,
|
|
3833
|
-
|
|
3834
|
-
|
|
4450
|
+
SysSetupvue_type_template_id_ded36afa_scoped_true_render,
|
|
4451
|
+
SysSetupvue_type_template_id_ded36afa_scoped_true_staticRenderFns,
|
|
3835
4452
|
false,
|
|
3836
4453
|
null,
|
|
3837
|
-
"
|
|
4454
|
+
"ded36afa",
|
|
3838
4455
|
null
|
|
3839
4456
|
|
|
3840
4457
|
)
|
|
3841
4458
|
|
|
3842
4459
|
/* harmony default export */ var SysSetup = (SysSetup_component.exports);
|
|
3843
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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=
|
|
3844
|
-
var
|
|
4460
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
4461
|
+
var CopyMenuvue_type_template_id_46cffb18_scoped_true_render = function render() {
|
|
3845
4462
|
var _vm = this,
|
|
3846
4463
|
_c = _vm._self._c;
|
|
3847
4464
|
return _vm.dialogFormVisible ? _c('el-dialog', {
|
|
@@ -3854,7 +4471,7 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_render = function render()
|
|
|
3854
4471
|
"append-to-body": true,
|
|
3855
4472
|
"close-on-click-modal": false,
|
|
3856
4473
|
"width": "900px",
|
|
3857
|
-
"title":
|
|
4474
|
+
"title": _vm.$tx('ecwplat.resRolePermission.formTitle', '复制菜单')
|
|
3858
4475
|
},
|
|
3859
4476
|
on: {
|
|
3860
4477
|
"update:visible": function updateVisible($event) {
|
|
@@ -3877,6 +4494,12 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_render = function render()
|
|
|
3877
4494
|
"border": "0"
|
|
3878
4495
|
}
|
|
3879
4496
|
}, [_c('tbody', [_c('tr', [_c('td', {
|
|
4497
|
+
directives: [{
|
|
4498
|
+
name: "field-lbl",
|
|
4499
|
+
rawName: "v-field-lbl",
|
|
4500
|
+
value: 'superiorMenu',
|
|
4501
|
+
expression: "'superiorMenu'"
|
|
4502
|
+
}],
|
|
3880
4503
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
3881
4504
|
}, [_vm._v("上级菜单名称")]), _c('td', {
|
|
3882
4505
|
staticClass: "el-table__cell tdcont tdw83",
|
|
@@ -3888,6 +4511,12 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_render = function render()
|
|
|
3888
4511
|
"innerHTML": _vm._s(_vm.srcMenu.parentName)
|
|
3889
4512
|
}
|
|
3890
4513
|
})])]), _c('tr', [_c('td', {
|
|
4514
|
+
directives: [{
|
|
4515
|
+
name: "field-lbl",
|
|
4516
|
+
rawName: "v-field-lbl",
|
|
4517
|
+
value: 'currentMenu',
|
|
4518
|
+
expression: "'currentMenu'"
|
|
4519
|
+
}],
|
|
3891
4520
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
3892
4521
|
}, [_vm._v("当前菜单名称")]), _c('td', {
|
|
3893
4522
|
staticClass: "el-table__cell tdcont tdw83",
|
|
@@ -3902,7 +4531,14 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_render = function render()
|
|
|
3902
4531
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
3903
4532
|
}, [_c('span', {
|
|
3904
4533
|
staticClass: "required"
|
|
3905
|
-
}, [_vm._v("*")]),
|
|
4534
|
+
}, [_vm._v("*")]), _c('span', {
|
|
4535
|
+
directives: [{
|
|
4536
|
+
name: "field-lbl",
|
|
4537
|
+
rawName: "v-field-lbl",
|
|
4538
|
+
value: 'tarSystemCode',
|
|
4539
|
+
expression: "'tarSystemCode'"
|
|
4540
|
+
}]
|
|
4541
|
+
}, [_vm._v("目标系统代码")])]), _c('td', {
|
|
3906
4542
|
staticClass: "el-table__cell tdcont tdw83",
|
|
3907
4543
|
attrs: {
|
|
3908
4544
|
"colspan": "3"
|
|
@@ -3910,7 +4546,7 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_render = function render()
|
|
|
3910
4546
|
}, [_c('ValidationProvider', {
|
|
3911
4547
|
ref: "ValidationProvider",
|
|
3912
4548
|
attrs: {
|
|
3913
|
-
"name":
|
|
4549
|
+
"name": _vm.$tx('ecwplat.resRolePermission.fields.tarSystemCode', '目标系统代码'),
|
|
3914
4550
|
"rules": "required"
|
|
3915
4551
|
},
|
|
3916
4552
|
scopedSlots: _vm._u([{
|
|
@@ -3931,7 +4567,7 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_render = function render()
|
|
|
3931
4567
|
}, [_c('el-input', {
|
|
3932
4568
|
attrs: {
|
|
3933
4569
|
"name": "sysCode",
|
|
3934
|
-
"placeholder":
|
|
4570
|
+
"placeholder": _vm.$tx('ecwplat.resRolePermission.fields.tarSystemCodeEnter', '请输入新菜单目标系统代码')
|
|
3935
4571
|
},
|
|
3936
4572
|
model: {
|
|
3937
4573
|
value: _vm.newMenu.sysCode,
|
|
@@ -3942,12 +4578,19 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_render = function render()
|
|
|
3942
4578
|
}
|
|
3943
4579
|
})], 1)];
|
|
3944
4580
|
}
|
|
3945
|
-
}], null, false,
|
|
4581
|
+
}], null, false, 3917819172)
|
|
3946
4582
|
})], 1)]), _c('tr', [_c('td', {
|
|
3947
4583
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
3948
4584
|
}, [_c('span', {
|
|
3949
4585
|
staticClass: "required"
|
|
3950
|
-
}, [_vm._v("*")]),
|
|
4586
|
+
}, [_vm._v("*")]), _c('span', {
|
|
4587
|
+
directives: [{
|
|
4588
|
+
name: "field-lbl",
|
|
4589
|
+
rawName: "v-field-lbl",
|
|
4590
|
+
value: 'newMenu',
|
|
4591
|
+
expression: "'newMenu'"
|
|
4592
|
+
}]
|
|
4593
|
+
}, [_vm._v("新菜单名称")])]), _c('td', {
|
|
3951
4594
|
staticClass: "el-table__cell tdcont tdw83",
|
|
3952
4595
|
attrs: {
|
|
3953
4596
|
"colspan": "3"
|
|
@@ -3955,7 +4598,7 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_render = function render()
|
|
|
3955
4598
|
}, [_c('ValidationProvider', {
|
|
3956
4599
|
ref: "ValidationProvider",
|
|
3957
4600
|
attrs: {
|
|
3958
|
-
"name":
|
|
4601
|
+
"name": _vm.$tx('ecwplat.resRolePermission.fields.newMenu', '新菜单名称'),
|
|
3959
4602
|
"rules": "required"
|
|
3960
4603
|
},
|
|
3961
4604
|
scopedSlots: _vm._u([{
|
|
@@ -3976,7 +4619,7 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_render = function render()
|
|
|
3976
4619
|
}, [_c('el-input', {
|
|
3977
4620
|
attrs: {
|
|
3978
4621
|
"name": "newName",
|
|
3979
|
-
"placeholder":
|
|
4622
|
+
"placeholder": _vm.$tx('ecwplat.resRolePermission.fields.newMenuEnter', '请输入新菜单名称')
|
|
3980
4623
|
},
|
|
3981
4624
|
model: {
|
|
3982
4625
|
value: _vm.newMenu.newName,
|
|
@@ -3987,12 +4630,19 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_render = function render()
|
|
|
3987
4630
|
}
|
|
3988
4631
|
})], 1)];
|
|
3989
4632
|
}
|
|
3990
|
-
}], null, false,
|
|
4633
|
+
}], null, false, 2916623158)
|
|
3991
4634
|
})], 1)]), _c('tr', [_c('td', {
|
|
3992
4635
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
3993
4636
|
}, [_vm.srcMenu.sysCode == _vm.newMenu.sysCode ? _c('span', {
|
|
3994
4637
|
staticClass: "required"
|
|
3995
|
-
}, [_vm._v("*")]) : _vm._e(),
|
|
4638
|
+
}, [_vm._v("*")]) : _vm._e(), _c('span', {
|
|
4639
|
+
directives: [{
|
|
4640
|
+
name: "field-lbl",
|
|
4641
|
+
rawName: "v-field-lbl",
|
|
4642
|
+
value: 'replaceForm',
|
|
4643
|
+
expression: "'replaceForm'"
|
|
4644
|
+
}]
|
|
4645
|
+
}, [_vm._v("菜单代码替换From")])]), _c('td', {
|
|
3996
4646
|
staticClass: "el-table__cell tdcont tdw83",
|
|
3997
4647
|
attrs: {
|
|
3998
4648
|
"colspan": "3"
|
|
@@ -4000,7 +4650,7 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_render = function render()
|
|
|
4000
4650
|
}, [_c('el-input', {
|
|
4001
4651
|
attrs: {
|
|
4002
4652
|
"name": "replaceFrom",
|
|
4003
|
-
"placeholder":
|
|
4653
|
+
"placeholder": _vm.$tx('ecwplat.resRolePermission.fields.replaceFormKey', '请输入菜单代码替换From关键词')
|
|
4004
4654
|
},
|
|
4005
4655
|
on: {
|
|
4006
4656
|
"input": function input($event) {
|
|
@@ -4018,7 +4668,14 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_render = function render()
|
|
|
4018
4668
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
4019
4669
|
}, [_vm.srcMenu.sysCode == _vm.newMenu.sysCode ? _c('span', {
|
|
4020
4670
|
staticClass: "required"
|
|
4021
|
-
}, [_vm._v("*")]) : _vm._e(),
|
|
4671
|
+
}, [_vm._v("*")]) : _vm._e(), _c('span', {
|
|
4672
|
+
directives: [{
|
|
4673
|
+
name: "field-lbl",
|
|
4674
|
+
rawName: "v-field-lbl",
|
|
4675
|
+
value: 'replaceTo',
|
|
4676
|
+
expression: "'replaceTo'"
|
|
4677
|
+
}]
|
|
4678
|
+
}, [_vm._v("菜单代码替换To")])]), _c('td', {
|
|
4022
4679
|
staticClass: "el-table__cell tdcont tdw83",
|
|
4023
4680
|
attrs: {
|
|
4024
4681
|
"colspan": "3"
|
|
@@ -4026,7 +4683,7 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_render = function render()
|
|
|
4026
4683
|
}, [_c('el-input', {
|
|
4027
4684
|
attrs: {
|
|
4028
4685
|
"name": "replaceTo",
|
|
4029
|
-
"placeholder":
|
|
4686
|
+
"placeholder": _vm.$tx('ecwplat.resRolePermission.fields.replaceToKey', '请输入菜单代码替换To关键词')
|
|
4030
4687
|
},
|
|
4031
4688
|
on: {
|
|
4032
4689
|
"input": function input($event) {
|
|
@@ -4047,6 +4704,12 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_render = function render()
|
|
|
4047
4704
|
},
|
|
4048
4705
|
slot: "footer"
|
|
4049
4706
|
}, [_c('el-button', {
|
|
4707
|
+
directives: [{
|
|
4708
|
+
name: "pageBtns-lbl",
|
|
4709
|
+
rawName: "v-pageBtns-lbl",
|
|
4710
|
+
value: 'pageBtns.close',
|
|
4711
|
+
expression: "'pageBtns.close'"
|
|
4712
|
+
}],
|
|
4050
4713
|
attrs: {
|
|
4051
4714
|
"plain": "",
|
|
4052
4715
|
"icon": "el-icon-close"
|
|
@@ -4055,6 +4718,12 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_render = function render()
|
|
|
4055
4718
|
"click": _vm.closeDialog
|
|
4056
4719
|
}
|
|
4057
4720
|
}, [_vm._v("关 闭")]), _c('el-button', {
|
|
4721
|
+
directives: [{
|
|
4722
|
+
name: "pageBtns-lbl",
|
|
4723
|
+
rawName: "v-pageBtns-lbl",
|
|
4724
|
+
value: 'pageBtns.save',
|
|
4725
|
+
expression: "'pageBtns.save'"
|
|
4726
|
+
}],
|
|
4058
4727
|
attrs: {
|
|
4059
4728
|
"type": "primary",
|
|
4060
4729
|
"icon": "el-icon-check"
|
|
@@ -4064,7 +4733,7 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_render = function render()
|
|
|
4064
4733
|
}
|
|
4065
4734
|
}, [_vm._v("保 存")])], 1)], 1) : _vm._e();
|
|
4066
4735
|
};
|
|
4067
|
-
var
|
|
4736
|
+
var CopyMenuvue_type_template_id_46cffb18_scoped_true_staticRenderFns = [];
|
|
4068
4737
|
|
|
4069
4738
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
4070
4739
|
/* harmony default export */ var CopyMenuvue_type_script_lang_js = ({
|
|
@@ -4080,6 +4749,8 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_staticRenderFns = [];
|
|
|
4080
4749
|
},
|
|
4081
4750
|
data: function data() {
|
|
4082
4751
|
return {
|
|
4752
|
+
i18npkg: 'base',
|
|
4753
|
+
moduleCode: 'resRolePermission',
|
|
4083
4754
|
srcMenu: {},
|
|
4084
4755
|
newMenu: {},
|
|
4085
4756
|
moduleInfo: {},
|
|
@@ -4116,19 +4787,19 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_staticRenderFns = [];
|
|
|
4116
4787
|
this.formValidate(function () {
|
|
4117
4788
|
if (_this2.srcMenu.sysCode === _this2.newMenu.sysCode) {
|
|
4118
4789
|
if (_this2.srcMenu.name === _this2.newMenu.newName) {
|
|
4119
|
-
_this2.$alert('同一系统,新菜单名称不能与当前菜单相同', '操作提示', {
|
|
4790
|
+
_this2.$alert(_this2.$tx('ecwplat.resRolePermission.replaceMenu', '同一系统,新菜单名称不能与当前菜单相同'), _this2.$tx('common.operationTip', '操作提示'), {
|
|
4120
4791
|
type: 'warning'
|
|
4121
4792
|
});
|
|
4122
4793
|
return;
|
|
4123
4794
|
}
|
|
4124
4795
|
if (_this2.newMenu.replaceFrom === '') {
|
|
4125
|
-
_this2.$alert('同一系统,必须输入菜单代码替换From关键词', '操作提示', {
|
|
4796
|
+
_this2.$alert(_this2.$tx('ecwplat.resRolePermission.replaceMenuForm', '同一系统,必须输入菜单代码替换From关键词'), _this2.$tx('common.operationTip', '操作提示'), {
|
|
4126
4797
|
type: 'warning'
|
|
4127
4798
|
});
|
|
4128
4799
|
return;
|
|
4129
4800
|
}
|
|
4130
4801
|
if (_this2.newMenu.replaceTo === '') {
|
|
4131
|
-
_this2.$alert('同一系统,必须输入菜单代码替换To关键词', '操作提示', {
|
|
4802
|
+
_this2.$alert(_this2.$tx('ecwplat.resRolePermission.replaceMenuTo', '同一系统,必须输入菜单代码替换To关键词'), _this2.$tx('common.operationTip', '操作提示'), {
|
|
4132
4803
|
type: 'warning'
|
|
4133
4804
|
});
|
|
4134
4805
|
return;
|
|
@@ -4151,7 +4822,9 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_staticRenderFns = [];
|
|
|
4151
4822
|
|
|
4152
4823
|
// 更新模块菜单树
|
|
4153
4824
|
_this2.$emit('refreshTreeData', res.body.listdata);
|
|
4154
|
-
_this2.$alert('
|
|
4825
|
+
_this2.$alert(_this2.$tx('ecwplat.resRolePermission.replaceSuccess', {
|
|
4826
|
+
newName: pname + _this2.newMenu.newName
|
|
4827
|
+
}, '复制成功,新菜单名称为:{newName}'), {
|
|
4155
4828
|
type: 'success'
|
|
4156
4829
|
});
|
|
4157
4830
|
_this2.closeDialog();
|
|
@@ -4184,18 +4857,18 @@ var CopyMenuvue_type_template_id_ad031242_scoped_true_staticRenderFns = [];
|
|
|
4184
4857
|
;
|
|
4185
4858
|
var CopyMenu_component = (0,componentNormalizer/* default */.A)(
|
|
4186
4859
|
src_CopyMenuvue_type_script_lang_js,
|
|
4187
|
-
|
|
4188
|
-
|
|
4860
|
+
CopyMenuvue_type_template_id_46cffb18_scoped_true_render,
|
|
4861
|
+
CopyMenuvue_type_template_id_46cffb18_scoped_true_staticRenderFns,
|
|
4189
4862
|
false,
|
|
4190
4863
|
null,
|
|
4191
|
-
"
|
|
4864
|
+
"46cffb18",
|
|
4192
4865
|
null
|
|
4193
4866
|
|
|
4194
4867
|
)
|
|
4195
4868
|
|
|
4196
4869
|
/* harmony default export */ var CopyMenu = (CopyMenu_component.exports);
|
|
4197
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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=
|
|
4198
|
-
var
|
|
4870
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
4871
|
+
var ModuleMenuvue_type_template_id_ef821778_scoped_true_render = function render() {
|
|
4199
4872
|
var _vm = this,
|
|
4200
4873
|
_c = _vm._self._c;
|
|
4201
4874
|
return _c('div', [_c('PageContent', {
|
|
@@ -4214,6 +4887,12 @@ var ModuleMenuvue_type_template_id_377bfc6f_scoped_true_render = function render
|
|
|
4214
4887
|
},
|
|
4215
4888
|
slot: "footer"
|
|
4216
4889
|
}, [_c('el-button', {
|
|
4890
|
+
directives: [{
|
|
4891
|
+
name: "pageBtn-lbl",
|
|
4892
|
+
rawName: "v-pageBtn-lbl",
|
|
4893
|
+
value: 'ecwplat.PageBtns.addSubmenu',
|
|
4894
|
+
expression: "'ecwplat.PageBtns.addSubmenu'"
|
|
4895
|
+
}],
|
|
4217
4896
|
attrs: {
|
|
4218
4897
|
"plain": "",
|
|
4219
4898
|
"icon": "el-icon-plus"
|
|
@@ -4224,6 +4903,12 @@ var ModuleMenuvue_type_template_id_377bfc6f_scoped_true_render = function render
|
|
|
4224
4903
|
}
|
|
4225
4904
|
}
|
|
4226
4905
|
}, [_vm._v("新增子菜单")]), _vm.sys != null && _vm.sys.passenger && _vm.sys.passenger.workflow !== 0 && _vm.vo.moduleLevel <= 2 ? _c('el-button', {
|
|
4906
|
+
directives: [{
|
|
4907
|
+
name: "pageBtn-lbl",
|
|
4908
|
+
rawName: "v-pageBtn-lbl",
|
|
4909
|
+
value: 'ecwplat.PageBtns.addApprMenu',
|
|
4910
|
+
expression: "'ecwplat.PageBtns.addApprMenu'"
|
|
4911
|
+
}],
|
|
4227
4912
|
attrs: {
|
|
4228
4913
|
"plain": "",
|
|
4229
4914
|
"icon": "el-icon-plus"
|
|
@@ -4234,6 +4919,12 @@ var ModuleMenuvue_type_template_id_377bfc6f_scoped_true_render = function render
|
|
|
4234
4919
|
}
|
|
4235
4920
|
}
|
|
4236
4921
|
}, [_vm._v("新增审批菜单组")]) : _vm._e(), _c('el-button', {
|
|
4922
|
+
directives: [{
|
|
4923
|
+
name: "pageBtn-lbl",
|
|
4924
|
+
rawName: "v-pageBtn-lbl",
|
|
4925
|
+
value: 'ecwplat.PageBtns.modifyMenu',
|
|
4926
|
+
expression: "'ecwplat.PageBtns.modifyMenu'"
|
|
4927
|
+
}],
|
|
4237
4928
|
attrs: {
|
|
4238
4929
|
"plain": "",
|
|
4239
4930
|
"icon": "el-icon-edit"
|
|
@@ -4242,6 +4933,12 @@ var ModuleMenuvue_type_template_id_377bfc6f_scoped_true_render = function render
|
|
|
4242
4933
|
"click": _vm.editMenu
|
|
4243
4934
|
}
|
|
4244
4935
|
}, [_vm._v("修改菜单")]), _c('el-button', {
|
|
4936
|
+
directives: [{
|
|
4937
|
+
name: "pageBtn-lbl",
|
|
4938
|
+
rawName: "v-pageBtn-lbl",
|
|
4939
|
+
value: 'ecwplat.PageBtns.copyMenu',
|
|
4940
|
+
expression: "'ecwplat.PageBtns.copyMenu'"
|
|
4941
|
+
}],
|
|
4245
4942
|
attrs: {
|
|
4246
4943
|
"plain": "",
|
|
4247
4944
|
"icon": "el-icon-document-copy"
|
|
@@ -4250,6 +4947,12 @@ var ModuleMenuvue_type_template_id_377bfc6f_scoped_true_render = function render
|
|
|
4250
4947
|
"click": _vm.copyMenu
|
|
4251
4948
|
}
|
|
4252
4949
|
}, [_vm._v("复制菜单")]), _c('el-button', {
|
|
4950
|
+
directives: [{
|
|
4951
|
+
name: "pageBtn-lbl",
|
|
4952
|
+
rawName: "v-pageBtn-lbl",
|
|
4953
|
+
value: 'ecwplat.PageBtns.exportMenu',
|
|
4954
|
+
expression: "'ecwplat.PageBtns.exportMenu'"
|
|
4955
|
+
}],
|
|
4253
4956
|
attrs: {
|
|
4254
4957
|
"plain": "",
|
|
4255
4958
|
"icon": "el-icon-top-right"
|
|
@@ -4258,6 +4961,12 @@ var ModuleMenuvue_type_template_id_377bfc6f_scoped_true_render = function render
|
|
|
4258
4961
|
"click": _vm.exportMenu
|
|
4259
4962
|
}
|
|
4260
4963
|
}, [_vm._v("导出菜单")]), _c('el-button', {
|
|
4964
|
+
directives: [{
|
|
4965
|
+
name: "pageBtn-lbl",
|
|
4966
|
+
rawName: "v-pageBtn-lbl",
|
|
4967
|
+
value: 'ecwplat.PageBtns.importMenu',
|
|
4968
|
+
expression: "'ecwplat.PageBtns.importMenu'"
|
|
4969
|
+
}],
|
|
4261
4970
|
attrs: {
|
|
4262
4971
|
"plain": "",
|
|
4263
4972
|
"icon": "el-icon-bottom-right"
|
|
@@ -4289,10 +4998,10 @@ var ModuleMenuvue_type_template_id_377bfc6f_scoped_true_render = function render
|
|
|
4289
4998
|
}
|
|
4290
4999
|
})];
|
|
4291
5000
|
}
|
|
4292
|
-
}], null, false,
|
|
5001
|
+
}], null, false, 440819207)
|
|
4293
5002
|
}) : _vm._e(), _c('ExportModuleCode'), _c('ImportModuleCode')], 1);
|
|
4294
5003
|
};
|
|
4295
|
-
var
|
|
5004
|
+
var ModuleMenuvue_type_template_id_ef821778_scoped_true_staticRenderFns = [];
|
|
4296
5005
|
|
|
4297
5006
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
4298
5007
|
|
|
@@ -4323,7 +5032,9 @@ var ModuleMenuvue_type_template_id_377bfc6f_scoped_true_staticRenderFns = [];
|
|
|
4323
5032
|
},
|
|
4324
5033
|
data: function data() {
|
|
4325
5034
|
return {
|
|
4326
|
-
|
|
5035
|
+
i18npkg: 'base',
|
|
5036
|
+
moduleCode: 'meunItem',
|
|
5037
|
+
title: this.vo.moduleLevel === 1 ? this.$tx('ecwplat.Common.columnMenuConfiguration', '栏目菜单配置') : this.$tx('ecwplat.Common.leftMenuConfiguration', '左导航菜单配置'),
|
|
4327
5038
|
moduleInfo: {
|
|
4328
5039
|
moduleCode: 'Module',
|
|
4329
5040
|
addNewUrl: 'base/menuMgr/addNew',
|
|
@@ -4371,12 +5082,16 @@ var ModuleMenuvue_type_template_id_377bfc6f_scoped_true_staticRenderFns = [];
|
|
|
4371
5082
|
addMenu: function addMenu(menuType) {
|
|
4372
5083
|
this.newMenuType = menuType;
|
|
4373
5084
|
if (this.vo.moduleLevel > 1 && this.vo.leafFlag !== 0) {
|
|
4374
|
-
this.$alert(this.
|
|
5085
|
+
this.$alert(this.$tx('ecwplat.meunItem.menuTip', {
|
|
5086
|
+
voName: this.vo.name
|
|
5087
|
+
}, '{voName}不是文件夹菜单,不能创建子菜单。'), {
|
|
4375
5088
|
type: 'warning'
|
|
4376
5089
|
});
|
|
4377
5090
|
return;
|
|
4378
5091
|
} else if (this.vo.passenger.disallowAddSubMenu) {
|
|
4379
|
-
this.$alert(this.
|
|
5092
|
+
this.$alert(this.$tx('ecwplat.meunItem.notAllMenu', {
|
|
5093
|
+
voName: this.vo.name
|
|
5094
|
+
}, '{voName}下不允许创建子菜单。'), {
|
|
4380
5095
|
type: 'warning'
|
|
4381
5096
|
});
|
|
4382
5097
|
return;
|
|
@@ -4401,9 +5116,13 @@ var ModuleMenuvue_type_template_id_377bfc6f_scoped_true_staticRenderFns = [];
|
|
|
4401
5116
|
},
|
|
4402
5117
|
deleteMenu: function deleteMenu(node) {
|
|
4403
5118
|
var _this2 = this;
|
|
4404
|
-
var confirmMsg = '
|
|
5119
|
+
var confirmMsg = this.$tx('ecwplat.meunItem.delMenu', {
|
|
5120
|
+
nodeName: node.name
|
|
5121
|
+
}, '确认删除“{nodeName}"吗?');
|
|
4405
5122
|
if (node.children && node.children.length > 0) {
|
|
4406
|
-
confirmMsg = '
|
|
5123
|
+
confirmMsg = this.$tx('ecwplat.meunItem.isDelMenu', {
|
|
5124
|
+
nodeName: node.name
|
|
5125
|
+
}, '确认删除“{nodeName}”及下级全部子菜单吗?');
|
|
4407
5126
|
}
|
|
4408
5127
|
this.$confirm(confirmMsg, {
|
|
4409
5128
|
type: 'warning'
|
|
@@ -4451,12 +5170,12 @@ var ModuleMenuvue_type_template_id_377bfc6f_scoped_true_staticRenderFns = [];
|
|
|
4451
5170
|
}
|
|
4452
5171
|
var dataScopeList = [{
|
|
4453
5172
|
value: 'menus',
|
|
4454
|
-
text: '模块菜单'
|
|
5173
|
+
text: this.$tx('ecwplat.Common.moduleMenu', '模块菜单')
|
|
4455
5174
|
}, {
|
|
4456
5175
|
value: 'rolePermissions',
|
|
4457
|
-
text: '角色授权'
|
|
5176
|
+
text: this.$tx('ecwplat.Common.role', '角色授权')
|
|
4458
5177
|
}];
|
|
4459
|
-
this.$bus.emit('openExportModuleDialog', '
|
|
5178
|
+
this.$bus.emit('openExportModuleDialog', this.$tx('ecwplat.PageBtns.exportMenu', '导出菜单'), dataScopeList, function (rst) {
|
|
4460
5179
|
if (rst.code === 'success') {
|
|
4461
5180
|
var params = rst.value;
|
|
4462
5181
|
params.menuName = menuName;
|
|
@@ -4469,7 +5188,7 @@ var ModuleMenuvue_type_template_id_377bfc6f_scoped_true_staticRenderFns = [];
|
|
|
4469
5188
|
}).then(function (res) {
|
|
4470
5189
|
if (res.code === 'success') {
|
|
4471
5190
|
var downloadUrl = '<br/>下载代码:<a href="' + "/apigw" + '/' + res.body.zipurl + '" target="_blank">' + res.body.zipname + '</a>';
|
|
4472
|
-
_this3.$alert(res.message + downloadUrl, '操作提示', {
|
|
5191
|
+
_this3.$alert(res.message + downloadUrl, _this3.$tx('common.operationTip', '操作提示'), {
|
|
4473
5192
|
type: 'success',
|
|
4474
5193
|
dangerouslyUseHTMLString: true
|
|
4475
5194
|
});
|
|
@@ -4480,19 +5199,19 @@ var ModuleMenuvue_type_template_id_377bfc6f_scoped_true_staticRenderFns = [];
|
|
|
4480
5199
|
}
|
|
4481
5200
|
});
|
|
4482
5201
|
}
|
|
4483
|
-
}, null, null, '请选择目标数据库类型:');
|
|
5202
|
+
}, null, null, this.$tx('ecwplat.Common.selectSqlType', '请选择目标数据库类型:'));
|
|
4484
5203
|
},
|
|
4485
5204
|
importMenu: function importMenu() {
|
|
4486
5205
|
var _this4 = this;
|
|
4487
|
-
this.$bus.emit('openImportModuleDialog', '模块菜单', '/base/codeGenerate/importModuleMenu?parentId=' + this.vo.id, function (rst) {
|
|
5206
|
+
this.$bus.emit('openImportModuleDialog', this.$tx('ecwplat.Common.moduleMenu', '模块菜单'), '/base/codeGenerate/importModuleMenu?parentId=' + this.vo.id, function (rst) {
|
|
4488
5207
|
if (rst.code === 'success') {
|
|
4489
5208
|
_this4.$vnode.context.loadSysSetup(_this4.vo.orgCode);
|
|
4490
5209
|
}
|
|
4491
5210
|
});
|
|
4492
5211
|
},
|
|
4493
5212
|
/**
|
|
4494
|
-
|
|
4495
|
-
|
|
5213
|
+
* 表单打开检查,vo为已加载moduleMenu对象,允许打开:defer.resolve(true),阻止打开:defer.reject(reason)
|
|
5214
|
+
*/
|
|
4496
5215
|
onBasicFormBeforeOpen: function onBasicFormBeforeOpen($scope, vo, defer) {
|
|
4497
5216
|
if (false) {}
|
|
4498
5217
|
var pname = '';
|
|
@@ -4520,7 +5239,7 @@ var ModuleMenuvue_type_template_id_377bfc6f_scoped_true_staticRenderFns = [];
|
|
|
4520
5239
|
},
|
|
4521
5240
|
/**
|
|
4522
5241
|
* 表单打开完成,vo为已加载的moduleMenu对象,前端页面dom对象已完成初始化、已经呈现,不需要返回值
|
|
4523
|
-
|
|
5242
|
+
*/
|
|
4524
5243
|
onBasicFormOpened: function onBasicFormOpened($scope, vo) {
|
|
4525
5244
|
if (false) {}
|
|
4526
5245
|
},
|
|
@@ -4543,8 +5262,8 @@ var ModuleMenuvue_type_template_id_377bfc6f_scoped_true_staticRenderFns = [];
|
|
|
4543
5262
|
defer.resolve(true);
|
|
4544
5263
|
},
|
|
4545
5264
|
/**
|
|
4546
|
-
|
|
4547
|
-
|
|
5265
|
+
* 表单提交完成,vo为已保存成功的moduleMenu对象,窗口即将关闭,不需要返回值
|
|
5266
|
+
*/
|
|
4548
5267
|
onBasicFormSubmited: function onBasicFormSubmited($scope, vo) {
|
|
4549
5268
|
if (false) {}
|
|
4550
5269
|
if (vo.pId === undefined || vo.pId === null) {
|
|
@@ -4584,11 +5303,11 @@ var ModuleMenuvue_type_template_id_377bfc6f_scoped_true_staticRenderFns = [];
|
|
|
4584
5303
|
;
|
|
4585
5304
|
var ModuleMenu_component = (0,componentNormalizer/* default */.A)(
|
|
4586
5305
|
src_ModuleMenuvue_type_script_lang_js,
|
|
4587
|
-
|
|
4588
|
-
|
|
5306
|
+
ModuleMenuvue_type_template_id_ef821778_scoped_true_render,
|
|
5307
|
+
ModuleMenuvue_type_template_id_ef821778_scoped_true_staticRenderFns,
|
|
4589
5308
|
false,
|
|
4590
5309
|
null,
|
|
4591
|
-
"
|
|
5310
|
+
"ef821778",
|
|
4592
5311
|
null
|
|
4593
5312
|
|
|
4594
5313
|
)
|
|
@@ -4724,6 +5443,10 @@ var Module_CopyMenu = (/* unused pure expression or super */ null && ($CopyMenu)
|
|
|
4724
5443
|
var Module_ModuleMenu = (/* unused pure expression or super */ null && ($ModuleMenu));
|
|
4725
5444
|
var Module_FrameLoader = FrameLoader;
|
|
4726
5445
|
;// CONCATENATED MODULE: ./packages/common/store/modules/wapp/route.js
|
|
5446
|
+
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); }
|
|
5447
|
+
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; }
|
|
5448
|
+
function route_toPropertyKey(t) { var i = route_toPrimitive(t, "string"); return "symbol" == route_typeof(i) ? i : i + ""; }
|
|
5449
|
+
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); }
|
|
4727
5450
|
var defaultSettings = __webpack_require__(7710);
|
|
4728
5451
|
var showTopMenus = defaultSettings.showTopMenus.showTopMenus;
|
|
4729
5452
|
|
|
@@ -4750,11 +5473,11 @@ var actions = {
|
|
|
4750
5473
|
if (item.href && (item.href.substring(0, 2) === '@/' || item.href.substring(0, 10) === '#/dcontent') && item.target === '_top') {
|
|
4751
5474
|
view = window.$loadComponent(item.href);
|
|
4752
5475
|
}
|
|
4753
|
-
var route = convertToRoute(view, item, null, null);
|
|
5476
|
+
var route = convertToRoute(view, item, null, null, null);
|
|
4754
5477
|
accessedRoutes.push(route);
|
|
4755
5478
|
|
|
4756
5479
|
// if (item.leafFlag === 0) {
|
|
4757
|
-
var children = findChildrenRoute(view, response.body.listdata, item, null);
|
|
5480
|
+
var children = findChildrenRoute(view, response.body.listdata, item, null, null);
|
|
4758
5481
|
accessedRoutes = accessedRoutes.concat(children);
|
|
4759
5482
|
// }
|
|
4760
5483
|
});
|
|
@@ -4784,7 +5507,7 @@ function loadWappRoutes(accessedRoutes, wappRoutes) {
|
|
|
4784
5507
|
}
|
|
4785
5508
|
});
|
|
4786
5509
|
}
|
|
4787
|
-
function findChildrenRoute(layout, allm, menuItem, parentIconCode, parentTitle) {
|
|
5510
|
+
function findChildrenRoute(layout, allm, menuItem, parentIconCode, parentTitle, parentI18nCode) {
|
|
4788
5511
|
var children = [];
|
|
4789
5512
|
var childs = allm.filter(function (item) {
|
|
4790
5513
|
if (item.parentId === menuItem.id) return true;
|
|
@@ -4795,13 +5518,14 @@ function findChildrenRoute(layout, allm, menuItem, parentIconCode, parentTitle)
|
|
|
4795
5518
|
}
|
|
4796
5519
|
if (item.moduleLevel === 3) {
|
|
4797
5520
|
parentTitle = item.name;
|
|
5521
|
+
parentI18nCode = (item.i18nCode || item.code).replace('.svg', '');
|
|
4798
5522
|
} else if (item.moduleLevel === 4 && !item.target) {
|
|
4799
5523
|
item.target = 'rightLabel';
|
|
4800
5524
|
}
|
|
4801
|
-
var route = convertToRoute(layout, item, parentIconCode, parentTitle);
|
|
5525
|
+
var route = convertToRoute(layout, item, parentIconCode, parentTitle, parentI18nCode);
|
|
4802
5526
|
route.meta.parentTarget = menuItem.target;
|
|
4803
5527
|
if (item.leafFlag === 0) {
|
|
4804
|
-
route.children = findChildrenRoute(layout, allm, item, parentIconCode, parentTitle);
|
|
5528
|
+
route.children = findChildrenRoute(layout, allm, item, parentIconCode, parentTitle, parentI18nCode);
|
|
4805
5529
|
if ((item.target === 'rightLabel' || item.moduleLevel >= 3 && item.target !== 'leftMenuItem') && route.children.length > 0) {
|
|
4806
5530
|
route.children.forEach(function (child, index) {
|
|
4807
5531
|
child.hidden = true;
|
|
@@ -4823,7 +5547,8 @@ function findChildrenRoute(layout, allm, menuItem, parentIconCode, parentTitle)
|
|
|
4823
5547
|
});
|
|
4824
5548
|
return children;
|
|
4825
5549
|
}
|
|
4826
|
-
function convertToRoute(layout, menuItem, parentIconCode, parentTitle) {
|
|
5550
|
+
function convertToRoute(layout, menuItem, parentIconCode, parentTitle, parentI18nCode) {
|
|
5551
|
+
var _meta;
|
|
4827
5552
|
var isHidden = false;
|
|
4828
5553
|
var itemPath = '/lm/' + menuItem.id;
|
|
4829
5554
|
var iconCode = menuItem.code;
|
|
@@ -4885,28 +5610,15 @@ function convertToRoute(layout, menuItem, parentIconCode, parentTitle) {
|
|
|
4885
5610
|
alias: menuItem.name,
|
|
4886
5611
|
hidden: isHidden,
|
|
4887
5612
|
alwaysShow: menuItem.moduleLevel === 2 && menuItem.leafFlag === 0 && menuItem.target !== 'rightLabel',
|
|
4888
|
-
meta: {
|
|
5613
|
+
meta: (_meta = {
|
|
4889
5614
|
id: menuItem.id,
|
|
4890
5615
|
title: menuItem.name,
|
|
4891
5616
|
description: menuItem.description,
|
|
4892
5617
|
i18nCode: menuItem.i18nCode,
|
|
4893
5618
|
busiType: menuItem.busiType,
|
|
4894
5619
|
icon: iconCode,
|
|
4895
|
-
code: menuItem.code
|
|
4896
|
-
|
|
4897
|
-
topFlag: menuItem.topFlag,
|
|
4898
|
-
href: href,
|
|
4899
|
-
target: menuItem.target,
|
|
4900
|
-
params: params,
|
|
4901
|
-
parentId: menuItem.parentId,
|
|
4902
|
-
parentIconCode: parentIconCode,
|
|
4903
|
-
parentTitle: parentTitle,
|
|
4904
|
-
activeMenu: activeMenu,
|
|
4905
|
-
wfName: menuItem.wfName,
|
|
4906
|
-
wfNodeName: menuItem.wfNodeName,
|
|
4907
|
-
wfEngineUrl: menuItem.wfEngineUrl,
|
|
4908
|
-
sysCode: menuItem.sysCode
|
|
4909
|
-
}
|
|
5620
|
+
code: menuItem.code
|
|
5621
|
+
}, 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))
|
|
4910
5622
|
};
|
|
4911
5623
|
if (menuItem.href && (menuItem.href.substring(0, 2) === '@/' || menuItem.href.substring(0, 11) === '#/dcontent/') && menuItem.moduleLevel <= 2 && (menuItem.target === 'content' || menuItem.target === 'mainpage')) {
|
|
4912
5624
|
route.path = '/lm/' + menuItem.parentId + '/' + menuItem.id;
|
|
@@ -4919,7 +5631,7 @@ function convertToRoute(layout, menuItem, parentIconCode, parentTitle) {
|
|
|
4919
5631
|
meta: {
|
|
4920
5632
|
id: menuItem.id,
|
|
4921
5633
|
title: menuItem.name,
|
|
4922
|
-
i18nCode: menuItem.i18nCode,
|
|
5634
|
+
i18nCode: (menuItem.i18nCode || menuItem.code).replace('.svg', ''),
|
|
4923
5635
|
busiType: menuItem.busiType,
|
|
4924
5636
|
icon: menuItem.code,
|
|
4925
5637
|
level: menuItem.moduleLevel,
|
|
@@ -5271,138 +5983,23 @@ var actions = {
|
|
|
5271
5983
|
|
|
5272
5984
|
/***/ }),
|
|
5273
5985
|
|
|
5274
|
-
/***/
|
|
5986
|
+
/***/ 8018:
|
|
5275
5987
|
/***/ (function(module) {
|
|
5276
5988
|
|
|
5277
5989
|
module.exports = {
|
|
5278
|
-
|
|
5279
|
-
dashboard: 'Dashboard',
|
|
5280
|
-
github: 'Github',
|
|
5281
|
-
logOut: 'Log Out',
|
|
5282
|
-
profile: 'Profile',
|
|
5283
|
-
theme: 'Theme',
|
|
5284
|
-
size: 'Global Size'
|
|
5285
|
-
},
|
|
5286
|
-
menuItem: {
|
|
5287
|
-
portal: 'Portal',
|
|
5288
|
-
console: 'AdminConsole'
|
|
5289
|
-
},
|
|
5290
|
-
user: {
|
|
5291
|
-
formTitle: 'User',
|
|
5292
|
-
fields: {}
|
|
5293
|
-
},
|
|
5294
|
-
paramConfig: {
|
|
5295
|
-
formTitle: 'Param Config',
|
|
5296
|
-
fields: {
|
|
5297
|
-
paramName: 'Parameter name',
|
|
5298
|
-
paramValue: 'Parameter value',
|
|
5299
|
-
paramUnit: 'Parameter unit',
|
|
5300
|
-
paramDesc2: 'Parameter desc'
|
|
5301
|
-
}
|
|
5302
|
-
},
|
|
5303
|
-
login: {
|
|
5304
|
-
title: 'Login Form',
|
|
5305
|
-
mobileLogin: 'Mobile',
|
|
5306
|
-
accountLogin: 'Account',
|
|
5307
|
-
logIn: 'Login',
|
|
5308
|
-
usermobile: 'Mobile number',
|
|
5309
|
-
username: 'User account',
|
|
5310
|
-
orgCode: 'Organization code',
|
|
5311
|
-
password: 'Password',
|
|
5312
|
-
kaptcha: 'Kaptcha',
|
|
5313
|
-
forget: 'Forget?',
|
|
5314
|
-
remember: 'Remember',
|
|
5315
|
-
trial: 'No account?Trial account',
|
|
5316
|
-
any: 'any',
|
|
5317
|
-
thirdparty: 'Or connect with',
|
|
5318
|
-
thirdpartyTips: 'Can not be simulated on local, so please combine you own business simulation! ! !'
|
|
5319
|
-
},
|
|
5320
|
-
tagsView: {
|
|
5321
|
-
refresh: 'Refresh',
|
|
5322
|
-
close: 'Close',
|
|
5323
|
-
closeOthers: 'Close Others',
|
|
5324
|
-
closeAll: 'Close All'
|
|
5325
|
-
},
|
|
5326
|
-
settings: {
|
|
5327
|
-
title: 'Page style setting',
|
|
5328
|
-
theme: 'Theme Color',
|
|
5329
|
-
tagsView: 'Open Tags-View',
|
|
5330
|
-
fixedHeader: 'Fixed Header',
|
|
5331
|
-
showTopMenus: 'Open TopMenu'
|
|
5332
|
-
},
|
|
5333
|
-
personalPortal: {
|
|
5334
|
-
MyBoard: 'My Board',
|
|
5335
|
-
CommonApps: 'Common Apps',
|
|
5336
|
-
AppCenter: 'App Center',
|
|
5337
|
-
MySchedule: 'My Schedule',
|
|
5338
|
-
MyProcess: 'My Process',
|
|
5339
|
-
Activities: 'Activities',
|
|
5340
|
-
MoreApp: 'More',
|
|
5341
|
-
MoreSchedule: 'More',
|
|
5342
|
-
More: 'More',
|
|
5343
|
-
MoreProcess: 'ZEEKR Process'
|
|
5344
|
-
},
|
|
5345
|
-
enterprisePortal: {
|
|
5346
|
-
ZghHeadlines: 'ZGH Headlines',
|
|
5347
|
-
ZEEKRHeadlines: 'ZEEKR Headlines',
|
|
5348
|
-
ZGHAnnouncements: 'ZGH Announcements',
|
|
5349
|
-
ZGHAppointments: 'ZGH Appointments',
|
|
5350
|
-
ZGHPolicies: 'ZGH Policies',
|
|
5351
|
-
Announcements: 'ZEEKR Announcements',
|
|
5352
|
-
Appointments: 'ZEEKR Appointments',
|
|
5353
|
-
Policies: 'ZEEKR Policies',
|
|
5354
|
-
ZEEKRHonor: 'ZEEKR HONOR',
|
|
5355
|
-
ZEEKRHonortitle: 'Share Moments Of Glory With You',
|
|
5356
|
-
ZEEKREcology: 'ZEEKR ECOLOGY',
|
|
5357
|
-
ZEEKREcologytitle: 'Create Ultimate Experience In Service Scenarios',
|
|
5358
|
-
ZEEKRCoordinates: 'ZEEKR COORDINATES',
|
|
5359
|
-
ZEEKRCoordinatestitle: 'Explore The Expansion Of Territory In The Information Age',
|
|
5360
|
-
ZEEKRMilestone: 'ZEEKR MILESTONE',
|
|
5361
|
-
ZEEKRMilestonetitle: 'Witness The Growth Of Brand On The Journey Of History'
|
|
5362
|
-
}
|
|
5990
|
+
ecmapp: {}
|
|
5363
5991
|
};
|
|
5364
5992
|
|
|
5365
5993
|
/***/ }),
|
|
5366
5994
|
|
|
5367
|
-
/***/
|
|
5995
|
+
/***/ 6629:
|
|
5368
5996
|
/***/ (function(module) {
|
|
5369
5997
|
|
|
5370
|
-
module.exports = {
|
|
5371
|
-
navbar: {
|
|
5372
|
-
logOut: 'Salir',
|
|
5373
|
-
dashboard: 'Panel de control',
|
|
5374
|
-
github: 'Github',
|
|
5375
|
-
theme: 'Tema',
|
|
5376
|
-
size: 'Tamaño global',
|
|
5377
|
-
profile: 'Profile'
|
|
5378
|
-
},
|
|
5379
|
-
login: {
|
|
5380
|
-
title: 'Formulario de acceso',
|
|
5381
|
-
logIn: 'Acceso',
|
|
5382
|
-
username: 'Usuario',
|
|
5383
|
-
password: 'Contraseña',
|
|
5384
|
-
any: 'nada',
|
|
5385
|
-
thirdparty: 'Conectar con',
|
|
5386
|
-
thirdpartyTips: 'No se puede simular en local, así que combine su propia simulación de negocios. ! !'
|
|
5387
|
-
},
|
|
5388
|
-
tagsView: {
|
|
5389
|
-
refresh: 'Actualizar',
|
|
5390
|
-
close: 'Cerrar',
|
|
5391
|
-
closeOthers: 'Cerrar otros',
|
|
5392
|
-
closeAll: 'Cerrar todos'
|
|
5393
|
-
},
|
|
5394
|
-
settings: {
|
|
5395
|
-
title: 'Page style setting',
|
|
5396
|
-
theme: 'Theme Color',
|
|
5397
|
-
tagsView: 'Open Tags-View',
|
|
5398
|
-
fixedHeader: 'Fixed Header',
|
|
5399
|
-
showTopMenus: 'Open TopMenu'
|
|
5400
|
-
}
|
|
5401
|
-
};
|
|
5998
|
+
module.exports = {};
|
|
5402
5999
|
|
|
5403
6000
|
/***/ }),
|
|
5404
6001
|
|
|
5405
|
-
/***/
|
|
6002
|
+
/***/ 1161:
|
|
5406
6003
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
5407
6004
|
|
|
5408
6005
|
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); }
|
|
@@ -5411,130 +6008,35 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
5411
6008
|
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; }
|
|
5412
6009
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
5413
6010
|
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); }
|
|
5414
|
-
var enLocale = __webpack_require__(
|
|
5415
|
-
var zhCNLocale = __webpack_require__(
|
|
5416
|
-
var esLocale = __webpack_require__(
|
|
5417
|
-
var jaLocale = __webpack_require__(
|
|
6011
|
+
var enLocale = __webpack_require__(8018);
|
|
6012
|
+
var zhCNLocale = __webpack_require__(358);
|
|
6013
|
+
var esLocale = __webpack_require__(6629);
|
|
6014
|
+
var jaLocale = __webpack_require__(2568);
|
|
5418
6015
|
var $messages = {
|
|
5419
6016
|
en: _objectSpread({}, enLocale),
|
|
5420
6017
|
zhCN: _objectSpread({}, zhCNLocale),
|
|
5421
6018
|
es: _objectSpread({}, esLocale),
|
|
5422
6019
|
ja: _objectSpread({}, jaLocale)
|
|
5423
6020
|
};
|
|
6021
|
+
|
|
6022
|
+
// export const messages = $messages
|
|
6023
|
+
|
|
5424
6024
|
module.exports = _objectSpread({}, $messages);
|
|
5425
6025
|
|
|
5426
6026
|
/***/ }),
|
|
5427
6027
|
|
|
5428
|
-
/***/
|
|
6028
|
+
/***/ 2568:
|
|
5429
6029
|
/***/ (function(module) {
|
|
5430
6030
|
|
|
5431
|
-
module.exports = {
|
|
5432
|
-
navbar: {
|
|
5433
|
-
dashboard: 'トップ',
|
|
5434
|
-
github: 'GitHub',
|
|
5435
|
-
logOut: 'ログアウト',
|
|
5436
|
-
profile: 'プロフィール',
|
|
5437
|
-
theme: 'テーマ変更',
|
|
5438
|
-
size: '画面サイズ'
|
|
5439
|
-
},
|
|
5440
|
-
login: {
|
|
5441
|
-
title: 'ユーザログイン',
|
|
5442
|
-
logIn: 'ログイン',
|
|
5443
|
-
username: 'ユーザ名',
|
|
5444
|
-
password: 'パスワード',
|
|
5445
|
-
any: 'password',
|
|
5446
|
-
thirdparty: '外部IDでログイン',
|
|
5447
|
-
thirdpartyTips: 'ローカル環境ではログインできません。実装が必要です。'
|
|
5448
|
-
},
|
|
5449
|
-
tagsView: {
|
|
5450
|
-
refresh: '更新',
|
|
5451
|
-
close: '閉じる',
|
|
5452
|
-
closeOthers: 'その他閉じる',
|
|
5453
|
-
closeAll: 'すべて閉じる'
|
|
5454
|
-
},
|
|
5455
|
-
settings: {
|
|
5456
|
-
title: 'システムテーマ',
|
|
5457
|
-
theme: 'テーマ色',
|
|
5458
|
-
tagsView: 'Tags-View 開く',
|
|
5459
|
-
fixedHeader: 'Fixed Header',
|
|
5460
|
-
showTopMenus: 'TopMenu 開く'
|
|
5461
|
-
}
|
|
5462
|
-
};
|
|
6031
|
+
module.exports = {};
|
|
5463
6032
|
|
|
5464
6033
|
/***/ }),
|
|
5465
6034
|
|
|
5466
|
-
/***/
|
|
6035
|
+
/***/ 358:
|
|
5467
6036
|
/***/ (function(module) {
|
|
5468
6037
|
|
|
5469
6038
|
module.exports = {
|
|
5470
|
-
|
|
5471
|
-
dashboard: '首页',
|
|
5472
|
-
github: '项目地址',
|
|
5473
|
-
logOut: '退出登录',
|
|
5474
|
-
profile: '个人中心',
|
|
5475
|
-
theme: '换肤',
|
|
5476
|
-
size: '布局大小'
|
|
5477
|
-
},
|
|
5478
|
-
login: {
|
|
5479
|
-
title: '系统登录',
|
|
5480
|
-
mobileLogin: '手机号登录',
|
|
5481
|
-
accountLogin: '账号登录',
|
|
5482
|
-
logIn: '登录',
|
|
5483
|
-
usermobile: '手机号',
|
|
5484
|
-
username: '用户账号',
|
|
5485
|
-
orgCode: '单位编码/机构代码',
|
|
5486
|
-
password: '密码',
|
|
5487
|
-
kaptcha: '验证码',
|
|
5488
|
-
forget: '忘记密码',
|
|
5489
|
-
remember: '记住密码',
|
|
5490
|
-
trial: '申请试用',
|
|
5491
|
-
any: '随便填',
|
|
5492
|
-
thirdparty: '第三方登录',
|
|
5493
|
-
thirdpartyTips: '本地不能模拟,请结合自己业务进行模拟!!!'
|
|
5494
|
-
},
|
|
5495
|
-
tagsView: {
|
|
5496
|
-
refresh: '刷新',
|
|
5497
|
-
close: '关闭',
|
|
5498
|
-
closeOthers: '关闭其它',
|
|
5499
|
-
closeAll: '关闭所有'
|
|
5500
|
-
},
|
|
5501
|
-
settings: {
|
|
5502
|
-
title: '系统布局配置',
|
|
5503
|
-
theme: '主题色',
|
|
5504
|
-
tagsView: '开启 Tags-View',
|
|
5505
|
-
fixedHeader: '固定 Header',
|
|
5506
|
-
showTopMenus: '开启 TopMenu'
|
|
5507
|
-
},
|
|
5508
|
-
personalPortal: {
|
|
5509
|
-
MyBoard: '我的看板',
|
|
5510
|
-
CommonApps: '常用应用',
|
|
5511
|
-
AppCenter: '应用中心',
|
|
5512
|
-
MySchedule: '我的日程',
|
|
5513
|
-
MyProcess: '我的审批流程',
|
|
5514
|
-
Activities: '活动福利',
|
|
5515
|
-
MoreApp: '更多应用',
|
|
5516
|
-
MoreSchedule: '更多日程',
|
|
5517
|
-
More: '更多',
|
|
5518
|
-
MoreProcess: '极氪审批流程'
|
|
5519
|
-
},
|
|
5520
|
-
enterprisePortal: {
|
|
5521
|
-
ZghHeadlines: '控股要闻',
|
|
5522
|
-
ZEEKRHeadlines: '极氪要闻',
|
|
5523
|
-
ZGHAnnouncements: '控股通知',
|
|
5524
|
-
ZGHAppointments: '控股人事',
|
|
5525
|
-
ZGHPolicies: '控股制度',
|
|
5526
|
-
Announcements: '极氪通知',
|
|
5527
|
-
Appointments: '极氪人事',
|
|
5528
|
-
Policies: '极氪制度',
|
|
5529
|
-
ZEEKRHonor: '极氪荣誉',
|
|
5530
|
-
ZEEKRHonortitle: '荣耀时氪与你我共享',
|
|
5531
|
-
ZEEKREcology: '极氪生态',
|
|
5532
|
-
ZEEKREcologytitle: '服务场景打造极致体验',
|
|
5533
|
-
ZEEKRCoordinates: '极氪坐标',
|
|
5534
|
-
ZEEKRCoordinatestitle: '信息时代探索版图扩张',
|
|
5535
|
-
ZEEKRMilestone: '极氪里程碑',
|
|
5536
|
-
ZEEKRMilestonetitle: '历史征途见证品牌成长'
|
|
5537
|
-
}
|
|
6039
|
+
ecmapp: {}
|
|
5538
6040
|
};
|
|
5539
6041
|
|
|
5540
6042
|
/***/ }),
|
|
@@ -5844,7 +6346,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".van-textarea-field[data-v-48f1729a]{p
|
|
|
5844
6346
|
|
|
5845
6347
|
/***/ }),
|
|
5846
6348
|
|
|
5847
|
-
/***/
|
|
6349
|
+
/***/ 135:
|
|
5848
6350
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5849
6351
|
|
|
5850
6352
|
"use strict";
|
|
@@ -6354,7 +6856,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".van-cell__label[data-v-acd37e78]{colo
|
|
|
6354
6856
|
|
|
6355
6857
|
/***/ }),
|
|
6356
6858
|
|
|
6357
|
-
/***/
|
|
6859
|
+
/***/ 8601:
|
|
6358
6860
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6359
6861
|
|
|
6360
6862
|
"use strict";
|
|
@@ -6368,7 +6870,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6368
6870
|
|
|
6369
6871
|
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()));
|
|
6370
6872
|
// Module
|
|
6371
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".popub-container[data-v-
|
|
6873
|
+
___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}", ""]);
|
|
6372
6874
|
// Exports
|
|
6373
6875
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6374
6876
|
|
|
@@ -6464,7 +6966,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".loading[data-v-6bf27af0]{margin-top:1
|
|
|
6464
6966
|
|
|
6465
6967
|
/***/ }),
|
|
6466
6968
|
|
|
6467
|
-
/***/
|
|
6969
|
+
/***/ 1562:
|
|
6468
6970
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6469
6971
|
|
|
6470
6972
|
"use strict";
|
|
@@ -6478,14 +6980,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6478
6980
|
|
|
6479
6981
|
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()));
|
|
6480
6982
|
// Module
|
|
6481
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
6983
|
+
___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}", ""]);
|
|
6482
6984
|
// Exports
|
|
6483
6985
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6484
6986
|
|
|
6485
6987
|
|
|
6486
6988
|
/***/ }),
|
|
6487
6989
|
|
|
6488
|
-
/***/
|
|
6990
|
+
/***/ 1192:
|
|
6489
6991
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6490
6992
|
|
|
6491
6993
|
"use strict";
|
|
@@ -6499,7 +7001,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6499
7001
|
|
|
6500
7002
|
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()));
|
|
6501
7003
|
// Module
|
|
6502
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".dwadmin-initmessage[data-v-
|
|
7004
|
+
___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)}", ""]);
|
|
6503
7005
|
// Exports
|
|
6504
7006
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
6505
7007
|
|
|
@@ -30972,7 +31474,7 @@ module.exports = function getSideChannel() {
|
|
|
30972
31474
|
|
|
30973
31475
|
/***/ }),
|
|
30974
31476
|
|
|
30975
|
-
/***/
|
|
31477
|
+
/***/ 844:
|
|
30976
31478
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
30977
31479
|
|
|
30978
31480
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
@@ -31138,7 +31640,7 @@ var update = add("05d83605", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
31138
31640
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
31139
31641
|
|
|
31140
31642
|
// load the styles
|
|
31141
|
-
var content = __webpack_require__(
|
|
31643
|
+
var content = __webpack_require__(135);
|
|
31142
31644
|
if(content.__esModule) content = content.default;
|
|
31143
31645
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
31144
31646
|
if(content.locals) module.exports = content.locals;
|
|
@@ -31516,19 +32018,19 @@ var update = add("718c4923", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
31516
32018
|
|
|
31517
32019
|
/***/ }),
|
|
31518
32020
|
|
|
31519
|
-
/***/
|
|
32021
|
+
/***/ 9979:
|
|
31520
32022
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
31521
32023
|
|
|
31522
32024
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
31523
32025
|
|
|
31524
32026
|
// load the styles
|
|
31525
|
-
var content = __webpack_require__(
|
|
32027
|
+
var content = __webpack_require__(8601);
|
|
31526
32028
|
if(content.__esModule) content = content.default;
|
|
31527
32029
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
31528
32030
|
if(content.locals) module.exports = content.locals;
|
|
31529
32031
|
// add the styles to the DOM
|
|
31530
32032
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
31531
|
-
var update = add("
|
|
32033
|
+
var update = add("071beee0", content, true, {"sourceMap":false,"shadowMode":false});
|
|
31532
32034
|
|
|
31533
32035
|
/***/ }),
|
|
31534
32036
|
|
|
@@ -31548,7 +32050,7 @@ var update = add("8c2b757a", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
31548
32050
|
|
|
31549
32051
|
/***/ }),
|
|
31550
32052
|
|
|
31551
|
-
/***/
|
|
32053
|
+
/***/ 8811:
|
|
31552
32054
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
31553
32055
|
|
|
31554
32056
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
@@ -31596,35 +32098,35 @@ var update = add("0af4c498", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
31596
32098
|
|
|
31597
32099
|
/***/ }),
|
|
31598
32100
|
|
|
31599
|
-
/***/
|
|
32101
|
+
/***/ 2344:
|
|
31600
32102
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
31601
32103
|
|
|
31602
32104
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
31603
32105
|
|
|
31604
32106
|
// load the styles
|
|
31605
|
-
var content = __webpack_require__(
|
|
32107
|
+
var content = __webpack_require__(1562);
|
|
31606
32108
|
if(content.__esModule) content = content.default;
|
|
31607
32109
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
31608
32110
|
if(content.locals) module.exports = content.locals;
|
|
31609
32111
|
// add the styles to the DOM
|
|
31610
32112
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
31611
|
-
var update = add("
|
|
32113
|
+
var update = add("ac5f6cc2", content, true, {"sourceMap":false,"shadowMode":false});
|
|
31612
32114
|
|
|
31613
32115
|
/***/ }),
|
|
31614
32116
|
|
|
31615
|
-
/***/
|
|
32117
|
+
/***/ 6122:
|
|
31616
32118
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
31617
32119
|
|
|
31618
32120
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
31619
32121
|
|
|
31620
32122
|
// load the styles
|
|
31621
|
-
var content = __webpack_require__(
|
|
32123
|
+
var content = __webpack_require__(1192);
|
|
31622
32124
|
if(content.__esModule) content = content.default;
|
|
31623
32125
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
31624
32126
|
if(content.locals) module.exports = content.locals;
|
|
31625
32127
|
// add the styles to the DOM
|
|
31626
32128
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
31627
|
-
var update = add("
|
|
32129
|
+
var update = add("090145b6", content, true, {"sourceMap":false,"shadowMode":false});
|
|
31628
32130
|
|
|
31629
32131
|
/***/ }),
|
|
31630
32132
|
|
|
@@ -33160,8 +33662,8 @@ webpackContext.id = 2397;
|
|
|
33160
33662
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
33161
33663
|
|
|
33162
33664
|
var map = {
|
|
33163
|
-
"./app.js":
|
|
33164
|
-
"./route.js":
|
|
33665
|
+
"./app.js": 3299,
|
|
33666
|
+
"./route.js": 9427,
|
|
33165
33667
|
"./settings.js": 8183,
|
|
33166
33668
|
"./tagsView.js": 314
|
|
33167
33669
|
};
|
|
@@ -33364,6 +33866,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
33364
33866
|
__webpack_require__.d(__webpack_exports__, {
|
|
33365
33867
|
"default": function() { return /* binding */ entry_lib; },
|
|
33366
33868
|
httpRequest: function() { return /* reexport */ httpRequest; },
|
|
33869
|
+
lang: function() { return /* reexport */ npmaio_mappaio_lang; },
|
|
33367
33870
|
store: function() { return /* reexport */ mappaio_store; }
|
|
33368
33871
|
});
|
|
33369
33872
|
|
|
@@ -33402,8 +33905,34 @@ if (typeof window !== 'undefined') {
|
|
|
33402
33905
|
// Indicate to webpack that this file can be concatenated
|
|
33403
33906
|
/* harmony default export */ var setPublicPath = (null);
|
|
33404
33907
|
|
|
33405
|
-
|
|
33908
|
+
// EXTERNAL MODULE: ./packages/common/lang/index.js
|
|
33909
|
+
var lang = __webpack_require__(3112);
|
|
33910
|
+
// EXTERNAL MODULE: ./packages/ecmapp/lang/index.js
|
|
33911
|
+
var ecmapp_lang = __webpack_require__(1161);
|
|
33912
|
+
var lang_default = /*#__PURE__*/__webpack_require__.n(ecmapp_lang);
|
|
33913
|
+
;// CONCATENATED MODULE: ./packages/npmaio/mappaio/lang/index.js
|
|
33406
33914
|
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); }
|
|
33915
|
+
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; }
|
|
33916
|
+
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; }
|
|
33917
|
+
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; }
|
|
33918
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
33919
|
+
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); }
|
|
33920
|
+
|
|
33921
|
+
|
|
33922
|
+
var messages = {};
|
|
33923
|
+
messages.en = _objectSpread(_objectSpread({}, lang/* commonMessages */.ot.en), (lang_default()).en);
|
|
33924
|
+
messages.zhCN = _objectSpread(_objectSpread({}, lang/* commonMessages */.ot.zhCN), (lang_default()).zhCN);
|
|
33925
|
+
messages.es = _objectSpread(_objectSpread({}, lang/* commonMessages */.ot.es), (lang_default()).es);
|
|
33926
|
+
messages.ja = _objectSpread(_objectSpread({}, lang/* commonMessages */.ot.ja), (lang_default()).en);
|
|
33927
|
+
var lang_lang = {};
|
|
33928
|
+
lang_lang.aiomessages = messages;
|
|
33929
|
+
lang_lang.generateTitle = lang/* generateTitle */.KS;
|
|
33930
|
+
lang_lang.getPageTitle = lang/* getPageTitle */.wS;
|
|
33931
|
+
lang_lang.getLanguage = lang/* getLanguage */.Z0;
|
|
33932
|
+
lang_lang.$tx = lang/* $tx */.Pc;
|
|
33933
|
+
/* harmony default export */ var mappaio_lang = (lang_lang);
|
|
33934
|
+
;// CONCATENATED MODULE: ./src/global/utils/index.js
|
|
33935
|
+
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); }
|
|
33407
33936
|
var moment = __webpack_require__(5093);
|
|
33408
33937
|
|
|
33409
33938
|
/**
|
|
@@ -33416,7 +33945,7 @@ function parseTime(time) {
|
|
|
33416
33945
|
return null;
|
|
33417
33946
|
}
|
|
33418
33947
|
var date;
|
|
33419
|
-
if (
|
|
33948
|
+
if (utils_typeof(time) === 'object') {
|
|
33420
33949
|
date = time;
|
|
33421
33950
|
} else {
|
|
33422
33951
|
if (typeof time === 'string') {
|
|
@@ -33556,7 +34085,7 @@ function html2Text(val) {
|
|
|
33556
34085
|
* @returns {Object}
|
|
33557
34086
|
*/
|
|
33558
34087
|
function objectMerge(target, source) {
|
|
33559
|
-
if (
|
|
34088
|
+
if (utils_typeof(target) !== 'object') {
|
|
33560
34089
|
target = {};
|
|
33561
34090
|
}
|
|
33562
34091
|
if (Array.isArray(source)) {
|
|
@@ -33564,7 +34093,7 @@ function objectMerge(target, source) {
|
|
|
33564
34093
|
}
|
|
33565
34094
|
Object.keys(source).forEach(function (property) {
|
|
33566
34095
|
var sourceProperty = source[property];
|
|
33567
|
-
if (
|
|
34096
|
+
if (utils_typeof(sourceProperty) === 'object') {
|
|
33568
34097
|
target[property] = objectMerge(target[property], sourceProperty);
|
|
33569
34098
|
} else {
|
|
33570
34099
|
target[property] = sourceProperty;
|
|
@@ -33651,12 +34180,12 @@ function debounce(func, wait, immediate) {
|
|
|
33651
34180
|
* @returns {Object}
|
|
33652
34181
|
*/
|
|
33653
34182
|
function deepClone(source) {
|
|
33654
|
-
if (!source &&
|
|
34183
|
+
if (!source && utils_typeof(source) !== 'object') {
|
|
33655
34184
|
throw new Error('error arguments', 'deepClone');
|
|
33656
34185
|
}
|
|
33657
34186
|
var targetObj = source.constructor === Array ? [] : {};
|
|
33658
34187
|
Object.keys(source).forEach(function (keys) {
|
|
33659
|
-
if (source[keys] &&
|
|
34188
|
+
if (source[keys] && utils_typeof(source[keys]) === 'object') {
|
|
33660
34189
|
targetObj[keys] = deepClone(source[keys]);
|
|
33661
34190
|
} else {
|
|
33662
34191
|
targetObj[keys] = source[keys];
|
|
@@ -33789,7 +34318,7 @@ function formItemValidate(parent) {
|
|
|
33789
34318
|
if (item.$el.querySelector('.is-checked') === null) {
|
|
33790
34319
|
item.validate().then(function (rst) {
|
|
33791
34320
|
var tooltip = item.$children[0];
|
|
33792
|
-
if (tooltip !== undefined) {
|
|
34321
|
+
if (tooltip !== undefined && tooltip.$el.className) {
|
|
33793
34322
|
if (hasClass(tooltip.$el, 'el-tooltip')) {
|
|
33794
34323
|
if (!rst.valid) {
|
|
33795
34324
|
tooltip.disabled = false;
|
|
@@ -37853,6 +38382,8 @@ var store = __webpack_require__(3547);
|
|
|
37853
38382
|
;// CONCATENATED MODULE: ./packages/common/request/index.js
|
|
37854
38383
|
|
|
37855
38384
|
|
|
38385
|
+
|
|
38386
|
+
|
|
37856
38387
|
// 允许携带cookie
|
|
37857
38388
|
lib_axios.defaults.withCredentials = false;
|
|
37858
38389
|
|
|
@@ -37893,6 +38424,13 @@ service.interceptors.request.use(function (config) {
|
|
|
37893
38424
|
} else if (window.productCode && location.href.indexOf('productCode') === -1) {
|
|
37894
38425
|
config.headers['productCode'] = window.productCode;
|
|
37895
38426
|
}
|
|
38427
|
+
var language = (0,lang/* getLanguage */.Z0)();
|
|
38428
|
+
if (language === 'en') {
|
|
38429
|
+
language = 'en-US';
|
|
38430
|
+
} else if (language === 'zhCN') {
|
|
38431
|
+
language = 'zh-CN';
|
|
38432
|
+
}
|
|
38433
|
+
config.headers['accept-language'] = language;
|
|
37896
38434
|
return config;
|
|
37897
38435
|
}, function (error) {
|
|
37898
38436
|
console.log(error); // for debug
|
|
@@ -37906,7 +38444,8 @@ service.interceptors.response.use(function (response) {
|
|
|
37906
38444
|
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) {
|
|
37907
38445
|
store/* default */.A.dispatch('user/resetToken').then(function () {
|
|
37908
38446
|
if (window.vType === 'wapp') {
|
|
37909
|
-
|
|
38447
|
+
//认证会话已过期,请重新登录。
|
|
38448
|
+
window.$alert(window.$tx('request.status401relogin'), window.$tx('common.operationTip'), {
|
|
37910
38449
|
type: 'error',
|
|
37911
38450
|
callback: function callback() {
|
|
37912
38451
|
if (location.href.indexOf('#/wflow?') !== -1 || location.href.indexOf('#/viewcontent?') !== -1 || location.href.indexOf('#/viewpdffile?') !== -1 || location.href.indexOf('#/designer?') !== -1) {
|
|
@@ -37921,7 +38460,8 @@ service.interceptors.response.use(function (response) {
|
|
|
37921
38460
|
});
|
|
37922
38461
|
} else {
|
|
37923
38462
|
window.$alert({
|
|
37924
|
-
message: '
|
|
38463
|
+
message: window.$tx('request.status401'),
|
|
38464
|
+
//'认证会话已过期。'
|
|
37925
38465
|
type: 'error',
|
|
37926
38466
|
callback: function callback() {
|
|
37927
38467
|
if (window.mappType === 'ecinc') {
|
|
@@ -37964,7 +38504,7 @@ service.interceptors.response.use(function (response) {
|
|
|
37964
38504
|
errrst.message = error.response.data.message;
|
|
37965
38505
|
} else if (error.response.data.error) {
|
|
37966
38506
|
if (error.response.data.status === 404) {
|
|
37967
|
-
errrst.message = '
|
|
38507
|
+
errrst.message = window.$tx('request.status404') + '<br/><div style="width: 100%;word-wrap: break-word;">' + (error.response.data.path.replace('/aipgw', '').replace('/ecweb', '') || '') + '</div>';
|
|
37968
38508
|
} else {
|
|
37969
38509
|
errrst.message = error.response.data.error;
|
|
37970
38510
|
}
|
|
@@ -37974,7 +38514,7 @@ service.interceptors.response.use(function (response) {
|
|
|
37974
38514
|
errrst.message = error.response.data;
|
|
37975
38515
|
}
|
|
37976
38516
|
if (window.vType === 'wapp') {
|
|
37977
|
-
window.$alert(errrst.message, '
|
|
38517
|
+
window.$alert(errrst.message, window.$tx('common.operationTip'), {
|
|
37978
38518
|
type: 'error',
|
|
37979
38519
|
dangerouslyUseHTMLString: true
|
|
37980
38520
|
});
|
|
@@ -38001,11 +38541,11 @@ var lib = __webpack_require__(5373);
|
|
|
38001
38541
|
var lib_default = /*#__PURE__*/__webpack_require__.n(lib);
|
|
38002
38542
|
;// CONCATENATED MODULE: ./packages/common/app/index.js
|
|
38003
38543
|
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); }
|
|
38004
|
-
function
|
|
38005
|
-
function
|
|
38006
|
-
function
|
|
38007
|
-
function
|
|
38008
|
-
function
|
|
38544
|
+
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; }
|
|
38545
|
+
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; }
|
|
38546
|
+
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; }
|
|
38547
|
+
function app_toPropertyKey(t) { var i = app_toPrimitive(t, "string"); return "symbol" == app_typeof(i) ? i : i + ""; }
|
|
38548
|
+
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); }
|
|
38009
38549
|
|
|
38010
38550
|
|
|
38011
38551
|
|
|
@@ -38112,7 +38652,7 @@ var install = function install(Vue) {
|
|
|
38112
38652
|
formData.append('file', file);
|
|
38113
38653
|
if (config === undefined || config === null) config = {};
|
|
38114
38654
|
config.timeout = 10 * 60 * 1000;
|
|
38115
|
-
return request(
|
|
38655
|
+
return request(app_objectSpread(app_objectSpread({
|
|
38116
38656
|
url: uploadUrl
|
|
38117
38657
|
}, config), {}, {
|
|
38118
38658
|
method: 'put',
|
|
@@ -38138,8 +38678,8 @@ var install = function install(Vue) {
|
|
|
38138
38678
|
url: reqUrl,
|
|
38139
38679
|
method: 'post',
|
|
38140
38680
|
params: {
|
|
38141
|
-
|
|
38142
|
-
|
|
38681
|
+
orderBy: orderBy,
|
|
38682
|
+
count: count
|
|
38143
38683
|
},
|
|
38144
38684
|
data: searchFields
|
|
38145
38685
|
});
|
|
@@ -38149,7 +38689,7 @@ var install = function install(Vue) {
|
|
|
38149
38689
|
url: reqUrl,
|
|
38150
38690
|
method: 'delete',
|
|
38151
38691
|
params: {
|
|
38152
|
-
|
|
38692
|
+
ids: ids.join(),
|
|
38153
38693
|
confirmContinue: confirmContinue
|
|
38154
38694
|
}
|
|
38155
38695
|
});
|
|
@@ -38329,6 +38869,12 @@ var user_install = function install(Vue) {
|
|
|
38329
38869
|
data: lib_default().stringify(data)
|
|
38330
38870
|
});
|
|
38331
38871
|
},
|
|
38872
|
+
logout: function logout() {
|
|
38873
|
+
return request({
|
|
38874
|
+
url: 'logout',
|
|
38875
|
+
method: 'get'
|
|
38876
|
+
});
|
|
38877
|
+
},
|
|
38332
38878
|
getLoginUser: function getLoginUser(jwtToken) {
|
|
38333
38879
|
return new Promise(function (resolve) {
|
|
38334
38880
|
if (jwtToken.indexOf('&enjwt') !== -1) {
|
|
@@ -38363,20 +38909,20 @@ var user_install = function install(Vue) {
|
|
|
38363
38909
|
},
|
|
38364
38910
|
findH5apps: function findH5apps() {
|
|
38365
38911
|
var searchFields = [{
|
|
38366
|
-
|
|
38367
|
-
|
|
38368
|
-
|
|
38912
|
+
compare: '=',
|
|
38913
|
+
field: 'status',
|
|
38914
|
+
value: 1
|
|
38369
38915
|
}, {
|
|
38370
|
-
|
|
38371
|
-
|
|
38372
|
-
|
|
38916
|
+
compare: 'notLike',
|
|
38917
|
+
field: 'h5Url',
|
|
38918
|
+
value: 'app:'
|
|
38373
38919
|
}];
|
|
38374
38920
|
var orderBy = 'appType,orderNo,appCode';
|
|
38375
38921
|
return request({
|
|
38376
38922
|
url: 'mpp/h5app/querydata?httpPort=' + location.port,
|
|
38377
38923
|
method: 'post',
|
|
38378
38924
|
params: {
|
|
38379
|
-
|
|
38925
|
+
orderBy: orderBy
|
|
38380
38926
|
},
|
|
38381
38927
|
data: searchFields
|
|
38382
38928
|
});
|
|
@@ -38392,7 +38938,7 @@ var user_install = function install(Vue) {
|
|
|
38392
38938
|
url: 'base/styleConfig/getNiMingUiStyleConfig?httpPort=' + location.port,
|
|
38393
38939
|
method: 'get',
|
|
38394
38940
|
params: {
|
|
38395
|
-
|
|
38941
|
+
orgCode: orgCode
|
|
38396
38942
|
}
|
|
38397
38943
|
});
|
|
38398
38944
|
}
|
|
@@ -38411,6 +38957,12 @@ function wfengine_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
|
|
|
38411
38957
|
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; }
|
|
38412
38958
|
function wfengine_toPropertyKey(t) { var i = wfengine_toPrimitive(t, "string"); return "symbol" == wfengine_typeof(i) ? i : i + ""; }
|
|
38413
38959
|
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); }
|
|
38960
|
+
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
38961
|
+
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."); }
|
|
38962
|
+
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; } }
|
|
38963
|
+
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
38964
|
+
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
|
|
38965
|
+
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; }
|
|
38414
38966
|
|
|
38415
38967
|
|
|
38416
38968
|
var wfengine_install = function install(Vue) {
|
|
@@ -39090,45 +39642,64 @@ var wfengine_install = function install(Vue) {
|
|
|
39090
39642
|
}
|
|
39091
39643
|
var hasSelected = false;
|
|
39092
39644
|
var todoNodeCount = 0;
|
|
39093
|
-
|
|
39094
|
-
|
|
39095
|
-
|
|
39096
|
-
|
|
39097
|
-
|
|
39098
|
-
|
|
39099
|
-
|
|
39100
|
-
|
|
39101
|
-
|
|
39102
|
-
|
|
39103
|
-
|
|
39104
|
-
if (wfnode.
|
|
39105
|
-
|
|
39106
|
-
|
|
39107
|
-
|
|
39108
|
-
|
|
39109
|
-
|
|
39110
|
-
|
|
39111
|
-
|
|
39112
|
-
|
|
39113
|
-
|
|
39114
|
-
|
|
39645
|
+
var _loop = function _loop() {
|
|
39646
|
+
var wfnode = selRoute.taskNodes[i];
|
|
39647
|
+
if (wfnode.type !== 3 && wfnode.type !== '3') todoNodeCount += 1;
|
|
39648
|
+
if (wfnode.tmLmtType !== 9 && wfnode.tmLmtType !== '9' && wfnode.timeLimit === '') {
|
|
39649
|
+
return {
|
|
39650
|
+
v: {
|
|
39651
|
+
code: 'warning',
|
|
39652
|
+
message: '请输入“' + wfnode.name + '”环节处理时限。'
|
|
39653
|
+
}
|
|
39654
|
+
};
|
|
39655
|
+
}
|
|
39656
|
+
if ($scope.submitHandle.route[wfnode.name] && $scope.submitHandle.route[wfnode.name].users && $scope.submitHandle.route[wfnode.name].users.length > 0) {
|
|
39657
|
+
$scope.submitHandle.selectedNodes.push(wfnode.name);
|
|
39658
|
+
if (wfnode.pathType !== '9') {
|
|
39659
|
+
// 抄送阅知的环节处理人不计算
|
|
39660
|
+
hasSelected = true;
|
|
39661
|
+
|
|
39662
|
+
// 非阅知环节选择了处理人,提交保存前需要检查外出授权
|
|
39663
|
+
if (wfnode.type !== 3 && wfnode.type !== '3') {
|
|
39664
|
+
if (!$scope.submitHandle.needCheckOuterDeputy) $scope.submitHandle.needCheckOuterDeputy = [];
|
|
39665
|
+
var users = $scope.submitHandle.route[wfnode.name].users;
|
|
39666
|
+
var checkUsers = [];
|
|
39667
|
+
users.forEach(function (user) {
|
|
39668
|
+
if (user.collapseNodes) {
|
|
39669
|
+
var _checkUsers;
|
|
39670
|
+
(_checkUsers = checkUsers).push.apply(_checkUsers, _toConsumableArray(user.collapseNodes));
|
|
39671
|
+
} else {
|
|
39672
|
+
checkUsers.push(user);
|
|
39673
|
+
}
|
|
39674
|
+
});
|
|
39675
|
+
// 如果是串行处理任务,只检查第一个处理人
|
|
39676
|
+
if ((wfnode.todoMode === 3 || wfnode.todoMode === '3') && users.length > 1) {
|
|
39677
|
+
checkUsers = checkUsers.slice(0, 1);
|
|
39678
|
+
}
|
|
39679
|
+
$scope.submitHandle.needCheckOuterDeputy.push({
|
|
39680
|
+
wfnodeId: wfnode.id,
|
|
39681
|
+
wfnodeName: wfnode.name,
|
|
39682
|
+
users: checkUsers,
|
|
39683
|
+
todoType: wfnode.todoType
|
|
39684
|
+
});
|
|
39115
39685
|
}
|
|
39116
|
-
$scope.submitHandle.needCheckOuterDeputy.push({
|
|
39117
|
-
wfnodeId: wfnode.id,
|
|
39118
|
-
wfnodeName: wfnode.name,
|
|
39119
|
-
users: users
|
|
39120
|
-
});
|
|
39121
39686
|
}
|
|
39122
39687
|
}
|
|
39123
|
-
|
|
39124
|
-
|
|
39125
|
-
|
|
39126
|
-
|
|
39127
|
-
|
|
39128
|
-
|
|
39129
|
-
|
|
39688
|
+
if (selRoute.mustNextTN.indexOf(wfnode.name) !== -1) {
|
|
39689
|
+
if (!$scope.submitHandle.route[wfnode.name] || !$scope.submitHandle.route[wfnode.name].users || $scope.submitHandle.route[wfnode.name].users.length === 0) {
|
|
39690
|
+
return {
|
|
39691
|
+
v: {
|
|
39692
|
+
code: 'warning',
|
|
39693
|
+
message: '请选择“' + wfnode.name + '”处理人。'
|
|
39694
|
+
}
|
|
39695
|
+
};
|
|
39696
|
+
}
|
|
39130
39697
|
}
|
|
39131
|
-
}
|
|
39698
|
+
},
|
|
39699
|
+
_ret;
|
|
39700
|
+
for (var i = 0; i < selRoute.taskNodes.length; i++) {
|
|
39701
|
+
_ret = _loop();
|
|
39702
|
+
if (_ret) return _ret.v;
|
|
39132
39703
|
}
|
|
39133
39704
|
if (todoNodeCount > 0 && !hasSelected) {
|
|
39134
39705
|
return {
|
|
@@ -39241,7 +39812,7 @@ var wfengine_install = function install(Vue) {
|
|
|
39241
39812
|
if (submitTemplate.askSMS !== undefined) {
|
|
39242
39813
|
$scope.submitHandle.askSMS = submitTemplate.askSMS;
|
|
39243
39814
|
}
|
|
39244
|
-
var
|
|
39815
|
+
var _loop2 = function _loop2(i) {
|
|
39245
39816
|
if ($scope.wfJsonData.routes[i].name === submitTemplate.submitRoute.name) {
|
|
39246
39817
|
$scope.submitHandle.route.index = i;
|
|
39247
39818
|
$scope.wfJsonData.routes[i].taskNodes.forEach(function (wfNode) {
|
|
@@ -39324,7 +39895,7 @@ var wfengine_install = function install(Vue) {
|
|
|
39324
39895
|
}
|
|
39325
39896
|
};
|
|
39326
39897
|
for (var i = 0; i < $scope.wfJsonData.routes.length; i++) {
|
|
39327
|
-
if (
|
|
39898
|
+
if (_loop2(i)) break;
|
|
39328
39899
|
}
|
|
39329
39900
|
},
|
|
39330
39901
|
upload: function upload($scope, uploadUrl, file, params, config) {
|
|
@@ -39998,12 +40569,12 @@ function src_typeof(o) { "@babel/helpers - typeof"; return src_typeof = "functio
|
|
|
39998
40569
|
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; }
|
|
39999
40570
|
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); }
|
|
40000
40571
|
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); }); }; }
|
|
40001
|
-
function
|
|
40002
|
-
function
|
|
40003
|
-
function
|
|
40004
|
-
function
|
|
40005
|
-
function
|
|
40006
|
-
function
|
|
40572
|
+
function src_toConsumableArray(r) { return src_arrayWithoutHoles(r) || src_iterableToArray(r) || src_unsupportedIterableToArray(r) || src_nonIterableSpread(); }
|
|
40573
|
+
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."); }
|
|
40574
|
+
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; } }
|
|
40575
|
+
function src_iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
40576
|
+
function src_arrayWithoutHoles(r) { if (Array.isArray(r)) return src_arrayLikeToArray(r); }
|
|
40577
|
+
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; }
|
|
40007
40578
|
/* eslint-disable object-curly-spacing */
|
|
40008
40579
|
/* eslint-disable space-before-function-paren */
|
|
40009
40580
|
|
|
@@ -40096,7 +40667,7 @@ var src_install = function install(Vue) {
|
|
|
40096
40667
|
resultPromise = window.flutter_inappwebview.callHandler(method);
|
|
40097
40668
|
} else if (data instanceof Array) {
|
|
40098
40669
|
var _window$flutter_inapp;
|
|
40099
|
-
resultPromise = (_window$flutter_inapp = window.flutter_inappwebview).callHandler.apply(_window$flutter_inapp, [method].concat(
|
|
40670
|
+
resultPromise = (_window$flutter_inapp = window.flutter_inappwebview).callHandler.apply(_window$flutter_inapp, [method].concat(src_toConsumableArray(data)));
|
|
40100
40671
|
} else {
|
|
40101
40672
|
resultPromise = window.flutter_inappwebview.callHandler(method, data);
|
|
40102
40673
|
}
|
|
@@ -50644,7 +51215,7 @@ var srcvue_type_style_index_0_id_93095d9a_prod_scoped_true_lang_scss = __webpack
|
|
|
50644
51215
|
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=0&id=93095d9a&prod&scoped=true&lang=scss
|
|
50645
51216
|
|
|
50646
51217
|
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=1&id=93095d9a&prod&lang=css
|
|
50647
|
-
var srcvue_type_style_index_1_id_93095d9a_prod_lang_css = __webpack_require__(
|
|
51218
|
+
var srcvue_type_style_index_1_id_93095d9a_prod_lang_css = __webpack_require__(844);
|
|
50648
51219
|
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=1&id=93095d9a&prod&lang=css
|
|
50649
51220
|
|
|
50650
51221
|
;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue
|
|
@@ -56866,8 +57437,8 @@ var HandleIdea_component = (0,componentNormalizer/* default */.A)(
|
|
|
56866
57437
|
)
|
|
56867
57438
|
|
|
56868
57439
|
/* harmony default export */ var HandleIdea = (HandleIdea_component.exports);
|
|
56869
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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=
|
|
56870
|
-
var
|
|
57440
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
57441
|
+
var SelectOuterDeputyvue_type_template_id_7fb3465d_scoped_true_render = function render() {
|
|
56871
57442
|
var _vm = this,
|
|
56872
57443
|
_c = _vm._self._c;
|
|
56873
57444
|
return _c('PopupDialog', {
|
|
@@ -56947,7 +57518,7 @@ var SelectOuterDeputyvue_type_template_id_6dd58a5e_scoped_true_render = function
|
|
|
56947
57518
|
}
|
|
56948
57519
|
})], 1)], 2);
|
|
56949
57520
|
};
|
|
56950
|
-
var
|
|
57521
|
+
var SelectOuterDeputyvue_type_template_id_7fb3465d_scoped_true_staticRenderFns = [];
|
|
56951
57522
|
|
|
56952
57523
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
|
|
56953
57524
|
/* harmony default export */ var SelectOuterDeputyvue_type_script_lang_js = ({
|
|
@@ -56998,6 +57569,12 @@ var SelectOuterDeputyvue_type_template_id_6dd58a5e_scoped_true_staticRenderFns =
|
|
|
56998
57569
|
_this.submitRoute[key].users.forEach(function (user) {
|
|
56999
57570
|
if (user.id === outer.id) {
|
|
57000
57571
|
user.deputy = outer.deputy;
|
|
57572
|
+
} else if (user.collapseNodes) {
|
|
57573
|
+
user.collapseNodes.forEach(function (u) {
|
|
57574
|
+
if (u.id === outer.id) {
|
|
57575
|
+
u.deputy = outer.deputy;
|
|
57576
|
+
}
|
|
57577
|
+
});
|
|
57001
57578
|
}
|
|
57002
57579
|
});
|
|
57003
57580
|
}
|
|
@@ -57007,8 +57584,8 @@ var SelectOuterDeputyvue_type_template_id_6dd58a5e_scoped_true_staticRenderFns =
|
|
|
57007
57584
|
}
|
|
57008
57585
|
});
|
|
57009
57586
|
this.outerDeputyResolve({
|
|
57010
|
-
|
|
57011
|
-
|
|
57587
|
+
code: 'success',
|
|
57588
|
+
message: '已选择外出代理人。'
|
|
57012
57589
|
});
|
|
57013
57590
|
this.handleDialogClose();
|
|
57014
57591
|
},
|
|
@@ -57025,9 +57602,9 @@ var SelectOuterDeputyvue_type_template_id_6dd58a5e_scoped_true_staticRenderFns =
|
|
|
57025
57602
|
});
|
|
57026
57603
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SelectOuterDeputy.vue?vue&type=script&lang=js
|
|
57027
57604
|
/* harmony default export */ var src_SelectOuterDeputyvue_type_script_lang_js = (SelectOuterDeputyvue_type_script_lang_js);
|
|
57028
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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=
|
|
57029
|
-
var
|
|
57030
|
-
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SelectOuterDeputy.vue?vue&type=style&index=0&id=
|
|
57605
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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
|
|
57606
|
+
var SelectOuterDeputyvue_type_style_index_0_id_7fb3465d_prod_scoped_true_lang_scss = __webpack_require__(9979);
|
|
57607
|
+
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SelectOuterDeputy.vue?vue&type=style&index=0&id=7fb3465d&prod&scoped=true&lang=scss
|
|
57031
57608
|
|
|
57032
57609
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SelectOuterDeputy.vue
|
|
57033
57610
|
|
|
@@ -57040,11 +57617,11 @@ var SelectOuterDeputyvue_type_style_index_0_id_6dd58a5e_prod_scoped_true_lang_sc
|
|
|
57040
57617
|
|
|
57041
57618
|
var SelectOuterDeputy_component = (0,componentNormalizer/* default */.A)(
|
|
57042
57619
|
src_SelectOuterDeputyvue_type_script_lang_js,
|
|
57043
|
-
|
|
57044
|
-
|
|
57620
|
+
SelectOuterDeputyvue_type_template_id_7fb3465d_scoped_true_render,
|
|
57621
|
+
SelectOuterDeputyvue_type_template_id_7fb3465d_scoped_true_staticRenderFns,
|
|
57045
57622
|
false,
|
|
57046
57623
|
null,
|
|
57047
|
-
"
|
|
57624
|
+
"7fb3465d",
|
|
57048
57625
|
null
|
|
57049
57626
|
|
|
57050
57627
|
)
|
|
@@ -59368,7 +59945,7 @@ var WfNodelogListvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
59368
59945
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/WfNodelogList.vue?vue&type=script&lang=js
|
|
59369
59946
|
/* harmony default export */ var src_WfNodelogListvue_type_script_lang_js = (WfNodelogListvue_type_script_lang_js);
|
|
59370
59947
|
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/WfNodelogList.vue?vue&type=style&index=0&id=071afa8a&prod&scoped=true&lang=scss
|
|
59371
|
-
var WfNodelogListvue_type_style_index_0_id_071afa8a_prod_scoped_true_lang_scss = __webpack_require__(
|
|
59948
|
+
var WfNodelogListvue_type_style_index_0_id_071afa8a_prod_scoped_true_lang_scss = __webpack_require__(8811);
|
|
59372
59949
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/WfNodelogList.vue?vue&type=style&index=0&id=071afa8a&prod&scoped=true&lang=scss
|
|
59373
59950
|
|
|
59374
59951
|
;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/WfNodelogList.vue
|
|
@@ -60059,6 +60636,345 @@ RichtextEditor_src.install = function (Vue) {
|
|
|
60059
60636
|
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
60060
60637
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(4100);
|
|
60061
60638
|
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
|
|
60639
|
+
;// CONCATENATED MODULE: ./packages/common/directive/field-lbl/index.js
|
|
60640
|
+
|
|
60641
|
+
/**
|
|
60642
|
+
* 表单输入框文本标签多语言自动切换
|
|
60643
|
+
*/
|
|
60644
|
+
external_commonjs_vue_commonjs2_vue_root_Vue_default().directive('field-lbl', {
|
|
60645
|
+
bind: function bind(el, binding, vnode) {
|
|
60646
|
+
var field = binding.value;
|
|
60647
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60648
|
+
var attrs = vnode.data.attrs || {};
|
|
60649
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60650
|
+
field: binding.value
|
|
60651
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60652
|
+
if (label) {
|
|
60653
|
+
el.innerHTML = label;
|
|
60654
|
+
}
|
|
60655
|
+
}
|
|
60656
|
+
},
|
|
60657
|
+
inserted: function inserted(el, binding, vnode) {
|
|
60658
|
+
var field = binding.value;
|
|
60659
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60660
|
+
var attrs = vnode.data.attrs || {};
|
|
60661
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60662
|
+
field: binding.value
|
|
60663
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60664
|
+
if (label) {
|
|
60665
|
+
el.innerHTML = label;
|
|
60666
|
+
}
|
|
60667
|
+
}
|
|
60668
|
+
}
|
|
60669
|
+
});
|
|
60670
|
+
;// CONCATENATED MODULE: ./packages/common/directive/option-lbl/index.js
|
|
60671
|
+
|
|
60672
|
+
/**
|
|
60673
|
+
* 表单复选框、单选框、列表框选项标签多语言自动切换
|
|
60674
|
+
*/
|
|
60675
|
+
external_commonjs_vue_commonjs2_vue_root_Vue_default().directive('option-lbl', {
|
|
60676
|
+
bind: function bind(el, binding, vnode) {
|
|
60677
|
+
var field = binding.value;
|
|
60678
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60679
|
+
var attrs = vnode.data.attrs || {};
|
|
60680
|
+
var value = el['__vue__'].label;
|
|
60681
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60682
|
+
field: binding.value,
|
|
60683
|
+
type: 'option',
|
|
60684
|
+
value: value
|
|
60685
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60686
|
+
if (label) {
|
|
60687
|
+
if (vnode.context.formItem.formatterMap) {
|
|
60688
|
+
vnode.context.formItem.formatterMap.forEach(function (item) {
|
|
60689
|
+
if (item.value == value) {
|
|
60690
|
+
item.text = label;
|
|
60691
|
+
}
|
|
60692
|
+
});
|
|
60693
|
+
}
|
|
60694
|
+
var spanEl = el.querySelector('.el-checkbox__label') || el.querySelector('.el-radio__label') || el.querySelector('span');
|
|
60695
|
+
if (spanEl) {
|
|
60696
|
+
spanEl.innerHTML = label;
|
|
60697
|
+
}
|
|
60698
|
+
}
|
|
60699
|
+
}
|
|
60700
|
+
},
|
|
60701
|
+
inserted: function inserted(el, binding, vnode) {
|
|
60702
|
+
var field = binding.value;
|
|
60703
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60704
|
+
var attrs = vnode.data.attrs || {};
|
|
60705
|
+
var value = el['__vue__'].label;
|
|
60706
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60707
|
+
field: binding.value,
|
|
60708
|
+
type: 'option',
|
|
60709
|
+
value: value
|
|
60710
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60711
|
+
if (label) {
|
|
60712
|
+
if (vnode.context.formItem.formatterMap) {
|
|
60713
|
+
vnode.context.formItem.formatterMap.forEach(function (item) {
|
|
60714
|
+
if (item.value == value) {
|
|
60715
|
+
item.text = label;
|
|
60716
|
+
}
|
|
60717
|
+
});
|
|
60718
|
+
}
|
|
60719
|
+
var spanEl = el.querySelector('.el-checkbox__label') || el.querySelector('.el-radio__label') || el.querySelector('span');
|
|
60720
|
+
if (spanEl) {
|
|
60721
|
+
spanEl.innerHTML = label;
|
|
60722
|
+
}
|
|
60723
|
+
}
|
|
60724
|
+
}
|
|
60725
|
+
}
|
|
60726
|
+
});
|
|
60727
|
+
;// CONCATENATED MODULE: ./packages/common/directive/form-title/index.js
|
|
60728
|
+
|
|
60729
|
+
/**
|
|
60730
|
+
* 流程路径名称多语言自动切换
|
|
60731
|
+
*/
|
|
60732
|
+
external_commonjs_vue_commonjs2_vue_root_Vue_default().directive('form-title', {
|
|
60733
|
+
bind: function bind(el, binding, vnode) {
|
|
60734
|
+
var field = binding.value;
|
|
60735
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60736
|
+
var attrs = vnode.data.attrs || {};
|
|
60737
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60738
|
+
formTitle: binding.value,
|
|
60739
|
+
code: binding.value
|
|
60740
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60741
|
+
if (label) {
|
|
60742
|
+
if (el.querySelector('.content')) {
|
|
60743
|
+
//仿真表单
|
|
60744
|
+
el.querySelector('.content').innerHTML = label;
|
|
60745
|
+
} else {
|
|
60746
|
+
el.innerHTML = label;
|
|
60747
|
+
}
|
|
60748
|
+
}
|
|
60749
|
+
}
|
|
60750
|
+
},
|
|
60751
|
+
inserted: function inserted(el, binding, vnode) {
|
|
60752
|
+
var field = binding.value;
|
|
60753
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60754
|
+
var attrs = vnode.data.attrs || {};
|
|
60755
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60756
|
+
formTitle: binding.value,
|
|
60757
|
+
code: binding.value
|
|
60758
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60759
|
+
if (label) {
|
|
60760
|
+
if (el.querySelector('.content')) {
|
|
60761
|
+
//仿真表单
|
|
60762
|
+
el.querySelector('.content').innerHTML = label;
|
|
60763
|
+
} else {
|
|
60764
|
+
el.innerHTML = label;
|
|
60765
|
+
}
|
|
60766
|
+
}
|
|
60767
|
+
}
|
|
60768
|
+
}
|
|
60769
|
+
});
|
|
60770
|
+
;// CONCATENATED MODULE: ./packages/common/directive/text-lbl/index.js
|
|
60771
|
+
|
|
60772
|
+
/**
|
|
60773
|
+
* 普通文本标签多语言自动切换
|
|
60774
|
+
*/
|
|
60775
|
+
external_commonjs_vue_commonjs2_vue_root_Vue_default().directive('text-lbl', {
|
|
60776
|
+
bind: function bind(el, binding, vnode) {
|
|
60777
|
+
var field = binding.value;
|
|
60778
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60779
|
+
var attrs = vnode.data.attrs || {};
|
|
60780
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60781
|
+
i18nCode: binding.value
|
|
60782
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60783
|
+
if (label) {
|
|
60784
|
+
var spanEl = el.querySelector('.el-checkbox__label') || el.querySelector('.el-radio__label');
|
|
60785
|
+
if (spanEl) {
|
|
60786
|
+
spanEl.innerHTML = label;
|
|
60787
|
+
} else {
|
|
60788
|
+
el.innerHTML = label;
|
|
60789
|
+
}
|
|
60790
|
+
}
|
|
60791
|
+
}
|
|
60792
|
+
},
|
|
60793
|
+
inserted: function inserted(el, binding, vnode) {
|
|
60794
|
+
var field = binding.value;
|
|
60795
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60796
|
+
var attrs = vnode.data.attrs || {};
|
|
60797
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60798
|
+
i18nCode: binding.value
|
|
60799
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60800
|
+
if (label) {
|
|
60801
|
+
var spanEl = el.querySelector('.el-checkbox__label') || el.querySelector('.el-radio__label');
|
|
60802
|
+
if (spanEl) {
|
|
60803
|
+
spanEl.innerHTML = label;
|
|
60804
|
+
} else {
|
|
60805
|
+
el.innerHTML = label;
|
|
60806
|
+
}
|
|
60807
|
+
}
|
|
60808
|
+
}
|
|
60809
|
+
}
|
|
60810
|
+
});
|
|
60811
|
+
;// CONCATENATED MODULE: ./packages/common/directive/pageBtn-lbl/index.js
|
|
60812
|
+
|
|
60813
|
+
/**
|
|
60814
|
+
* 页面按钮标签多语言自动切换
|
|
60815
|
+
*/
|
|
60816
|
+
external_commonjs_vue_commonjs2_vue_root_Vue_default().directive('pageBtn-lbl', {
|
|
60817
|
+
bind: function bind(el, binding, vnode) {
|
|
60818
|
+
var field = binding.value;
|
|
60819
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60820
|
+
var attrs = vnode.data.attrs || {};
|
|
60821
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60822
|
+
btnI18nCode: binding.value
|
|
60823
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60824
|
+
if (label) {
|
|
60825
|
+
el.innerHTML = label;
|
|
60826
|
+
}
|
|
60827
|
+
}
|
|
60828
|
+
},
|
|
60829
|
+
inserted: function inserted(el, binding, vnode) {
|
|
60830
|
+
var field = binding.value;
|
|
60831
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60832
|
+
var attrs = vnode.data.attrs || {};
|
|
60833
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60834
|
+
btnI18nCode: binding.value
|
|
60835
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60836
|
+
if (label) {
|
|
60837
|
+
el.innerHTML = label;
|
|
60838
|
+
}
|
|
60839
|
+
}
|
|
60840
|
+
}
|
|
60841
|
+
});
|
|
60842
|
+
;// CONCATENATED MODULE: ./packages/common/directive/wfBtn-lbl/index.js
|
|
60843
|
+
|
|
60844
|
+
/**
|
|
60845
|
+
* 流程表单按钮标签多语言自动切换
|
|
60846
|
+
*/
|
|
60847
|
+
external_commonjs_vue_commonjs2_vue_root_Vue_default().directive('wfBtn-lbl', {
|
|
60848
|
+
bind: function bind(el, binding, vnode) {
|
|
60849
|
+
var field = binding.value;
|
|
60850
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60851
|
+
var attrs = vnode.data.attrs || {};
|
|
60852
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60853
|
+
btnI18nCode: binding.value,
|
|
60854
|
+
type: 'commandBarBtn'
|
|
60855
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60856
|
+
if (label) {
|
|
60857
|
+
el.innerHTML = label;
|
|
60858
|
+
}
|
|
60859
|
+
}
|
|
60860
|
+
},
|
|
60861
|
+
inserted: function inserted(el, binding, vnode) {
|
|
60862
|
+
var field = binding.value;
|
|
60863
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60864
|
+
var attrs = vnode.data.attrs || {};
|
|
60865
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60866
|
+
btnI18nCode: binding.value,
|
|
60867
|
+
type: 'commandBarBtn'
|
|
60868
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60869
|
+
if (label) {
|
|
60870
|
+
el.innerHTML = label;
|
|
60871
|
+
}
|
|
60872
|
+
}
|
|
60873
|
+
}
|
|
60874
|
+
});
|
|
60875
|
+
;// CONCATENATED MODULE: ./packages/common/directive/wfNode-lbl/index.js
|
|
60876
|
+
|
|
60877
|
+
/**
|
|
60878
|
+
* 流程环节名称多语言自动切换
|
|
60879
|
+
*/
|
|
60880
|
+
external_commonjs_vue_commonjs2_vue_root_Vue_default().directive('wfNode-lbl', {
|
|
60881
|
+
bind: function bind(el, binding, vnode) {
|
|
60882
|
+
var field = binding.value;
|
|
60883
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60884
|
+
var attrs = vnode.data.attrs || {};
|
|
60885
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60886
|
+
wfNodeName: binding.value
|
|
60887
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60888
|
+
if (label) {
|
|
60889
|
+
el.innerHTML = label;
|
|
60890
|
+
}
|
|
60891
|
+
}
|
|
60892
|
+
},
|
|
60893
|
+
inserted: function inserted(el, binding, vnode) {
|
|
60894
|
+
var field = binding.value;
|
|
60895
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60896
|
+
var attrs = vnode.data.attrs || {};
|
|
60897
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60898
|
+
wfNodeName: binding.value
|
|
60899
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60900
|
+
if (label) {
|
|
60901
|
+
el.innerHTML = label;
|
|
60902
|
+
}
|
|
60903
|
+
}
|
|
60904
|
+
}
|
|
60905
|
+
});
|
|
60906
|
+
;// CONCATENATED MODULE: ./packages/common/directive/wfPath-lbl/index.js
|
|
60907
|
+
|
|
60908
|
+
/**
|
|
60909
|
+
* 流程路径名称多语言自动切换
|
|
60910
|
+
*/
|
|
60911
|
+
external_commonjs_vue_commonjs2_vue_root_Vue_default().directive('wfPath-lbl', {
|
|
60912
|
+
bind: function bind(el, binding, vnode) {
|
|
60913
|
+
var field = binding.value;
|
|
60914
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60915
|
+
var attrs = vnode.data.attrs || {};
|
|
60916
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60917
|
+
wfPathName: binding.value
|
|
60918
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60919
|
+
if (label) {
|
|
60920
|
+
el.innerHTML = label;
|
|
60921
|
+
}
|
|
60922
|
+
}
|
|
60923
|
+
},
|
|
60924
|
+
inserted: function inserted(el, binding, vnode) {
|
|
60925
|
+
var field = binding.value;
|
|
60926
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60927
|
+
var attrs = vnode.data.attrs || {};
|
|
60928
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60929
|
+
wfPathName: binding.value
|
|
60930
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60931
|
+
if (label) {
|
|
60932
|
+
el.innerHTML = label;
|
|
60933
|
+
}
|
|
60934
|
+
}
|
|
60935
|
+
}
|
|
60936
|
+
});
|
|
60937
|
+
;// CONCATENATED MODULE: ./packages/common/directive/wfIdea-lbl/index.js
|
|
60938
|
+
|
|
60939
|
+
/**
|
|
60940
|
+
* 流程意见标签多语言自动切换
|
|
60941
|
+
*/
|
|
60942
|
+
external_commonjs_vue_commonjs2_vue_root_Vue_default().directive('wfIdea-lbl', {
|
|
60943
|
+
bind: function bind(el, binding, vnode) {
|
|
60944
|
+
var field = binding.value;
|
|
60945
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60946
|
+
var attrs = vnode.data.attrs || {};
|
|
60947
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60948
|
+
wfIdeaLabel: binding.value
|
|
60949
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60950
|
+
if (label) {
|
|
60951
|
+
el.innerHTML = label;
|
|
60952
|
+
}
|
|
60953
|
+
}
|
|
60954
|
+
},
|
|
60955
|
+
inserted: function inserted(el, binding, vnode) {
|
|
60956
|
+
var field = binding.value;
|
|
60957
|
+
if (field && vnode.context.$i18n.locale !== 'zhCN') {
|
|
60958
|
+
var attrs = vnode.data.attrs || {};
|
|
60959
|
+
var label = vnode.context.$i18n.generateTitle({
|
|
60960
|
+
wfIdeaLabel: binding.value
|
|
60961
|
+
}, vnode.context, attrs.moduleCode, attrs.i18npkg, attrs);
|
|
60962
|
+
if (label) {
|
|
60963
|
+
el.innerHTML = label;
|
|
60964
|
+
}
|
|
60965
|
+
}
|
|
60966
|
+
}
|
|
60967
|
+
});
|
|
60968
|
+
;// CONCATENATED MODULE: ./packages/common/directive/index.js
|
|
60969
|
+
|
|
60970
|
+
|
|
60971
|
+
|
|
60972
|
+
|
|
60973
|
+
|
|
60974
|
+
|
|
60975
|
+
|
|
60976
|
+
|
|
60977
|
+
|
|
60062
60978
|
;// CONCATENATED MODULE: ./packages/ecmapp/Directive/format-value/index.js
|
|
60063
60979
|
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); }
|
|
60064
60980
|
|
|
@@ -60190,6 +61106,8 @@ function mappaio_toPrimitive(t, r) { if ("object" != mappaio_typeof(t) || !t) re
|
|
|
60190
61106
|
|
|
60191
61107
|
|
|
60192
61108
|
|
|
61109
|
+
|
|
61110
|
+
|
|
60193
61111
|
|
|
60194
61112
|
|
|
60195
61113
|
// 以数组的结构保存组件,便于遍历
|
|
@@ -60208,16 +61126,19 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
60208
61126
|
mappaio_install(window.Vue);
|
|
60209
61127
|
setTimeout(function () {
|
|
60210
61128
|
window.$alert = window.Vue.prototype.$dialog.alert;
|
|
61129
|
+
Vue.prototype.$tx = npmaio_mappaio_lang.$tx;
|
|
61130
|
+
window.$tx = mappaio_lang.$tx;
|
|
60211
61131
|
}, 0);
|
|
60212
61132
|
}
|
|
60213
|
-
|
|
60214
|
-
// 导出的对象必须具备一个 install 方法
|
|
60215
|
-
install: mappaio_install
|
|
60216
|
-
}, mappaio_components));
|
|
61133
|
+
var npmaio_mappaio_lang = mappaio_lang;
|
|
60217
61134
|
|
|
60218
61135
|
|
|
60219
61136
|
var httpRequest = request;
|
|
60220
61137
|
var mappaio_store = store/* default */.A;
|
|
61138
|
+
/* harmony default export */ var mappaio = (mappaio_objectSpread({
|
|
61139
|
+
// 导出的对象必须具备一个 install 方法
|
|
61140
|
+
install: mappaio_install
|
|
61141
|
+
}, mappaio_components));
|
|
60221
61142
|
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
|
|
60222
61143
|
|
|
60223
61144
|
|