报表调整
This commit is contained in:
@@ -21,21 +21,6 @@
|
|||||||
></el-option>
|
></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="报表类型:">
|
|
||||||
<el-select
|
|
||||||
:disabled="true"
|
|
||||||
v-model="reportForm"
|
|
||||||
:popper-append-to-body="false"
|
|
||||||
placeholder="请选择报表类型"
|
|
||||||
>
|
|
||||||
<el-option
|
|
||||||
v-for="item in reportFormList"
|
|
||||||
:key="item.value"
|
|
||||||
:label="item.label"
|
|
||||||
:value="item.value"
|
|
||||||
></el-option>
|
|
||||||
</el-select>
|
|
||||||
</el-form-item>
|
|
||||||
</template>
|
</template>
|
||||||
<template #operation>
|
<template #operation>
|
||||||
<el-button icon="el-icon-Download" type="primary" @click="exportEvent">导出excel</el-button>
|
<el-button icon="el-icon-Download" type="primary" @click="exportEvent">导出excel</el-button>
|
||||||
@@ -129,6 +114,8 @@ getTemplateByDept({ id: dictData.state.area[0].id }).then((res: any) => {
|
|||||||
Template.value = res.data[0]
|
Template.value = res.data[0]
|
||||||
reportForm.value = res.data[0]?.reportForm
|
reportForm.value = res.data[0]?.reportForm
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
const changetype = (val: any) => {
|
const changetype = (val: any) => {
|
||||||
reportForm.value = val.reportForm
|
reportForm.value = val.reportForm
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user