From d1e3e69006d4885c9812325e764eb7a527746f5e Mon Sep 17 00:00:00 2001 From: aixianling Date: Wed, 20 Apr 2022 13:44:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E7=AD=BE=E7=AE=A1=E7=90=86=E5=AE=8C?= =?UTF-8?q?=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/meta/AppResident/AppResidentTags.vue | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/packages/meta/AppResident/AppResidentTags.vue b/packages/meta/AppResident/AppResidentTags.vue index 98e9c0ce..34d6c73b 100644 --- a/packages/meta/AppResident/AppResidentTags.vue +++ b/packages/meta/AppResident/AppResidentTags.vue @@ -11,7 +11,7 @@ @@ -29,8 +29,8 @@ - - + + @@ -52,10 +52,7 @@ export default { ...mapState(['user']), rules() { return { - organizationName: [{required: true, message: "请输入机构名称"}], - organizationType: [{required: true, message: "请选择机构类型"}], - logoUrl: [{required: true, message: "请上传logo"}], - maxOrderNumber: [{required: true, message: "请输入抢单数量"}, {pattern: /^\d+$/, message: '请输入正整数'}], + labelName: [{required: true, message: "请输入标签"}], } }, dialogTitle() { @@ -71,7 +68,7 @@ export default { form: {}, colConfigs: [ {type: "selection"}, - {label: "标签信息", prop: "organizationName"}, + {label: "标签信息", prop: "labelName"}, {label: "创建时间", prop: "createTime", align: '120px'}, {label: "创建人", prop: "createUserName", align: 'center'}, {slot: "options"} @@ -80,7 +77,7 @@ export default { }, methods: { getTableData() { - this.instance.post("/app/appfinancialorganization/list", null, { + this.instance.post("/app/appresidentlabelinfo/list", null, { params: {...this.page, ...this.search} }).then(res => { if (res?.data) { @@ -94,7 +91,7 @@ export default { this.$refs.DialogForm.validate(v => { if (v) { let {form: {logoUrl: logo}} = this, logoUrl = logo?.[0]?.url - this.instance.post("/appfinancialorganization/addOrUpdate", {...this.form, logoUrl}).then(res => { + this.instance.post("/app/appresidentlabelinfo/addOrUpdate", {...this.form, logoUrl}).then(res => { if (res?.code == 0) { this.$message.success("提交成功!") this.dialog = false @@ -111,7 +108,7 @@ export default { }, handleDelete(ids) { this.$confirm("是否要删除该标签?").then(() => { - this.instance.post("/appfinancialorganization/delete", null, { + this.instance.post("/app/appresidentlabelinfo/delete", null, { params: {ids} }).then(res => { if (res?.code == 0) {