可信代码库-组织管理企业认证页面开发

This commit is contained in:
付民康
2025-06-06 09:37:55 +08:00
parent 30b1a772a2
commit 0e4e65ec37
3 changed files with 408 additions and 2 deletions

View File

@@ -5,6 +5,31 @@
<div class="text-[14px] w-full flex items-center justify-between">
<div class="font-bold mb-[16px]">基础信息</div>
<div>
<!-- <d-icon style="margin-right: 4px;color: rgb(61, 204, 166)" v-if="!isEdit" class="font-normal" name="right-o" operable @click="editIconClick">-->
<!-- <template #suffix>-->
<!-- <span>已认证</span>-->
<!-- </template>-->
<!-- </d-icon>-->
<d-icon style="margin-right: 4px;color: rgb(245, 152, 51)" v-if="!isEdit" class="font-normal" name="warning-o" operable @click="editIconClick">
<template #suffix>
<span>未认证</span>
</template>
</d-icon>
<!-- <d-icon style="margin-right: 4px;color: rgb(249, 95, 91)" v-if="!isEdit" class="font-normal" name="error-o" operable @click="editIconClick">-->
<!-- <template #suffix>-->
<!-- <span>驳回</span>-->
<!-- </template>-->
<!-- </d-icon>-->
<!-- <d-icon style="margin-right: 4px;color: rgb(254, 204, 85)" v-if="!isEdit" class="font-normal" name="warning-o" operable @click="editIconClick">-->
<!-- <template #suffix>-->
<!-- <span>审核中</span>-->
<!-- </template>-->
<!-- </d-icon>-->
<d-icon v-if="!isEdit" class="font-normal" style="margin-right: 4px" name="classroom-post-results-large" operable @click="showModal">
<template #suffix>
<span>申请企业认证</span>
</template>
</d-icon>
<d-icon v-if="!isEdit" class="font-normal" name="edit" operable @click="editIconClick">
<template #suffix>
<span>编辑</span>
@@ -214,12 +239,15 @@
<d-button @click="closeDeleteMemberModal">取消</d-button>
</div>
</d-modal>
<QyrzModal ref="qyrzRef"/>
</template>
<script setup lang="ts">
import { reactive, ref, shallowRef,watch } from 'vue';
import { Message } from 'vue-devui';
import NoData from '@/components/NoData/NoData.vue';
import QyrzModal from './QyrzModal.vue';
import {
createOrganizationApi,
deleteOrganizationMemberApi, getGroupjoinedListApi,
@@ -263,6 +291,7 @@ const createFormData = reactive({
organizationProfile: '' // 组织简介
});
const createFormRef = ref();
const qyrzRef = ref();
const createOrganizationLoading = ref(false);
const isEdit = ref(false);
@@ -274,6 +303,14 @@ let originMemberList: OrganizationMemberItemType[] = [];
let filterMemberList: OrganizationMemberItemType[] = [];
const memberTableData = shallowRef<OrganizationMemberItemType[]>([]);
function showModal(row) {
if (qyrzRef.value) {
qyrzRef.value.open();
}
}
const pager = reactive({
pageSize: 10,
pageIndex: 1,