|
|
@ -12,6 +12,7 @@ |
|
|
|
@change="nodeChange" |
|
|
|
@change="nodeChange" |
|
|
|
/> |
|
|
|
/> |
|
|
|
<div class="flex justify-end flex-1"> |
|
|
|
<div class="flex justify-end flex-1"> |
|
|
|
|
|
|
|
<el-button type="info" @click="handleExport">导出</el-button> |
|
|
|
<el-popover |
|
|
|
<el-popover |
|
|
|
ref="countRef" |
|
|
|
ref="countRef" |
|
|
|
placement="left" |
|
|
|
placement="left" |
|
|
@ -42,6 +43,7 @@ |
|
|
|
</el-row> |
|
|
|
</el-row> |
|
|
|
|
|
|
|
|
|
|
|
<el-table |
|
|
|
<el-table |
|
|
|
|
|
|
|
id="okrAnalysisTable" |
|
|
|
:data="originList" |
|
|
|
:data="originList" |
|
|
|
border |
|
|
|
border |
|
|
|
:span-method="objectSpanMethod" |
|
|
|
:span-method="objectSpanMethod" |
|
|
@ -274,6 +276,7 @@ import { |
|
|
|
getCommentPage, |
|
|
|
getCommentPage, |
|
|
|
likeComment |
|
|
|
likeComment |
|
|
|
} from '@/api/okr/comment' |
|
|
|
} from '@/api/okr/comment' |
|
|
|
|
|
|
|
import { exportTableWithVue } from '@/utils' |
|
|
|
|
|
|
|
|
|
|
|
const message = useMessage() |
|
|
|
const message = useMessage() |
|
|
|
const defaultProps = { |
|
|
|
const defaultProps = { |
|
|
@ -541,6 +544,10 @@ function handleSaveComment() { |
|
|
|
message.error('创建失败') |
|
|
|
message.error('创建失败') |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function handleExport() { |
|
|
|
|
|
|
|
exportTableWithVue('#okrAnalysisTable', `OKR分析报表-${currentNode.value.nodeName}`) |
|
|
|
|
|
|
|
} |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped></style> |
|
|
|
<style lang="scss" scoped></style> |
|
|
|