修改测试问题
This commit is contained in:
@@ -5,7 +5,12 @@
|
||||
</div>
|
||||
<!-- 填报页 -->
|
||||
<div v-if="fillInPage" style="height: 100%">
|
||||
<fillIn :reportId="reportId" :year="year" :startTime="startTime" :endTime="endTime" @change-data="updateData" />
|
||||
<fillIn
|
||||
:reportId="reportId"
|
||||
:year="year"
|
||||
:startTime="startTime"
|
||||
:endTime="endTime"
|
||||
@change-data="updateData" />
|
||||
</div>
|
||||
<!-- 新增报告弹窗 -->
|
||||
<a-drawer
|
||||
@@ -33,7 +38,7 @@
|
||||
<a-form-item label="报告周期" name="reportPeriod">
|
||||
<a-select
|
||||
v-model:value="formState.reportPeriod"
|
||||
placeholder="请选择排放类型"
|
||||
placeholder="请选择报告周期"
|
||||
@change="selectChange">
|
||||
<a-select-option value="1">年度</a-select-option>
|
||||
<a-select-option value="2">月度</a-select-option>
|
||||
@@ -81,7 +86,9 @@
|
||||
return year === Number(formState.value.reportYear) ? false : true;
|
||||
}
|
||||
};
|
||||
const selectChange = (value) => {};
|
||||
const selectChange = (value) => {
|
||||
formState.value.reportScope = '';
|
||||
};
|
||||
// 定义form表单的必填
|
||||
const rules: Record<string, Rule[]> = {
|
||||
reportName: [{ required: true, message: '请输入报告名称', trigger: 'change' }],
|
||||
|
Reference in New Issue
Block a user