| | |
| | | <div class="project-left" @click="goCenter(item, index)"> |
| | | <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.projectName }}</span> |
| | | <a-tag color="#87d068">{{ status[item.projectStatus] || '进行中' }}</a-tag> |
| | | <span class="head-text">{{ item.workspace_name }}</span> |
| | | </div> |
| | | <div class="head-right"> |
| | | <a-dropdown> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="wrapper"> |
| | | <div class="introduction mb10">{{ item.projectIntro || '暂无简介' }}</div> |
| | | <div class="introduction mb10">{{ item.workspace_desc || '暂无简介' }}</div> |
| | | <div class="time mb5">创建时间: {{ item.createTime }}</div> |
| | | <div class="manager mb5 flex-display flex-align-center"> |
| | | <user-outlined /> |
| | |
| | | import { ERouterName } from '/@/types/index' |
| | | import { status, projectCard } from './data' |
| | | import { del, edit } from '/@/api/project-page' |
| | | import { delPlatformInfo } from '/@/api/manage' |
| | | import { Modal, message } from 'ant-design-vue' |
| | | import { useMyStore } from '/@/store' |
| | | import { flyTo, isEntityExist } from '/@/hooks/use-center-point' |
| | |
| | | okType: 'danger', |
| | | cancelText: () => '取消', |
| | | onOk () { |
| | | del(item.id).then(res => { |
| | | if (res.code === 5000) { |
| | | delPlatformInfo(item.id).then(res => { |
| | | if (res.code === 0) { |
| | | message.success('删除成功') |
| | | emit('refreshList') |
| | | } |
| | |
| | | } |
| | | |
| | | const goDetail = (item: any) => { |
| | | console.log(item, 'item') |
| | | store.commit('SET_PROJECT_ID', item.id) |
| | | store.commit('SET_POINT_LIST', []) |
| | | router.push({ |