From e5356b42ce46cc43914137d54823dcd8e557f4ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=88=B1=7E=E6=B5=B7=7E=E7=88=B1=E6=B5=B7=E7=88=B1?= =?UTF-8?q?=E6=B5=B7=7E=E5=8F=B3?= <1828712314@qq.com> Date: Wed, 26 Feb 2025 08:53:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BC=81=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/enterprise.vue | 2 +- sub/enterprise/detail.vue | 2 +- sub/invite/addEnterprise.vue | 14 ++- sub/invite/index.vue | 176 ++++++++++++++++++++++++++++++++++- utils/dict.js | 5 +- 5 files changed, 190 insertions(+), 9 deletions(-) diff --git a/pages/enterprise.vue b/pages/enterprise.vue index afdc7c3..05a9a6e 100644 --- a/pages/enterprise.vue +++ b/pages/enterprise.vue @@ -322,7 +322,7 @@ export default { display: flex; gap: 4px; color: $uni-text-color-grey; - display: flex; + flex-flow: row wrap; .tag { font-size: 12px; display: flex; diff --git a/sub/enterprise/detail.vue b/sub/enterprise/detail.vue index a14169c..432bfcf 100644 --- a/sub/enterprise/detail.vue +++ b/sub/enterprise/detail.vue @@ -270,8 +270,8 @@ export default { .tagList { display: flex; gap: 4px; + flex-flow: row wrap; color: $uni-text-color-grey; - display: flex; .tag { font-size: 12px; display: flex; diff --git a/sub/invite/addEnterprise.vue b/sub/invite/addEnterprise.vue index 631fe7d..2b21777 100644 --- a/sub/invite/addEnterprise.vue +++ b/sub/invite/addEnterprise.vue @@ -215,7 +215,7 @@ import { getDictBatchByType } from '@/api/system/dict.js' import { createEnterPrise, vertifyName, - c + getEnterPrise } from '@/api/enterprise/index.js' export default { data() { @@ -238,6 +238,10 @@ export default { }, onLoad(res) { this.inviteId = res.inviteId + if (res.id) { + this.form.id = res.id + this.init() + } this.getDict() }, onShow() { @@ -287,6 +291,11 @@ export default { this.form.environmentalContactPhone = v.detail.value } }, + init() { + getEnterPrise(this.form.id).then(res => { + console.log(res) + }) + }, /** * 获取字典 */ @@ -376,8 +385,7 @@ export default { // data.type = data.tags.qy.id data.tagIds = [data.tags.hy.id, data.tags.st.id, data.tags.wr.id] data.fileIds = data.photo.map(i => i.id) - // data.userId = this.inviteId - data.userId = 162 + data.userId = this.inviteId data.qualis = this.prove.map(i => { return { ...i, diff --git a/sub/invite/index.vue b/sub/invite/index.vue index cc14c67..ffd7f7a 100644 --- a/sub/invite/index.vue +++ b/sub/invite/index.vue @@ -1,6 +1,6 @@