From 594c3f2509277de4eeac71f1fa252cda17891f6f Mon Sep 17 00:00:00 2001 From: zhangxiao <898441624@qq.com> Date: 星期三, 07 八月 2024 16:30:11 +0800 Subject: [PATCH] fix: 修改bug --- src/views/authority/users/index.vue | 48 ++++++++++++++--------- src/views/dmx/knowledgeLib/tool.vue | 11 ----- src/views/login/components/banner.vue | 20 +++++----- 3 files changed, 39 insertions(+), 40 deletions(-) diff --git a/src/views/authority/users/index.vue b/src/views/authority/users/index.vue index d20bb62..45fb9e7 100644 --- a/src/views/authority/users/index.vue +++ b/src/views/authority/users/index.vue @@ -5,7 +5,7 @@ <a-row> <a-col :flex="2"></a-col> <a-col :flex="1"> - <a-form :model="formModel" style="margin-top: 30px"> + <a-form :model="formModel" style="margin-top: 30px"> <a-form-item field="name"> <a-input v-model="formModel.name" @@ -15,7 +15,7 @@ </a-form-item> </a-form> </a-col> - <a-col :flex="'200px'" style="text-align: right;margin-top: 30px"> + <a-col :flex="'200px'" style="text-align: right; margin-top: 30px"> <a-button @click="reset" style="margin-right: 20px"> <template #icon> <icon-refresh /> @@ -92,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> diff --git a/src/views/dmx/knowledgeLib/tool.vue b/src/views/dmx/knowledgeLib/tool.vue index d203189..fd31845 100644 --- a/src/views/dmx/knowledgeLib/tool.vue +++ b/src/views/dmx/knowledgeLib/tool.vue @@ -482,16 +482,6 @@ const handleChange = (values) => { data.value = values; - // if (values.length === 3) { - // checkedAll.value = true; - // indeterminate.value = false; - // } else if (values.length === 0) { - // checkedAll.value = false; - // indeterminate.value = false; - // } else { - // checkedAll.value = false; - // indeterminate.value = true; - // } }; //鎵归噺鍚敤鍒犻櫎绂佺敤 @@ -530,7 +520,6 @@ }; const handleChangeStatus = (val) => { - console.log(val); updateChunkStatus(val); }; const isLoading = ref(true); diff --git a/src/views/login/components/banner.vue b/src/views/login/components/banner.vue index aabb110..3024949 100644 --- a/src/views/login/components/banner.vue +++ b/src/views/login/components/banner.vue @@ -26,16 +26,16 @@ subSlogan: t('login.banner.subSlogan1'), image: bannerImage, }, - { - slogan: t('login.banner.slogan2'), - subSlogan: t('login.banner.subSlogan2'), - image: bannerImage, - }, - { - slogan: t('login.banner.slogan3'), - subSlogan: t('login.banner.subSlogan3'), - image: bannerImage, - }, + // { + // slogan: t('login.banner.slogan2'), + // subSlogan: t('login.banner.subSlogan2'), + // image: bannerImage, + // }, + // { + // slogan: t('login.banner.slogan3'), + // subSlogan: t('login.banner.subSlogan3'), + // image: bannerImage, + // }, ]); </script> -- Gitblit v1.8.0