Commit b51285ac authored by 黄奎's avatar 黄奎
parents 9d402f20 a203cd99
......@@ -118,8 +118,7 @@
<script>
import {
queryStudyAbroadPage,
queryStudyAbroadAudit
queryStudyAbroadPage
} from '../../api/studyabroad/index'
import studyproauditForm from '../../components/studyAbroad/studyproaudit-form'
......@@ -235,22 +234,17 @@
this.getList();
},
created() {
this.queryStudy();
},
methods: {
queryStudy() {
queryStudyAbroadAudit({}).then(res => {
this.auditList = res.Data;
let userInfo = this.getLocalStorage();
this.auditList.forEach((x, index) => {
let userInfo = this.getLocalStorage();
let StudyAbroadObj = userInfo.StudyAbroadObj;
StudyAbroadObj.forEach((x,index)=>{
if (x.Id === userInfo.Id) {
console.log("index", index)
this.AuditType = index + 1;
console.log("this.AuditType", this.AuditType)
}
})
})
},
},
methods: {
//重新查询
resetSearch() {
this.msg.pageIndex = 1;
......
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