创建人使用userGuid判断
Showing
1 changed file
with
3 additions
and
3 deletions
| ... | @@ -736,9 +736,9 @@ onBeforeMount(() => { | ... | @@ -736,9 +736,9 @@ onBeforeMount(() => { |
| 736 | </el-table-column> | 736 | </el-table-column> |
| 737 | <el-table-column label="操作" width="100px" align="left" fixed="right" show-overflow-tooltip> | 737 | <el-table-column label="操作" width="100px" align="left" fixed="right" show-overflow-tooltip> |
| 738 | <template #default="scope"> | 738 | <template #default="scope"> |
| 739 | <span v-if="!scope.row.createUserId || scope.row.createUserId == userData.staffGuid" class="text_btn" @click="handleTableEdit(scope)">编辑</span> | 739 | <span v-if="!scope.row.createUserId || scope.row.createUserId == userData.userGuid" class="text_btn" @click="handleTableEdit(scope)">编辑</span> |
| 740 | <span v-if="!scope.row.createUserId || scope.row.createUserId == userData.staffGuid" class="text_btn ml4" @click="handleTableDel(scope)">删除</span> | 740 | <span v-if="!scope.row.createUserId || scope.row.createUserId == userData.userGuid" class="text_btn ml4" @click="handleTableDel(scope)">删除</span> |
| 741 | <span v-if="scope.row.createUserId && scope.row.createUserId != userData.staffGuid" class="text_btn ml4" @click="handleTableView(scope)">查看</span> | 741 | <span v-if="scope.row.createUserId && scope.row.createUserId != userData.userGuid" class="text_btn ml4" @click="handleTableView(scope)">查看</span> |
| 742 | </template> | 742 | </template> |
| 743 | </el-table-column> | 743 | </el-table-column> |
| 744 | </el-table> | 744 | </el-table> | ... | ... |
-
Please register or sign in to post a comment