!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:
@@ -143,8 +143,8 @@
|
||||
<a-form-item label="所办领导" v-bind="validateInfos.supDeptleaderid" id="BgTakepulseForm-supDeptleaderid" name="supDeptleaderid">
|
||||
<DeptRoleUserSelectRadioGroup
|
||||
v-model:value="formData.supDeptleaderid"
|
||||
deptId="2044677604785229826"
|
||||
roleId="2044680793306591234"
|
||||
:deptId="SUP_LEADER_DEPT_ID"
|
||||
:roleId="SUP_LEADER_ROLE_ID"
|
||||
/>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
@@ -172,6 +172,7 @@
|
||||
import DeptRoleUserSelectRadioGroup
|
||||
from "@/components/semri/userComponent/DeptRoleUserSelectRadioGroup.vue";
|
||||
import SzDeptUserModal from "@/components/semri/deptUserComponent/SzDeptUserModal.vue";
|
||||
import { SUOBAN_DEPT_ID, MEASURE_RES_LEADER_ROLE_ID } from '/@/constant/supervision';
|
||||
const useForm = Form.useForm;
|
||||
|
||||
export default defineComponent({
|
||||
@@ -195,6 +196,8 @@
|
||||
},
|
||||
emits:['success'],
|
||||
setup(props, {emit}) {
|
||||
const SUP_LEADER_DEPT_ID = SUOBAN_DEPT_ID;
|
||||
const SUP_LEADER_ROLE_ID = MEASURE_RES_LEADER_ROLE_ID;
|
||||
const loading = ref(false);
|
||||
const formRef = ref();
|
||||
const formData = reactive<Record<string, any>>({
|
||||
@@ -396,6 +399,8 @@
|
||||
disabled,
|
||||
showSupDeptLeader,
|
||||
showFlowSubmitButton,
|
||||
SUP_LEADER_DEPT_ID,
|
||||
SUP_LEADER_ROLE_ID,
|
||||
getFormData,
|
||||
submitForm,
|
||||
add,
|
||||
|
||||
Reference in New Issue
Block a user