diff --git a/pc4mobx/organization/components/ImportDialog.js b/pc4mobx/organization/components/ImportDialog.js index e233189..047958b 100644 --- a/pc4mobx/organization/components/ImportDialog.js +++ b/pc4mobx/organization/components/ImportDialog.js @@ -2,7 +2,8 @@ import { WeaNewScroll, WeaSearchGroup, WeaMoreButton, - WeaDialog + WeaDialog, + WeaLocaleProvider } from 'ecCom' import { inject, @@ -33,6 +34,7 @@ import { addContentPath } from '../util/index.js' const Step = Steps.Step; const Dragger = Upload.Dragger; const WeaTable = WeaTableNew.WeaTable; +const getLabel = WeaLocaleProvider.getLabel; @inject("importDialog") @@ -43,7 +45,7 @@ export default class ImportDialog extends React.Component { this.state = { width: 800, height: 600, - title: '数据导入', + title: i18n.label.dataImport(), } } @@ -150,7 +152,7 @@ export default class ImportDialog extends React.Component { } = this.state; const buttons = [ - (), + (), ]; @@ -176,7 +178,7 @@ export default class ImportDialog extends React.Component { >
点击或将文件拖拽到此区域上传
-支持单个或批量上传,严禁上传公司内部资料及其他违禁文件
+{i18n.label.importTip1()}
+{i18n.label.importTip2()}
注意:右侧列表默认加载的为必填字段!
+{getLabel(547646,'注意:右侧列表默认加载的为必填字段!')}
流程总数
+{getLabel(547241,'流程总数')}
{data.statistical.workflowCount}
文档总数
+{getLabel(547243,'文档总数')}
{data.statistical.docCount}
我的客户
+{getLabel(547244,'我的客户')}
{data.statistical.cusCount}
我的协作
+{getLabel(547245,'我的协作')}
{data.statistical.collaborationCount}
微博总数
+{getLabel(547246,'我的协作')}
{data.statistical.weiboCount}