update:新增代办

This commit is contained in:
2026-04-13 11:47:14 +08:00
parent 400d9348e9
commit 10ba10d166
7 changed files with 19 additions and 1 deletions

View File

@@ -90,6 +90,7 @@ const initFun = async () => {
await initDetailData({
data: props.data,
ref: TableFormRef.value,
hideKeys: hideKeys.value,
});
editFormInfo.value = {
...props.data,

View File

@@ -125,6 +125,7 @@ const initFun = async () => {
await initDetailData({
data: props.data,
ref: TableFormRef.value,
hideKeys: hideKeys.value,
});
editFormInfo.value = {
...props.data,

View File

@@ -87,6 +87,7 @@ const initFun = async () => {
await initDetailData({
data: props.data,
ref: TableFormRef.value,
hideKeys: hideKeys.value,
});
editFormInfo.value = {
...props.data,

View File

@@ -8,7 +8,7 @@ import { ElMessage } from 'element-plus';
// 初始化
export const initDetailData = async (initData: any) => {
const { data, ref } = initData;
const { data = {}, ref } = initData;
if (data.tMemberList) {
data.tMemberList = getMemberListIds(data.tMemberList);
}
@@ -63,6 +63,18 @@ export const initDetailData = async (initData: any) => {
}
}
}
data.extras?.some((item: any) => {
if (item.propertyName === 'urgencyDesc') {
if (item.propertyValue) {
initData.hideKeys = initData.hideKeys.filter((item: any) => {
return item !== 'urgencyDesc';
});
} else {
initData.hideKeys.push('urgencyDesc');
}
return true;
}
});
};
// 获取确认人列表

View File

@@ -95,6 +95,7 @@ const initFun = async () => {
await initDetailData({
data: props.data,
ref: TableFormRef.value,
hideKeys: hideKeys.value,
});
editFormInfo.value = {
...props.data,

View File

@@ -97,6 +97,7 @@ const initFun = async () => {
await initDetailData({
data: props.data,
ref: TableFormRef.value,
hideKeys: hideKeys.value,
});
editFormInfo.value = {
...props.data,

View File

@@ -90,6 +90,7 @@ const initFun = async () => {
await initDetailData({
data: props.data,
ref: TableFormRef.value,
hideKeys: hideKeys.value,
});
editFormInfo.value = {
...props.data,