| | |
| | | <div class="head mb10 flex-display flex-align-center flex-justify-between"> |
| | | <div class="head-left flex-display flex-align-center"> |
| | | <a-tag color="#87d068">{{ status[item.projectStatus] || '进行中' }}</a-tag> |
| | | <span class="head-text">{{ item.workspace_name }}</span> |
| | | <span class="head-text">{{ item.nickname }}</span> |
| | | </div> |
| | | <div class="head-right"> |
| | | <a-dropdown> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="wrapper"> |
| | | <div class="introduction mb10">{{ item.workspace_desc || '暂无简介' }}</div> |
| | | <div class="time mb5">创建时间: {{ item.createTime }}</div> |
| | | <div class="introduction mb10">{{ item.sys_name || '暂无简介' }}</div> |
| | | <div class="time mb5">创建时间: {{ new Date(item.create_time).toLocaleString() }}</div> |
| | | <div class="manager mb5 flex-display flex-align-center"> |
| | | <user-outlined /> |
| | | <!-- {{item.memberList[0].userId}} --> |
| | | <div class="user_name ml10">测试角色</div> |
| | | <div class="user_name ml10">{{ item.dept_name }}</div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <script setup lang="ts"> |
| | | import { DashOutlined, UserOutlined, ExportOutlined, ExclamationCircleOutlined } from '@ant-design/icons-vue' |
| | | import { defineEmits, defineProps, createVNode } from 'vue' |
| | | import { ERouterName } from '/@/types/index' |
| | | import { ELocalStorageKey, ERouterName } from '/@/types/index' |
| | | import { status, projectCard } from './data' |
| | | import { del, edit } from '/@/api/project-page' |
| | | import { delPlatformInfo } from '/@/api/manage' |
| | |
| | | |
| | | const goDetail = (item: any) => { |
| | | store.commit('SET_PROJECT_ID', item.workspace_id) |
| | | localStorage.setItem(ELocalStorageKey.WorkspaceId, item.workspace_id) |
| | | store.commit('SET_POINT_LIST', []) |
| | | store.commit('SET_PROJECT_NAME', item.nickname) |
| | | router.push({ |
| | | name: ERouterName.WORKSPACE, |
| | | query: { id: item.id, workSpaceId: item.workspace_id }, |