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