Commit b5865547 authored by 柳 佳乐's avatar 柳 佳乐
Browse files

20221123

parent d4ec6684
......@@ -158,7 +158,7 @@ export default {
} else {
this.$message({
type: "error",
message: res.data,
message: res.msg,
});
this.loading = false;
}
......
......@@ -134,7 +134,7 @@ export default {
type: 'warning'
}).then(() => {
deleteMenu(data.id).then(res => {
if (res.status == 'success') {
if (res.success) {
this.getMenuData()
this.$message({
type: 'success',
......
......@@ -225,7 +225,7 @@ export default {
})
.then(() => {
deleteRole(row.rlId).then((res) => {
if (res.status == 'success') {
if (res.success) {
this.$message.success("删除成功")
this.rolesList.splice($index, 1)
} else {
......
......@@ -144,7 +144,7 @@ export default {
//获取员工
getSatff(){
secletStaff(this.staffQurey).then((res)=>{
if(res.status == 'success'){
if(res.success){
// console.log(res.status)
this.staffList = res.data.list
this.total = res.data.total
......@@ -214,7 +214,7 @@ export default {
}
console.log(param)
updateRole(param).then(res=>{
if(res.status == 'success'){
if(res.successs){
this.getSatff()
}else{
this.$message.error(res.data)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment