|
@@ -112,7 +112,9 @@
|
|
|
icon="icon icon-edit"
|
|
|
@click="toEdit(scope.row)"
|
|
|
title="修改"
|
|
|
- v-if="scope.row.createId === curUserId"
|
|
|
+ v-if="
|
|
|
+ scope.row.createId === curUserId && scope.row.status === 'NEW'
|
|
|
+ "
|
|
|
></el-button>
|
|
|
<el-button
|
|
|
class="btn-table-icon"
|
|
@@ -120,7 +122,9 @@
|
|
|
icon="icon icon-delete"
|
|
|
@click="toDelete(scope.row)"
|
|
|
title="删除"
|
|
|
- v-if="scope.row.createId === curUserId"
|
|
|
+ v-if="
|
|
|
+ scope.row.createId === curUserId && scope.row.status === 'NEW'
|
|
|
+ "
|
|
|
></el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|