From f32d0f14911091f51dd8b469bc15ae6563ab4992 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Mon, 26 Apr 2021 16:52:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A4=E5=88=86=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/page/AddProject.vue | 35 +++++++++++++++++-- src/components/page/PersonalCenter.vue | 48 +++++++++++++++----------- 2 files changed, 60 insertions(+), 23 deletions(-) diff --git a/src/components/page/AddProject.vue b/src/components/page/AddProject.vue index 2b80506..599c104 100644 --- a/src/components/page/AddProject.vue +++ b/src/components/page/AddProject.vue @@ -522,7 +522,29 @@ this.systemId = data.systemId this.projectPermission = data.projectPermission; this.state = data.state; - this.experimentData = data.experimentData + + setTimeout(() => { + this.$get(this.api.queryUserIds).then(res => { + this.$get(this.api.QueryPointOfJudgement, { + systemId: this.systemId, + userId: this.userId, + pageNum: 1, + pageSize: 1000, + queryName: this.judgementpointsquery, + userIdList: res.message.retvalue.join() + }).then(res => { + let list = res.message.rows + let experimentData = data.experimentData + experimentData.map(n => { + let item = list.find(e => e.judgmentPointsId == n.judgmentPointsId) + n.experimentalRequirements = item.experimentalRequirements + n.judgmentPointsName = item.judgmentPointsName + }) + this.experimentData = experimentData + }).catch(err => {}) + }).catch(res => {}) + },1000) + this.experimentalGoal = data.experimentalGoal; this.caseDescription = data.caseDescription; this.knowledgePoints = data.knowledgePoints; @@ -841,7 +863,7 @@ let systemId = this.systemId // if(systemId == 4 || systemId == 5) systemId = 1 this.dialogVisible1 = true; - this.$nextTick(() => { + this.$nextTick(() => { this.$refs.judgementTable.clearSelection() }) if(systemId == 2 || systemId == 3){ @@ -983,7 +1005,14 @@ data.systemId = this.systemId data.projectPermission = this.projectPermission this.state && (data.state = this.state) - this.experimentData && (data.experimentData = this.experimentData) + if(this.experimentData){ + let experimentData = this.experimentData + experimentData.map(n => { + delete n.experimentalRequirements + delete n.judgmentPointsName + }) + data.experimentData = experimentData + } this.experimentalGoal && (data.experimentalGoal = this.experimentalGoal) this.caseDescription && (data.caseDescription = this.caseDescription) this.knowledgePoints && (data.knowledgePoints = this.knowledgePoints) diff --git a/src/components/page/PersonalCenter.vue b/src/components/page/PersonalCenter.vue index 6478701..f1c1e5e 100644 --- a/src/components/page/PersonalCenter.vue +++ b/src/components/page/PersonalCenter.vue @@ -122,7 +122,7 @@
证件 - +
@@ -279,35 +279,35 @@
手机号 -
- {{personalInformation.phone}} - 更换 - 绑定 +
+ {{personalInformation.phone}} + 更换 + 绑定
邮箱 -
- {{personalInformation.email}} - 更换 - 绑定 +
+ {{personalInformation.email}} + 更换 + 绑定
-
+ +
+
+ 密码 +
+ 更换 +
+
-
@@ -1144,7 +1144,7 @@ input:focus { padding-left: 6px; margin: 20px 0 10px 0; line-height: 1; - border-left: 2px solid #9278ff; + border-left: 4px solid #9278ff; span{ font-size: 16px; color: #9278ff; @@ -1246,6 +1246,11 @@ input:focus { .btns{ display: inline-flex; align-items: center; + border-bottom: 1px solid #b5b5b5; + padding: 5px 0; + } + .flex-end-content{ + justify-content: flex-end; } .selects{ display: inline-flex; @@ -1272,11 +1277,14 @@ input:focus { } /deep/.el-input__inner { color: #656565; - font-size: 16px; + font-size: 14px; border-radius: 0 !important; border: 0px; border-bottom: 1px solid #b5b5b5; } + /deep/.el-input--prefix .el-input__inner{ + padding-left: 15px; + } /deep/.el-input__icon { color: #9278ff; &.el-icon-date{