From 3d9996841bfb96e143062b46bfedeb906f50df58 Mon Sep 17 00:00:00 2001 From: liudong <liudong> Date: 星期三, 07 八月 2024 18:25:34 +0800 Subject: [PATCH] 配置bug页面修改 --- src/views/authority/users/index.vue | 51 ++++++++++++++++++++++++++++++--------------------- 1 files changed, 30 insertions(+), 21 deletions(-) diff --git a/src/views/authority/users/index.vue b/src/views/authority/users/index.vue index cf5ddba..45fb9e7 100644 --- a/src/views/authority/users/index.vue +++ b/src/views/authority/users/index.vue @@ -1,11 +1,11 @@ <template> <div class="container"> <authheader :items="menuTips"></authheader> - <a-card ref="account" class="general-card" :title="$t('menu.user.title')"> + <a-card ref="account" class="general-card"> <a-row> <a-col :flex="2"></a-col> <a-col :flex="1"> - <a-form :model="formModel"> + <a-form :model="formModel" style="margin-top: 30px"> <a-form-item field="name"> <a-input v-model="formModel.name" @@ -15,8 +15,7 @@ </a-form-item> </a-form> </a-col> - <a-divider style="height: 40px" direction="vertical" /> - <a-col :flex="'200px'" style="text-align: right"> + <a-col :flex="'200px'" style="text-align: right; margin-top: 30px"> <a-button @click="reset" style="margin-right: 20px"> <template #icon> <icon-refresh /> @@ -93,23 +92,33 @@ /> </template> <template #operations="{ record }"> - <a-button type="outline" @click="operation(1, record)" - >閲嶇疆瀵嗙爜</a-button - > - <a-button type="outline" @click="operation(2, record)">缂栬緫</a-button> - <a-popconfirm - content="Are you sure you want to delete?" - type="success" - @ok="operation(3, record)" - > - <a-button type="outline">鍒犻櫎</a-button> - </a-popconfirm> - <a-button type="outline" @click="operation(4, record)" - >鏉冮檺閰嶇疆</a-button - > - <a-button type="outline" @click="operation(5, record)" - >閮ㄩ棬閰嶇疆</a-button - > + <a-space> + <a-button + type="outline" + status="success" + @click="operation(1, record)" + >閲嶇疆瀵嗙爜</a-button + > + <a-button type="outline" @click="operation(2, record)" + >缂栬緫</a-button + > + <a-popconfirm + content="Are you sure you want to delete?" + type="success" + @ok="operation(3, record)" + > + <a-button type="outline" status="danger">鍒犻櫎</a-button> + </a-popconfirm> + <a-button + type="dashed" + status="warning" + @click="operation(4, record)" + >鏉冮檺閰嶇疆</a-button + > + <a-button status="success" @click="operation(5, record)" + >閮ㄩ棬閰嶇疆</a-button + > + </a-space> </template> </a-table> </a-card> -- Gitblit v1.8.0