|
|
|
@ -1,8 +1,18 @@ |
|
|
|
|
<template> |
|
|
|
|
<div class="cardcard"> |
|
|
|
|
<template v-for="item in projectData"> |
|
|
|
|
<Container |
|
|
|
|
group-name="col" |
|
|
|
|
@drop="(e) => onCardDrop(e)" |
|
|
|
|
:get-child-payload="getCardPayload()" |
|
|
|
|
drag-class="card-ghost" |
|
|
|
|
drop-class="card-ghost-drop" |
|
|
|
|
:drop-placeholder="dropPlaceholderOptions" |
|
|
|
|
class="draggable-container" |
|
|
|
|
> |
|
|
|
|
<Draggable v-for="item in proData" :key="item.id"> |
|
|
|
|
<div class="card_content" :key="item.id"> |
|
|
|
|
<el-card |
|
|
|
|
ref="card" |
|
|
|
|
class="little_card" |
|
|
|
|
:class=" |
|
|
|
|
color == 'black' |
|
|
|
@ -21,14 +31,14 @@ |
|
|
|
|
</template> |
|
|
|
|
<!-- 任务总述 --> |
|
|
|
|
<el-tooltip |
|
|
|
|
v-if="item.taskName.length > 13" |
|
|
|
|
v-if="item.taskName.length > 11" |
|
|
|
|
:content="item.taskName" |
|
|
|
|
placement="top" |
|
|
|
|
> |
|
|
|
|
<span> |
|
|
|
|
{{ |
|
|
|
|
item.taskName.length > 13 |
|
|
|
|
? item.taskName.slice(0, 11) + '...' |
|
|
|
|
item.taskName.length > 11 |
|
|
|
|
? item.taskName.slice(0, 9) + '...' |
|
|
|
|
: item.taskName |
|
|
|
|
}} |
|
|
|
|
</span> |
|
|
|
@ -40,29 +50,64 @@ |
|
|
|
|
: item.taskName |
|
|
|
|
}} |
|
|
|
|
</span> |
|
|
|
|
|
|
|
|
|
<!-- 头像 --> |
|
|
|
|
<span class="pic" @click="LookPeople(item.managerUsers)"> |
|
|
|
|
<el-tooltip |
|
|
|
|
:content="item.managerUsers_dictText" |
|
|
|
|
placement="top" |
|
|
|
|
<span> |
|
|
|
|
<el-dropdown |
|
|
|
|
trigger="click" |
|
|
|
|
placement="bottom-start" |
|
|
|
|
@command="handleCommand" |
|
|
|
|
> |
|
|
|
|
<img |
|
|
|
|
:src="item.headpic" |
|
|
|
|
alt="" |
|
|
|
|
<span class="el-dropdown-link"> |
|
|
|
|
<i |
|
|
|
|
class="el-icon-more" |
|
|
|
|
style=" |
|
|
|
|
width: 100%; |
|
|
|
|
height: 100%; |
|
|
|
|
display: inline-block; |
|
|
|
|
transform: rotate(90deg); |
|
|
|
|
cursor: pointer; |
|
|
|
|
border-radius: 50%; |
|
|
|
|
" |
|
|
|
|
/> |
|
|
|
|
</el-tooltip> |
|
|
|
|
></i> |
|
|
|
|
</span> |
|
|
|
|
<el-dropdown-menu slot="dropdown"> |
|
|
|
|
<el-dropdown-item |
|
|
|
|
v-for="i in operateName" |
|
|
|
|
:key="i.id" |
|
|
|
|
:command="{ id: i.id, content: item }" |
|
|
|
|
> |
|
|
|
|
{{ i.name }} |
|
|
|
|
</el-dropdown-item> |
|
|
|
|
</el-dropdown-menu> |
|
|
|
|
</el-dropdown> |
|
|
|
|
<!-- <a @click="handleEdit(record)">编辑</a |
|
|
|
|
><a-divider type="vertical" /> --> |
|
|
|
|
</span> |
|
|
|
|
</div> |
|
|
|
|
<div class="union" v-if="item.typePid_dictText != null"> |
|
|
|
|
<span>任务类型:</span> |
|
|
|
|
<span>{{ item.typePid_dictText }}</span> |
|
|
|
|
</div> |
|
|
|
|
<div class="union" v-if="item.level_dictText != null"> |
|
|
|
|
<span>任务层级:</span> |
|
|
|
|
<span>{{ item.level_dictText }}</span> |
|
|
|
|
</div> |
|
|
|
|
<div class="union"> |
|
|
|
|
<span>对应项目:</span> |
|
|
|
|
<span>{{ item.union.split('-')[0] }}</span> |
|
|
|
|
</div> |
|
|
|
|
<div class="union" v-if="item.union.split('-')[1] != null"> |
|
|
|
|
<span>对应模块:</span> |
|
|
|
|
<span>{{ item.union.split('-')[1] }}</span> |
|
|
|
|
</div> |
|
|
|
|
<div class="union" v-if="item.union.split('-')[2] != null"> |
|
|
|
|
<span>对应功能:</span> |
|
|
|
|
<span>{{ item.union.split('-')[2] }}</span> |
|
|
|
|
</div> |
|
|
|
|
<div class="union" v-if="item.upperTaskName != null"> |
|
|
|
|
<span>上级任务:</span> |
|
|
|
|
<span>{{ item.upperTaskName }}</span> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<!-- 项目内容/判断类型(文字?文件?照片) --> |
|
|
|
|
<div class="substance"> |
|
|
|
|
<div class="substance wordtext"> |
|
|
|
|
<!-- <span>任务内容:</span> --> |
|
|
|
|
<div v-if="item.contentType == 'text'"> |
|
|
|
|
{{ item.taskDescribe }} |
|
|
|
|
</div> |
|
|
|
@ -79,68 +124,153 @@ |
|
|
|
|
/> |
|
|
|
|
</div> |
|
|
|
|
<!-- 类型是文档 --> |
|
|
|
|
<div v-else-if="item.contentType == 'file'" class="sub_document"> |
|
|
|
|
<div |
|
|
|
|
v-else-if="item.contentType == 'file'" |
|
|
|
|
class="sub_document" |
|
|
|
|
> |
|
|
|
|
<div class="document"> |
|
|
|
|
<iframe |
|
|
|
|
:src="item.taskFile" |
|
|
|
|
frameborder="0" |
|
|
|
|
style=" |
|
|
|
|
width: 100%; |
|
|
|
|
height: 100%; |
|
|
|
|
border-radius: 10px 10px 10px 10px; |
|
|
|
|
" |
|
|
|
|
></iframe> |
|
|
|
|
<img |
|
|
|
|
src="../../../../../../public/filepic.png" |
|
|
|
|
alt="" |
|
|
|
|
style="width: 100%; height: 100%" |
|
|
|
|
/> |
|
|
|
|
</div> |
|
|
|
|
<div class="s_operate"> |
|
|
|
|
<div>点击查看</div> |
|
|
|
|
<div>上传文档</div> |
|
|
|
|
<el-link |
|
|
|
|
class="s_c_operate" |
|
|
|
|
@click="lookFile(item.taskFile)" |
|
|
|
|
> |
|
|
|
|
点击查看 |
|
|
|
|
</el-link> |
|
|
|
|
<el-link class="s_c_operate" :href="item.taskFile"> |
|
|
|
|
下载文档 |
|
|
|
|
</el-link> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div></div> |
|
|
|
|
</div> |
|
|
|
|
<!-- 日期 --> |
|
|
|
|
<div class="time"> |
|
|
|
|
<i class="el-icon-date" style="font-size: 18px"></i> |
|
|
|
|
<!-- <span>项目工期:</span> --> |
|
|
|
|
<!-- <i class="el-icon-date" style="font-size: 18px"></i> --> |
|
|
|
|
<div>任务周期:</div> |
|
|
|
|
<div class="timearea"> |
|
|
|
|
<!-- <span class="starttime"> |
|
|
|
|
<span class="starttime"> |
|
|
|
|
{{ (item.startTime || '').slice(0, 10) }} |
|
|
|
|
</span> |
|
|
|
|
<span>至</span> --> |
|
|
|
|
<span>截止到</span> |
|
|
|
|
<span>-</span> |
|
|
|
|
<span class="endtime"> |
|
|
|
|
{{ (item.expectedEndTime || '').slice(0, 10) }} |
|
|
|
|
</span> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="time"> |
|
|
|
|
<div>发布提交:</div> |
|
|
|
|
<div class="timearea"> |
|
|
|
|
<span class="starttime" v-if="item.createTime != null"> |
|
|
|
|
{{ (item.createTime || '').slice(0, 10) }} |
|
|
|
|
</span> |
|
|
|
|
<span class="starttime" v-else> 待提交 </span> |
|
|
|
|
<span>-</span> |
|
|
|
|
<span class="endtime" v-if="item.publishTime != null"> |
|
|
|
|
{{ (item.publishTime || '').slice(0, 10) }} |
|
|
|
|
</span> |
|
|
|
|
<span class="endtime" v-else> 待提交 </span> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="time"> |
|
|
|
|
<div>任务时长:</div> |
|
|
|
|
<div class="timearea"> |
|
|
|
|
<span class="starttime" v-if="item.expectedDuration != null"> |
|
|
|
|
{{ item.expectedDuration }} |
|
|
|
|
</span> |
|
|
|
|
<span class="starttime" v-else> 待提交 </span> |
|
|
|
|
<span>-</span> |
|
|
|
|
<span class="endtime" v-if="item.realDuration != null"> |
|
|
|
|
{{ item.realDuration }} |
|
|
|
|
</span> |
|
|
|
|
<span class="endtime" v-else> 待提交 </span> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<!-- 进度 --> |
|
|
|
|
<div class="schedule"> |
|
|
|
|
<!-- <div class="schedule"> |
|
|
|
|
<span>项目进度:</span> |
|
|
|
|
<span class="s_tiao"> |
|
|
|
|
<!-- :percentage="Number(item.schedule)" --> |
|
|
|
|
<el-progress :percentage="30" :show-text="false"></el-progress> |
|
|
|
|
</span> |
|
|
|
|
</div> |
|
|
|
|
</div> --> |
|
|
|
|
|
|
|
|
|
<!-- 任务类型标签/任务负责人头像 --> |
|
|
|
|
<div class="operate"> |
|
|
|
|
<div class="o_left"> |
|
|
|
|
<el-button |
|
|
|
|
type="primary" |
|
|
|
|
round |
|
|
|
|
class="but" |
|
|
|
|
size="small" |
|
|
|
|
></el-button> |
|
|
|
|
<el-button |
|
|
|
|
type="success" |
|
|
|
|
round |
|
|
|
|
<div |
|
|
|
|
class="but" |
|
|
|
|
size="small" |
|
|
|
|
></el-button> |
|
|
|
|
:class=" |
|
|
|
|
item.typeId_dictText === '前端开发' |
|
|
|
|
? { orange: true } |
|
|
|
|
: item.typeId_dictText === '日常业务' |
|
|
|
|
? { green: true } |
|
|
|
|
: item.typeId_dictText === '测试' |
|
|
|
|
? { purple: true } |
|
|
|
|
: item.typeId_dictText === '编码' |
|
|
|
|
? { lakeblue: true } |
|
|
|
|
: item.typeId_dictText === 'UI设计' |
|
|
|
|
? { blue: true } |
|
|
|
|
: item.typeId_dictText === '文档' |
|
|
|
|
? { pink: true } |
|
|
|
|
: { colors: true } |
|
|
|
|
" |
|
|
|
|
> |
|
|
|
|
{{ item.typeId_dictText }} |
|
|
|
|
</div> |
|
|
|
|
<div class="leval">{{ item.workLevel }}</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<!-- 头像 --> |
|
|
|
|
<div class="headpic"> |
|
|
|
|
<div |
|
|
|
|
v-for="(ii, index) in (item.headpic || '') |
|
|
|
|
.split(',') |
|
|
|
|
.slice(0, 3)" |
|
|
|
|
:key="index" |
|
|
|
|
> |
|
|
|
|
<el-tooltip |
|
|
|
|
:content="item.managerUsers_dictText.split(',')[index]" |
|
|
|
|
placement="top" |
|
|
|
|
> |
|
|
|
|
<span |
|
|
|
|
class="pic" |
|
|
|
|
@click="LookPeople(item.managerUsers)" |
|
|
|
|
:style="{ left: index - 1 + 0.1 * index + 'rem' }" |
|
|
|
|
> |
|
|
|
|
<img |
|
|
|
|
:src="item.headpic" |
|
|
|
|
alt="" |
|
|
|
|
style=" |
|
|
|
|
width: 100%; |
|
|
|
|
height: 100%; |
|
|
|
|
cursor: pointer; |
|
|
|
|
border-radius: 50%; |
|
|
|
|
" |
|
|
|
|
/> |
|
|
|
|
</span> |
|
|
|
|
</el-tooltip> |
|
|
|
|
</div> |
|
|
|
|
<span |
|
|
|
|
class="pic" |
|
|
|
|
@click="LookPeople(item.managerUsers)" |
|
|
|
|
style="left: 2.2rem" |
|
|
|
|
v-if="(item.headpic || '').split(',').length > 3" |
|
|
|
|
> |
|
|
|
|
+3 |
|
|
|
|
</span> |
|
|
|
|
</div> |
|
|
|
|
<span class="edit">编辑</span> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</el-card> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
</Draggable> |
|
|
|
|
</Container> |
|
|
|
|
<el-empty description="暂无数据" v-if="proData.length === 0"></el-empty> |
|
|
|
|
<!-- 弹出框 --> |
|
|
|
|
<el-drawer |
|
|
|
|
:visible.sync="drawer" |
|
|
|
@ -214,15 +344,65 @@ |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</el-drawer> |
|
|
|
|
<task-modal ref="modalForm" @ok="modalFormOk"></task-modal> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
|
import { Container, Draggable } from 'vue-smooth-dnd' |
|
|
|
|
import { putAction } from '@/api/manage.js' |
|
|
|
|
import TaskModal from '@/views/task/modules/TaskModal' |
|
|
|
|
import { mixinDevice } from '@/utils/mixin' |
|
|
|
|
import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
|
props: ['color', 'projectData'], |
|
|
|
|
mixins: [JeecgListMixin, mixinDevice], |
|
|
|
|
components: { |
|
|
|
|
Container, |
|
|
|
|
Draggable, |
|
|
|
|
TaskModal |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
props: [ |
|
|
|
|
'color', |
|
|
|
|
'projectData', |
|
|
|
|
'statusNum', |
|
|
|
|
'timeid', |
|
|
|
|
'typeId', |
|
|
|
|
'managerUsers', |
|
|
|
|
'projectId' |
|
|
|
|
], |
|
|
|
|
data() { |
|
|
|
|
return { |
|
|
|
|
drawer: false |
|
|
|
|
url: { |
|
|
|
|
list: '/task/task/list', |
|
|
|
|
updateWorkStatus: '/task/task/updateWorkStatus', |
|
|
|
|
delete: '/task/task/delete', |
|
|
|
|
deleteBatch: '/task/task/deleteBatch', |
|
|
|
|
fengjie: '/task/task/fengjie' |
|
|
|
|
}, |
|
|
|
|
drawer: false, |
|
|
|
|
operateName: [ |
|
|
|
|
{ id: 1, name: '分解任务' }, |
|
|
|
|
{ id: 2, name: '关联任务' }, |
|
|
|
|
{ id: 3, name: '子级任务' }, |
|
|
|
|
{ id: 4, name: '编辑任务' }, |
|
|
|
|
{ id: 5, name: '删除任务' } |
|
|
|
|
], |
|
|
|
|
headpics: [], |
|
|
|
|
proData: [], |
|
|
|
|
dropPlaceholderOptions: { |
|
|
|
|
className: 'drop-preview', |
|
|
|
|
animationDuration: '150', |
|
|
|
|
showOnTop: true |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
watch: { |
|
|
|
|
projectData: { |
|
|
|
|
handler(newVal) { |
|
|
|
|
this.proData = newVal |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
@ -249,7 +429,78 @@ export default { |
|
|
|
|
done() |
|
|
|
|
}) |
|
|
|
|
.catch((_) => {}) |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
// 点击任务操作框 |
|
|
|
|
handleCommand(command) { |
|
|
|
|
let { id, content } = command |
|
|
|
|
if (id === 1) { |
|
|
|
|
this.$emit('fenjie', content, this.timeid) |
|
|
|
|
} else if (id === 5) { |
|
|
|
|
this.$emit('delete', content.id, this.timeid) |
|
|
|
|
} else if (id === 4) { |
|
|
|
|
this.$emit('edit', content, this.timeid) |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
// 拖拽 |
|
|
|
|
onCardDrop(dropResult) { |
|
|
|
|
const { removedIndex, addedIndex, payload } = dropResult |
|
|
|
|
if (removedIndex !== null || addedIndex !== null) { |
|
|
|
|
if (addedIndex !== null && payload) { |
|
|
|
|
this.changeStatu(payload.id, this.statusNum) |
|
|
|
|
} |
|
|
|
|
this.proData = this.applyDrag(this.proData, dropResult) |
|
|
|
|
} |
|
|
|
|
// 重新调用一下获取数据的方法(主要是为了改变总数) |
|
|
|
|
for (let i = 0; i < 4; i++) { |
|
|
|
|
this.$emit( |
|
|
|
|
'getAllData', |
|
|
|
|
i, |
|
|
|
|
this.timeid, |
|
|
|
|
this.typeId, |
|
|
|
|
this.managerUsers, |
|
|
|
|
this.projectId |
|
|
|
|
) |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
getCardPayload(columnId) { |
|
|
|
|
return (index) => this.proData[index] |
|
|
|
|
}, |
|
|
|
|
applyDrag(arr, dragResult) { |
|
|
|
|
const { removedIndex, addedIndex, payload } = dragResult |
|
|
|
|
if (removedIndex === null && addedIndex === null) return arr |
|
|
|
|
const result = [...arr] |
|
|
|
|
let itemToAdd = payload |
|
|
|
|
if (removedIndex !== null) { |
|
|
|
|
itemToAdd = result.splice(removedIndex, 1)[0] |
|
|
|
|
} |
|
|
|
|
if (addedIndex !== null) { |
|
|
|
|
result.splice(addedIndex, 0, itemToAdd) |
|
|
|
|
} |
|
|
|
|
return result |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
// 拖拽改变状态 |
|
|
|
|
async changeStatu(id, workStatus) { |
|
|
|
|
const res = await putAction(this.url.updateWorkStatus, { id, workStatus }) |
|
|
|
|
if (res.success) { |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
// 查看文档 |
|
|
|
|
lookFile(fileurl) { |
|
|
|
|
let Base64 = require('js-base64').Base64 |
|
|
|
|
this.dialogurl = |
|
|
|
|
'http://127.0.0.1:8012/onlinePreview?url=' + |
|
|
|
|
encodeURIComponent(Base64.encode(fileurl)) |
|
|
|
|
window.open(this.dialogurl) |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
mounted() { |
|
|
|
|
this.proData = this.projectData |
|
|
|
|
}, |
|
|
|
|
created() { |
|
|
|
|
this.proData = this.projectData |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
</script> |
|
|
|
@ -279,20 +530,17 @@ export default { |
|
|
|
|
position: absolute; |
|
|
|
|
left: -1.5rem; |
|
|
|
|
} |
|
|
|
|
.pic { |
|
|
|
|
position: relative; |
|
|
|
|
display: inline-block; |
|
|
|
|
width: 1rem; |
|
|
|
|
height: 1rem; |
|
|
|
|
border-radius: 50%; |
|
|
|
|
// background-color: rgb(10, 228, 155); |
|
|
|
|
} |
|
|
|
|
.union { |
|
|
|
|
margin-top: 0.5rem; |
|
|
|
|
font-size: 12px; |
|
|
|
|
color: #999999; |
|
|
|
|
} |
|
|
|
|
// 项目内容 |
|
|
|
|
.substance { |
|
|
|
|
margin-top: 1rem; |
|
|
|
|
font-size: 14px; |
|
|
|
|
color: #999999; |
|
|
|
|
font-size: 13px; |
|
|
|
|
color: #555555; |
|
|
|
|
.sub_image { |
|
|
|
|
width: 100%; |
|
|
|
|
height: 20vh; |
|
|
|
@ -302,9 +550,9 @@ export default { |
|
|
|
|
.sub_document { |
|
|
|
|
display: flex; |
|
|
|
|
width: 100%; |
|
|
|
|
height: 20vh; |
|
|
|
|
height: 15vh; |
|
|
|
|
.document { |
|
|
|
|
width: 55%; |
|
|
|
|
width: 60%; |
|
|
|
|
height: 100%; |
|
|
|
|
background-color: #52c93f; |
|
|
|
|
border-radius: 10px 10px 10px 10px; |
|
|
|
@ -312,37 +560,47 @@ export default { |
|
|
|
|
.s_operate { |
|
|
|
|
position: relative; |
|
|
|
|
top: 2.7rem; |
|
|
|
|
left: 1.5rem; |
|
|
|
|
left: 1rem; |
|
|
|
|
display: flex; |
|
|
|
|
flex-direction: column; |
|
|
|
|
justify-content: space-between; |
|
|
|
|
width: 25%; |
|
|
|
|
// width: 40%; |
|
|
|
|
height: 40%; |
|
|
|
|
|
|
|
|
|
.s_c_operate { |
|
|
|
|
border-bottom: 1px solid #9f9f9f; |
|
|
|
|
cursor: pointer; |
|
|
|
|
color: #9f9f9f; |
|
|
|
|
} |
|
|
|
|
.s_c_operate:hover { |
|
|
|
|
border-bottom: 1px solid #3e75e6; |
|
|
|
|
color: #3e75e6; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
// 项目时间 |
|
|
|
|
.time { |
|
|
|
|
display: flex; |
|
|
|
|
margin-top: 1rem; |
|
|
|
|
font-size: 13px; |
|
|
|
|
margin-top: 0.7rem; |
|
|
|
|
font-size: 12px; |
|
|
|
|
color: #999999; |
|
|
|
|
//background-color: #33bfff; |
|
|
|
|
.timearea { |
|
|
|
|
width: 80%; |
|
|
|
|
margin-left: 1rem; |
|
|
|
|
//background-color: #3e75e6; |
|
|
|
|
width: 70%; |
|
|
|
|
.starttime { |
|
|
|
|
width: 45%; |
|
|
|
|
padding: 0.1rem; |
|
|
|
|
width: 48%; |
|
|
|
|
// padding: 0 0.1rem; |
|
|
|
|
display: inline-block; |
|
|
|
|
background: #f0f0f0; |
|
|
|
|
text-align: center; |
|
|
|
|
} |
|
|
|
|
.endtime { |
|
|
|
|
width: 45%; |
|
|
|
|
padding: 0.1rem; |
|
|
|
|
width: 48%; |
|
|
|
|
// padding: 0 0.1rem; |
|
|
|
|
display: inline-block; |
|
|
|
|
//background: #f0f0f0; |
|
|
|
|
background: #f0f0f0; |
|
|
|
|
text-align: center; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -359,7 +617,7 @@ export default { |
|
|
|
|
margin-left: 0.3rem; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
//操作 |
|
|
|
|
//标签/头像 |
|
|
|
|
.operate { |
|
|
|
|
display: flex; |
|
|
|
|
justify-content: space-between; |
|
|
|
@ -370,12 +628,61 @@ export default { |
|
|
|
|
width: 60%; |
|
|
|
|
// background-color: antiquewhite; |
|
|
|
|
.but { |
|
|
|
|
width: 50%; |
|
|
|
|
padding: 0.2rem 0.6rem; |
|
|
|
|
font-size: 12px; |
|
|
|
|
} |
|
|
|
|
.leval { |
|
|
|
|
margin-left: 1rem; |
|
|
|
|
padding: 0.2rem 0.6rem; |
|
|
|
|
color: #5dddfd; |
|
|
|
|
border-radius: 4px 4px 4px 4px; |
|
|
|
|
background-color: #e4f8f8; |
|
|
|
|
font-size: 12px; |
|
|
|
|
} |
|
|
|
|
.orange { |
|
|
|
|
background: #fff6f0; |
|
|
|
|
color: #ffb580; |
|
|
|
|
} |
|
|
|
|
.blue { |
|
|
|
|
background: #f0f4ff; |
|
|
|
|
color: #306bff; |
|
|
|
|
} |
|
|
|
|
.green { |
|
|
|
|
background: #f3faf0; |
|
|
|
|
color: #78c552; |
|
|
|
|
} |
|
|
|
|
.lakeblue { |
|
|
|
|
background: #f0faff; |
|
|
|
|
color: #33bfff; |
|
|
|
|
} |
|
|
|
|
.purple { |
|
|
|
|
background: #f7f0ff; |
|
|
|
|
color: #bb80ff; |
|
|
|
|
} |
|
|
|
|
.pink { |
|
|
|
|
background: #fff0fc; |
|
|
|
|
color: #ff80ee; |
|
|
|
|
} |
|
|
|
|
.colors { |
|
|
|
|
background: #fff0f7; |
|
|
|
|
color: #ff80d9; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.headpic { |
|
|
|
|
position: relative; |
|
|
|
|
width: 20%; |
|
|
|
|
//background-color: #b8f5af; |
|
|
|
|
.pic { |
|
|
|
|
position: absolute; |
|
|
|
|
display: inline-block; |
|
|
|
|
width: 1.5rem; |
|
|
|
|
height: 1.5rem; |
|
|
|
|
border-radius: 50%; |
|
|
|
|
border: 2px solid #ffffff; |
|
|
|
|
background-color: #33bfff; |
|
|
|
|
cursor: pointer; |
|
|
|
|
} |
|
|
|
|
.edit { |
|
|
|
|
font-size: 13px; |
|
|
|
|
font-weight: 600; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -498,4 +805,20 @@ export default { |
|
|
|
|
/deep/.el-drawer { |
|
|
|
|
width: 24% !important; |
|
|
|
|
} |
|
|
|
|
.card-ghost { |
|
|
|
|
transition: transform 0.18s ease; |
|
|
|
|
transform: rotateZ(5deg); |
|
|
|
|
} |
|
|
|
|
.card-ghost-drop { |
|
|
|
|
transition: transform 0.18s ease-in-out; |
|
|
|
|
transform: rotateZ(0deg); |
|
|
|
|
} |
|
|
|
|
.drop-preview { |
|
|
|
|
background-color: rgba(176, 176, 243, 0.1); |
|
|
|
|
border: 1px dashed rgb(63, 128, 194); |
|
|
|
|
margin: 5px; |
|
|
|
|
} |
|
|
|
|
.wordtext { |
|
|
|
|
word-break: break-all; |
|
|
|
|
} |
|
|
|
|
</style> |
|
|
|
|