Commit bdd7c623 by 陈浩建

网点管理模块、批量导入导出

parent 9c841840
import {postAction,downFilePost} from '@/api/manage'
const prefix = '/manager/ciop/';
//报表
let reportList = (params) => postAction(prefix + "networkPlace/list",params);
let reportDownload = (params) => downFilePost(prefix + "networkPlace/reportDownload",params);
let excelMBOut = (params) => downFilePost(prefix + "networkPlace/excelMBOut",params);
// 编辑
let modifyData = (params) => postAction(prefix + "networkPlace/updateData" , params);
//新增
let insertData = (params) => postAction(prefix + "networkPlace/insertData" , params);
//删除
let deleteId = (params) => postAction(prefix + "networkPlace/deleteId" , params);
export {
excelMBOut,
reportList,
reportDownload,
modifyData,
insertData,
deleteId
}
......@@ -454,7 +454,6 @@
},
watch : {
treeModelValue(data) {
console.log(data);
}
},
methods:{
......@@ -476,7 +475,6 @@
grade: data.grade,
ysm: data.ysm,
})
console.log(data.schools);
if (data.schools == undefined) {
this.treeModelValue = [];
}else{
......@@ -511,8 +509,6 @@
this.modifyForm.password = values.password
const subNames = [];
const schools = [];
console.log(this.treeModelValue);
console.log(this.subNames);
out : for(let i = 0; i < this.treeModelValue.length; ++i) {
for(let j = 0; j < this.subNames.length; ++j) {
if (this.treeModelValue[i] == this.subNames[j].value) {
......@@ -522,8 +518,6 @@
}
schools.push(this.treeModelValue[i]);
}
console.log(this.modifyForm);
console.log(this.xzUserList);
if(this.modifyForm.parentId == undefined){
this.modifyForm.parentId = ''
this.modifyForm.parentIds = ''
......@@ -852,7 +846,6 @@
changeDongjie(event,id){
if(event){
unlockUser({userId:id}).then(res =>{
console.log(res);
if(res.state == 'success'){
notification.success({ message: '系统提示', description: '解冻成功'})
}else{
......@@ -861,7 +854,6 @@
});
}else{
lockUser({userId:id}).then(res =>{
console.log(res);
if(res.state == 'success'){
notification.success({ message: '系统提示', description: '冻结成功'})
}else{
......@@ -935,7 +927,6 @@
});
})
this.treeData[i].children = temp;
console.log(this.treeData);
}
})
}
......
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