|
@@ -1591,95 +1591,44 @@ export const formComponents = [
|
|
height: 0,
|
|
height: 0,
|
|
disableAnchor: true,
|
|
disableAnchor: true,
|
|
// disableSize: true,
|
|
// disableSize: true,
|
|
- colWidth: 40,
|
|
|
|
|
|
+ colWidth: 80,
|
|
rowHeight: 30,
|
|
rowHeight: 30,
|
|
rowHeaders:true,
|
|
rowHeaders:true,
|
|
colHeaders:true,
|
|
colHeaders:true,
|
|
maxNum:16,
|
|
maxNum:16,
|
|
|
|
+ textColor:'#E3E8F4',
|
|
|
|
+ background:'#10131A',
|
|
tableType:'longlist',
|
|
tableType:'longlist',
|
|
mergeCells: [
|
|
mergeCells: [
|
|
{ row: 1, col: 1, rowspan: 3, colspan: 3 },
|
|
{ row: 1, col: 1, rowspan: 3, colspan: 3 },
|
|
{ row: 3, col: 4, rowspan: 2, colspan: 2 },
|
|
{ row: 3, col: 4, rowspan: 2, colspan: 2 },
|
|
{ row: 5, col: 6, rowspan: 3, colspan: 2 }
|
|
{ row: 5, col: 6, rowspan: 3, colspan: 2 }
|
|
],
|
|
],
|
|
- // styles: [
|
|
|
|
- // {
|
|
|
|
- // row: 1,
|
|
|
|
- // col: 1,
|
|
|
|
- // color: '#ff0000',
|
|
|
|
- // background: '#ffff00',
|
|
|
|
- // wheres: [
|
|
|
|
- // //触发条件 成立后才允许配置样式
|
|
|
|
- // {
|
|
|
|
- // comparison: '<=',
|
|
|
|
- // value: '123',
|
|
|
|
- // },
|
|
|
|
- // ],
|
|
|
|
- // },
|
|
|
|
- // {
|
|
|
|
- // row: 0,
|
|
|
|
- // height: 60,
|
|
|
|
- // },
|
|
|
|
- // {
|
|
|
|
- // col: 4,
|
|
|
|
- // width: 200, //为该列设置额外的节点
|
|
|
|
- // pens: [
|
|
|
|
- // {
|
|
|
|
- // name: 'rectangle',
|
|
|
|
- // width: 50,
|
|
|
|
- // height: 20,
|
|
|
|
- // text: '编辑',
|
|
|
|
- // fontSize: 0.6,
|
|
|
|
- // disableAnchor: true,
|
|
|
|
- // activeBackground: '#2D71EC',
|
|
|
|
- // activeColor: '#40a9ff',
|
|
|
|
- // background: '#4583FF',
|
|
|
|
- // color: '#1890ff',
|
|
|
|
- // hoverBackground: '#7DA4FF',
|
|
|
|
- // hoverColor: '#40a9ff',
|
|
|
|
- // textColor: '#ffffff',
|
|
|
|
- // hoverTextColor: '#ffffff',
|
|
|
|
- // activeTextColor: '#ffffff',
|
|
|
|
- // events: [
|
|
|
|
- // {
|
|
|
|
- // action: 5,
|
|
|
|
- // name: 'click',
|
|
|
|
- // value: 'alert("点击了编辑")',
|
|
|
|
- // },
|
|
|
|
- // ],
|
|
|
|
- // },
|
|
|
|
- // {
|
|
|
|
- // name: 'rectangle',
|
|
|
|
- // width: 80,
|
|
|
|
- // height: 20,
|
|
|
|
- // text: '实时数据',
|
|
|
|
- // fontSize: 0.6,
|
|
|
|
- // disableAnchor: true,
|
|
|
|
- // activeBackground: '#2D71EC',
|
|
|
|
- // activeColor: '#40a9ff',
|
|
|
|
- // background: '#4583FF',
|
|
|
|
- // color: '#1890ff',
|
|
|
|
- // hoverBackground: '#7DA4FF',
|
|
|
|
- // hoverColor: '#40a9ff',
|
|
|
|
- // textColor: '#ffffff',
|
|
|
|
- // hoverTextColor: '#ffffff',
|
|
|
|
- // activeTextColor: '#ffffff',
|
|
|
|
- // events: [
|
|
|
|
- // {
|
|
|
|
- // action: 5,
|
|
|
|
- // name: 'click',
|
|
|
|
- // value: 'alert("点击了实时数据")',
|
|
|
|
- // },
|
|
|
|
- // ],
|
|
|
|
- // },
|
|
|
|
- // ],
|
|
|
|
- // },
|
|
|
|
- // ],
|
|
|
|
|
|
+ styles:[
|
|
|
|
+ {
|
|
|
|
+ row:0,
|
|
|
|
+ background:'#303746',
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ col:0,
|
|
|
|
+ background:'#303746',
|
|
|
|
+ }
|
|
|
|
+ ],
|
|
props: {
|
|
props: {
|
|
custom: [
|
|
custom: [
|
|
{
|
|
{
|
|
- key: 'rowHeaders',
|
|
|
|
- label: '行头显示',
|
|
|
|
|
|
+ key: 'bordered',
|
|
|
|
+ label: '边框',
|
|
|
|
+ type: 'bool',
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ key: 'vLine',
|
|
|
|
+ label: '垂直线',
|
|
|
|
+ type: 'bool',
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ key: 'hLine',
|
|
|
|
+ label: '水平线',
|
|
type: 'bool',
|
|
type: 'bool',
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -2146,7 +2095,7 @@ export const formComponents = [
|
|
pagination: {
|
|
pagination: {
|
|
current: 1,
|
|
current: 1,
|
|
maxPageBtn: 5,
|
|
maxPageBtn: 5,
|
|
- pageSize: 20,
|
|
|
|
|
|
+ pageSize: 10,
|
|
pageSizeOptions: [
|
|
pageSizeOptions: [
|
|
5,
|
|
5,
|
|
10,
|
|
10,
|
|
@@ -2400,206 +2349,6 @@ export const formComponents = [
|
|
]
|
|
]
|
|
}
|
|
}
|
|
],
|
|
],
|
|
- [
|
|
|
|
- "智慧工厂",
|
|
|
|
- "01888a79-9d70-70ad-803e-767682ff0962",
|
|
|
|
- "智能预制泵站",
|
|
|
|
- {
|
|
|
|
- "events": [
|
|
|
|
- {
|
|
|
|
- "actions": [
|
|
|
|
- {
|
|
|
|
- "action": 0,
|
|
|
|
- "params": "_blank",
|
|
|
|
- "value": "https://view.le5le.com/2d?id=01888a79-9d70-70ad-803e-767682ff0962"
|
|
|
|
- }
|
|
|
|
- ],
|
|
|
|
- "conditions": [],
|
|
|
|
- "name": "click"
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
- }
|
|
|
|
- ],
|
|
|
|
- [
|
|
|
|
- "智慧物联",
|
|
|
|
- "01840e88-00e8-70d4-804b-9402de84d2f3",
|
|
|
|
- "锅炉房",
|
|
|
|
- {
|
|
|
|
- "events": [
|
|
|
|
- {
|
|
|
|
- "actions": [
|
|
|
|
- {
|
|
|
|
- "action": 0,
|
|
|
|
- "params": "_blank",
|
|
|
|
- "value": "https://view.le5le.com/2d?id=01840e88-00e8-70d4-804b-9402de84d2f3"
|
|
|
|
- }
|
|
|
|
- ],
|
|
|
|
- "conditions": [],
|
|
|
|
- "name": "click"
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
- }
|
|
|
|
- ],
|
|
|
|
- [
|
|
|
|
- "智慧工厂",
|
|
|
|
- "0180abf4-d170-709d-80ac-35b389088ca8",
|
|
|
|
- "火电厂生产过程示意图",
|
|
|
|
- {
|
|
|
|
- "events": [
|
|
|
|
- {
|
|
|
|
- "actions": [
|
|
|
|
- {
|
|
|
|
- "action": 0,
|
|
|
|
- "params": "_blank",
|
|
|
|
- "value": "https://view.le5le.com/2d?id=0180abf4-d170-709d-80ac-35b389088ca8"
|
|
|
|
- }
|
|
|
|
- ],
|
|
|
|
- "conditions": [],
|
|
|
|
- "name": "click"
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
- }
|
|
|
|
- ],
|
|
|
|
- [
|
|
|
|
- "智慧工厂",
|
|
|
|
- "01840e73-e090-70d4-804b-9402de84d2ea",
|
|
|
|
- "制冷站",
|
|
|
|
- {
|
|
|
|
- "events": [
|
|
|
|
- {
|
|
|
|
- "actions": [
|
|
|
|
- {
|
|
|
|
- "action": 0,
|
|
|
|
- "params": "_blank",
|
|
|
|
- "value": "https://view.le5le.com/2d?id=01840e73-e090-70d4-804b-9402de84d2ea"
|
|
|
|
- }
|
|
|
|
- ],
|
|
|
|
- "conditions": [],
|
|
|
|
- "name": "click"
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
- }
|
|
|
|
- ],
|
|
|
|
- [
|
|
|
|
- "智慧物联",
|
|
|
|
- "0179c5f5-1d70-70fd-8058-e60001871e89",
|
|
|
|
- "燃气管道远程监控系统",
|
|
|
|
- {
|
|
|
|
- "events": [
|
|
|
|
- {
|
|
|
|
- "actions": [
|
|
|
|
- {
|
|
|
|
- "action": 0,
|
|
|
|
- "params": "_blank",
|
|
|
|
- "value": "https://view.le5le.com/2d?id=0179c5f5-1d70-70fd-8058-e60001871e89"
|
|
|
|
- }
|
|
|
|
- ],
|
|
|
|
- "conditions": [],
|
|
|
|
- "name": "click"
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
- }
|
|
|
|
- ],
|
|
|
|
- [
|
|
|
|
- "智慧工厂",
|
|
|
|
- "01869188-d448-7073-804c-5807bdf1ecb5",
|
|
|
|
- "汽车涂装生产线",
|
|
|
|
- {
|
|
|
|
- "events": [
|
|
|
|
- {
|
|
|
|
- "actions": [
|
|
|
|
- {
|
|
|
|
- "action": 0,
|
|
|
|
- "params": "_blank",
|
|
|
|
- "value": "https://view.le5le.com/2d?id=01869188-d448-7073-804c-5807bdf1ecb5"
|
|
|
|
- }
|
|
|
|
- ],
|
|
|
|
- "conditions": [],
|
|
|
|
- "name": "click"
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
- }
|
|
|
|
- ],
|
|
|
|
- [
|
|
|
|
- "智慧工厂",
|
|
|
|
- "018431db-bc38-70da-8009-62a797f1ab75",
|
|
|
|
- "废气治理",
|
|
|
|
- {
|
|
|
|
- "events": [
|
|
|
|
- {
|
|
|
|
- "actions": [
|
|
|
|
- {
|
|
|
|
- "action": 0,
|
|
|
|
- "params": "_blank",
|
|
|
|
- "value": "https://view.le5le.com/2d?id=018431db-bc38-70da-8009-62a797f1ab75"
|
|
|
|
- }
|
|
|
|
- ],
|
|
|
|
- "conditions": [],
|
|
|
|
- "name": "click"
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
- }
|
|
|
|
- ],
|
|
|
|
- [
|
|
|
|
- "电力能源",
|
|
|
|
- "016effb2-56a0-7060-8025-d729abf23681",
|
|
|
|
- "电网单线图",
|
|
|
|
- {
|
|
|
|
- "events": [
|
|
|
|
- {
|
|
|
|
- "actions": [
|
|
|
|
- {
|
|
|
|
- "action": 0,
|
|
|
|
- "params": "_blank",
|
|
|
|
- "value": "https://view.le5le.com/2d?id=016effb2-56a0-7060-8025-d729abf23681"
|
|
|
|
- }
|
|
|
|
- ],
|
|
|
|
- "conditions": [],
|
|
|
|
- "name": "click"
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
- }
|
|
|
|
- ],
|
|
|
|
- [
|
|
|
|
- "智慧城市",
|
|
|
|
- "01840e7f-fe20-70d4-804b-9402de84d2f0",
|
|
|
|
- "智慧城市",
|
|
|
|
- {
|
|
|
|
- "events": [
|
|
|
|
- {
|
|
|
|
- "actions": [
|
|
|
|
- {
|
|
|
|
- "action": 0,
|
|
|
|
- "params": "_blank",
|
|
|
|
- "value": "https://view.le5le.com/2d?id=01840e7f-fe20-70d4-804b-9402de84d2f0"
|
|
|
|
- }
|
|
|
|
- ],
|
|
|
|
- "conditions": [],
|
|
|
|
- "name": "click"
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
- }
|
|
|
|
- ],
|
|
|
|
- [
|
|
|
|
- "电力能源",
|
|
|
|
- "01796382-43c0-7070-80c5-ce0001cdb895吾问无为谓哇哇哇哇哇哇哇哇哇哇哇哇哇哇哇哇哇哇哇哇哇哇哇哇dd",
|
|
|
|
- "高压一次图",
|
|
|
|
- {
|
|
|
|
- "events": [
|
|
|
|
- {
|
|
|
|
- "actions": [
|
|
|
|
- {
|
|
|
|
- "action": 0,
|
|
|
|
- "params": "_blank",
|
|
|
|
- "value": "https://view.le5le.com/2d?id=01796382-43c0-7070-80c5-ce0001cdb895"
|
|
|
|
- }
|
|
|
|
- ],
|
|
|
|
- "conditions": [],
|
|
|
|
- "name": "click"
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
- }
|
|
|
|
- ]
|
|
|
|
],
|
|
],
|
|
styles: [
|
|
styles: [
|
|
{
|
|
{
|
|
@@ -2621,7 +2370,6 @@ export const formComponents = [
|
|
]
|
|
]
|
|
}
|
|
}
|
|
],
|
|
],
|
|
-
|
|
|
|
props: {
|
|
props: {
|
|
custom: [
|
|
custom: [
|
|
{
|
|
{
|