|
|
@ -1,8 +1,5 @@ |
|
|
|
<template> |
|
|
|
<div :style="{ |
|
|
|
'max-height': isMultiControl ? '250px' : undefined, 'overflow-y': isMultiControl ? 'auto' : undefined, |
|
|
|
'margin-left': isMultiControl ? '14px' : undefined |
|
|
|
}"> |
|
|
|
<div class="multi-control"> |
|
|
|
<ElTabs v-model="activeName" class="tabs" @tab-click="tabClick"> |
|
|
|
<ElTabPane label="一般模式" name="first"> |
|
|
|
<Form v-model="formData" class="form" ref="FormConfigRef" :formList="formList1" column="1" labelWidth="120px" /> |
|
|
@ -268,6 +265,11 @@ export default { |
|
|
|
methods: { |
|
|
|
async initData() { |
|
|
|
//查询模式 |
|
|
|
const options={ |
|
|
|
"ASK":"7" |
|
|
|
} |
|
|
|
let ask = await this.requestURL("ASKDF",options); |
|
|
|
|
|
|
|
let result = await this.requestURL("ASKMD"); |
|
|
|
// if (result.data == 7) { |
|
|
|
// this.activeName = "second"; |
|
|
@ -421,4 +423,10 @@ export default { |
|
|
|
}; |
|
|
|
</script> |
|
|
|
|
|
|
|
<style lang="scss" scoped></style> |
|
|
|
<style lang="scss" scoped> |
|
|
|
.multi-control { |
|
|
|
max-height: 450px; |
|
|
|
overflow-y: auto; |
|
|
|
margin-left: 14px; |
|
|
|
} |
|
|
|
</style> |
|
|
|