保存进度!
This commit is contained in:
parent
905d22abc6
commit
aaf25460a4
@ -2,7 +2,7 @@
|
|||||||
* @Author: Kane
|
* @Author: Kane
|
||||||
* @Date: 2023-01-04 11:05:44
|
* @Date: 2023-01-04 11:05:44
|
||||||
* @LastEditors: Kane
|
* @LastEditors: Kane
|
||||||
* @LastEditTime: 2023-01-18 17:40:55
|
* @LastEditTime: 2023-01-18 23:05:42
|
||||||
* @FilePath: \admin_system\src\layout\Index.vue
|
* @FilePath: \admin_system\src\layout\Index.vue
|
||||||
* @Description:
|
* @Description:
|
||||||
*
|
*
|
||||||
@ -66,9 +66,10 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#layout-main {
|
#layout-main {
|
||||||
background-color: #eee;
|
background-color: #ecf2f9;
|
||||||
/* height: 0; */
|
/* height: 0; */
|
||||||
/* flex-grow: 1; */
|
/* flex-grow: 1; */
|
||||||
|
overflow: overlay;
|
||||||
}
|
}
|
||||||
|
|
||||||
#layout-container-down {
|
#layout-container-down {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* @Author: Kane
|
* @Author: Kane
|
||||||
* @Date: 2022-12-22 09:10:20
|
* @Date: 2022-12-22 09:10:20
|
||||||
* @LastEditors: Kane
|
* @LastEditors: Kane
|
||||||
* @LastEditTime: 2023-01-12 17:47:36
|
* @LastEditTime: 2023-01-18 21:45:12
|
||||||
* @FilePath: \admin_system\src\utils\api\info\account.js
|
* @FilePath: \admin_system\src\utils\api\info\account.js
|
||||||
* @Description:
|
* @Description:
|
||||||
*
|
*
|
||||||
@ -29,18 +29,11 @@ export function Login(userInfo)
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 退出登录
|
||||||
|
*/
|
||||||
export function Logout()
|
export function Logout()
|
||||||
{
|
{
|
||||||
// if (this.$store && this.$store.state.app)
|
|
||||||
// {
|
|
||||||
// //this.$store.commit();
|
|
||||||
// }
|
|
||||||
|
|
||||||
//const store = useStore();
|
|
||||||
|
|
||||||
//console.log(store);
|
|
||||||
|
|
||||||
console.log(store);
|
console.log(store);
|
||||||
|
|
||||||
window.localStorage.removeItem("token");
|
window.localStorage.removeItem("token");
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* @Author: Kane
|
* @Author: Kane
|
||||||
* @Date: 2022-12-14 15:23:54
|
* @Date: 2022-12-14 15:23:54
|
||||||
* @LastEditors: Kane
|
* @LastEditors: Kane
|
||||||
* @LastEditTime: 2023-01-13 09:35:07
|
* @LastEditTime: 2023-01-18 22:24:21
|
||||||
* @FilePath: \admin_system\src\views\account\Login.vue
|
* @FilePath: \admin_system\src\views\account\Login.vue
|
||||||
* @Description:
|
* @Description:
|
||||||
*
|
*
|
||||||
@ -29,7 +29,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item v-show="current_menu === tab_menu[1].type">
|
<el-form-item v-show="current_menu === tab_menu[1].type">
|
||||||
<label class="form-label">确认密码</label>
|
<label class="form-label">确认密码</label>
|
||||||
<el-input type="password" v-model.lazy.trim="loginForm.confirm_password"></el-input>
|
<el-input type="password" disabled v-model.lazy.trim="loginForm.confirm_password"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<label class="form-label">验证码</label>
|
<label class="form-label">验证码</label>
|
||||||
@ -93,6 +93,9 @@ export default {
|
|||||||
type: "error",
|
type: "error",
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
/**
|
||||||
|
* 登录
|
||||||
|
*/
|
||||||
login()
|
login()
|
||||||
{
|
{
|
||||||
if (this.loginForm.username.length === 0 || this.loginForm.password === 0)
|
if (this.loginForm.username.length === 0 || this.loginForm.password === 0)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* @Author: Kane
|
* @Author: Kane
|
||||||
* @Date: 2023-01-12 14:43:46
|
* @Date: 2023-01-12 14:43:46
|
||||||
* @LastEditors: Kane
|
* @LastEditors: Kane
|
||||||
* @LastEditTime: 2023-01-18 17:38:03
|
* @LastEditTime: 2023-01-18 23:24:41
|
||||||
* @FilePath: \admin_system\src\views\info\StaffInfo.vue
|
* @FilePath: \admin_system\src\views\info\StaffInfo.vue
|
||||||
* @Description:
|
* @Description:
|
||||||
*
|
*
|
||||||
@ -11,7 +11,7 @@
|
|||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
<div class="query_box">
|
<div class="query_box">
|
||||||
<el-form inline="true" width="600px">
|
<el-form inline width="600px">
|
||||||
<el-row :gutter="10" class="el-row">
|
<el-row :gutter="10" class="el-row">
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-input v-model="query_param.staff_code" placeholder="请输入P09工号或P13账号"></el-input>
|
<el-input v-model="query_param.staff_code" placeholder="请输入P09工号或P13账号"></el-input>
|
||||||
@ -22,15 +22,21 @@
|
|||||||
<el-col :span="12"></el-col>
|
<el-col :span="12"></el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</el-form>
|
</el-form>
|
||||||
<el-table ref="table" :data="table_data" border width="100%" :stripe="true">
|
<el-table ref="table" :data="table_data" border width="100%" stripe>
|
||||||
<el-table-column type="selection" min-width="30" align="center"></el-table-column>
|
<el-table-column type="selection" min-width="30" align="center"></el-table-column>
|
||||||
<el-table-column prop="staff_name" min-width="200" label="员工名称" align="center"></el-table-column>
|
<el-table-column min-width="200" label="员工名称" align="left" fixed="left">
|
||||||
<el-table-column prop="staff_code" min-width="100" label="工号" align="center"></el-table-column>
|
<template #default="rowdata">
|
||||||
<el-table-column prop="p13uid" min-width="200" label="P13账号" align="center"></el-table-column>
|
<span @click="onShowStaffInfo(rowdata.row)" style="cursor:pointer;display:block;height:100%;">{{
|
||||||
<el-table-column label="操作" min-width="200" align="center">
|
rowdata.row.staff_name
|
||||||
<template #default="scope">
|
}}</span>
|
||||||
<el-button type="warning" size="mini" @click="onTableEdit(scope.row)">编辑</el-button>
|
</template>
|
||||||
<el-button type="danger" size="mini">删除</el-button>
|
</el-table-column>
|
||||||
|
<el-table-column prop="staff_code" min-width="100" label="工号" align="left"></el-table-column>
|
||||||
|
<el-table-column prop="p13uid" min-width="200" label="P13账号" align="left"></el-table-column>
|
||||||
|
<el-table-column label="操作" min-width="200" align="center" fixed="right">
|
||||||
|
<template #default>
|
||||||
|
<el-button type="warning">编辑</el-button>
|
||||||
|
<el-button type="danger">删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@ -75,6 +81,10 @@ export default {
|
|||||||
return 'warning-row';
|
return 'warning-row';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
onShowStaffInfo(staff)
|
||||||
|
{
|
||||||
|
console.log("点击名称", staff);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
@ -120,4 +130,8 @@ export default {
|
|||||||
.info_box:hover {
|
.info_box:hover {
|
||||||
box-shadow: 0px 0px 3px 3px #cccccc;
|
box-shadow: 0px 0px 3px 3px #cccccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.cell {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
Loading…
x
Reference in New Issue
Block a user