Commit 9d905ee2 authored by 前端-黄佳鑫's avatar 前端-黄佳鑫

feat: 商家营销活动管理:去掉外部工作流

parent ab940b15
......@@ -86,16 +86,16 @@ const DetialLayout = () => {
let interiorLogStates: any = [];
let externalLogs: any = [];
let interiorLogs: any = [];
(data.outerTaskList || []).forEach((item: any) => {
externalLogStates.push({
state: item.step,
stateName: null,
isExecute: item.isExecute,
operationalProcess: item.taskName,
roleName: item.roleName,
})
})
data.externalLogStates = externalLogStates;
// (data.outerTaskList || []).forEach((item: any) => {
// externalLogStates.push({
// state: item.step,
// stateName: null,
// isExecute: item.isExecute,
// operationalProcess: item.taskName,
// roleName: item.roleName,
// })
// })
// data.externalLogStates = externalLogStates;
(data.innerTaskList || []).forEach((item: any) => {
interiorLogStates.push({
state: item.step,
......@@ -106,19 +106,19 @@ const DetialLayout = () => {
})
})
data.interiorLogStates = interiorLogStates;
(data.outerRecordDOList || []).forEach((item: any, index: number) => {
externalLogs.push({
operation: item.operate,
createTime: item.operateTime,
roleName: item.roleName,
auditOpinion: item.opinion,
stateName: item.statusName,
id: index + 1,
state: item.status,
step: index,
})
})
data.externalLogs = externalLogs;
// (data.outerRecordDOList || []).forEach((item: any, index: number) => {
// externalLogs.push({
// operation: item.operate,
// createTime: item.operateTime,
// roleName: item.roleName,
// auditOpinion: item.opinion,
// stateName: item.statusName,
// id: index + 1,
// state: item.status,
// step: index,
// })
// })
// data.externalLogs = externalLogs;
(data.innerRecordDOList || []).forEach((item: any, index: number) => {
interiorLogs.push({
auditOpinion: item.opinion,
......
......@@ -132,13 +132,13 @@ const Search = () => {
}).catch(err => {
console.warn(err)
})
/** 外部状态 */
getMarketingMerchantActivityGetOuterStatusList().then(res => {
const _enum = res.data.map((item) => { return { label: item.name, value: item.status } });
linkage.enum('outerStatus', _enum);
}).catch(err => {
console.warn(err)
})
// /** 外部状态 */
// getMarketingMerchantActivityGetOuterStatusList().then(res => {
// const _enum = res.data.map((item) => { return { label: item.name, value: item.status } });
// linkage.enum('outerStatus', _enum);
// }).catch(err => {
// console.warn(err)
// })
/** 内部状态 */
getMarketingMerchantActivityGetInnerStatusList().then(res => {
const _enum = res.data.map((item) => { return { label: item.name, value: item.status } })
......@@ -241,16 +241,16 @@ const Search = () => {
},
enum: [],
},
outerStatus: {
type: 'string',
'x-component-props': {
placeholder: `${intl.formatMessage({ id: 'selfManagement.externalState' })}`,
style: {
width: 160,
},
},
enum: [],
},
// outerStatus: {
// type: 'string',
// 'x-component-props': {
// placeholder: `${intl.formatMessage({ id: 'selfManagement.externalState' })}`,
// style: {
// width: 160,
// },
// },
// enum: [],
// },
innerStatus: {
type: 'string',
'x-component-props': {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment