|
@@ -62,33 +62,29 @@
|
|
|
<template slot-scope="scope">
|
|
|
<template v-if="scope.row.key !== 'more'">
|
|
|
<el-button
|
|
|
- size="mini"
|
|
|
type="text"
|
|
|
@click="handleSand(scope.row, 'edit')"
|
|
|
v-if="scope.row.CanEdit"
|
|
|
>编辑</el-button
|
|
|
>
|
|
|
<el-button
|
|
|
- size="mini"
|
|
|
type="text"
|
|
|
@click="handleSand(scope.row, 'edit')"
|
|
|
v-if="!scope.row.CanEdit"
|
|
|
>{{scope.row.Editor||''}}编辑中...</el-button
|
|
|
>
|
|
|
<el-button
|
|
|
- size="mini"
|
|
|
type="text"
|
|
|
style="color: #f00"
|
|
|
@click="handleSand(scope.row, 'del')"
|
|
|
>删除</el-button
|
|
|
>
|
|
|
<el-button
|
|
|
- size="mini"
|
|
|
type="text"
|
|
|
@click="handleSand(scope.row, 'view')"
|
|
|
>查看</el-button
|
|
|
>
|
|
|
- <el-button size="mini" type="text" @click="copyImg(scope.row)"
|
|
|
+ <el-button type="text" @click="copyImg(scope.row)"
|
|
|
>复制图片</el-button
|
|
|
>
|
|
|
</template>
|
|
@@ -96,17 +92,7 @@
|
|
|
</el-table-column>
|
|
|
|
|
|
<div slot="empty" style="padding: 50px 0 50px">
|
|
|
- <img
|
|
|
- src="~@/assets/img/data_m/table_no.png"
|
|
|
- alt=""
|
|
|
- style="
|
|
|
- display: block;
|
|
|
- width: 135px;
|
|
|
- height: 90px;
|
|
|
- margin: 20px auto 10px;
|
|
|
- "
|
|
|
- />
|
|
|
- <span>暂无数据</span>
|
|
|
+ <tableNoData text="暂无数据" size="mini"/>
|
|
|
</div>
|
|
|
</el-table>
|
|
|
</div>
|
|
@@ -138,27 +124,17 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" label="操作">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button size="mini" type="text" @click="editChildSand(scope.row)" v-if="scope.row.CanEdit">编辑</el-button>
|
|
|
- <!-- <el-button size="mini" type="text" @click="handleSand(scope.row, 'editing')" v-else>{{scope.row.Editor||''}}编辑中...</el-button> -->
|
|
|
- <el-button size="mini" type="text" @click="editChildSand(scope.row)" v-else>{{scope.row.Editor||''}}编辑中...</el-button>
|
|
|
- <el-button size="mini" type="text" style="color: #f00" @click="removeChildSand(scope.row)">删除</el-button>
|
|
|
- <el-button size="mini" type="text" @click="handleSand(scope.row, 'view')">查看</el-button>
|
|
|
- <el-button size="mini" type="text" @click="copyImg(scope.row)">复制图片</el-button>
|
|
|
+ <el-button type="text" @click="editChildSand(scope.row)" v-if="scope.row.CanEdit">编辑</el-button>
|
|
|
+ <!-- <el-button type="text" @click="handleSand(scope.row, 'editing')" v-else>{{scope.row.Editor||''}}编辑中...</el-button> -->
|
|
|
+ <el-button type="text" @click="editChildSand(scope.row)" v-else>{{scope.row.Editor||''}}编辑中...</el-button>
|
|
|
+ <el-button type="text" style="color: #f00" @click="removeChildSand(scope.row)">删除</el-button>
|
|
|
+ <el-button type="text" @click="handleSand(scope.row, 'view')">查看</el-button>
|
|
|
+ <el-button type="text" @click="copyImg(scope.row)">复制图片</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
|
|
|
<div slot="empty" style="padding: 50px 0 50px">
|
|
|
- <img
|
|
|
- src="~@/assets/img/data_m/table_no.png"
|
|
|
- alt=""
|
|
|
- style="
|
|
|
- display: block;
|
|
|
- width: 135px;
|
|
|
- height: 90px;
|
|
|
- margin: 20px auto 10px;
|
|
|
- "
|
|
|
- />
|
|
|
- <span>暂无数据</span>
|
|
|
+ <tableNoData text="暂无数据" size="mini"/>
|
|
|
</div>
|
|
|
</el-table>
|
|
|
<el-row style="margin-top: 30px">
|