diff --git a/src/components/semri/process/FlowScheduleStartModalForBG.vue b/src/components/semri/process/FlowScheduleStartModalForBG.vue
index b0bbadd..11a0f0a 100644
--- a/src/components/semri/process/FlowScheduleStartModalForBG.vue
+++ b/src/components/semri/process/FlowScheduleStartModalForBG.vue
@@ -12,8 +12,6 @@
-
-
-
+
-
+
-
-
@@ -106,7 +102,7 @@
import JDictSelectTag from '/src/components/Form/src/jeecg/components/JDictSelectTag.vue';
import JSwitch from '/src/components/Form/src/jeecg/components/JSwitch.vue';
import DeptRoleUserSelectRadioGroup from '/@/components/semri/userComponent/DeptRoleUserSelectRadioGroup.vue';
-import { SUOBAN_DEPT_ID, MEASURE_RES_LEADER_ROLE_ID } from '/@/constant/supervision';
+ import { SUOBAN_DEPT_ID, MEASURE_RES_LEADER_ROLE_ID } from '/@/constant/supervision';
import { useMessage } from '/src/hooks/web/useMessage';
interface ModalPayload {
diff --git a/src/components/semri/userComponent/RoleUserSelectDropDown.vue b/src/components/semri/userComponent/RoleUserSelectDropDown.vue
index 5a70e01..592ca7c 100644
--- a/src/components/semri/userComponent/RoleUserSelectDropDown.vue
+++ b/src/components/semri/userComponent/RoleUserSelectDropDown.vue
@@ -37,21 +37,16 @@ const modelValue = defineModel('value', { default: '' });
const userList = ref>([]);
async function fetchUserList() {
- if (!props.roleId) {
- userList.value = [];
- return;
- }
try {
- const res = await defHttp.get({
- url: '/sys/user/userRoleList',
- params: {
- roleId: props.roleId,
- pageNo: 1,
- pageSize: 999,
- },
- });
+ const params = {
+ roleId: props.roleId,
+ searchSecurityLevel: 5,
+ pageNo: 1,
+ pageSize: 999,
+ };
+ const res = await defHttp.get({ url: '/sys/user/queryUserRoleComponentData', params });
const records = res?.records || res?.result?.records || [];
- userList.value = records;
+ userList.value = records.sort((a, b) => (a.sortno ?? Infinity) - (b.sortno ?? Infinity));
} catch {
userList.value = [];
}
@@ -61,9 +56,12 @@ onMounted(fetchUserList);
watch(
() => props.roleId,
- () => {
- modelValue.value = '';
- fetchUserList();
+ async () => {
+ await fetchUserList();
+ const current = modelValue.value;
+ if (current && !userList.value.some((u) => u.username === current)) {
+ modelValue.value = '';
+ }
},
);
diff --git a/src/views/bg/bgpartymatter/BgPartymatter.data.ts b/src/views/bg/bgpartymatter/BgPartymatter.data.ts
index 632666e..957b7da 100644
--- a/src/views/bg/bgpartymatter/BgPartymatter.data.ts
+++ b/src/views/bg/bgpartymatter/BgPartymatter.data.ts
@@ -221,24 +221,24 @@ export const bgPartymatterFeedbackColumns: BasicColumn[] = [
// 高级查询数据
export const superQuerySchema = {
- year: {title: '年份',order: 0,view: 'text', type: 'string',},
- number: {title: '序号',order: 1,view: 'text', type: 'string',},
- itemNumber: {title: '议题序号',order: 2,view: 'number', type: 'number',},
- matterTime: {title: '会议时间',order: 3,view: 'date', type: 'string',},
- title: {title: '事项名称',order: 4,view: 'text', type: 'string',},
- content: {title: '会议决议',order: 5,view: 'textarea', type: 'string',},
- matterCode: {title: '事项目录编码',order: 6,view: 'text', type: 'string',},
- noticeNumber: {title: '抄告单编号',order: 7,view: 'text', type: 'string',},
- isImportant: {title: '是否为三重一大决策',order: 8,view: 'list', type: 'string', dictCode: 'yn',},
- manageSuoleader: {title: '分管所领导',order: 9,view: 'sel_user', type: 'string',},
- responDeptid: {title: '责任部门',order: 10,view: 'sel_depart', type: 'string',},
- actualExect: {title: '实际执行情况',order: 11,view: 'text', type: 'string',},
- bpmStatus: {title: '完成状态',order: 12,view: 'text', type: 'string',},
- superviseCount: {title: '督办次数',order: 13,view: 'text', type: 'string',},
- deadline: {title: '要求完成日期',order: 14,view: 'date', type: 'string',},
- urgencyLevel: {title: '是否急件',order: 15,view: 'list', type: 'string', dictCode: 'yn',},
- isNeedAppro: {title: '是否需要所办领导审批',order: 16,view: 'switch', type: 'string',},
- supDeptleaderid: {title: '所办领导',order: 17,view: 'sel_user', type: 'string',},
- isNeedSuoleader: {title: '是否抄送所领导',order: 18,view: 'switch', type: 'string',},
- suoleaderid: {title: '抄送所领导',order: 19,view: 'sel_user', type: 'string',},
+ year: { title: '年份', order: 0, view: 'text', type: 'string' },
+ number: { title: '序号', order: 1, view: 'text', type: 'string' },
+ itemNumber: { title: '议题序号', order: 2, view: 'number', type: 'number' },
+ matterTime: { title: '会议时间', order: 3, view: 'date', type: 'string' },
+ title: { title: '事项名称', order: 4, view: 'text', type: 'string' },
+ content: { title: '会议决议', order: 5, view: 'textarea', type: 'string' },
+ matterCode: { title: '事项目录编码', order: 6, view: 'text', type: 'string' },
+ noticeNumber: { title: '抄告单编号', order: 7, view: 'text', type: 'string' },
+ isImportant: { title: '是否为三重一大决策', order: 8, view: 'list', type: 'string', dictCode: 'yn' },
+ manageSuoleader: { title: '分管所领导', order: 9, view: 'sel_user', type: 'string' },
+ responDeptid: { title: '责任部门', order: 10, view: 'sel_depart', type: 'string' },
+ actualExect: { title: '实际执行情况', order: 11, view: 'text', type: 'string' },
+ bpmStatus: { title: '完成状态', order: 12, view: 'text', type: 'string' },
+ superviseCount: { title: '督办次数', order: 13, view: 'text', type: 'string' },
+ deadline: { title: '要求完成日期', order: 14, view: 'date', type: 'string' },
+ urgencyLevel: { title: '是否急件', order: 15, view: 'list', type: 'string', dictCode: 'yn' },
+ isNeedAppro: { title: '是否需要所办负责人审批', order: 16, view: 'switch', type: 'string' },
+ supDeptleaderid: { title: '所办负责人', order: 17, view: 'sel_user', type: 'string' },
+ isNeedSuoleader: { title: '是否抄送所领导', order: 18, view: 'switch', type: 'string' },
+ suoleaderid: { title: '抄送所领导', order: 19, view: 'sel_user', type: 'string' },
};
diff --git a/src/views/bg/bgpartymatter/BgPartymatterList.vue b/src/views/bg/bgpartymatter/BgPartymatterList.vue
index c25821b..95fedcd 100644
--- a/src/views/bg/bgpartymatter/BgPartymatterList.vue
+++ b/src/views/bg/bgpartymatter/BgPartymatterList.vue
@@ -17,7 +17,7 @@
分管所领导
-
+
@@ -180,7 +180,7 @@
import { startProcessSchedules } from '/@/api/common/api';
import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue';
import JInput from '/@/components/Form/src/jeecg/components/JInput.vue';
- import DeptRoleUserSelectDropDown from '/@/components/semri/userComponent/DeptRoleUserSelectDropDown.vue';
+ import RoleUserSelectDropDown from '/@/components/semri/userComponent/RoleUserSelectDropDown.vue';
import { CHARGE_LEADER_ROLE_ID } from '/@/constant/supervision';
import { Tooltip } from 'ant-design-vue';
import Icon from '/@/components/Icon/index';
diff --git a/src/views/bg/bgpartymatter/components/BgPartymatterBPMForm.vue b/src/views/bg/bgpartymatter/components/BgPartymatterBPMForm.vue
index 29d3281..edca30b 100644
--- a/src/views/bg/bgpartymatter/components/BgPartymatterBPMForm.vue
+++ b/src/views/bg/bgpartymatter/components/BgPartymatterBPMForm.vue
@@ -315,10 +315,10 @@
const { createMessage } = useMessage();
const queryByIdUrl = '/bgpartymatter/bgPartymatter/queryById';
- const labelCol = { xs: { span: 24 }, sm: { span: 7 } };
- const wrapperCol = { xs: { span: 24 }, sm: { span: 17 } };
- const wideLabelCol = { xs: { span: 24 }, sm: { span: 3 } };
- const wideWrapperCol = { xs: { span: 24 }, sm: { span: 21 } };
+ const labelCol = { xs: { span: 24 }, sm: { span: 8 } };
+ const wrapperCol = { xs: { span: 24 }, sm: { span: 16 } };
+ const wideLabelCol = { xs: { span: 24 }, sm: { span: 4 } };
+ const wideWrapperCol = { xs: { span: 24 }, sm: { span: 20 } };
// 流程变量区桌面端整体右移并缩短标签列,兼顾左侧留白与标签、控件间距。
const processLabelCol = { xs: { span: 24 }, sm: { span: 4 }, md: { span: 2 } };
const processWideWrapperCol = { xs: { span: 24 }, sm: { span: 20 }, md: { span: 22 } };
diff --git a/src/views/bg/bgpartymatter/components/BgPartymatterForm.vue b/src/views/bg/bgpartymatter/components/BgPartymatterForm.vue
index de24492..57efc8a 100644
--- a/src/views/bg/bgpartymatter/components/BgPartymatterForm.vue
+++ b/src/views/bg/bgpartymatter/components/BgPartymatterForm.vue
@@ -4,14 +4,27 @@
-
-
-
-
-
+
+
+
+
+
-
+
@@ -21,7 +34,7 @@
-
+
@@ -29,84 +42,99 @@
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
提 交
@@ -166,21 +194,19 @@
import { saveOrUpdate } from '../BgPartymatter.api';
import { Form } from 'ant-design-vue';
import JFormContainer from '/@/components/Form/src/container/JFormContainer.vue';
- import DeptRoleUserSelectRadioGroup from "/@/components/semri/userComponent/DeptRoleUserSelectRadioGroup.vue";
+ import DeptRoleUserSelectRadioGroup from '/@/components/semri/userComponent/DeptRoleUserSelectRadioGroup.vue';
+ import RoleUserSelectDropDown from '@/components/semri/userComponent/RoleUserSelectDropDown.vue';
import {
SUOBAN_DEPT_ID,
MEASURE_RES_LEADER_ROLE_ID,
PARTY_COMMITTEE_DEPT_ID as CHARGE_LEADER_DEPT_ID,
CHARGE_LEADER_ROLE_ID,
} from '/@/constant/supervision';
- import SzSelectDept from "@/components/Form/src/jeecg/components/SzSelectDept.vue";
- import DeptRoleUserSelectDropDown
- from "@/components/semri/userComponent/DeptRoleUserSelectDropDown.vue";
-
+ import SzSelectDept from '@/components/Form/src/jeecg/components/SzSelectDept.vue';
const props = defineProps({
formDisabled: { type: Boolean, default: false },
formData: { type: Object, default: () => ({}) },
- formBpm: { type: Boolean, default: true }
+ formBpm: { type: Boolean, default: true },
});
const useForm = Form.useForm;
const emit = defineEmits(['register', 'ok']);
@@ -209,17 +235,17 @@
isNeedSuoleader: '',
suoleaderid: '',
delFlag: '',
- isNeedInterval:'',
- startCount:'',
- intervalType:'',
- intervalStartTime:'',
+ isNeedInterval: '',
+ startCount: '',
+ intervalType: '',
+ intervalStartTime: '',
meetingType: 'party',
});
const { createMessage } = useMessage();
- const labelCol = ref({ xs: { span: 24 }, sm: { span: 7 } });
- const wrapperCol = ref({ xs: { span: 24 }, sm: { span: 17 } });
- const wideLabelCol = { xs: { span: 24 }, sm: { span: 3 } };
- const wideWrapperCol = { xs: { span: 24 }, sm: { span: 21 } };
+ const labelCol = ref({ xs: { span: 24 }, sm: { span: 8 } });
+ const wrapperCol = ref({ xs: { span: 24 }, sm: { span: 16 } });
+ const wideLabelCol = { xs: { span: 24 }, sm: { span: 4 } };
+ const wideWrapperCol = { xs: { span: 24 }, sm: { span: 20 } };
const confirmLoading = ref(false);
//表单验证
const validatorRules = reactive({
@@ -245,11 +271,11 @@
const { resetFields, validate, validateInfos } = useForm(formData, validatorRules, { immediate: false });
const formRef = ref();
// 表单禁用
- const disabled = computed(()=>{
- if(props.formBpm === true){
- if(props.formData.disabled === false){
+ const disabled = computed(() => {
+ if (props.formBpm === true) {
+ if (props.formData.disabled === false) {
return false;
- }else{
+ } else {
return true;
}
}
@@ -319,27 +345,27 @@
return '';
}
- onMounted(()=>{
+ onMounted(() => {
initFormData();
});
//渲染流程表单数据
const queryByIdUrl = '/bgpartymatter/bgPartymatter/queryById';
- async function initFormData(){
- if(props.formBpm === true){
- let params = {id: props.formData.dataId};
- const data = await defHttp.get({url: queryByIdUrl, params});
+ async function initFormData() {
+ if (props.formBpm === true) {
+ let params = { id: props.formData.dataId };
+ const data = await defHttp.get({ url: queryByIdUrl, params });
//设置表单的值
- edit({...data});
+ edit({ ...data });
}
}
// 是否显示提交按钮
- const showFlowSubmitButton = computed(()=>{
- if(props.formBpm === true){
- if(props.formData.disabled === false){
- return true
+ const showFlowSubmitButton = computed(() => {
+ if (props.formBpm === true) {
+ if (props.formData.disabled === false) {
+ return true;
}
}
- return false
+ return false;
});
/**
@@ -357,12 +383,12 @@
resetFields();
const tmpData = {};
Object.keys(formData).forEach((key) => {
- if(record.hasOwnProperty(key)){
- tmpData[key] = record[key]
+ if (record.hasOwnProperty(key)) {
+ tmpData[key] = record[key];
}
- })
+ });
//赋值
- Object.assign(formData,tmpData);
+ Object.assign(formData, tmpData);
});
}
@@ -414,7 +440,6 @@
});
}
-
defineExpose({
add,
edit,
diff --git a/src/views/bg/bqtakepulse/BgTakepulse.data.ts b/src/views/bg/bqtakepulse/BgTakepulse.data.ts
index 0bedbc2..f13b6a3 100644
--- a/src/views/bg/bqtakepulse/BgTakepulse.data.ts
+++ b/src/views/bg/bqtakepulse/BgTakepulse.data.ts
@@ -262,52 +262,52 @@ export const bgTakepulseFeedbackColumns: JVxeColumn[] = [
// 高级查询数据
export const superQuerySchema = {
- secretLevel: {title: '密级',order: 0,view: 'list', type: 'string',dictCode: 'secret_level',},
- year: {title: '年份',order: 1,view: 'list', type: 'string',dictCode: 'super_year',},
- number: {title: '序号',order: 2,view: 'text', type: 'string',},
- taskType: {title: '会议类型:行政线、技术线',order: 3,view: 'list', type: 'string',dictCode: 'super_takepulse_type',},
- type: {title: '类别:党的建设等其他',order: 4,view: 'text', type: 'string',},
- proposer: {title: '提出人',order: 5,view: 'sel_user', type: 'string',},
- title: {title: '意见主题',order: 6,view: 'text', type: 'string',},
- content: {title: '具体意见',order: 7,view: 'textarea', type: 'string',},
- manageSuoleader: {title: '分管所领导',order: 8,view: 'sel_user', type: 'string',},
- suoleader: {title: '责任领导',order: 9,view: 'sel_user', type: 'string',},
- responDeptid: {title: '牵头部门',order: 10,view: 'sel_depart', type: 'string',},
- assistDeptid: {title: '协办部门',order: 11,view: 'sel_depart', type: 'string',},
- implementDeptid: {title: '落实部门',order: 12,view: 'text', type: 'string',},
- isAdopt: {title: '是否采纳',order: 13,view: 'switch', type: 'string',},
- measure: {title: '落实措施/解释说明',order: 14,view: 'textarea', type: 'string',},
- measureNumber: {title: '措施数量',order: 15,view: 'number', type: 'number',},
- achievement: {title: '成果形式',order: 16,view: 'textarea', type: 'string',},
- deadline: {title: '要求完成日期',order: 17,view: 'date', type: 'string',},
- remark: {title: '备注',order: 18,view: 'text', type: 'string',},
- actualExect: {title: '执行情况',order: 19,view: 'textarea', type: 'string',},
- actualTime: {title: '实际完成时间',order: 20,view: 'datetime', type: 'string',},
- proposerConfirm: {title: '提出人确认',order: 21,view: 'text', type: 'string',},
- bpmStatus: {title: '完成状态',order: 22,view: 'list', type: 'string',dictCode: 'super_status',},
- actSt: {title: '调整落实措施及执行情况',order: 23,view: 'textarea', type: 'string',},
- superviseCount: {title: '督办次数',order: 24,view: 'text', type: 'string',},
- urgencyLevel: {title: '紧急程度',order: 25,view: 'text', type: 'string',},
- isNeedAppro: {title: '是否需要所办领导审批',order: 26,view: 'switch', type: 'string',},
- supDeptleaderid: {title: '所办领导',order: 27,view: 'sel_user', type: 'string',},
+ secretLevel: { title: '密级', order: 0, view: 'list', type: 'string', dictCode: 'secret_level' },
+ year: { title: '年份', order: 1, view: 'list', type: 'string', dictCode: 'super_year' },
+ number: { title: '序号', order: 2, view: 'text', type: 'string' },
+ taskType: { title: '会议类型:行政线、技术线', order: 3, view: 'list', type: 'string', dictCode: 'super_takepulse_type' },
+ type: { title: '类别:党的建设等其他', order: 4, view: 'text', type: 'string' },
+ proposer: { title: '提出人', order: 5, view: 'sel_user', type: 'string' },
+ title: { title: '意见主题', order: 6, view: 'text', type: 'string' },
+ content: { title: '具体意见', order: 7, view: 'textarea', type: 'string' },
+ manageSuoleader: { title: '分管所领导', order: 8, view: 'sel_user', type: 'string' },
+ suoleader: { title: '责任领导', order: 9, view: 'sel_user', type: 'string' },
+ responDeptid: { title: '牵头部门', order: 10, view: 'sel_depart', type: 'string' },
+ assistDeptid: { title: '协办部门', order: 11, view: 'sel_depart', type: 'string' },
+ implementDeptid: { title: '落实部门', order: 12, view: 'text', type: 'string' },
+ isAdopt: { title: '是否采纳', order: 13, view: 'switch', type: 'string' },
+ measure: { title: '落实措施/解释说明', order: 14, view: 'textarea', type: 'string' },
+ measureNumber: { title: '措施数量', order: 15, view: 'number', type: 'number' },
+ achievement: { title: '成果形式', order: 16, view: 'textarea', type: 'string' },
+ deadline: { title: '要求完成日期', order: 17, view: 'date', type: 'string' },
+ remark: { title: '备注', order: 18, view: 'text', type: 'string' },
+ actualExect: { title: '执行情况', order: 19, view: 'textarea', type: 'string' },
+ actualTime: { title: '实际完成时间', order: 20, view: 'datetime', type: 'string' },
+ proposerConfirm: { title: '提出人确认', order: 21, view: 'text', type: 'string' },
+ bpmStatus: { title: '完成状态', order: 22, view: 'list', type: 'string', dictCode: 'super_status' },
+ actSt: { title: '调整落实措施及执行情况', order: 23, view: 'textarea', type: 'string' },
+ superviseCount: { title: '督办次数', order: 24, view: 'text', type: 'string' },
+ urgencyLevel: { title: '紧急程度', order: 25, view: 'text', type: 'string' },
+ isNeedAppro: { title: '是否需要所办负责人审批', order: 26, view: 'switch', type: 'string' },
+ supDeptleaderid: { title: '所办负责人', order: 27, view: 'sel_user', type: 'string' },
//子表高级查询
bgTakepulseFeedback: {
title: '执行情况反馈',
view: 'table',
fields: {
- responDeptid: {title: '责任部门id',order: 0,view: 'text', type: 'string',},
- responDeptname: {title: '责任部门名称',order: 1,view: 'text', type: 'string',},
- responPersonid: {title: '反馈人id',order: 2,view: 'text', type: 'string',},
- responPersonname: {title: '反馈人姓名',order: 3,view: 'text', type: 'string',},
- planExect: {title: '计划完成目标',order: 4,view: 'textarea', type: 'string',},
- planTime: {title: '计划完成日期',order: 5,view: 'date', type: 'string',},
- actualExect: {title: '实际执行情况',order: 6,view: 'textarea', type: 'string',},
- actualTime: {title: '实际完成日期',order: 7,view: 'date', type: 'string',},
- actSt: {title: '调整落实措施及执行情况',order: 8,view: 'textarea', type: 'string',},
- bpmStatus: {title: '完成状态',order: 9,view: 'text', type: 'string',},
- proposerConfirm: {title: '提出人确认',order: 10,view: 'text', type: 'string',},
- bpmProcessId: {title: '流程实例id',order: 11,view: 'text', type: 'string',},
- mainId: {title: '外键',order: 12,view: 'text', type: 'string',},
- }
+ responDeptid: { title: '责任部门id', order: 0, view: 'text', type: 'string' },
+ responDeptname: { title: '责任部门名称', order: 1, view: 'text', type: 'string' },
+ responPersonid: { title: '反馈人id', order: 2, view: 'text', type: 'string' },
+ responPersonname: { title: '反馈人姓名', order: 3, view: 'text', type: 'string' },
+ planExect: { title: '计划完成目标', order: 4, view: 'textarea', type: 'string' },
+ planTime: { title: '计划完成日期', order: 5, view: 'date', type: 'string' },
+ actualExect: { title: '实际执行情况', order: 6, view: 'textarea', type: 'string' },
+ actualTime: { title: '实际完成日期', order: 7, view: 'date', type: 'string' },
+ actSt: { title: '调整落实措施及执行情况', order: 8, view: 'textarea', type: 'string' },
+ bpmStatus: { title: '完成状态', order: 9, view: 'text', type: 'string' },
+ proposerConfirm: { title: '提出人确认', order: 10, view: 'text', type: 'string' },
+ bpmProcessId: { title: '流程实例id', order: 11, view: 'text', type: 'string' },
+ mainId: { title: '外键', order: 12, view: 'text', type: 'string' },
+ },
},
};
diff --git a/src/views/bg/bqtakepulse/BgTakepulseList.vue b/src/views/bg/bqtakepulse/BgTakepulseList.vue
index 1646256..5e9a65e 100644
--- a/src/views/bg/bqtakepulse/BgTakepulseList.vue
+++ b/src/views/bg/bqtakepulse/BgTakepulseList.vue
@@ -35,9 +35,8 @@
分管所领导
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -180,21 +206,22 @@
import JSelectUser from '/@/components/Form/src/jeecg/components/JSelectUser.vue';
import JFormContainer from '/@/components/Form/src/container/JFormContainer.vue';
import { Form } from 'ant-design-vue';
- import DeptRoleUserSelectRadioGroup
- from "@/components/semri/userComponent/DeptRoleUserSelectRadioGroup.vue";
- import SzDeptUserModal from "@/components/semri/deptUserComponent/SzDeptUserModal.vue";
- import DeptRoleUserSelectDropDown from "@/components/semri/userComponent/DeptRoleUserSelectDropDown.vue";
+ import DeptRoleUserSelectRadioGroup from '@/components/semri/userComponent/DeptRoleUserSelectRadioGroup.vue';
+ import SzDeptUserModal from '@/components/semri/deptUserComponent/SzDeptUserModal.vue';
+ import DeptRoleUserSelectDropDown from '@/components/semri/userComponent/DeptRoleUserSelectDropDown.vue';
import {
SUOBAN_DEPT_ID,
MEASURE_RES_LEADER_ROLE_ID,
PARTY_COMMITTEE_DEPT_ID as CHARGE_LEADER_DEPT_ID,
CHARGE_LEADER_ROLE_ID,
} from '/@/constant/supervision';
+ import RoleUserSelectDropDown from '@/components/semri/userComponent/RoleUserSelectDropDown.vue';
const useForm = Form.useForm;
export default defineComponent({
- name: "BgTakepulseForm",
- components:{
+ name: 'BgTakepulseForm',
+ components: {
+ RoleUserSelectDropDown,
SzDeptUserModal,
DeptRoleUserSelectDropDown,
DeptRoleUserSelectRadioGroup,
@@ -202,18 +229,18 @@
JSwitch,
SzSelectDept,
JSelectUser,
- JFormContainer,
+ JFormContainer,
},
- props:{
- formDisabled:{
+ props: {
+ formDisabled: {
type: Boolean,
- default: false
+ default: false,
},
- formData: { type: Object, default: ()=>{} },
- formBpm: { type: Boolean, default: true }
+ formData: { type: Object, default: () => {} },
+ formBpm: { type: Boolean, default: true },
},
- emits:['success'],
- setup(props, {emit}) {
+ emits: ['success'],
+ setup(props, { emit }) {
const SUP_LEADER_DEPT_ID = SUOBAN_DEPT_ID;
const SUP_LEADER_ROLE_ID = MEASURE_RES_LEADER_ROLE_ID;
const { createMessage } = useMessage();
@@ -281,21 +308,21 @@
},
],
});
- const {resetFields, validate, validateInfos, clearValidate} = useForm(formData, validatorRules, {immediate: false});
+ const { resetFields, validate, validateInfos, clearValidate } = useForm(formData, validatorRules, { immediate: false });
const dbData = {};
const formItemLayout = {
- labelCol: {xs: {span: 24}, sm: {span: 7}},
- wrapperCol: {xs: {span: 24}, sm: {span: 17}},
+ labelCol: { xs: { span: 24 }, sm: { span: 7 } },
+ wrapperCol: { xs: { span: 24 }, sm: { span: 17 } },
};
const wideLabelCol = { xs: { span: 24 }, sm: { span: 3 } };
const wideWrapperCol = { xs: { span: 24 }, sm: { span: 21 } };
// 表单禁用
- const disabled = computed(()=>{
- if(props.formBpm === true){
- if(props.formData.disabled === false){
+ const disabled = computed(() => {
+ if (props.formBpm === true) {
+ if (props.formData.disabled === false) {
return false;
- }else{
+ } else {
return true;
}
}
@@ -312,33 +339,32 @@
watch(() => formData.isNeedAppro, clearSupDeptLeaderIfNotNeeded);
- onMounted(()=>{
+ onMounted(() => {
initFormData();
});
//渲染流程表单数据
const queryByIdUrl = '/bqtakepulse/bgTakepulse/queryById';
- async function initFormData(){
- if(props.formBpm === true){
- let params = {id: props.formData.dataId};
- const row = await defHttp.get({url: queryByIdUrl, params});
+ async function initFormData() {
+ if (props.formBpm === true) {
+ let params = { id: props.formData.dataId };
+ const row = await defHttp.get({ url: queryByIdUrl, params });
//设置表单的值
- Object.keys(row).map(k => {
+ Object.keys(row).map((k) => {
formData[k] = row[k];
});
clearSupDeptLeaderIfNotNeeded();
}
}
// 是否显示提交按钮
- const showFlowSubmitButton = computed(()=>{
- if(props.formBpm === true){
- if(props.formData.disabled === false){
- return true
+ const showFlowSubmitButton = computed(() => {
+ if (props.formBpm === true) {
+ if (props.formData.disabled === false) {
+ return true;
}
}
- return false
+ return false;
});
-
function add() {
resetFields();
}
@@ -352,12 +378,12 @@
resetFields();
const tmpData = {};
Object.keys(formData).forEach((key) => {
- if(row.hasOwnProperty(key)){
- tmpData[key] = row[key]
+ if (row.hasOwnProperty(key)) {
+ tmpData[key] = row[key];
}
- })
+ });
//赋值
- Object.assign(formData,tmpData);
+ Object.assign(formData, tmpData);
clearSupDeptLeaderIfNotNeeded();
}
@@ -374,7 +400,7 @@
}
return Promise.reject(errorFields);
}
- return normalizeMainFormData(toRaw(formData))
+ return normalizeMainFormData(toRaw(formData));
}
function normalizeMainFormData(data) {
@@ -394,8 +420,8 @@
async function submitForm() {
const mainData = await getFormData();
const values = Object.assign({}, dbData, mainData);
- console.log('表单提交数据', values)
- const isUpdate = values.id ? true : false
+ console.log('表单提交数据', values);
+ const isUpdate = values.id ? true : false;
await saveOrUpdate(values, isUpdate);
createMessage.success('保存成功');
//关闭弹窗
@@ -403,8 +429,8 @@
}
function setFieldsValue(values) {
- if(values){
- Object.keys(values).map(k=>{
+ if (values) {
+ Object.keys(values).map((k) => {
formData[k] = values[k];
});
clearSupDeptLeaderIfNotNeeded();
@@ -420,7 +446,6 @@
formData[key] = value;
}
-
return {
validatorRules,
validateInfos,
@@ -443,8 +468,8 @@
add,
edit,
formRef,
- }
- }
+ };
+ },
});
diff --git a/src/views/bg/fixcontact/components/FixedContact20260730Form.vue b/src/views/bg/fixcontact/components/FixedContact20260730Form.vue
index 567b977..1ff5597 100644
--- a/src/views/bg/fixcontact/components/FixedContact20260730Form.vue
+++ b/src/views/bg/fixcontact/components/FixedContact20260730Form.vue
@@ -15,7 +15,12 @@
-
+
-
+
@@ -40,22 +51,48 @@
-
+
-
+
-
+
-
+
-
+
是
否
@@ -88,13 +125,18 @@
-
+
diff --git a/src/views/dq/inspectTask/BPM_NODE_PERMISSIONS_DELETE.md b/src/views/dq/inspectTask/BPM_NODE_PERMISSIONS_DELETE.md
index c54f9e5..53ca4be 100644
--- a/src/views/dq/inspectTask/BPM_NODE_PERMISSIONS_DELETE.md
+++ b/src/views/dq/inspectTask/BPM_NODE_PERMISSIONS_DELETE.md
@@ -34,7 +34,7 @@ showFeedbackInfo → 反馈信息区域(表格 + 表头)
## 整改任务审批流程
-### 节点: <责任部门领导接受任务并分配>
+### 节点: <责任部门负责人接受任务并分配>
* taskDefKey: `
`
* **edit** `1` —— 基础信息可编辑
@@ -57,7 +57,7 @@ showFeedbackInfo → 反馈信息区域(表格 + 表头)
* **showEditFeedback** `1` —— 编辑/删除操作列
* dq/inspectTask/components/DqInspectTaskBPMForm?showProcessHandle=1&showFeedbackInfo=1&showAddFeedback=1&showEditFeedback=1
---
-### 节点: <责任部门领导审批>
+### 节点: <责任部门负责人审批>
* taskDefKey: ``
* **edit** `0` —— 基础信息只读
diff --git a/src/views/dq/inspectTask/BPM_NODE_PERMISSIONS_INSPECT.md b/src/views/dq/inspectTask/BPM_NODE_PERMISSIONS_INSPECT.md
index db33101..0e2f4b2 100644
--- a/src/views/dq/inspectTask/BPM_NODE_PERMISSIONS_INSPECT.md
+++ b/src/views/dq/inspectTask/BPM_NODE_PERMISSIONS_INSPECT.md
@@ -55,7 +55,7 @@ showFeedbackInfo → 反馈信息区域(表格 + 表头)
* dq/inspectTask/components/DqInspectTaskBPMForm?showProcessHandle=1&showFeedbackInfo=1&showAddFeedback=1&showEditFeedback=1
---
-### 节点: <责任部门领导审批>
+### 节点: <责任部门负责人审批>
* taskDefKey: ``
* dq/inspectTask/components/DqInspectTaskBPMForm?showProcessHandle=1&showFeedbackInfo=1
---
@@ -65,7 +65,7 @@ showFeedbackInfo → 反馈信息区域(表格 + 表头)
* dq/inspectTask/components/DqInspectTaskBPMForm?showProcessHandle=1&showFeedbackInfo=1
---
-### 节点: <责任部门领导接受任务并分配>
+### 节点: <责任部门负责人接受任务并分配>
* taskDefKey: ``
* dq/inspectTask/components/DqInspectTaskBPMForm?showProcessHandle=1&showSubApproveUser=1&showFeedbackInfo=1&showAddFeedback=1&showEditFeedback=1
---
diff --git a/src/views/dq/inspectTask/DqInspectTask.data.ts b/src/views/dq/inspectTask/DqInspectTask.data.ts
index c8337ef..fa45bda 100644
--- a/src/views/dq/inspectTask/DqInspectTask.data.ts
+++ b/src/views/dq/inspectTask/DqInspectTask.data.ts
@@ -42,7 +42,7 @@ export const columns: BasicColumn[] = [
dataIndex: 'measureResDept_dictText',
},
{
- title: '措施责任领导',
+ title: '措施责任负责人',
align: 'center',
dataIndex: 'measureResLeader_dictText',
},
@@ -57,12 +57,12 @@ export const columns: BasicColumn[] = [
dataIndex: 'evaluationCriterion',
},
{
- title: '是否需要党群领导审批',
+ title: '是否需要党群负责人审批',
align: 'center',
dataIndex: 'isNeedAppro_dictText',
},
{
- title: '党群领导',
+ title: '党群负责人',
align: 'center',
dataIndex: 'supDeptleaderid_dictText',
},
@@ -177,12 +177,12 @@ export const superQuerySchema = {
improveMeasure: {title: '整改措施',order: 2,view: 'text', type: 'string',},
deadline: {title: '完成时限',order: 3,view: 'date', type: 'string',},
targetNode: {title: '目标节点',order: 4,view: 'text', type: 'string',},
- measureResLeader: {title: '措施责任领导',order: 5,view: 'sel_user', type: 'string',},
+ measureResLeader: {title: '措施责任负责人',order: 5,view: 'sel_user', type: 'string',},
measureResDept: {title: '措施责任部门',order: 6,view: 'sel_depart', type: 'string',},
rectificationEvidence: {title: '整改交付成果',order: 7,view: 'text', type: 'string',},
evaluationCriterion: {title: '成效评价标准',order: 8,view: 'text', type: 'string',},
- isNeedAppro: {title: '是否需要党群领导审批',order: 9,view: 'radio', type: 'string',dictCode: 'yn',},
- supDeptleaderid: {title: '党群领导',order: 10,view: 'sel_user', type: 'string',},
+ isNeedAppro: {title: '是否需要党群负责人审批',order: 9,view: 'radio', type: 'string',dictCode: 'yn',},
+ supDeptleaderid: {title: '党群负责人',order: 10,view: 'sel_user', type: 'string',},
inspectionStatus: {title: '检查情况',order: 11,view: 'text', type: 'string',},
supervisoryOpinion: {title: '监督意见',order: 12,view: 'text', type: 'string',},
measureCount: {title: '措施数量',order: 13,view: 'number', type: 'number',},
@@ -252,7 +252,7 @@ export const ledgerColumns: BasicColumn[] = [
dataIndex: 'measureResDept_dictText'
},
{
- title: '措施责任领导',
+ title: '措施责任负责人',
align:"center",
dataIndex: 'measureResLeader_dictText'
},
diff --git a/src/views/dq/inspectTask/DqInspectTaskList.vue b/src/views/dq/inspectTask/DqInspectTaskList.vue
index 728f5e9..cc9f4fe 100644
--- a/src/views/dq/inspectTask/DqInspectTaskList.vue
+++ b/src/views/dq/inspectTask/DqInspectTaskList.vue
@@ -11,9 +11,8 @@
-
-
+
-
+
-
+
@@ -96,13 +113,18 @@
-
+
-
-
+
+
@@ -194,28 +216,33 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
String(props.formData?.extendUrlParams?.nonJiJianFieldsReadonly ?? '') === '1');
const showSelnextUser = computed(() => String(props.formData?.extendUrlParams?.showSelnextUser ?? '') === '1');
const showSubApproveUser = computed(() => String(props.formData?.extendUrlParams?.showSubApproveUser ?? '') === '1');
- const showIsNeedLeaderApprove = computed(
- () => String(props.formData?.extendUrlParams?.showIsNeedLeaderApprove ?? '') === '1'
- );
+ const showIsNeedLeaderApprove = computed(() => String(props.formData?.extendUrlParams?.showIsNeedLeaderApprove ?? '') === '1');
const showSubApproveUserSelector = computed(() => showSubApproveUser.value && String(isEnd.value) !== '1');
const showIsNeedLeaderApproveSelector = computed(() => showIsNeedLeaderApprove.value && String(isNeedLeaderApprove.value) === '1');
@@ -416,7 +439,7 @@ import { buildDeptLeaderAssignReason, normalizeDeptNames } from '/@/composables/
// ==================== 默认审批意见 ====================
// 仅覆盖需要动态内容(人名)的节点,其余节点走后端节点配置
const handleReasonTemplateMap: Record string> = {
- // 责任部门领导接受任务并分配
+ // 责任部门负责人接受任务并分配
Task_1c64uvl: () => {
if (isEnd.value === 1) return '';
return buildDeptLeaderAssignReason(normalizeDeptNames(subApproveUserNames.value));
@@ -430,7 +453,10 @@ import { buildDeptLeaderAssignReason, normalizeDeptNames } from '/@/composables/
provide('formDefaultReason', defaultHandleReason);
provide('extraVars', formScope);
- provide('flowVars', computed(() => props.formData?.vars || {}));
+ provide(
+ 'flowVars',
+ computed(() => props.formData?.vars || {})
+ );
provide('defaultCcUsers', defaultCcUsers);
onMounted(() => {
diff --git a/src/views/dq/inspectTask/components/DqInspectTaskForm.vue b/src/views/dq/inspectTask/components/DqInspectTaskForm.vue
index 70e4546..710da43 100644
--- a/src/views/dq/inspectTask/components/DqInspectTaskForm.vue
+++ b/src/views/dq/inspectTask/components/DqInspectTaskForm.vue
@@ -7,7 +7,14 @@
基本信息
-
+
-
+
@@ -123,13 +125,17 @@
-
+
-
-
+
+
@@ -168,18 +174,25 @@
import { JVxeTable } from '/@/components/jeecg/JVxeTable';
import { dqInspectProgressColumns } from '../DqInspectTask.data';
import JDictSelectTag from '/@/components/Form/src/jeecg/components/JDictSelectTag.vue';
-import JSwitch from '/@/components/Form/src/jeecg/components/JSwitch.vue';
+ import JSwitch from '/@/components/Form/src/jeecg/components/JSwitch.vue';
import SzSelectDept from '/@/components/Form/src/jeecg/components/SzSelectDept.vue';
import DeptRoleUserSelectRadioGroup from '/@/components/semri/userComponent/DeptRoleUserSelectRadioGroup.vue';
import JFormContainer from '/@/components/Form/src/container/JFormContainer.vue';
import { Form } from 'ant-design-vue';
import DeptRoleUserSelectDropDown from '@/components/semri/userComponent/DeptRoleUserSelectDropDown.vue';
-import { PARTY_COMMITTEE_DEPT_ID, CHARGE_LEADER_ROLE_ID as _CHARGE_LEADER_ROLE_ID, PARTY_MASSES_DEPT_ID as _PARTY_MASSES_DEPT_ID, MEASURE_RES_LEADER_ROLE_ID as _MEASURE_RES_LEADER_ROLE_ID } from '/@/constant/supervision';
+ import {
+ PARTY_COMMITTEE_DEPT_ID,
+ CHARGE_LEADER_ROLE_ID as _CHARGE_LEADER_ROLE_ID,
+ PARTY_MASSES_DEPT_ID as _PARTY_MASSES_DEPT_ID,
+ MEASURE_RES_LEADER_ROLE_ID as _MEASURE_RES_LEADER_ROLE_ID,
+ } from '/@/constant/supervision';
+ import RoleUserSelectDropDown from '@/components/semri/userComponent/RoleUserSelectDropDown.vue';
const useForm = Form.useForm;
export default defineComponent({
name: 'DqInspectTaskForm',
components: {
+ RoleUserSelectDropDown,
DeptRoleUserSelectDropDown,
JDictSelectTag,
JSwitch,
@@ -249,9 +262,9 @@ import { PARTY_COMMITTEE_DEPT_ID, CHARGE_LEADER_ROLE_ID as _CHARGE_LEADER_ROLE_I
improveMeasure: [{ required: true, message: '请输入整改措施' }],
deadline: [{ required: true, message: '请选择完成时限' }],
measureResDept: [{ required: true, message: '请选择措施责任部门' }],
- measureResLeader: [{ required: true, message: '请选择措施责任领导' }],
+ measureResLeader: [{ required: true, message: '请选择措施责任负责人' }],
chargeLeaderId: [{ required: true, message: '请选择分管所领导' }],
- isNeedAppro: [{ required: true, message: '请选择是否需要党群领导审批' }],
+ isNeedAppro: [{ required: true, message: '请选择是否需要党群负责人审批' }],
});
const { resetFields, validate, validateInfos } = useForm(formData, validatorRules, { immediate: false });
const dbData = {};