From 4f8e8a58c75f7e1b4c5d15ec049fd42cd9632786 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Thu, 14 Sep 2023 18:09:14 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/shop_contract/details.vue | 137 +++++++++++----------------- 1 file changed, 52 insertions(+), 85 deletions(-) diff --git a/src/views/shop_contract/details.vue b/src/views/shop_contract/details.vue index 365346c..ed2e960 100644 --- a/src/views/shop_contract/details.vue +++ b/src/views/shop_contract/details.vue @@ -12,81 +12,64 @@ class="select" > - + - + - + - + - - + + - - + + - - + --> + - + @@ -146,75 +129,58 @@ class="select" > - + - + - + - + - - + + - - + + - - + --> + - + @@ -282,17 +248,17 @@ > - + @@ -301,29 +267,29 @@ - + - + @@ -370,35 +336,35 @@ @@ -660,6 +626,7 @@ onMounted(async () => { } .el-card { margin-top: 10px; + pointer-event: none; } .el-upload-list .el-upload-list__item-thumbnail { From edb2fa779ec6d560bec78be9957b7f7921434b30 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Fri, 15 Sep 2023 10:51:34 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/company_form.ts | 26 +++++ src/views/company_form/edit.vue | 133 +++++++++++++++++++++ src/views/company_form/index.vue | 160 ++++++++++++++++++++++++++ src/views/examined/examined_popup.vue | 140 ++++++++++++++-------- src/views/examined/index_list.vue | 13 ++- 5 files changed, 419 insertions(+), 53 deletions(-) create mode 100644 src/api/company_form.ts create mode 100644 src/views/company_form/edit.vue create mode 100644 src/views/company_form/index.vue diff --git a/src/api/company_form.ts b/src/api/company_form.ts new file mode 100644 index 0000000..7f5bc6f --- /dev/null +++ b/src/api/company_form.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 公司认证表格列表 +export function apiCompanyFormLists(params: any) { + return request.get({ url: '/company_form/lists', params }) +} + +// 添加公司认证表格 +export function apiCompanyFormAdd(params: any) { + return request.post({ url: '/company_form/add', params }) +} + +// 编辑公司认证表格 +export function apiCompanyFormEdit(params: any) { + return request.post({ url: '/company_form/edit', params }) +} + +// 删除公司认证表格 +export function apiCompanyFormDelete(params: any) { + return request.post({ url: '/company_form/delete', params }) +} + +// 公司认证表格详情 +export function apiCompanyFormDetail(params: any) { + return request.get({ url: '/company_form/detail', params }) +} \ No newline at end of file diff --git a/src/views/company_form/edit.vue b/src/views/company_form/edit.vue new file mode 100644 index 0000000..953975a --- /dev/null +++ b/src/views/company_form/edit.vue @@ -0,0 +1,133 @@ + + + diff --git a/src/views/company_form/index.vue b/src/views/company_form/index.vue new file mode 100644 index 0000000..93bab60 --- /dev/null +++ b/src/views/company_form/index.vue @@ -0,0 +1,160 @@ + + + + diff --git a/src/views/examined/examined_popup.vue b/src/views/examined/examined_popup.vue index 22e70c8..31a11b3 100644 --- a/src/views/examined/examined_popup.vue +++ b/src/views/examined/examined_popup.vue @@ -7,6 +7,8 @@ width="800px" @confirm="handleSubmit" @close="handleClose" + :button="mode == 'edit'" + :clickModalClose="mode == 'details'" > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -84,7 +107,10 @@ clearable :style="{ width: '100%' }" > - + 通过 驳回 @@ -93,7 +119,12 @@ - + @@ -122,7 +153,7 @@ const mode = ref("add"); // 弹窗标题 const popupTitle = computed(() => { - return mode.value == "edit" ? "审核" : "新增"; + return mode.value == "edit" ? "审核" : "详情"; }); const activities = ref([ @@ -211,4 +242,11 @@ defineExpose({ :deep(.el-timeline-item__wrapper) { top: -8px !important; } +.attachment { + width: 150px; + height: 150px; + /* background-color: red; */ + margin-right: 10px; + margin-bottom: 10px; +} \ No newline at end of file diff --git a/src/views/examined/index_list.vue b/src/views/examined/index_list.vue index 371cf39..a49c8c1 100644 --- a/src/views/examined/index_list.vue +++ b/src/views/examined/index_list.vue @@ -72,10 +72,19 @@ v-perms="['flow/edit']" type="primary" link + v-if="row.status == 0" @click="handleEdit(row)" > 审核 + + 详情 +