|
@@ -2,9 +2,8 @@
|
|
/* eslint-disable vue/no-parsing-error */
|
|
/* eslint-disable vue/no-parsing-error */
|
|
/* eslint-disable no-unused-vars */
|
|
/* eslint-disable no-unused-vars */
|
|
<template style="height=0px;improtanent">
|
|
<template style="height=0px;improtanent">
|
|
- <div class="app-container">
|
|
|
|
- <el-header style="height: auto;!improtant">
|
|
|
|
- <div class="filter-container" style="padding-bottom: 20px;!improtant">
|
|
|
|
|
|
+ <div class="app-container" style="background-color: rgb(242, 243, 246);min-height: calc(100vh - 80px);padding: 1% 0px;">
|
|
|
|
+ <div class="filter-container stylus-head" style="padding-bottom: 20px;!improtant">
|
|
<el-input v-model="listQuery.id" placeholder="接口ID" style="width: 80px;" class="filter-item" @keyup.enter.native="handleFilter" />
|
|
<el-input v-model="listQuery.id" placeholder="接口ID" style="width: 80px;" class="filter-item" @keyup.enter.native="handleFilter" />
|
|
<el-input v-model="listQuery.customName" placeholder="名称" style="width: 150px;" class="filter-item" @keyup.enter.native="handleFilter" />
|
|
<el-input v-model="listQuery.customName" placeholder="名称" style="width: 150px;" class="filter-item" @keyup.enter.native="handleFilter" />
|
|
<el-input v-model="listQuery.interfaceName" placeholder="接口类名" style="width: 200px;" class="filter-item" @keyup.enter.native="handleFilter" />
|
|
<el-input v-model="listQuery.interfaceName" placeholder="接口类名" style="width: 200px;" class="filter-item" @keyup.enter.native="handleFilter" />
|
|
@@ -23,8 +22,8 @@
|
|
备注
|
|
备注
|
|
</el-checkbox>
|
|
</el-checkbox>
|
|
</div>
|
|
</div>
|
|
- </el-header>
|
|
|
|
<!-- <pagination v-show="total>0" :total="total" :page.sync="listQuery.page" :limit.sync="listQuery.limit" @pagination="getList" /> -->
|
|
<!-- <pagination v-show="total>0" :total="total" :page.sync="listQuery.page" :limit.sync="listQuery.limit" @pagination="getList" /> -->
|
|
|
|
+ <div class="stylus-content">
|
|
<el-table
|
|
<el-table
|
|
:key="tableKey"
|
|
:key="tableKey"
|
|
v-loading="listLoading"
|
|
v-loading="listLoading"
|
|
@@ -35,7 +34,7 @@
|
|
:header-cell-style="styleObj"
|
|
:header-cell-style="styleObj"
|
|
@sort-change="sortChange"
|
|
@sort-change="sortChange"
|
|
>
|
|
>
|
|
- <el-table-column label="接口ID" prop="id" sortable align="center" min-width="60">
|
|
|
|
|
|
+ <el-table-column label="ID" prop="id" sortable align="center" min-width="60">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span>{{ scope.row.id }}</span>
|
|
<span>{{ scope.row.id }}</span>
|
|
</template>
|
|
</template>
|
|
@@ -121,6 +120,7 @@
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
|
|
+ </div>
|
|
<pagination v-show="total>0" :total="total" :page.sync="listQuery.curIndex" :limit.sync="listQuery.pageSize" @pagination="getList" />
|
|
<pagination v-show="total>0" :total="total" :page.sync="listQuery.curIndex" :limit.sync="listQuery.pageSize" @pagination="getList" />
|
|
<el-dialog :title="textMap[dialogStatus]" :visible.sync="dialogFormVisible" width="65%" @open="dialogOpenInit()">
|
|
<el-dialog :title="textMap[dialogStatus]" :visible.sync="dialogFormVisible" width="65%" @open="dialogOpenInit()">
|
|
<el-form ref="serviceDataForm" :rules="serviceDataRules" :model="serviceData" label-position="left" label-width="120px" style="width: 500px; margin-left:80px;">
|
|
<el-form ref="serviceDataForm" :rules="serviceDataRules" :model="serviceData" label-position="left" label-width="120px" style="width: 500px; margin-left:80px;">
|
|
@@ -777,5 +777,19 @@ export default {
|
|
color: red;
|
|
color: red;
|
|
padding-left: 200px;
|
|
padding-left: 200px;
|
|
}
|
|
}
|
|
|
|
+.stylus-head {
|
|
|
|
+ width: 98%;
|
|
|
|
+ padding: 1%;
|
|
|
|
+ margin: 0 auto 1% auto;
|
|
|
|
+ background-color: #fff;
|
|
|
|
+ border-radius: 4px;
|
|
|
|
+}
|
|
|
|
+.stylus-content{
|
|
|
|
+ width: 98%;
|
|
|
|
+ padding: 0.3% 1% 1% 1%;
|
|
|
|
+ margin: 0 auto;
|
|
|
|
+ background-color: #fff;
|
|
|
|
+ border-radius: 4px;
|
|
|
|
+}
|
|
|
|
|
|
</style>
|
|
</style>
|