auth-service.vue 868 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <!--
  2. 鉴权服务日志详情
  3. @Author: linqian
  4. @Date: 2021-05-27 15:17
  5. -->
  6. <template>
  7. <div>
  8. <form-detail :detailInfo="detailInfo" :config="authServiceLogDetail" labelWidth="140px"></form-detail>
  9. </div>
  10. </template>
  11. <script>
  12. import formDetail from "@/pages/common/form-detail";
  13. import { authServiceLogDetail } from "../DataConfig";
  14. import { getAuthServiceLogDetail } from "@/api/permiss-log-manage";
  15. export default {
  16. props: {
  17. id: [String, Number]
  18. },
  19. components: {
  20. formDetail
  21. },
  22. data() {
  23. return {
  24. authServiceLogDetail,
  25. detailInfo: {}
  26. };
  27. },
  28. computed: {},
  29. methods: {},
  30. created() {
  31. getAuthServiceLogDetail(this.id).then((res) => {
  32. this.detailInfo = res.data.content;
  33. });
  34. },
  35. mounted() {}
  36. };
  37. </script>
  38. <style lang='scss'>
  39. </style>