yxk-20260507-党委会表单字典添加:年份、密级、完成状态、紧急程度
This commit is contained in:
@@ -8,17 +8,18 @@ export const columns: BasicColumn[] = [
|
|||||||
{
|
{
|
||||||
title: '督办次数',
|
title: '督办次数',
|
||||||
align:"center",
|
align:"center",
|
||||||
dataIndex: 'superviseCount'
|
dataIndex: 'superviseCount',
|
||||||
|
width: '100px',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '事项名称',
|
||||||
|
align:"center",
|
||||||
|
dataIndex: 'title'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '年份',
|
title: '年份',
|
||||||
align:"center",
|
align:"center",
|
||||||
dataIndex: 'year',
|
dataIndex: 'year_dictText',
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '密级',
|
|
||||||
align:"center",
|
|
||||||
dataIndex: 'secretLevel_dictText',
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '序号',
|
title: '序号',
|
||||||
@@ -34,11 +35,6 @@ export const columns: BasicColumn[] = [
|
|||||||
return text;
|
return text;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
|
||||||
title: '事项名称',
|
|
||||||
align:"center",
|
|
||||||
dataIndex: 'title'
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
title: '会议决议',
|
title: '会议决议',
|
||||||
align:"center",
|
align:"center",
|
||||||
@@ -59,11 +55,6 @@ export const columns: BasicColumn[] = [
|
|||||||
align:"center",
|
align:"center",
|
||||||
dataIndex: 'actualExect'
|
dataIndex: 'actualExect'
|
||||||
},
|
},
|
||||||
{
|
|
||||||
title: '完成状态',
|
|
||||||
align:"center",
|
|
||||||
dataIndex: 'bpmStatus'
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
title: '要求完成日期',
|
title: '要求完成日期',
|
||||||
align:"center",
|
align:"center",
|
||||||
@@ -76,34 +67,44 @@ export const columns: BasicColumn[] = [
|
|||||||
{
|
{
|
||||||
title: '紧急程度',
|
title: '紧急程度',
|
||||||
align:"center",
|
align:"center",
|
||||||
dataIndex: 'urgencyLevel',
|
dataIndex: 'urgencyLevel_dictText',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '是否需要所办领导审批',
|
title: '密级',
|
||||||
align:"center",
|
align:"center",
|
||||||
dataIndex: 'isNeedAppro',
|
dataIndex: 'secretLevel_dictText',
|
||||||
customRender:({text}) => {
|
|
||||||
return render.renderSwitch(text, [{text:'是',value:'1'},{text:'否',value:'0'}])
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '所办领导',
|
title: '完成状态',
|
||||||
align:"center",
|
align:"center",
|
||||||
dataIndex: 'supDeptleaderid_dictText'
|
dataIndex: 'bpmStatus_dictText'
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '是否抄送所领导',
|
|
||||||
align:"center",
|
|
||||||
dataIndex: 'isNeedSuoleader',
|
|
||||||
customRender:({text}) => {
|
|
||||||
return render.renderSwitch(text, [{text:'是',value:'1'},{text:'否',value:'0'}])
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: '抄送所领导',
|
|
||||||
align:"center",
|
|
||||||
dataIndex: 'suoleaderid_dictText'
|
|
||||||
},
|
},
|
||||||
|
// {
|
||||||
|
// title: '是否需要所办领导审批',
|
||||||
|
// align:"center",
|
||||||
|
// dataIndex: 'isNeedAppro',
|
||||||
|
// customRender:({text}) => {
|
||||||
|
// return render.renderSwitch(text, [{text:'是',value:'1'},{text:'否',value:'0'}])
|
||||||
|
// },
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// title: '所办领导',
|
||||||
|
// align:"center",
|
||||||
|
// dataIndex: 'supDeptleaderid_dictText'
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// title: '是否抄送所领导',
|
||||||
|
// align:"center",
|
||||||
|
// dataIndex: 'isNeedSuoleader',
|
||||||
|
// customRender:({text}) => {
|
||||||
|
// return render.renderSwitch(text, [{text:'是',value:'1'},{text:'否',value:'0'}])
|
||||||
|
// },
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// title: '抄送所领导',
|
||||||
|
// align:"center",
|
||||||
|
// dataIndex: 'suoleaderid_dictText'
|
||||||
|
// },
|
||||||
];
|
];
|
||||||
|
|
||||||
//子表列表数据
|
//子表列表数据
|
||||||
|
|||||||
@@ -6,12 +6,12 @@
|
|||||||
<a-row>
|
<a-row>
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<a-form-item label="年份" v-bind="validateInfos.year" id="BgPartymatterForm-year" name="year">
|
<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-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<a-form-item label="密级" v-bind="validateInfos.secretLevel" id="BgPartymatterForm-secretLevel" name="secretLevel">
|
<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-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
@@ -51,7 +51,7 @@
|
|||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<a-form-item label="完成状态" v-bind="validateInfos.bpmStatus" id="BgPartymatterForm-bpmStatus" name="bpmStatus">
|
<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-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
@@ -66,7 +66,7 @@
|
|||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<a-form-item label="紧急程度" v-bind="validateInfos.urgencyLevel" id="BgPartymatterForm-urgencyLevel" name="urgencyLevel">
|
<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-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
@@ -89,26 +89,26 @@
|
|||||||
<j-select-user v-model:value="formData.suoleaderid" allow-clear />
|
<j-select-user v-model:value="formData.suoleaderid" allow-clear />
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="12">
|
<!-- <a-col :span="12">-->
|
||||||
<a-form-item label="是否需要重复督办" v-bind="validateInfos.isNeedInterval" id="BgPartymatterForm-isNeedInterval" name="isNeedInterval">
|
<!-- <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-input v-model:value="formData.isNeedInterval" placeholder="请输入是否需要重复督办" allow-clear ></a-input>-->
|
||||||
</a-form-item>
|
<!-- </a-form-item>-->
|
||||||
</a-col>
|
<!-- </a-col>-->
|
||||||
<a-col :span="12">
|
<!-- <a-col :span="12">-->
|
||||||
<a-form-item label="重复类型" v-bind="validateInfos.intervalType" id="BgPartymatterForm-intervalType" name="intervalType">
|
<!-- <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-input v-model:value="formData.intervalType" placeholder="请输入重复类型" allow-clear ></a-input>-->
|
||||||
</a-form-item>
|
<!-- </a-form-item>-->
|
||||||
</a-col>
|
<!-- </a-col>-->
|
||||||
<a-col :span="12">
|
<!-- <a-col :span="12">-->
|
||||||
<a-form-item label="重复次数" v-bind="validateInfos.startCount" id="BgPartymatterForm-startCount" name="startCount">
|
<!-- <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-input v-model:value="formData.startCount" placeholder="请输入重复次数" allow-clear ></a-input>-->
|
||||||
</a-form-item>
|
<!-- </a-form-item>-->
|
||||||
</a-col>
|
<!-- </a-col>-->
|
||||||
<a-col :span="12">
|
<!-- <a-col :span="12">-->
|
||||||
<a-form-item label="重复开始时间" v-bind="validateInfos.intervalStartTime" id="BgPartymatterForm-intervalStartTime" name="intervalStartTime">
|
<!-- <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-date-picker placeholder="请选择重复开始时间" v-model:value="formData.intervalStartTime" value-format="YYYY-MM-DD" style="width: 100%" allow-clear />-->
|
||||||
</a-form-item>
|
<!-- </a-form-item>-->
|
||||||
</a-col>
|
<!-- </a-col>-->
|
||||||
<a-col v-if="showFlowSubmitButton" :span="24" style="width: 100%;text-align: center;">
|
<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-button preIcon="ant-design:check-outlined" style="width: 126px" type="primary" @click="submitForm">提 交</a-button>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -126,6 +126,7 @@
|
|||||||
import JSwitch from '/@/components/Form/src/jeecg/components/JSwitch.vue';
|
import JSwitch from '/@/components/Form/src/jeecg/components/JSwitch.vue';
|
||||||
import JSelectDept from '/@/components/Form/src/jeecg/components/JSelectDept.vue';
|
import JSelectDept from '/@/components/Form/src/jeecg/components/JSelectDept.vue';
|
||||||
import JSelectUser from '/@/components/Form/src/jeecg/components/JSelectUser.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 { getValueType } from '/@/utils';
|
||||||
import { saveOrUpdate } from '../BgPartymatter.api';
|
import { saveOrUpdate } from '../BgPartymatter.api';
|
||||||
import { Form } from 'ant-design-vue';
|
import { Form } from 'ant-design-vue';
|
||||||
@@ -140,22 +141,23 @@
|
|||||||
const emit = defineEmits(['register', 'ok']);
|
const emit = defineEmits(['register', 'ok']);
|
||||||
const formData = reactive<Record<string, any>>({
|
const formData = reactive<Record<string, any>>({
|
||||||
id: '',
|
id: '',
|
||||||
year: '',
|
year: '',
|
||||||
number: '',
|
secretLevel: '',
|
||||||
matterTime: '',
|
number: '',
|
||||||
title: '',
|
matterTime: '',
|
||||||
content: '',
|
title: '',
|
||||||
matterCode: '',
|
content: '',
|
||||||
responDeptid: '',
|
matterCode: '',
|
||||||
actualExect: '',
|
responDeptid: '',
|
||||||
bpmStatus: '',
|
actualExect: '',
|
||||||
superviseCount: '',
|
bpmStatus: '1',
|
||||||
deadline: '',
|
superviseCount: '',
|
||||||
urgencyLevel: '',
|
deadline: '',
|
||||||
isNeedAppro: '',
|
urgencyLevel: '1',
|
||||||
isNeedSuoleader: '',
|
isNeedAppro: '',
|
||||||
suoleaderid: '',
|
isNeedSuoleader: '',
|
||||||
delFlag: '',
|
suoleaderid: '',
|
||||||
|
delFlag: '',
|
||||||
isNeedInterval:'',
|
isNeedInterval:'',
|
||||||
startCount:'',
|
startCount:'',
|
||||||
intervalType:'',
|
intervalType:'',
|
||||||
|
|||||||
Reference in New Issue
Block a user