Commit c94ec921 by yuwei

项目初始化

parent 8edecfa3
......@@ -118,6 +118,7 @@
<el-divider content-position="left">返回数据</el-divider>
<el-row>
<el-col :span="24">
<div v-if="apiExecuting">
<el-table :data="callData.dataList" stripe border
:max-height="200"
style="width: 100%; margin: 15px 0;">
......@@ -145,6 +146,8 @@
:page-size.sync="callData.pageSize"
:total="callData.dataTotal"
></el-pagination>
</div>
<div v-else>暂无数据</div>
</el-col>
</el-row>
</div>
......@@ -189,6 +192,7 @@ export default {
whereTypeOptions: [],
// 参数类型数据字典
paramTypeOptions: [],
apiExecuting: false,
callData: {
dataList: [],
columnList: [],
......@@ -267,6 +271,7 @@ export default {
this.callData.dataList = dataList
this.callData.columnList = columnList
this.callData.dataTotal = data.total
this.apiExecuting = true
}
})
} else if (this.form.reqMethod === 'POST') {
......@@ -281,6 +286,7 @@ export default {
this.callData.dataList = dataList
this.callData.columnList = columnList
this.callData.dataTotal = data.total
this.apiExecuting = true
}
})
}
......
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