ecinc-cloud-moabase 9.5.214 → 9.5.216

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  // 导入单个组件
2
2
  import CommonComponents from './src/common/exportor'
3
- const { AppCell, AppFieldCell, AppHeader, CCOfdjsView, AppListPage, CCCalendar, CCDragApplet, EchartColumnar, EchartAnnular, EchartStackColumnar, EchartDashboard, EchartFunnel, CCExcelView, CCBlockFrameApp, CCQuickItem, CCQuickTo, CCTopItem, CCTopTo, CCH5appLoader, CCListpageDialog, CCVideo, CCViewBodyArticle, CCViewContent, Watermark } = CommonComponents
3
+ const { BbzxIndex, BbzxFrameLoader, AppCell, AppFieldCell, AppHeader, CCOfdjsView, AppListPage, CCCalendar, CCDragApplet, EchartColumnar, EchartAnnular, EchartStackColumnar, EchartDashboard, EchartFunnel, CCExcelView, CCBlockFrameApp, CCQuickItem, CCQuickTo, CCTopItem, CCTopTo, CCH5appLoader, CCListpageDialog, CCVideo, CCViewBodyArticle, CCViewContent, Watermark } = CommonComponents
4
4
  //wfInstance/mainform/components
5
5
  import AssociatedFileList from './src/wfInstance/mainform/components/AssociatedFileList'
6
6
  import AssociatedFiles from './src/wfInstance/mainform/components/AssociatedFiles'
@@ -14,6 +14,8 @@ import Submission from './src/wfInstance/mainform/components/Submission'
14
14
  import viewContent from './src/wfInstance/viewContent'
15
15
  // 以对象的结构保存组件,便于遍历
