From 3167d0f93c324cf5c6bdf280e0100dac71c06cc2 Mon Sep 17 00:00:00 2001 From: zhanglipeng Date: Fri, 3 Sep 2021 10:37:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BB=E9=A2=98=E6=95=B4=E5=90=88=E5=A4=87?= =?UTF-8?q?=E8=AF=BE=20table=20=E6=A0=8F=E5=86=85=E5=AE=B9=E6=8D=A2?= =?UTF-8?q?=E8=A1=8C=20=E6=9B=B4=E6=95=B4=E9=BD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/benyi/mathtermplan/data.vue | 64 +++++++++++------ .../src/views/benyi/thememonthplan/data.vue | 71 ++++++++++--------- .../src/views/benyi/thememonthplan/index.vue | 53 ++++++++------ .../src/views/benyi/thememonthplan/table.vue | 6 +- .../src/views/benyi/themetermplan/data.vue | 71 ++++++++++--------- .../src/views/benyi/themetermplan/table.vue | 3 +- .../src/views/benyi/themeweekplan/data.vue | 70 +++++++++--------- .../src/views/benyi/themeweekplan/table.vue | 4 +- 8 files changed, 200 insertions(+), 142 deletions(-) diff --git a/ruoyi-ui/src/views/benyi/mathtermplan/data.vue b/ruoyi-ui/src/views/benyi/mathtermplan/data.vue index 62a64b55a..dc042971c 100644 --- a/ruoyi-ui/src/views/benyi/mathtermplan/data.vue +++ b/ruoyi-ui/src/views/benyi/mathtermplan/data.vue @@ -67,19 +67,27 @@ + > + - + @@ -340,24 +353,33 @@ export default { }); return actions.join(""); }, + // // 游戏数学方案--字典状态字典翻译 + // mathFaFormat(row, column) { + // if (row.mathconent != null) { + // var ilength = row.mathconent.split(";").length - 1; + // var names = ""; + // for (var i = 1; i < ilength; i++) { + // names = + // names + + // this.selectMoeDictLabel( + // this.mathFaOptions, + // row.mathconent.split(";")[i] + // ) + + // ";"; + // } + // //this.selectDictLabel(this.scopeOptions, row.xnxq); + // return names; + // } + // return ""; + // }, // 游戏数学方案--字典状态字典翻译 - mathFaFormat(row, column) { - if (row.mathconent != null) { - var ilength = row.mathconent.split(";").length - 1; - var names = ""; - for (var i = 1; i < ilength; i++) { - names = - names + - this.selectMoeDictLabel( - this.mathFaOptions, - row.mathconent.split(";")[i] - ) + - ";"; - } - //this.selectDictLabel(this.scopeOptions, row.xnxq); - return names; + mathFaFormat(id) { + var name = ""; + if (id != null && id != "") { + name = this.selectMoeDictLabel(this.mathFaOptions, id); } - return ""; + //this.selectDictLabel(this.scopeOptions, row.xnxq); + return name; }, // 取消按钮 cancel() { diff --git a/ruoyi-ui/src/views/benyi/thememonthplan/data.vue b/ruoyi-ui/src/views/benyi/thememonthplan/data.vue index 285ef9dbc..cc7f9bfe3 100644 --- a/ruoyi-ui/src/views/benyi/thememonthplan/data.vue +++ b/ruoyi-ui/src/views/benyi/thememonthplan/data.vue @@ -84,13 +84,16 @@ > - + + {{ parseTime(scope.row.month, "{y}-{m}") }} - + +