From ef582b1b5715da35e55bd3d7afe5f6abba856aa1 Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Mon, 11 Apr 2022 10:38:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=99=9A=E6=8B=9F=E6=B8=85?= =?UTF-8?q?=E5=8D=95=E8=AF=A6=E6=83=85=E7=BB=86=E8=8A=82=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/common/lang/en-us.js | 2 + jero-web/src/common/lang/zh-cn.js | 3 +- jero-web/src/components/UpdateLog/index.vue | 120 ++++++++++++++++++ .../components/virtualListDetails.vue | 78 ++++++++---- .../views/documentTools/virtualList/index.vue | 4 +- 5 files changed, 180 insertions(+), 27 deletions(-) create mode 100644 jero-web/src/components/UpdateLog/index.vue diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js index faeba1e69..b0aabc359 100644 --- a/jero-web/src/common/lang/en-us.js +++ b/jero-web/src/common/lang/en-us.js @@ -639,4 +639,6 @@ module.exports = { onlyOnefileUploaded:'only one file can be uploaded', typeCannotUploaded:'this type of file cannot be uploaded', confirmWithdraw:'confirm Withdraw', + OperationDetails:'Operation details', + OperationTime:'Operation time', } \ No newline at end of file diff --git a/jero-web/src/common/lang/zh-cn.js b/jero-web/src/common/lang/zh-cn.js index e825ebe70..b921cbce5 100644 --- a/jero-web/src/common/lang/zh-cn.js +++ b/jero-web/src/common/lang/zh-cn.js @@ -643,5 +643,6 @@ module.exports = { onlyOnefileUploaded:'只能上传一个文件', typeCannotUploaded:'不支持上传该类型的文件', confirmWithdraw:'确认撤回?', - + OperationDetails:'操作详情', + OperationTime:'操作时间', } \ No newline at end of file diff --git a/jero-web/src/components/UpdateLog/index.vue b/jero-web/src/components/UpdateLog/index.vue new file mode 100644 index 000000000..aa9143d42 --- /dev/null +++ b/jero-web/src/components/UpdateLog/index.vue @@ -0,0 +1,120 @@ + + + + + \ No newline at end of file diff --git a/jero-web/src/views/documentTools/virtualList/components/virtualListDetails.vue b/jero-web/src/views/documentTools/virtualList/components/virtualListDetails.vue index 12c07b34c..7e95f3371 100644 --- a/jero-web/src/views/documentTools/virtualList/components/virtualListDetails.vue +++ b/jero-web/src/views/documentTools/virtualList/components/virtualListDetails.vue @@ -10,7 +10,8 @@
-
+
{{$t('UpdateLog')}}
@@ -25,13 +26,13 @@ {{$t('VirtualListName')}} - 是的开了房间都是立刻就的路上看见圣诞快乐 + {{$route.query.name}} {{$t('instructionForUse')}} - 是的开了房间都是立刻就的路上看见圣诞快乐 上看到了附件三零客机上的翻开历史交锋是开了房间都是付款了第三方 + {{$route.query.useExplain}}
@@ -44,22 +45,29 @@
-
- {{$t('VirtualListName')}} +
+ {{$t('standard')}}
- +
-
- {{$t('listStatus')}} +
+ {{$t('title')}}
- + +
+ + +
+
+ {{$t('subtitle')}} +
+
@@ -71,10 +79,10 @@
-
+
-
+
{{$t('templateDownload')}}
@@ -82,19 +90,19 @@ {{$t('export')}}
-
+
{{$t('copy')}}
-
+
{{$t('batSetting')}}
-
+
{{$t('add')}}
-
+
{{$t('BatchDelete')}}
@@ -121,6 +129,7 @@
+
@@ -128,13 +137,15 @@ import ImportFile from '@/components/ImportFile/index' import addModel from './addModel' import editModel from './editModel' + import UpdateLog from '@/components/UpdateLog/index' export default { name: 'virtualListDetails', components: { ImportFile, addModel, - editModel + editModel, + UpdateLog }, data() { return { @@ -143,7 +154,7 @@ url: {}, loading: false, dataSource: [], - columns: [ + columnsAll: [ { title: 'WVTA ID', align: 'center', @@ -295,12 +306,31 @@ scopedSlots: { customRender: 'operation' } } ], - selectedRowKeys: [] + selectedRowKeys: [], + isTrue: false + } + }, + mounted() { + this.title = this.$route.query.title + this.isTrue = this.$route.query.title == '虚拟清单详情' ? false : true + }, + computed: { + columns() { + let columnResult = JSON.parse(JSON.stringify(this.columnsAll)) + if (this.title === '虚拟清单详情') { + for (var i = 0; i < columnResult.length; i++) { + if (columnResult[i].title === this.$t('operation')) { + columnResult.splice(i, 1) + i-- + } + } + } + return columnResult } }, methods: { - UpdateLog() { - + UpdateLogClick() { + this.$refs.UpdateLogRef.getList() }, searchQuery() { diff --git a/jero-web/src/views/documentTools/virtualList/index.vue b/jero-web/src/views/documentTools/virtualList/index.vue index 6294354d4..30b051ed9 100644 --- a/jero-web/src/views/documentTools/virtualList/index.vue +++ b/jero-web/src/views/documentTools/virtualList/index.vue @@ -253,7 +253,7 @@ name: item.name, useExplain: item.useExplain, id: item.id, - isTrue: false + title: '维护虚拟清单' } }) window.open(newUrl.href, '_blank') @@ -306,7 +306,7 @@ name: item.name, useExplain: item.useExplain, id: item.id, - isTrue: true + title: '虚拟清单详情' } }) window.open(newUrl.href, '_blank')