mirror of
https://gitee.com/XiaoLFeng/JSL_OrganizeInternalOA_Web.git
synced 2025-02-04 19:42:34 +08:00
管理界面完善4.
This commit is contained in:
parent
0be9fec35b
commit
b5e40996f5
|
@ -19,10 +19,8 @@
|
|||
<div style="width: 87vw;height:90vh;position: relative;margin: 0;padding: 0">
|
||||
<div style="padding:20px 10px;">
|
||||
<Space>
|
||||
<span>用户名:</span>
|
||||
<Input v-model="searchData.username" prefix="ios-contact" placeholder="username" clearable style="width: 200px" />
|
||||
<span>电话号:</span>
|
||||
<Input v-model="searchData.phone" placeholder="Enter phone" style="width: auto" />
|
||||
<span>轮播图id:</span>
|
||||
<Input v-model="searchData.phone" placeholder="Enter Id" style="width: auto" />
|
||||
<Button @click="searchUser" type="primary" shape="circle" icon="ios-search">查询</Button>
|
||||
<Button type="primary" ghost @click="showAddDialog">新增</Button>
|
||||
|
||||
|
@ -156,30 +154,30 @@ const columns = reactive( [
|
|||
align: "center"
|
||||
},
|
||||
{
|
||||
title: "用户名",
|
||||
key: "username",
|
||||
title: "图片",
|
||||
key: "image",
|
||||
align: "center"
|
||||
},
|
||||
{
|
||||
title: "账号",
|
||||
key: "jobId",
|
||||
title: "标题",
|
||||
key: "title",
|
||||
width: 150,
|
||||
align: "center"
|
||||
},
|
||||
{
|
||||
title: "电话",
|
||||
key: "phone",
|
||||
title: "图片地址",
|
||||
key: "imageAddress",
|
||||
width: 150,
|
||||
align: "center"
|
||||
},
|
||||
{
|
||||
title: "邮箱",
|
||||
key: "email",
|
||||
title: "描述",
|
||||
key: "description",
|
||||
align: "center"
|
||||
},
|
||||
{
|
||||
title: "状态",
|
||||
slot: "status",
|
||||
slot: "isActive",
|
||||
width: 100,
|
||||
align: "center",
|
||||
},
|
||||
|
@ -253,7 +251,7 @@ onMounted(() => {
|
|||
|
||||
function getAll() {
|
||||
|
||||
requests.userAllCurrent(AllUser,token).then((res)=>{
|
||||
requests.infoGetHeaderImage(null,token).then((res)=>{
|
||||
console.log(res)
|
||||
// states.data = res.data.data
|
||||
// console.log(res.data.data)
|
||||
|
|
|
@ -281,7 +281,7 @@ function showDeleteDialog(index, row){
|
|||
function deleteOk(){
|
||||
deleteDialog.value = false;
|
||||
console.log(deleteId.value)
|
||||
requests.userDelete(deleteId.value, token).then((res)=>{
|
||||
requests.roleDelete(deleteId.value, token).then((res)=>{
|
||||
console.log("deleteResult:",res)
|
||||
if (res.data.code === 200) {
|
||||
message.success('删除成功')
|
||||
|
|
Loading…
Reference in New Issue
Block a user