From d2b50c0d72da3f0543c2bda8f346c99761dad8b3 Mon Sep 17 00:00:00 2001
From: sk1551 <15175617877@163.com>
Date: Wed, 14 Oct 2020 16:32:34 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AF=84=E4=BC=B0=E5=86=85=E5=AE=B9=E9=83=A8?=
=?UTF-8?q?=E5=88=86=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../views/benyi/assessmentcontent/index.vue | 59 +++++++++++++++++--
1 file changed, 53 insertions(+), 6 deletions(-)
diff --git a/ruoyi-ui/src/views/benyi/assessmentcontent/index.vue b/ruoyi-ui/src/views/benyi/assessmentcontent/index.vue
index bc5dd2ebc..b9c54d82e 100644
--- a/ruoyi-ui/src/views/benyi/assessmentcontent/index.vue
+++ b/ruoyi-ui/src/views/benyi/assessmentcontent/index.vue
@@ -57,7 +57,7 @@
-
+
@@ -90,17 +90,31 @@
-
-
+
+
+
+
-
+
+
+
-
+
{
this.scopeOptions = response.data;
});
+ this.getDicts("sys_yes_no").then(response => {
+ this.iselementOptions = response.data;
+ });
+ this.getPartntid();
},
methods: {
// 性别字典翻译
scopeFormat(row, column) {
return this.selectDictLabel(this.scopeOptions, row.scope);
},
+ // 是否元素字典翻译
+ iselementFormat(row, column) {
+ return this.selectDictLabel(this.iselementOptions, row.iselement);
+ },
/** 查询评估内容列表 */
getList() {
this.loading = true;
listAssessmentcontent(this.queryParams).then(response => {
this.assessmentcontentList = response.rows;
+ //console.log(this.assessmentcontentList);
this.total = response.total;
this.loading = false;
});
},
+ getPartntid() {
+ listAssessmentcontent(null).then(response => {
+ this.parentidOptions = response.rows;
+ console.log(this.parentidOptions);
+ });
+ },
+
// 取消按钮
cancel() {
this.open = false;