Commit a10830ac authored by zhengke's avatar zhengke

修改

parent caa36010
...@@ -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'
...@@ -234,20 +233,15 @@ ...@@ -234,20 +233,15 @@
this.getList(); this.getList();
}, },
created() { created() {
this.queryStudy(); let userInfo = this.getLocalStorage();
}, let StudyAbroadObj = userInfo.StudyAbroadObj;
methods: { StudyAbroadObj.forEach((x,index)=>{
queryStudy() {
queryStudyAbroadAudit({}).then(res => {
this.auditList = res.Data;
let userInfo = this.getLocalStorage();
this.auditList.forEach((x, index) => {
if (x.Id === userInfo.Id) { if (x.Id === userInfo.Id) {
this.AuditType = index + 1; this.AuditType = index + 1;
} }
})
}) })
}, },
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