Commit 300caca3 authored by 黄奎's avatar 黄奎

页面修改

parent 577ec548
......@@ -22,6 +22,19 @@ export function getClassNameList(data) {
data
})
}
/**
* 根据 留学就业ids 获取留学就业信息
*
*/
export function queryStudyNameList(data) {
return request({
url: '/order/GetStudyNameList',
method: 'post',
data
})
}
/**
*获取简易报表数据
*/
......
......@@ -1233,7 +1233,8 @@
getSchoolPage
} from '../../../api/school/index'
import {
getClassNameList
getClassNameList,
queryStudyNameList
} from '../../../api/finance/index'
export default {
......@@ -1944,7 +1945,8 @@
this.total = res.data.data.count;
this.loading = false;
this.noData = false;
let da = []
let da = [];
let study = [];
if (this.total == 0) {
this.DataList = [];
this.noData = true;
......@@ -1953,12 +1955,16 @@
x.modelShow = false;
this.checkAllList.push(x.FrID)
if (x.TCIDList.length > 0) {
da = da.concat(x.TCIDList)
if (x.OrderSource == 17) {
da = da.concat(x.TCIDList)
} else if (x.OrderSource == 18) {
study = study.concat(x.TCIDList)
}
}
})
this.DataList = data;
if (da.length > 0) {
if (da && da.length > 0) {
let str = da.join(',')
getClassNameList({
ClassIds: str
......@@ -1976,6 +1982,24 @@
})
}).catch(() => {})
}
if (study && study.length > 0) {
let str = study.join(',')
queryStudyNameList({
Ids: str
}).then(res => {
this.DataList.forEach(x => {
if (x.TCIDList.length > 0) {
x.TCIDList.forEach(z => {
res.Data.forEach(j => {
if (z == j.ClassId) {
x.TCIDAndTCNUMList.push(j)
}
})
})
}
})
}).catch(() => {})
}
}
} else {
this.loading = false;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -252,7 +252,9 @@
this.getList();
},
created() {
if (this.$route.query.Name) {
this.msg.Name = this.$route.query.Name;
}
},
methods: {
cloStudyform() {
......
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