|
@@ -7,9 +7,9 @@
|
|
|
fit
|
|
fit
|
|
|
highlight-current-row
|
|
highlight-current-row
|
|
|
>
|
|
>
|
|
|
- <el-table-column label="标题" prop="title"/>
|
|
|
|
|
- <el-table-column label="方法名" prop="method" width="300"/>
|
|
|
|
|
- <el-table-column label="版本号" prop="version" width="150"/>
|
|
|
|
|
|
|
+ <el-table-column label="标题" prop="title" />
|
|
|
|
|
+ <el-table-column label="方法名" prop="method" width="300" />
|
|
|
|
|
+ <el-table-column label="版本号" prop="version" width="150" />
|
|
|
<el-table-column label="操作" width="70">
|
|
<el-table-column label="操作" width="70">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<el-button type="text" size="small" @click.native="showDetail(scope.row)">详情</el-button>
|
|
<el-button type="text" size="small" @click.native="showDetail(scope.row)">详情</el-button>
|
|
@@ -20,7 +20,8 @@
|
|
|
<el-drawer
|
|
<el-drawer
|
|
|
:title="currentDetail.title+'['+currentDetail.method+':'+currentDetail.version+']'"
|
|
:title="currentDetail.title+'['+currentDetail.method+':'+currentDetail.version+']'"
|
|
|
:visible.sync="showDrawer"
|
|
:visible.sync="showDrawer"
|
|
|
- direction="ltr">
|
|
|
|
|
|
|
+ direction="ltr"
|
|
|
|
|
+ >
|
|
|
<el-table
|
|
<el-table
|
|
|
v-loading="isLoading"
|
|
v-loading="isLoading"
|
|
|
:data="currentDetail.listFields"
|
|
:data="currentDetail.listFields"
|
|
@@ -28,14 +29,14 @@
|
|
|
fit
|
|
fit
|
|
|
highlight-current-row
|
|
highlight-current-row
|
|
|
>
|
|
>
|
|
|
- <el-table-column label="参数名" prop="name" width="150"/>
|
|
|
|
|
- <el-table-column label="类型" prop="type" width="100"/>
|
|
|
|
|
|
|
+ <el-table-column label="参数名" prop="name" width="150" />
|
|
|
|
|
+ <el-table-column label="类型" prop="type" width="100" />
|
|
|
<el-table-column label="必须">
|
|
<el-table-column label="必须">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
{{ scope.row.required ? '是' : '否' }}
|
|
{{ scope.row.required ? '是' : '否' }}
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
- <el-table-column label="说明" prop="describe"/>
|
|
|
|
|
|
|
+ <el-table-column label="说明" prop="describe" />
|
|
|
</el-table>
|
|
</el-table>
|
|
|
</el-drawer>
|
|
</el-drawer>
|
|
|
</div>
|
|
</div>
|