Commit 22aa4e41 authored by zhengke's avatar zhengke

修改

parent 189d7c84
...@@ -579,3 +579,16 @@ export function SetOrderChange(data) { ...@@ -579,3 +579,16 @@ export function SetOrderChange(data) {
}); });
} }
/**
* 保存分拆申请
*/
export function SetOrderSplit(data) {
return request({
url: '/OrderChange/SetOrderSplit',
method: 'post',
data
});
}
...@@ -299,7 +299,8 @@ ...@@ -299,7 +299,8 @@
<script> <script>
import { import {
getSchoolDropdown, getSchoolDropdown,
SetOrderChange SetOrderChange,
SetOrderSplit
} from '../../api/school/index' } from '../../api/school/index'
import { import {
GetClassTypeList GetClassTypeList
...@@ -515,6 +516,7 @@ ...@@ -515,6 +516,7 @@
}) })
return; return;
} }
if(this.transMsg.ChangeType==1){
SetOrderChange(this.transMsg).then(res => { SetOrderChange(this.transMsg).then(res => {
if (res.Code == 1) { if (res.Code == 1) {
this.$q.notify({ this.$q.notify({
...@@ -529,6 +531,22 @@ ...@@ -529,6 +531,22 @@
this.IsShowContinueClassDialog = false 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() { 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