{{ol.text}}
diff --git a/jero-web/src/components/uploadFile/file.vue b/jero-web/src/components/uploadFile/file.vue
index 5b0d8d09b..2e2f81ab2 100644
--- a/jero-web/src/components/uploadFile/file.vue
+++ b/jero-web/src/components/uploadFile/file.vue
@@ -14,7 +14,7 @@
:remove='remove'
@change="handleChange">
- 点击上传
+ {{this.$t('clickUpload')}}
@@ -29,7 +29,7 @@
data(){
return{
visible:false,
- title:'上传文件',
+ title:this.$t('clickUpload'),
uploadAction:window._CONFIG['domianURL']+"/sys/common/upload",
myuploadAction:window._CONFIG['domianURL']+this.thisFileUploadUrl,
upDataList:[],
diff --git a/jero-web/src/views/documentManage/library/index.vue b/jero-web/src/views/documentManage/library/index.vue
index 5cfa8d248..0f502c258 100644
--- a/jero-web/src/views/documentManage/library/index.vue
+++ b/jero-web/src/views/documentManage/library/index.vue
@@ -90,19 +90,19 @@
return {
OperationList: [
{
- text: '取消收藏',
+ text: this.$t('CancelCollection'),
ClickEvent: 'Collection'
},
{
- text: '取消订阅',
+ text: this.$t('CancelSubscribe'),
ClickEvent: 'subscribe'
},
{
- text: '编辑',
+ text: this.$t('edit'),
ClickEvent: 'editTable'
},
{
- text: '删除',
+ text: this.$t('deleteLib'),
ClickEvent: 'deleteTable'
}
],
@@ -146,7 +146,7 @@
let query = {
...this.$refs.searchRef.queryParam,
id: this.idList.join(','),
- flag:'file'
+ flag: 'file'
}
downloadFile('document/bussDocumentLibraryEO/exportZip', '文档库.zip', query, this.Deselect)
},
@@ -163,7 +163,7 @@
if (this.idList.length > 0) {
let _this = this
this.$confirm({
- content: '确认删除?',
+ content: _this.$t('ConfirmBatchDeletion'),
onOk() {
deleteAction(_this.url.deleteBatch, { ids: _this.idList.join(',') }).then((res) => {
if (res.success) {
@@ -198,7 +198,7 @@
deleteTable(val) {
let _this = this
this.$confirm({
- content: '确认删除?',
+ content: _this.$t('ConfirmDelete'),
onOk() {
deleteAction(_this.url.deleteBatch, { ids: val.id }).then((res) => {
if (res.success) {
@@ -215,7 +215,7 @@
Collection(val) {
let _this = this
this.$confirm({
- content: val.collectFlag == 0 || !val.collectFlag ? '确认收藏?' : '确定取消收藏?',
+ content: val.collectFlag == 0 || !val.collectFlag ? _this.$t('ConfirmCollection') : _this.$t('cancelConfirmCollection'),
onOk() {
let url = ''
if (val.collectFlag == 0 || !val.collectFlag) {
@@ -238,7 +238,7 @@
subscribe(val) {
let _this = this
this.$confirm({
- content: val.subscribeFlag == 0 || !val.subscribeFlag ? '确认订阅?' : '确定取消订阅?',
+ content: val.subscribeFlag == 0 || !val.subscribeFlag ? _this.$t('ConfirmSubscribe') : _this.$t('cancelConfirmSubscribe'),
onOk() {
let url = ''
if (val.subscribeFlag == 0 || !val.subscribeFlag) {
diff --git a/jero-web/src/views/documentManage/library/modules/addForm.vue b/jero-web/src/views/documentManage/library/modules/addForm.vue
index 2dfafcea2..3e06a0394 100644
--- a/jero-web/src/views/documentManage/library/modules/addForm.vue
+++ b/jero-web/src/views/documentManage/library/modules/addForm.vue
@@ -59,14 +59,14 @@
this.visible = false
},
add() {
- this.title = '新增'
+ this.title = this.$t('add')
this.visible = true
this.$nextTick(() => {
this.$refs.addFormDataRef.add()
})
},
edit(item) {
- this.title = '编辑'
+ this.title = this.$t('edit')
this.visible = true
this.$nextTick(() => {
this.$refs.addFormDataRef.edit(item)