Commit 22aa4e41 authored by zhengke's avatar zhengke

修改

parent 189d7c84
......@@ -579,3 +579,16 @@ export function SetOrderChange(data) {
});
}
/**
* 保存分拆申请
*/
export function SetOrderSplit(data) {
return request({
url: '/OrderChange/SetOrderSplit',
method: 'post',
data
});
}
......@@ -299,7 +299,8 @@
<script>
import {
getSchoolDropdown,
SetOrderChange
SetOrderChange,
SetOrderSplit
} from '../../api/school/index'
import {
GetClassTypeList
......@@ -515,6 +516,7 @@
})
return;
}
if(this.transMsg.ChangeType==1){
SetOrderChange(this.transMsg).then(res => {
if (res.Code == 1) {
this.$q.notify({
......@@ -529,6 +531,22 @@
this.IsShowContinueClassDialog = false
}
})
}else{
SetOrderSplit(this.transMsg).then(res => {
if (res.Code == 1) {
this.$q.notify({
icon: 'iconfont icon-chenggong',
color: 'accent',
timeout: 2000,
message: '保存成功!',
position: 'top'
})
//调用父页面成功方法
this.$emit('success');
this.IsShowContinueClassDialog = false
}
})
}
},
//获取校区列表
getSchool() {
......
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