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

页面修改

parent 577ec548
...@@ -22,6 +22,19 @@ export function getClassNameList(data) { ...@@ -22,6 +22,19 @@ export function getClassNameList(data) {
data data
}) })
} }
/**
* 根据 留学就业ids 获取留学就业信息
*
*/
export function queryStudyNameList(data) {
return request({
url: '/order/GetStudyNameList',
method: 'post',
data
})
}
/** /**
*获取简易报表数据 *获取简易报表数据
*/ */
......
...@@ -1233,7 +1233,8 @@ ...@@ -1233,7 +1233,8 @@
getSchoolPage getSchoolPage
} from '../../../api/school/index' } from '../../../api/school/index'
import { import {
getClassNameList getClassNameList,
queryStudyNameList
} from '../../../api/finance/index' } from '../../../api/finance/index'
export default { export default {
...@@ -1944,7 +1945,8 @@ ...@@ -1944,7 +1945,8 @@
this.total = res.data.data.count; this.total = res.data.data.count;
this.loading = false; this.loading = false;
this.noData = false; this.noData = false;
let da = [] let da = [];
let study = [];
if (this.total == 0) { if (this.total == 0) {
this.DataList = []; this.DataList = [];
this.noData = true; this.noData = true;
...@@ -1953,12 +1955,16 @@ ...@@ -1953,12 +1955,16 @@
x.modelShow = false; x.modelShow = false;
this.checkAllList.push(x.FrID) this.checkAllList.push(x.FrID)
if (x.TCIDList.length > 0) { 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; this.DataList = data;
if (da.length > 0) { if (da && da.length > 0) {
let str = da.join(',') let str = da.join(',')
getClassNameList({ getClassNameList({
ClassIds: str ClassIds: str
...@@ -1976,6 +1982,24 @@ ...@@ -1976,6 +1982,24 @@
}) })
}).catch(() => {}) }).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 { } else {
this.loading = false; 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 @@ ...@@ -252,7 +252,9 @@
this.getList(); this.getList();
}, },
created() { created() {
if (this.$route.query.Name) {
this.msg.Name = this.$route.query.Name;
}
}, },
methods: { methods: {
cloStudyform() { 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