yxk-20260507-党委会表单字典添加:年份、密级、完成状态、紧急程度

This commit is contained in:
ye1023
2026-05-08 10:18:56 +08:00
parent b610d3d0f8
commit b207f47639
2 changed files with 81 additions and 78 deletions
@@ -6,12 +6,12 @@
<a-row>
<a-col :span="12">
<a-form-item label="年份" v-bind="validateInfos.year" id="BgPartymatterForm-year" name="year">
<a-input v-model:value="formData.year" placeholder="请输入年份" allow-clear ></a-input>
<j-dict-select-tag v-model:value="formData.year" dictCode="super_year" placeholder="请选择年份" allow-clear />
</a-form-item>
</a-col>
<a-col :span="12">
<a-form-item label="密级" v-bind="validateInfos.secretLevel" id="BgPartymatterForm-secretLevel" name="secretLevel">
<a-input v-model:value="formData.secretLevel" placeholder="请输入密级" allow-clear ></a-input>
<j-dict-select-tag v-model:value="formData.secretLevel" dictCode="secret_level" placeholder="请选择密级" allow-clear />
</a-form-item>
</a-col>
<a-col :span="12">
@@ -51,7 +51,7 @@
</a-col>
<a-col :span="12">
<a-form-item label="完成状态" v-bind="validateInfos.bpmStatus" id="BgPartymatterForm-bpmStatus" name="bpmStatus">
<a-input v-model:value="formData.bpmStatus" placeholder="请输入完成状态" allow-clear ></a-input>
<j-dict-select-tag v-model:value="formData.bpmStatus" dictCode="super_status" placeholder="请选择完成状态" allow-clear />
</a-form-item>
</a-col>
<a-col :span="12">
@@ -66,7 +66,7 @@
</a-col>
<a-col :span="12">
<a-form-item label="紧急程度" v-bind="validateInfos.urgencyLevel" id="BgPartymatterForm-urgencyLevel" name="urgencyLevel">
<a-input v-model:value="formData.urgencyLevel" placeholder="请输入紧急程度" allow-clear ></a-input>
<j-dict-select-tag v-model:value="formData.urgencyLevel" dictCode="urgency_level" placeholder="请选择紧急程度" allow-clear />
</a-form-item>
</a-col>
<a-col :span="12">
@@ -89,26 +89,26 @@
<j-select-user v-model:value="formData.suoleaderid" allow-clear />
</a-form-item>
</a-col>
<a-col :span="12">
<a-form-item label="是否需要重复督办" v-bind="validateInfos.isNeedInterval" id="BgPartymatterForm-isNeedInterval" name="isNeedInterval">
<a-input v-model:value="formData.isNeedInterval" placeholder="请输入是否需要重复督办" allow-clear ></a-input>
</a-form-item>
</a-col>
<a-col :span="12">
<a-form-item label="重复类型" v-bind="validateInfos.intervalType" id="BgPartymatterForm-intervalType" name="intervalType">
<a-input v-model:value="formData.intervalType" placeholder="请输入重复类型" allow-clear ></a-input>
</a-form-item>
</a-col>
<a-col :span="12">
<a-form-item label="重复次数" v-bind="validateInfos.startCount" id="BgPartymatterForm-startCount" name="startCount">
<a-input v-model:value="formData.startCount" placeholder="请输入重复次数" allow-clear ></a-input>
</a-form-item>
</a-col>
<a-col :span="12">
<a-form-item label="重复开始时间" v-bind="validateInfos.intervalStartTime" id="BgPartymatterForm-intervalStartTime" name="intervalStartTime">
<a-date-picker placeholder="请选择重复开始时间" v-model:value="formData.intervalStartTime" value-format="YYYY-MM-DD" style="width: 100%" allow-clear />
</a-form-item>
</a-col>
<!-- <a-col :span="12">-->
<!-- <a-form-item label="是否需要重复督办" v-bind="validateInfos.isNeedInterval" id="BgPartymatterForm-isNeedInterval" name="isNeedInterval">-->
<!-- <a-input v-model:value="formData.isNeedInterval" placeholder="请输入是否需要重复督办" allow-clear ></a-input>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :span="12">-->
<!-- <a-form-item label="重复类型" v-bind="validateInfos.intervalType" id="BgPartymatterForm-intervalType" name="intervalType">-->
<!-- <a-input v-model:value="formData.intervalType" placeholder="请输入重复类型" allow-clear ></a-input>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :span="12">-->
<!-- <a-form-item label="重复次数" v-bind="validateInfos.startCount" id="BgPartymatterForm-startCount" name="startCount">-->
<!-- <a-input v-model:value="formData.startCount" placeholder="请输入重复次数" allow-clear ></a-input>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :span="12">-->
<!-- <a-form-item label="重复开始时间" v-bind="validateInfos.intervalStartTime" id="BgPartymatterForm-intervalStartTime" name="intervalStartTime">-->
<!-- <a-date-picker placeholder="请选择重复开始时间" v-model:value="formData.intervalStartTime" value-format="YYYY-MM-DD" style="width: 100%" allow-clear />-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<a-col v-if="showFlowSubmitButton" :span="24" style="width: 100%;text-align: center;">
<a-button preIcon="ant-design:check-outlined" style="width: 126px" type="primary" @click="submitForm"> </a-button>
</a-col>
@@ -126,6 +126,7 @@
import JSwitch from '/@/components/Form/src/jeecg/components/JSwitch.vue';
import JSelectDept from '/@/components/Form/src/jeecg/components/JSelectDept.vue';
import JSelectUser from '/@/components/Form/src/jeecg/components/JSelectUser.vue';
import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue';
import { getValueType } from '/@/utils';
import { saveOrUpdate } from '../BgPartymatter.api';
import { Form } from 'ant-design-vue';
@@ -140,22 +141,23 @@
const emit = defineEmits(['register', 'ok']);
const formData = reactive<Record<string, any>>({
id: '',
year: '',
number: '',
matterTime: '',
title: '',
content: '',
matterCode: '',
responDeptid: '',
actualExect: '',
bpmStatus: '',
superviseCount: '',
deadline: '',
urgencyLevel: '',
isNeedAppro: '',
isNeedSuoleader: '',
suoleaderid: '',
delFlag: '',
year: '',
secretLevel: '',
number: '',
matterTime: '',
title: '',
content: '',
matterCode: '',
responDeptid: '',
actualExect: '',
bpmStatus: '1',
superviseCount: '',
deadline: '',
urgencyLevel: '1',
isNeedAppro: '',
isNeedSuoleader: '',
suoleaderid: '',
delFlag: '',
isNeedInterval:'',
startCount:'',
intervalType:'',