From 6a95b3e71b15523845a4a5ed17f57cd62ed94f33 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期四, 26 十二月 2024 14:33:09 +0800 Subject: [PATCH] 完成cnas7.1搬迁 --- src/components/do/a8-file-handling/FileObsoletionRequest.vue | 8 +++++--- src/components/do/a8-file-handling/DistributionCollectionRecord.vue | 8 +++++--- static/js/menu.js | 7 +++++++ 3 files changed, 17 insertions(+), 6 deletions(-) diff --git a/src/components/do/a8-file-handling/DistributionCollectionRecord.vue b/src/components/do/a8-file-handling/DistributionCollectionRecord.vue index 14e26fb..a71f9ac 100644 --- a/src/components/do/a8-file-handling/DistributionCollectionRecord.vue +++ b/src/components/do/a8-file-handling/DistributionCollectionRecord.vue @@ -441,9 +441,11 @@ changeFileList(e){ if(e){ let obj = this.fileList.find(a=>a.documentCode == e) - this.addInfo.name = obj.name - this.addInfo.version = obj.version - this.addInfo.state = obj.state + if(obj){ + this.addInfo.name = obj.name + this.addInfo.version = obj.version + this.addInfo.state = obj.state + } } }, // 鎻愪氦 diff --git a/src/components/do/a8-file-handling/FileObsoletionRequest.vue b/src/components/do/a8-file-handling/FileObsoletionRequest.vue index 0af73dc..1924a99 100644 --- a/src/components/do/a8-file-handling/FileObsoletionRequest.vue +++ b/src/components/do/a8-file-handling/FileObsoletionRequest.vue @@ -374,9 +374,11 @@ changeFileList(e){ if(e){ let obj = this.fileList.find(a=>a.documentCode == e) - this.addInfo.name = obj.name - this.addInfo.version = obj.version - this.addInfo.documentState = obj.state + if(obj){ + this.addInfo.name = obj.name + this.addInfo.version = obj.version + this.addInfo.documentState = obj.state + } } }, handleUpdate(row){ diff --git a/static/js/menu.js b/static/js/menu.js index a2dd275..1ea4b93 100644 --- a/static/js/menu.js +++ b/static/js/menu.js @@ -312,6 +312,13 @@ // p: "" // }, { + v: "浜哄憳鎬昏", + i: "font icon-erjidaohang", + u: "a6-personnel-overview", + g: "6.2 浜哄憳", + p: "selectPersonnelOverview" + }, + { v: "浜哄憳", i: "font icon-erjidaohang", u: "a6-personnel", -- Gitblit v1.9.3