修改中英文切换
This commit is contained in:
@@ -6,23 +6,23 @@
|
||||
<div class="table-operator">
|
||||
<div @click="handleDel" class="operator-text">
|
||||
<a-icon type="delete"/>
|
||||
批量删除
|
||||
{{$t('BatchDelete')}}
|
||||
</div>
|
||||
<div @click="handleExport" class="operator-text">
|
||||
<a-icon type="export" :rotate="-90"/>
|
||||
数据导出
|
||||
{{$t('dataExport')}}
|
||||
</div>
|
||||
<div @click="handleFileExport" class="operator-text">
|
||||
<a-icon type="mail"/>
|
||||
带文件导出
|
||||
{{$t('exportWithFile')}}
|
||||
</div>
|
||||
<div @click="handleCompare" class="operator-text">
|
||||
<a-icon type="rocket" :rotate="45"/>
|
||||
推送
|
||||
{{$t('Push')}}
|
||||
</div>
|
||||
<div @click="handleModule" class="operator-text">
|
||||
<a-icon type="download"/>
|
||||
模板下载
|
||||
{{$t('templateDownload')}}
|
||||
</div>
|
||||
<div class="operator-text">
|
||||
<ImportFile :url="url"/>
|
||||
@@ -73,9 +73,10 @@
|
||||
import libraryPush from '@/components/libraryPush/index'
|
||||
import { getAction, postAction, deleteAction, downloadFile } from '@/api/manage'
|
||||
import eventBUs from '../../../common/event'
|
||||
import { ACCESS_TOKEN } from "@/store/mutation-types"
|
||||
import { ACCESS_TOKEN } from '@/store/mutation-types'
|
||||
import ImportFile from '@/components/ImportFile/index'
|
||||
import Vue from 'vue'
|
||||
|
||||
export default {
|
||||
name: 'docLibrary',
|
||||
components: {
|
||||
@@ -103,11 +104,11 @@
|
||||
{
|
||||
text: '删除',
|
||||
ClickEvent: 'deleteTable'
|
||||
},
|
||||
}
|
||||
],
|
||||
selectedRowKeys: [],
|
||||
loading: false,
|
||||
tokenHeader: {'X-Access-Token': Vue.ls.get(ACCESS_TOKEN)},
|
||||
tokenHeader: { 'X-Access-Token': Vue.ls.get(ACCESS_TOKEN) },
|
||||
//url传参严格按照当前命名
|
||||
url: {
|
||||
tableHeader: 'document/bussDocumentLibraryEO/getHeader', //表格头部字段
|
||||
@@ -118,9 +119,9 @@
|
||||
updateInfo: 'document/bussDocumentLibraryEO/updateInfo', //编辑
|
||||
getDocumentInfo: 'document/bussDocumentLibraryEO/getDocumentInfoById', //查看
|
||||
deleteBatch: 'document/bussDocumentLibraryEO/deleteBatch', //删除
|
||||
pullMessage:'document/bussDocumentLibraryEO/pullMessage',//推送
|
||||
importZipUrl:'document/bussDocumentLibraryEO/importZip',//导入
|
||||
},
|
||||
pullMessage: 'document/bussDocumentLibraryEO/pullMessage',//推送
|
||||
importZipUrl: 'document/bussDocumentLibraryEO/importZip'//导入
|
||||
},
|
||||
idList: []
|
||||
}
|
||||
},
|
||||
@@ -134,7 +135,7 @@
|
||||
...this.$refs.searchRef.queryParam,
|
||||
id: this.idList.join(',')
|
||||
}
|
||||
downloadFile('document/bussDocumentLibraryEO/exportExcel', '文档库.xls', query,this.Deselect)
|
||||
downloadFile('document/bussDocumentLibraryEO/exportExcel', '文档库.xls', query, this.Deselect)
|
||||
},
|
||||
Deselect() {
|
||||
this.$refs.tableDataRef.selectedRowKeys = []
|
||||
@@ -146,7 +147,7 @@
|
||||
...this.$refs.searchRef.queryParam,
|
||||
id: this.idList.join(',')
|
||||
}
|
||||
downloadFile('document/bussDocumentLibraryEO/exportZip', '文档库.zip', query,this.Deselect)
|
||||
downloadFile('document/bussDocumentLibraryEO/exportZip', '文档库.zip', query, this.Deselect)
|
||||
},
|
||||
//新增
|
||||
handleAdd() {
|
||||
@@ -272,7 +273,8 @@
|
||||
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
ddd{
|
||||
|
||||
ddd {
|
||||
background: #fff;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user