From 47c52e3ef7b4c05542cf8a82c96b9aa7544d3613 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Tue, 29 Mar 2022 13:41:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E5=B1=8F=E6=95=B0=E6=8D=AE=E6=BA=90?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../designer/components/SourceData.vue | 29 ++++++++++--------- .../AppRiskWarning/components/List.vue | 3 +- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/packages/bigscreen/designer/components/SourceData.vue b/packages/bigscreen/designer/components/SourceData.vue index 71add0c9..144c8567 100644 --- a/packages/bigscreen/designer/components/SourceData.vue +++ b/packages/bigscreen/designer/components/SourceData.vue @@ -401,20 +401,23 @@ this.$refs.form.validate((valid) => { if (valid) { let configs = [] - this.filedList.forEach(item => { - if (item.value.length) { - item.value.forEach(v => { - configs.push({ - alias: item.fieldCnName, - calcType: v, - fieldCnName: item.fieldCnName, - fieldName: item.fieldName, - dictCode: item.dictCode, - orderType: this.orderType + + if (this.filedList.length) { + this.filedList.forEach(item => { + if (item.value.length) { + item.value.forEach(v => { + configs.push({ + alias: item.fieldCnName, + calcType: v, + fieldCnName: item.fieldCnName, + fieldName: item.fieldName, + dictCode: item.dictCode, + orderType: this.orderType + }) }) - }) - } - }) + } + }) + } this.instance.post(`${this.urlPrefix}/appdiylargescreen/addOrUpdateDatasource`, { ...this.form, diff --git a/packages/jianping/AppRiskWarning/components/List.vue b/packages/jianping/AppRiskWarning/components/List.vue index 4402ed89..aa343067 100644 --- a/packages/jianping/AppRiskWarning/components/List.vue +++ b/packages/jianping/AppRiskWarning/components/List.vue @@ -127,7 +127,8 @@ getList() { this.instance.post(`/app/apppreventionreturntopovertyriskperson/list`, null, { params: { - ...this.search + ...this.search, + listType: 1 } }).then(res => { if (res.code == 0) {