|
@@ -16,7 +16,7 @@
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
-import { getIndex } from '@/api/user'
|
|
|
|
|
|
+import { getIndex } from './api'
|
|
import baseinfo from './baseinfo'
|
|
import baseinfo from './baseinfo'
|
|
import abnormal from './abnormal'
|
|
import abnormal from './abnormal'
|
|
export default {
|
|
export default {
|
|
@@ -31,12 +31,14 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
mounted () {
|
|
mounted () {
|
|
- this.__init();
|
|
|
|
|
|
+ this.FetchDetail();
|
|
|
|
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- __init () {
|
|
|
|
-
|
|
|
|
|
|
+ async FetchDetail() {
|
|
|
|
+ try {
|
|
|
|
+ await getIndex()
|
|
|
|
+ } catch (error) {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|