From 3569345d09b4a4adae2c4b4e53c50b2ea56cb293 Mon Sep 17 00:00:00 2001 From: weinan2087 Date: Fri, 10 Feb 2023 17:31:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E7=8E=B0=E5=8F=97=E4=BC=97=E7=9A=84?= =?UTF-8?q?=E5=A4=8D=E5=88=B6=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/manage/UserGroupList.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/views/manage/UserGroupList.vue b/src/views/manage/UserGroupList.vue index f1e5447f..01f02801 100644 --- a/src/views/manage/UserGroupList.vue +++ b/src/views/manage/UserGroupList.vue @@ -60,7 +60,7 @@ @@ -121,8 +121,8 @@ // 表格数据 tableData: [], copyUserGroupShow:false, - copyRules:{ name: [{ required: true, message: "请输入名称", trigger: "blur" }]}, - copyForm:{name:'',id:''}, + copyRules:{ audienceName: [{ required: true, message: "请输入名称", trigger: "blur" }]}, + copyForm:{audienceName:'',audienceId:''}, } }, mounted() { @@ -330,13 +330,13 @@ }, copyDialog(row){ this.copyUserGroupShow = true; - this.copyForm.id = row.id; - this.copyForm.name = row.name; + this.copyForm.audienceId = row.id; + this.copyForm.audienceName = row.name; }, copy(){ this.$refs.copyForm.validate((valid) => { if (valid) { - usergroupApi.copy(this.copyForm).then((res) => { + apiAudience.copy(this.copyForm).then((res) => { if (res.status == 200) { this.$message({ type: "success", message: "复制受众成功" ,offset:50}); this.loadData(this.page,this.query);