修改 提示
This commit is contained in:
@@ -5,18 +5,18 @@ import { Method } from 'axios'
|
|||||||
import { mainHeight } from '@/utils/layout'
|
import { mainHeight } from '@/utils/layout'
|
||||||
|
|
||||||
interface TableStoreParams {
|
interface TableStoreParams {
|
||||||
url: string
|
url: string // 请求地址
|
||||||
pk?: string
|
pk?: string
|
||||||
column: TableColumn[]
|
column: TableColumn[]
|
||||||
params?: anyObj
|
params?: anyObj
|
||||||
method?: Method
|
method?: Method // 请求方式
|
||||||
isWebPaging?: boolean // 是否前端分页
|
isWebPaging?: boolean // 是否前端分页
|
||||||
showPage?: boolean
|
showPage?: boolean //是否需要分页
|
||||||
paramsPOST?: boolean
|
paramsPOST?: boolean // post请求 params传参
|
||||||
publicHeight?: number
|
publicHeight?: number //计算高度
|
||||||
resetCallback?: () => void
|
resetCallback?: () => void // 重置
|
||||||
loadCallback?: () => void
|
loadCallback?: () => void // 接口调用后的回调
|
||||||
beforeSearchFun?: () => void
|
beforeSearchFun?: () => void // 接口调用前的回调
|
||||||
}
|
}
|
||||||
|
|
||||||
export default class TableStore {
|
export default class TableStore {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<el-form-item label="信息查询">
|
<el-form-item label="信息查询">
|
||||||
<el-input
|
<el-input
|
||||||
style="width: 200px"
|
style="width: 200px"
|
||||||
placeholder="请输入变电站名称"
|
placeholder="请输入变电站/监测点名称"
|
||||||
v-model="tableStore.table.params.searchValue"
|
v-model="tableStore.table.params.searchValue"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
|
|||||||
Reference in New Issue
Block a user