绘制技术监督页面 联调承载能力评估
This commit is contained in:
@@ -85,7 +85,7 @@ import { mainHeight } from '@/utils/layout'
|
||||
import { useDictData } from '@/stores/dictData'
|
||||
import { addUse, updateUse, removeUse } from '@/api/advance-boot/bearingCapacity'
|
||||
defineOptions({
|
||||
name: 'estimate/userManagement'
|
||||
name: 'estimate/photovoltaic'
|
||||
})
|
||||
const dictData = useDictData()
|
||||
const levelList = dictData.getBasicData('Dev_Voltage_Stand')
|
||||
@@ -131,6 +131,7 @@ const props = { label: 'name', value: 'id' }
|
||||
const ruleFormRef = ref()
|
||||
const tableStore = new TableStore({
|
||||
url: '/advance-boot/carrycapacityuser/queyDetailUser',
|
||||
// url: '/hzj/carrycapacityuser/queyDetailUser',
|
||||
method: 'POST',
|
||||
column: [
|
||||
// { width: '60', type: 'checkbox' },
|
||||
@@ -164,7 +165,7 @@ const tableStore = new TableStore({
|
||||
field: 'protocolCapacity',
|
||||
title: '用户协议容量(MVA)',
|
||||
formatter: (row: any) => {
|
||||
return uesrList.filter(item => item.id == row.row.userType)[0].code == 'Power_Station_Users'
|
||||
return uesrList.filter(item => item.id == row.row.userType)[0].code != 'Power_Station_Users'
|
||||
? row.cellValue
|
||||
: '/'
|
||||
}
|
||||
@@ -173,7 +174,7 @@ const tableStore = new TableStore({
|
||||
field: 'protocolCapacity',
|
||||
title: '拟接入容量(MVA)',
|
||||
formatter: (row: any) => {
|
||||
return uesrList.filter(item => item.id == row.row.userType)[0].code != 'Power_Station_Users'
|
||||
return uesrList.filter(item => item.id == row.row.userType)[0].code == 'Power_Station_Users'
|
||||
? row.cellValue
|
||||
: '/'
|
||||
}
|
||||
@@ -240,7 +241,10 @@ const tableStore = new TableStore({
|
||||
}
|
||||
],
|
||||
|
||||
loadCallback: () => {}
|
||||
loadCallback: () => {
|
||||
console.log(tableStore.table.data);
|
||||
|
||||
}
|
||||
})
|
||||
|
||||
tableStore.table.params.userType = ''
|
||||
|
||||
Reference in New Issue
Block a user