From dbb7971168d49cb454700140ecd1163e66ef6dc5 Mon Sep 17 00:00:00 2001 From: zhaoyongnian <541231643@qq.com> Date: Mon, 25 Apr 2022 13:31:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plugins/power/kernelhouseholdTable.vue | 8 + src/views/modules/plugins/power/poweraxis.vue | 4 +- .../plugins/power/poweraxis_add_leader.vue | 148 +++++++++++++----- 3 files changed, 115 insertions(+), 45 deletions(-) diff --git a/src/views/modules/plugins/power/kernelhouseholdTable.vue b/src/views/modules/plugins/power/kernelhouseholdTable.vue index 6375c2b85..66ea920f4 100644 --- a/src/views/modules/plugins/power/kernelhouseholdTable.vue +++ b/src/views/modules/plugins/power/kernelhouseholdTable.vue @@ -38,6 +38,14 @@ + + + + - - - - - - - - - - - - - - - - - - - - - - - - + + + 编辑 + 绑定 + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + +
{ + this.$emit('leaderOk') + } + }) + } else { + this.$message.error(msg) + } + }, // 获取动力主轴标签 async getTagCategoryArr(){ const url = '/pli/power/axisTag/listSimple/leader' @@ -237,6 +284,21 @@ export default { } this.categoryName = this.leaderCategoryCodeArr[this.structLevel].categoryName }, + // 获取动力主轴相关负责人 + async listbrief(){ + const url = '/pli/power/axisstructleader/listbrief' + let params = { + structLevel: this.structLevel, + axisStructId: this.dataForm.structReferenceId, + keyWord: '' + } + const { data, code, msg } = await requestPost(url, params) + if (code === 0) { + this.listbriefArr = data + } else { + this.$message.error(msg) + } + }, // 取消按钮 handleCancle () { this.$emit('leaderCancle')