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