联调 承载能力评估 40%

This commit is contained in:
GGJ
2024-03-07 19:02:49 +08:00
parent f92e820986
commit 5b296d9203
10 changed files with 227 additions and 190 deletions

View File

@@ -4,13 +4,12 @@
<TableHeader datePicker ref="TableHeaderRef">
<template #select>
<el-form-item label="用户类型">
<el-select v-model="tableStore.table.params.searchValue" placeholder="请选择用户类型">
<el-option
v-for="item in userTypeList"
:key="item.id"
:label="item.label"
:value="item.id"
/>
<el-select
v-model="tableStore.table.params.userType"
clearable
collapse-tagsplaceholder="请选择用户类型"
>
<el-option v-for="item in uesrList" :key="item.id" :label="item.name" :value="item.id" />
</el-select>
</el-form-item>
</template>
@@ -90,7 +89,7 @@ defineOptions({
const height = mainHeight(20).height
const dictData = useDictData()
const levelList = dictData.getBasicData('Dev_Voltage_Stand')
const uesrList = dictData.getBasicData('Interference_Source')
const uesrList = dictData.getBasicData('CARRY_CAPCITY_USER_TYPE')
const view = ref(false)
const activeName = ref('1')
const disabled = ref(false)
@@ -98,7 +97,6 @@ const policyView = ref(false)
const addedShow = ref(true)
const TableHeaderRef = ref()
const title = ref('')
const userTypeList: any = ref([])
const form = ref({
name: '',
@@ -197,14 +195,18 @@ const tableStore = new TableStore({
]
}
})
tableStore.table.params.searchValue = ''
tableStore.table.params.userType = ''
tableStore.table.params.userId = dictData.state.area[0].id
provide('tableStore', tableStore)
onMounted(() => {
TableHeaderRef.value.setDatePicker([{ label: '周', value: 4 }])
TableHeaderRef.value.setInterval(4)
tableStore.index()
setTimeout(() => {
tableStore.table.params.startTime = TableHeaderRef.value.datePickerRef.timeValue[0]
tableStore.table.params.endTime = TableHeaderRef.value.datePickerRef.timeValue[1]
tableStore.index()
}, 100)
})
// 配置
const configuration = () => {