From da30be422b026ed0665520347b2ce485db83047b Mon Sep 17 00:00:00 2001 From: DOUDOU <877258667@qq.com> Date: Mon, 10 Oct 2022 10:37:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E8=AF=AD=E8=A8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/yieldReport/com_defect_roll.vue | 143 +++++++++++++++++- 1 file changed, 136 insertions(+), 7 deletions(-) diff --git a/src/views/modules/yieldReport/com_defect_roll.vue b/src/views/modules/yieldReport/com_defect_roll.vue index f326d02..959d555 100644 --- a/src/views/modules/yieldReport/com_defect_roll.vue +++ b/src/views/modules/yieldReport/com_defect_roll.vue @@ -9,18 +9,18 @@ - 不良代码: + {{labels.defectCode}} - + - + @@ -30,7 +30,7 @@ - + @@ -45,7 +45,7 @@ - 插入 + {{ buttons.insertButton }} @@ -54,10 +54,11 @@ - 关闭 + {{buttons.closeButton}} + 对语言设置 @@ -66,7 +67,7 @@
- 不良记录 + {{labels.defectList}} { + if (JSON.stringify(data.data) != '{}') { + this.buttons = data.data + } else { + // saveButtonList(this.buttonList).then(({data}) => { + // }) + } + }); + //其次查询当前标签的多语言 + searchFunctionButtonList(this.queryLabel).then(({data}) => { + if (JSON.stringify(data.data) != '{}') { + this.labels = data.data + } else { + // saveButtonList(this.buttonList).then(({data}) => { + // }) + } + }); + }, + }, watch:{ pageData: { @@ -431,6 +559,7 @@ export default { created() { // this.factoryList() // this.getLanguageList() + this.getMultiLanguageList()//刷新按钮 }, }