!51 refactor: 提取部门角色ID常量到统一配置文件

* Merge branch 'master' of gitee.com:sz_30/supervision-vue into feature/20260518
* refactor: 提取部门角色ID常量到统一配置文件
* Merge branch 'master' into feature/20260518
* feat(inspectTask): 独立发起流程弹窗,替换党群领导审批组件
* style(inspectProgress): 进展表单对齐BPM表单样式
* style(xispeak): 反馈表单对齐BPM表单样式
* perf(xispeak): 反馈统计查询由逐条请求改为批量接口
* refactor(xispeak): BPM表单和巡视整改表单牵头部门组件替换为SzSelectDept
* style(xispeak): 优化查询表单布局并替换牵头部门选人组件
This commit is contained in:
new_new_new
2026-06-22 06:38:19 +00:00
parent 7ed14bac2a
commit 6628b68b4c
12 changed files with 56 additions and 22 deletions
@@ -91,6 +91,11 @@
columns,
canResize:false,
useSearchForm: false,
pagination: {
current: 1,
pageSize: 12,
pageSizeOptions: ['12', '24', '36'],
},
isTreeTable: true,
customRow: (record) => {
return {
@@ -127,6 +127,11 @@
columns: ledgerColumns,
canResize: false,
useSearchForm: false,
pagination: {
current: 1,
pageSize: 12,
pageSizeOptions: ['12', '24', '36'],
},
actionColumn: {
width: 240,
fixed: 'right',
@@ -244,6 +244,7 @@ import SzDeptUserModal from '/@/components/semri/deptUserComponent/SzDeptUserMod
import { saveBpmForm, setProcessVariable, specificProblemOptions } from '../DqInspectTask.api';
import { list as progressList, deleteOne as progressDelete } from '../../inspectProgress/DqInspectProgress.api';
import { usePermission } from '/@/hooks/web/usePermission';
import { PARTY_COMMITTEE_DEPT_ID, SDW_LEADER_ROLE_ID } from '/@/constant/supervision';
import TaskHandleInnerContent from '/@/views/super/bpm/process/personalOffice/myHandleTask/content/TaskHandleInnerContent.vue';
import DqInspectTaskBPMFeedbackModal from './DqInspectTaskBPMFeedbackModal.vue';
import SUploadFile from '/@/components/semri/fileComponent/SUploadFile.vue';
@@ -439,8 +440,8 @@ import SzDeptUserModal from '/@/components/semri/deptUserComponent/SzDeptUserMod
const res = await defHttp.get({
url: '/sys/user/queryUserRoleComponentData',
params: {
departId: '2044677562460508161',
roleId: '2044676455280570370',
departId: PARTY_COMMITTEE_DEPT_ID,
roleId: SDW_LEADER_ROLE_ID,
searchSecurityLevel: 5,
pageNo: 1,
pageSize: 999,
@@ -85,9 +85,7 @@
import JSwitch from '/src/components/Form/src/jeecg/components/JSwitch.vue';
import DeptRoleUserSelectRadioGroup from '/@/components/semri/userComponent/DeptRoleUserSelectRadioGroup.vue';
import { useMessage } from '/src/hooks/web/useMessage';
const PARTY_MASSES_DEPT_ID = '2044677628281720834';
const MEASURE_RES_LEADER_ROLE_ID = '2044680793306591234';
import { PARTY_MASSES_DEPT_ID, MEASURE_RES_LEADER_ROLE_ID } from '/@/constant/supervision';
interface ModalPayload {
title?: string;
@@ -174,6 +174,7 @@ import JSwitch from '/@/components/Form/src/jeecg/components/JSwitch.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';
const useForm = Form.useForm;
export default defineComponent({
@@ -197,10 +198,10 @@ import JSwitch from '/@/components/Form/src/jeecg/components/JSwitch.vue';
},
emits: ['success'],
setup(props, { emit }) {
const CHARGE_LEADER_DEPT_ID = '2044677562460508161';
const CHARGE_LEADER_ROLE_ID = '2062794430936240130';
const PARTY_MASSES_DEPT_ID = '2044677628281720834';
const MEASURE_RES_LEADER_ROLE_ID = '2044680793306591234';
const CHARGE_LEADER_DEPT_ID = PARTY_COMMITTEE_DEPT_ID;
const CHARGE_LEADER_ROLE_ID = _CHARGE_LEADER_ROLE_ID;
const PARTY_MASSES_DEPT_ID = _PARTY_MASSES_DEPT_ID;
const MEASURE_RES_LEADER_ROLE_ID = _MEASURE_RES_LEADER_ROLE_ID;
const loading = ref(false);
const formRef = ref();