暂降治理评估
This commit is contained in:
16
README.md
16
README.md
@@ -27,3 +27,19 @@ npm run dev
|
||||
|
||||
* todo...:待后续补充。
|
||||
|
||||
#### 开发助手
|
||||
##### 1、表格系列
|
||||
* 页面表格以及表格页面按钮的弹出等功能参考:/views/pqs/voltageSags/sagGovern/index.vue
|
||||
* 表格中需要替换数据:
|
||||
```js
|
||||
// 通过formatter函数返回实际需要返回的值
|
||||
{
|
||||
title: '数据来源', field: 'dataSource', minWidth: '130',
|
||||
formatter: (row: any) => {
|
||||
return row.dataSource == 0 ? '离线导入' : '监测点同步'
|
||||
}
|
||||
}
|
||||
```
|
||||
##### 2、样式系列
|
||||
* 获取当前主体的高度:import { mainHeight } from '@/utils/layout'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user