分支自 SuZhouGuanHong/TaiYuanTaiZhong

dengjunjie
2024-04-27 0b5ccdca6263cf7a2cee460f30c76ef1efea2811
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<template>
    <div>
        <!-- 详情弹窗 -->
        <vol-box :height="450" v-model="detialBox" :padding="15" title="日志详情">
         <div>
                id:{{ rowData.interface_id }}
                <hr />
                <b>时间:</b>
                {{ rowData.interface_createtime }}
                <br />
                <b>操作名称:</b>
                {{ rowData.interface_name }}
                <br />
                <b>描述:</b>
                {{ rowData.interface_remark }}
                <br />
                <b>错误信息:</b>
                <br />
                {{ rowData.interface_message }}
                <br />
                <br />
                <b>请求数据:</b>
                <br />
                <pre> {{ rowData.interface_paradata==""?rowData.interface_paradata:JSON.parse(rowData.interface_paradata) }}</pre>
                <br />
                <b>返回数据:</b>
                <pre>{{rowData.interface_returndata==""?rowData.interface_returndata:JSON.parse(rowData.interface_returndata)}}</pre>
            </div>  
        </vol-box>
    </div>
</template>
  
<script defer = "true">
import VolBox from "@/components/basic/VolBox.vue";
 
export default {
    components: { "vol-box": VolBox },
    methods: {},
    data() {
        return {
            detialBox: false,
            rowData: "",
        };
    },
    methods: {
        openDialog(row) {
            this.detialBox = true;
            this.rowData = row;
        }
    },
};
</script>
  
  
<style>
.formContainer {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
</style>