diff --git a/src/common/lang/en-us.js b/src/common/lang/en-us.js index e53b4fb..44998ef 100644 --- a/src/common/lang/en-us.js +++ b/src/common/lang/en-us.js @@ -187,6 +187,11 @@ module.exports = { clauseNo: 'Clause number', clauseName: 'Clause name', clauseContent: 'Clause content', + startDate: 'Start date', + endDate: 'End Date', + curBefore: 'Before this day', + curAfter: 'After this day', + pleaseSelectADate: 'Please select a date first', // 树右键 treeRight: { addFolder: 'Create New Folder', @@ -212,7 +217,10 @@ module.exports = { clearCache: 'Clear Cache', notice: 'Notice', systemNotice: 'System Notifications', - lookMore: 'View More' + lookMore: 'View More', + generalMsg: 'General message', + importantMsg: 'Important news', + EmergencyMsg: 'Emergency messages' }, // 用户管理 user: { diff --git a/src/common/lang/zh-cn.js b/src/common/lang/zh-cn.js index 313067a..b1031b3 100644 --- a/src/common/lang/zh-cn.js +++ b/src/common/lang/zh-cn.js @@ -202,6 +202,11 @@ module.exports = { listName: '清单名称', countryRegion: '国家/地区', ccPerson: '抄送人员', + startDate: '开始日期', + endDate: '结束日期', + curBefore: '这天之前', + curAfter: '这天之后', + pleaseSelectADate: '请先选中一个日期', // 标准字段 standardField: { standardEnglishName: '标准英文名称', @@ -236,7 +241,10 @@ module.exports = { clearCache: '清理缓存', notice: '通知', systemNotice: '系统通知', - lookMore: '查看更多' + lookMore: '查看更多', + generalMsg: '一般消息', + importantMsg: '重要消息', + EmergencyMsg: '紧急消息' }, // 用户管理 user: { diff --git a/src/components/JDatePicker.vue b/src/components/JDatePicker.vue new file mode 100644 index 0000000..17fca06 --- /dev/null +++ b/src/components/JDatePicker.vue @@ -0,0 +1,150 @@ + + + + + ~ + + + + + + + + {{current.date()}} + + + + + {{$t('curAfter')}} + {{$t('curBefore')}} + + + + + + + + + + diff --git a/src/components/tools/HeaderNotice.vue b/src/components/tools/HeaderNotice.vue index a84f677..0621974 100644 --- a/src/components/tools/HeaderNotice.vue +++ b/src/components/tools/HeaderNotice.vue @@ -9,17 +9,17 @@ :overlayStyle="{ width: '330px', top: '50px' }"> - 系统通知 + {{ $t('header.systemNotice') }} {{ record.titile }} - {{ record.createTime }} 发布 + {{ record.createTime }} {{ $t('release') }} - 一般消息 - 重要消息 - 紧急消息 + {{ $t('header.generalMsg') }} + {{ $t('header.importantMsg') }} + {{ $t('header.EmergencyMsg') }} diff --git a/src/components/tools/Logo.vue b/src/components/tools/Logo.vue index 6c7975a..c2f3949 100644 --- a/src/components/tools/Logo.vue +++ b/src/components/tools/Logo.vue @@ -48,6 +48,11 @@ export default { .h1-logo { padding: 0 12px !important; + + &.logo { + height: auto !important; + line-height: 1 !important; + } } .logo {
{{ record.titile }}
{{ record.createTime }} 发布
{{ record.createTime }} {{ $t('release') }}