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