Commit 8250b26c authored by Mac's avatar Mac

1

parent 63c82e4e
...@@ -713,6 +713,7 @@ export default { ...@@ -713,6 +713,7 @@ export default {
}, },
getClassInfo(obj) { //打开班级详情组件 getClassInfo(obj) { //打开班级详情组件
this.classObjOption = obj; this.classObjOption = obj;
this.classObjOption.School_Id = this.classObjOption.ClassSchoolId
this.isShowClassInfo = true; this.isShowClassInfo = true;
}, },
//关闭班级信息弹窗 //关闭班级信息弹窗
......
...@@ -270,6 +270,9 @@ ...@@ -270,6 +270,9 @@
import { import {
UploadSelfFile UploadSelfFile
} from '../../api/common/common' } from '../../api/common/common'
import {
getEmployeeAddrBook
} from '../../api/users/user'
export default { export default {
data() { data() {
return { return {
...@@ -409,12 +412,13 @@ ...@@ -409,12 +412,13 @@
this.outerVisible1=true; this.outerVisible1=true;
this.workFlowId=workFlowId; this.workFlowId=workFlowId;
this.templateType=templateType; this.templateType=templateType;
this.apipost('WorkFlow_get_GetDepartMentEmployee', {}, res => { getEmployeeAddrBook({}).then(res => {
if(res.data.resultCode == 1) { if(res.Code == 1) {
this.memberList = res.Data;
this.memberList = res.data.data
} }
}, err => {}) }).catch(() => {
})
}, },
clearTransferDialog(){ clearTransferDialog(){
this.filterText='' this.filterText=''
...@@ -451,45 +455,52 @@ ...@@ -451,45 +455,52 @@
this.$message.warning('请选择转交人!') this.$message.warning('请选择转交人!')
return return
} }
this.apipost('WorkFlow_post_SetCareOf',this.transferMsg,res=>{ setCareOf(this.transferMsg).then(res => {
if(res.data.resultCode == 1) { if(res.Code == 1) {
this.$message.success(res.data.message) this.$message.success(res.Message)
this.outerVisible1=false; this.outerVisible1=false;
this.getList() this.getList()
}else{ }else {
this.$message.error(res.data.message) this.$message.error(res.Message)
} }
},err=>{}) }).catch(() => {
})
}, },
agreeApproval(){ agreeApproval(){
this.appMsg.WorkFlowId=this.workFlowId this.appMsg.WorkFlowId=this.workFlowId
this.appMsg.TemplateType=this.templateType this.appMsg.TemplateType=this.templateType
this.apipost('WorkFlow_post_SetConsent',this.appMsg,res=>{ setConsent(this.appMsg).then(res => {
if(res.data.resultCode == 1) { if(res.Code == 1) {
this.$message.success(res.data.message) this.$message.success(res.Message)
this.outerVisible=false; this.outerVisible=false;
this.getList() this.getList()
this.btnClearDialogMsg() this.btnClearDialogMsg()
this.closeLayer() this.closeLayer()
}else{ }else {
this.$message.error(res.data.message) this.$message.error(res.Message)
} }
},err=>{}) }).catch(() => {
})
}, },
rejectApproval(){ rejectApproval(){
this.appMsg.WorkFlowId=this.workFlowId this.appMsg.WorkFlowId=this.workFlowId
this.appMsg.TemplateType=this.templateType this.appMsg.TemplateType=this.templateType
this.apipost('WorkFlow_post_SetNotConsent',this.appMsg,res=>{ setNotConsent(this.appMsg).then(res => {
if(res.data.resultCode == 1) { if(res.Code == 1) {
this.$message.success(res.data.message) this.$message.success(res.Message)
this.outerVisible=false; this.outerVisible=false;
this.getList() this.getList()
this.btnClearDialogMsg() this.btnClearDialogMsg()
this.closeLayer() this.closeLayer()
}else{ }else {
this.$message.error(res.data.message) this.$message.error(res.Message)
} }
},err=>{}) }).catch(() => {
})
}, },
withdrawAapproval(workFlowId,templateType){ withdrawAapproval(workFlowId,templateType){
...@@ -498,12 +509,16 @@ ...@@ -498,12 +509,16 @@
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
this.apipost('app_user_workflow_wndoaudit',{workFlowId:workFlowId,templateType:templateType},res=>{
if(res.data.resultCode == 1) { undoAudit({workFlowId:workFlowId,templateType:templateType}).then(res => {
if(res.Code == 1) {
this.$message.success('撤回成功。') this.$message.success('撤回成功。')
this.getList() this.getList()
this.showlayer = false;
} }
},err=>{}) }).catch(() => {
})
}).catch(() => { }).catch(() => {
this.$message.info('已取消撤回。') this.$message.info('已取消撤回。')
}); });
...@@ -526,15 +541,16 @@ ...@@ -526,15 +541,16 @@
}, },
getDetail(id,type){ getDetail(id,type){
this.showLayer(); this.showLayer();
this.apipost('app_user_workflow_GetAuditInfo',{WorkFlowId:id,TemplateType:type},res=>{ getAuditInfo({WorkFlowId:id,TemplateType:type}).then(res => {
if(res.data.resultCode == 1) { if(res.Code == 1) {
this.detailList=res.data.data this.detailList=res.Data
this.IsAudit=res.data.data.IsAudit this.IsAudit=res.Data.IsAudit
this.IsCancel=res.data.data.IsCancel this.IsCancel=res.Data.IsCancel
this.IsUpdate=res.data.data.IsUpdate this.IsUpdate=res.Data.IsUpdate
} }
},err=>{}) }).catch(() => {
})
}, },
getList(){ getList(){
this.loading=true; this.loading=true;
...@@ -548,14 +564,6 @@ ...@@ -548,14 +564,6 @@
}).catch(() => { }).catch(() => {
}) })
// this.apipost('app_user_workflow_copy_tomyaudit',this.msg,res=>{
// if(res.data.resultCode == 1) {
//
// this.list=res.data.data.pageData;
// this.total=res.data.data.count;
// this.loading=false
// }
// },err=>{})
}, },
getApplyType(){ //模板类型 getApplyType(){ //模板类型
gettemplatetype({}).then(res => { gettemplatetype({}).then(res => {
......
...@@ -112,7 +112,8 @@ ...@@ -112,7 +112,8 @@
name: 'CourseIntro', name: 'CourseIntro',
label: '课程介绍', label: '课程介绍',
field: 'CourseIntro', field: 'CourseIntro',
align: 'left' align: 'left',
style: 'width: 100px',
}, },
{ {
name: 'CreateByName', name: 'CreateByName',
......
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