Commit 85dfb431 by 罗承锋

Merge remote-tracking branch 'origin/master'

parents a5753517 44a61137
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
}
......@@ -18,7 +18,7 @@ let insert= (params) => postAction(prefix + "/school/schoolManagement/insert" ,
let hidestatus= (params) => postAction(prefix + "/school/schoolManagement/hidestatus" , params);
// 下载学校模板
let excelMBOut = (params) => postAction(prefix + "/school/schoolManagement/excelMBOut" , params);
let excelMBOut = (params) => downFilePost(prefix + "/school/schoolManagement/excelMBOut" , params);
// 下载学校列表
let reportDownload = (params) => downFilePost(prefix + "/school/schoolManagement/excelOut",params);
......
......@@ -580,7 +580,6 @@
},
// 执行上传
doPush(res) {
debugger
if (!res || !res.response) {
this.$message.error("上传文件出错!", 10);
return false;
......@@ -593,9 +592,7 @@
this.$message.success("上传成功!" + response.data, 5);
this.impXXModal = false;
},
downloadXXMoBan:function (){
exportFile(excelMBOut(), "学校列表模板.xlsx");
},
add(){
this.titleName="添加"
this.isShowMore = true;
......@@ -906,6 +903,9 @@
this.downloadstatu
);
},
downloadXXMoBan:function (){
exportFile(excelMBOut(), "学校列表模板.xlsx");
},
downloadstatu() {
this.callback = false;
},
......
......@@ -62,7 +62,7 @@
批量不通过
</a-button>
<a-divider type="vertical"/>
<a-button @click="excelOut()" type="primary">导出所有数据</a-button>
<a-button @click="excelOut()" type="primary">导出数据</a-button>
</a-col>
</span>
</a-row>
......@@ -428,7 +428,7 @@
if(this.tempstate == '是'){
this.Formtable.auditState = 2
}else if(this.tempstate == '否'){
this.Formtable.auditState == 3
this.Formtable.auditState = 3
}else if(this.tempstate == '无效'){
this.Formtable.auditState = 4
}
......
......@@ -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