16
16
  const components = {
17
+ BbzxFrameLoader,
18
+ BbzxIndex,
17
19
  AppCell,
18
20
  AppFieldCell,
19
21
  AppHeader,
@@ -48,11 +50,11 @@ const components = {
48
50
  Submission
49
51
  }
50
52
  // 定义 install 方法
51
- const install = function(Vue) {
53
+ const install = function (Vue) {
52
54
  if (install.installed) return
53
55
  install.installed = true
54
56
  // 遍历并注册全局组件
55
- Object.keys(components).forEach(key => {
57
+ Object.keys(components).forEach((key) => {
56
58
  Vue.component(key, components[key])
57
59
  })
58
60
  }
@@ -61,9 +63,11 @@ if (typeof window !== 'undefined' && window.Vue) {
61
63
  install(window.Vue)
62
64
  }
63
65
 
66
+ const $messages = require('./lang/index')
64
67
  export default {
65
68
  // 导出的对象必须具备一个 install 方法
66
69
  install,
67
70
  // 组件列表
68
- ...components
71
+ ...components,
72
+ $messages
69
73
  }
package/lang/en.js ADDED
@@ -0,0 +1,83 @@
1
+ module.exports = {
2
+ moabase: {
3
+ components: {
4
+ Mon: 'Mon',
5
+ Tue: 'Tue',
6
+ Wed: 'Wed',
7
+ Thu: 'Thu',
8
+ Fri: 'Fri',
9
+ Sat: 'Sat',
10
+ Sun: 'Sun',
11
+ Jan: 'Jan',
12
+ Feb: 'Feb',
13
+ Mar: 'Mar',
14
+ Apr: 'Apr',
15
+ May: 'May',
16
+ Jun: 'Jun',
17
+ Jul: 'Jul',
18
+ Aug: 'Aug',
19
+ Sep: 'Sep',
20
+ Oct: 'Oct',
21
+ Nov: 'Nov',
22
+ Dec: 'Dec',
23
+ month: 'Month',
24
+ year: 'Year',
25
+ week: 'Week',
26
+ averageValue: 'Average Value',
27
+ funnels: 'Sales Funnel',
28
+ total: 'Total',
29
+ rightText: 'Save',
30
+ knowledgeDetails: 'Knowledge Details',
31
+ topicDetails: 'Topic Details',
32
+ mapDetails: 'Map Details',
33
+ paramException: 'Parameter Configuration Exception.',
34
+ pageLoading: 'Page is loading, please wait.'
35
+ },
36
+ wfInstance: {
37
+ relatedFiles: 'Related Files',
38
+ addRelatedFiles: 'Add Related Files',
39
+ bwxgFile: 'Related to this document',
40
+ glbwFile: 'Associated with this document',
41
+ numFormat: 'Number Format',
42
+ fileWord: 'File Word',
43
+ flYear: 'Year',
44
+ fileNum: 'File Number',
45
+ fileNumView: 'File Number Preview',
46
+ docNum: 'Document Number',
47
+ noFontSize: 'No Font Size',
48
+ dontNeedNum: 'Are you sure you do not need to fill in the file number this time?',
49
+ deliveryNote: 'Delivery Note',
50
+ fileTitle: 'File Title',
51
+ pFileTitle: 'Please enter the file title',
52
+ assignedContent: 'Assigned Content',
53
+ pAssignedContent: 'Please enter the assigned content',
54
+ assigned: '{creator} assigned on {createTime}',
55
+ assigned1: 'I assigned on {createTime}',
56
+ sendOurUnit: 'Send to Our Unit',
57
+ sendOutUnit: 'Send to External Unit',
58
+ sendRenge: 'Sending Range',
59
+ deptShouwen: 'Department Document Receipt',
60
+ leaderRead: 'Leader Document Reading',
61
+ sendingUnit: 'Sending Unit',
62
+ companyLeaders: 'Company Leaders',
63
+ selectedNum: 'Selected {num}',
64
+ commonGroups: 'Common Groups',
65
+ noSelect: 'Not Selected',
66
+ attachList: 'Attachment List',
67
+ fileSented: 'File has been sent, do you want to continue this sending?',
68
+ cannotSent: 'No main document file, cannot send.',
69
+ firstSave: 'The document attachment has been updated, please perform the "Save" operation before sending!',
70
+ leaderDept: 'Please select the reading leaders and receiving departments.',
71
+ swLeaderDept: 'Please select the receiving unit, reading leaders, and receiving departments.',
72
+ inOnTimeSent: 'Are you sure you want to send the document immediately?',
73
+ sentTips: 'Successfully sent {successCount} files, failed to send {failureCount} files!<br>{errMsg}',
74
+ selectSwDept: 'Please select the receiving unit.',
75
+ publisher: 'Publisher: {flCreator}',
76
+ publishTime: 'Publish Time: {publishTime}'
77
+ },
78
+ pageBtns: {
79
+ closingLssues: 'Close Issues',
80
+ revise: 'Revise'
81
+ }
82
+ }
83
+ }
package/lang/es.js ADDED
@@ -0,0 +1,5 @@
1
+ module.exports = {
2
+ moabase: {
3
+
4
+ }
5
+ }
package/lang/index.js ADDED
@@ -0,0 +1,25 @@
1
+ const enLocale = require('./en.js')
2
+ const zhCNLocale = require('./zhCN.js')
3
+ const esLocale = require('./es.js')
4
+ const jaLocale = require('./ja.js')
5
+
6
+ const $messages = {
7
+ en: {
8
+ ...enLocale
9
+ },
10
+ zhCN: {
11
+ ...zhCNLocale
12
+ },
13
+ es: {
14
+ ...esLocale
15
+ },
16
+ ja: {
17
+ ...jaLocale
18
+ }
19
+ }
20
+
21
+ // export const messages = $messages
22
+
23
+ module.exports = {
24
+ ...$messages
25
+ }
package/lang/ja.js ADDED
@@ -0,0 +1,5 @@
1
+ module.exports = {
2
+ moabase: {
3
+
4
+ }
5
+ }
package/lang/zhCN.js ADDED
@@ -0,0 +1,83 @@
1
+ module.exports = {
2
+ moabase: {
3
+ components: {
4
+ Mon: '一',
5
+ Tue: '二',
6
+ Wed: '三',
7
+ Thu: '四',
8
+ Fri: '五',
9
+ Sat: '六',
10
+ Sun: '日',
11
+ Jan: '一月',
12
+ Feb: '二月',
13
+ Mar: '三月',
14
+ Apr: '四月',
15
+ May: '五月',
16
+ Jun: '六月',
17
+ Jul: '七月',
18
+ Aug: '八月',
19
+ Sep: '九月',
20
+ Oct: '十月',
21
+ Nov: '十一月',
22
+ Dec: '十二月',
23
+ month: '月',
24
+ year: '年',
25
+ week: '周',
26
+ averageValue: '平均值',
27
+ funnels: '销售漏斗',
28
+ total: '总量',
29
+ rightText: '保存',
30
+ knowledgeDetails: '知识详情',
31
+ topicDetails: '专题详情',
32
+ mapDetails: '地图详情',
33
+ paramException: '参数配置异常。',
34
+ pageLoading: '页面加载中,请稍后'
35
+ },
36
+ wfInstance: {
37
+ relatedFiles: '关联文件',
38
+ addRelatedFiles: '添加关联文件',
39
+ bwxgFile: '本文相关的',
40
+ glbwFile: '关联本文的',
41
+ numFormat: '编号格式',
42
+ fileWord: '文件字',
43
+ flYear: '年份',
44
+ fileNum: '文件号',
45
+ fileNumView: '文件编号预览',
46
+ docNum: '文件编号',
47
+ noFontSize: '无字号',
48
+ dontNeedNum: '您确定本次不需要填写文件编号吗?',
49
+ deliveryNote: '交办便签',
50
+ fileTitle: '文件标题',
51
+ pFileTitle: '请输入文件标题',
52
+ assignedContent: '交办内容',
53
+ pAssignedContent: '请输入交办内容',
54
+ assigned: '{creator}于{createTime}交办',
55
+ assigned1: '我于{createTime}交办',
56
+ sendOurUnit: '发送本单位',
57
+ sendOutUnit: '发送外单位',
58
+ sendRenge: '发送范围',
59
+ deptShouwen: '部门收文',
60
+ leaderRead: '领导阅文',
61
+ sendingUnit: '发送单位',
62
+ companyLeaders: '公司领导',
63
+ selectedNum: '已选{num}个',
64
+ commonGroups: '常用组',
65
+ noSelect: '未选',
66
+ attachList: '附件列表',
67
+ fileSented: '文件已发送,是否继续本次发送?',
68
+ cannotSent: '没有正文文件,不能发送。',
69
+ firstSave: '公文附件有更新,请先执行“保存”操作后再发送!',
70
+ leaderDept: '请选择阅文领导、收文部门。',
71
+ swLeaderDept: '请选择收文单位、阅文领导、收文部门。',
72
+ inOnTimeSent: '您是否确认立即发送文件?',
73
+ sentTips: '发送文件成功{successCount}份,失败{failureCount}份!<br>{errMsg}',
74
+ selectSwDept: '请选择收文单位。',
75
+ publisher: '发布人:{flCreator}',
76
+ publishTime: '发布时间:{publishTime}'
77
+ },
78
+ pageBtns: {
79
+ closingLssues: '关闭问题',
80
+ revise: '修改'
81
+ }
82
+ }
83
+ }