<template>
<div class="content">
<div class="content-div-style">
<searchCom @searchChildFun="searchChildFun" ref="searchChildFun"></searchCom>
<div class="table-div-project">
<div class="title">
<h3>共享资源列表</h3>
<el-button type="primary" @click="ToNewProject">新增项目</el-button>
</div>
<el-table
:data="tableData"
style="width: 100%"
stripe
class="scrollbar-style"
:style="{ minHeight: tableHeight + 80 + 'px' }"
:header-cell-style="{ background: '#FAFAFA' }"
>
<template slot="empty">
<div class="minHeight" :style="{ minHeight: tableHeight + 'px' }">
<img src="../../assets/no-data.svg" alt="暂无数据" style="margin-top: 15%" />
<p style="padding: 0; margin: 0; margin-top: -35px; margin-bottom: 20px">暂无数据</p>
</div>
</template>
<el-table-column prop="name" label="培训项目" width="300" show-overflow-tooltip>
</el-table-column>
<el-table-column prop="collegeName" label="所属微学院" width="240" show-overflow-tooltip>
</el-table-column>
<el-table-column prop="orgName" label="所属部门" width="240" show-overflow-tooltip>
</el-table-column>
<el-table-column prop="expense" label="价格" width="120">
<template slot-scope="scope">
<span>{
{ toFixed(scope.row.expense) }}</span>
</template>
</el-table-column>
<el-table-column
prop="shareUserName"
label="发起共享人"
width="200"
show-overflow-tooltip
>
</el-table-column>
<el-table-column prop="shareStartTime" label="发起共享时间" width="170">