From 75dc65eb22595fcb7d48976b691aea2d525a601e Mon Sep 17 00:00:00 2001 From: "zyx.net" Date: Thu, 13 Oct 2022 10:59:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E6=A0=87=E8=AE=A1=E5=88=92=20?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=AE=B0=E5=BD=95=E5=BC=B9=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../enterpriseStandardPlan/index.vue | 68 ++++++++++++++++++- 1 file changed, 66 insertions(+), 2 deletions(-) diff --git a/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue b/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue index 346e34e1b..ef62654aa 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue @@ -187,6 +187,13 @@ align="center" prop="unitName" label="质量评分"> + + + @@ -706,6 +713,28 @@ + + +
+ {{ index + 1 }}. {{ item.creationUserName }} {{ item.creationTime }} {{ item.content }} +
+ +
+
+ +
@@ -730,7 +759,7 @@ page: 1, pageSize: this.$store.getters.userInfo.configContent, }, - + relateNowList: [], LXDList: [], CBList: [], BZList: [], @@ -762,6 +791,7 @@ QCDWList: [], type: '', drawerTitle: '', + relateDialog: false, modalshowflag2: false, modalshowflag: false, nodeList: [], @@ -1337,7 +1367,41 @@ } }) - }, // 新增数据 + }, + // 更新事件 + relateEvent (item) { + this.$http.get('lawss/sarUpdLog/getLogList', { + sarId: item.id, + sarType: 'FOREIGN_LAWS' + }, { + _this: this + }, res => { + if (res.data.length > 0) { + this.relateDialog = true + this.relateList = res.data + var i + for (i = 0; i < this.relateList.length; i++) { + let obj = {creationUserName: '', creationTime: '', content: ''} + obj.creationUserName = this.relateList[i].creationUserName + obj.creationTime = this.relateList[i].creationTime + obj.content = this.relateList[i].content + this.relateNowList.push(obj) + } + } else { + this.$message({ + message: '暂无数据', + type: 'warning' + }) + } + }, e => { + + }) + }, + relateDialogClose () { + this.relateDialog = false + this.relateNowList = [] + }, + // 新增数据 deleteList () { if (this.ids.length) { this.$confirm('您是否确认删除选中数据?', '提示', {