From 9f5436e17e3670678397c4914e828a76c2fb6378 Mon Sep 17 00:00:00 2001 From: "zyx.net" Date: Fri, 2 Dec 2022 11:18:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E6=8A=A5=E5=BA=93=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=A4=87=E6=B3=A8=E5=88=97=EF=BC=8C=E5=8E=86=E5=8F=B2=E8=AE=B0?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/common/lang/en-us.js | 1 + jero-web/src/common/lang/zh-cn.js | 1 + .../CollectionTypeDisabled/index.vue | 3 +- .../src/components/tableCollection/index1.vue | 129 +++++++++++++++++- .../parameter/managementdetails/index.vue | 1 + 5 files changed, 131 insertions(+), 4 deletions(-) diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js index e183c5ba0..93776115e 100644 --- a/jero-web/src/common/lang/en-us.js +++ b/jero-web/src/common/lang/en-us.js @@ -1362,4 +1362,5 @@ module.exports = { Importfailure:'Import failure', CuiBan:'CuiBan', certificationCategoryNumber: 'certification Category Number', + historicalrecord:'historical Record', } \ 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 eb60ead15..4fd90e6ec 100644 --- a/jero-web/src/common/lang/zh-cn.js +++ b/jero-web/src/common/lang/zh-cn.js @@ -1463,4 +1463,5 @@ module.exports = { Importfailure:'导入失败', CuiBan:'催办', certificationCategoryNumber: '认证类别编号', + historicalrecord:'历史记录', } \ No newline at end of file diff --git a/jero-web/src/components/CollectionTypeDisabled/index.vue b/jero-web/src/components/CollectionTypeDisabled/index.vue index 65c82d9ea..7711a94c6 100644 --- a/jero-web/src/components/CollectionTypeDisabled/index.vue +++ b/jero-web/src/components/CollectionTypeDisabled/index.vue @@ -565,8 +565,7 @@
diff --git a/jero-web/src/components/tableCollection/index1.vue b/jero-web/src/components/tableCollection/index1.vue index 24c653458..cd7ae71bc 100644 --- a/jero-web/src/components/tableCollection/index1.vue +++ b/jero-web/src/components/tableCollection/index1.vue @@ -28,6 +28,15 @@ {{$t('See')}} + + + + {{text}} @@ -148,6 +157,46 @@ + + + + + + + + + + +
+ +
+
@@ -235,11 +284,14 @@ indeterminate: false, columns: [], content: [], + detailDateList: [], selectedRowKeys: [], selectedRowrowValue: [], dataSource: [], pageNo: 1, pageSize: 100, + pageNohistory: 1, + pageSizehistory: 10, pageSizeOptions: ['100', '200'], total: 0, searchParmes: {}, @@ -250,7 +302,10 @@ sdt: 0, // 工程接口人 dre: 0, // 填写人 areaVisible: false, + visible: false, seeVisibleView: false, + confirmLoading: false, + paramsReportDetailId:'', form: {}, rules: { querySdt: [ @@ -273,7 +328,24 @@ Dateline: {}, getquerySdtId: '', // 当前工程接口人的id areaVisibleView: false, // 查看配置得弹框 - configDetail: {} // 查看配置得详细信息 + configDetail: {}, // 查看配置得详细信息 + dataSourcehistory:[], + columnshistory: [ + { + title: this.$t('OperationDetails'), + dataIndex: 'logContent', + align: 'center', + ellipsis: true, + scopedSlots: { customRender: 'content' } + }, + { + title: this.$t('OperationTime'), + dataIndex: 'createTime', + align: 'center', + ellipsis: true, + width: 180 + } + ] } }, mounted() { @@ -298,7 +370,6 @@ } }, onClickTitle(val) { - console.log(val) this.description = val.description this.seeVisibleView = true @@ -525,6 +596,16 @@ customRender: 'ParameterDescription' } } + if (res.click3) { + this.columns[index].scopedSlots = { + customRender: 'RemarkDescription' + } + } + if (res.click4) { + this.columns[index].scopedSlots = { + customRender: 'Operation' + } + } if (res.db_field_name == 'paramsName') { this.columns[index].width = 300 this.columns[index].ellipsis = false @@ -681,6 +762,7 @@ }) }, onChange(page, pageSize) { + }, onSelectChange(value, rowValue) { this.selectedRowKeys = [] @@ -693,6 +775,44 @@ OperationClick(ol, item) { // this.$emit(ol.ClickEvent, item) }, + UpdateLog(val) { + this.visible = true + this.paramsReportDetailId = val.id + this.bussLogList(val) + }, + bussLogList(val) { + let query = { + pageNo: this.pageNohistory, + pageSize: this.pageSizehistory, + paramsReportDetailId: this.paramsReportDetailId + } + this.loading = true + getAction('report/detailLog/page', query).then((res) => { + if (res.success) { + this.dataSourcehistory = res.result.records + this.total = res.result.total + this.loading = false + } else { + this.loading = false + } + }) + }, + handleOk() { + this.visible = false + }, + handleCancel() { + this.visible = false + }, + onChangehistory(page, pageSize) { + console.log(1) + this.pageNohistory = page + this.bussLogList() + }, + SizeChangehistory(page, pageSize) { + this.pageNo = 1 + this.pageSizehistory = pageSize + this.bussLogList() + }, detailClick(item, index) { // this.$emit('detailClick', item) } @@ -716,6 +836,11 @@ }