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

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

parent ab940b15
...@@ -86,16 +86,16 @@ const DetialLayout = () => { ...@@ -86,16 +86,16 @@ const DetialLayout = () => {
let interiorLogStates: any = []; let interiorLogStates: any = [];
let externalLogs: any = []; let externalLogs: any = [];
let interiorLogs: any = []; let interiorLogs: any = [];
(data.outerTaskList || []).forEach((item: any) => { // (data.outerTaskList || []).forEach((item: any) => {
externalLogStates.push({ // externalLogStates.push({
state: item.step, // state: item.step,
stateName: null, // stateName: null,
isExecute: item.isExecute, // isExecute: item.isExecute,
operationalProcess: item.taskName, // operationalProcess: item.taskName,
roleName: item.roleName, // roleName: item.roleName,
}) // })
}) // })
data.externalLogStates = externalLogStates; // data.externalLogStates = externalLogStates;
(data.innerTaskList || []).forEach((item: any) => { (data.innerTaskList || []).forEach((item: any) => {
interiorLogStates.push({ interiorLogStates.push({
state: item.step, state: item.step,
...@@ -106,19 +106,19 @@ const DetialLayout = () => { ...@@ -106,19 +106,19 @@ const DetialLayout = () => {
}) })
}) })
data.interiorLogStates = interiorLogStates; data.interiorLogStates = interiorLogStates;
(data.outerRecordDOList || []).forEach((item: any, index: number) => { // (data.outerRecordDOList || []).forEach((item: any, index: number) => {
externalLogs.push({ // externalLogs.push({
operation: item.operate, // operation: item.operate,
createTime: item.operateTime, // createTime: item.operateTime,
roleName: item.roleName, // roleName: item.roleName,
auditOpinion: item.opinion, // auditOpinion: item.opinion,
stateName: item.statusName, // stateName: item.statusName,
id: index + 1, // id: index + 1,
state: item.status, // state: item.status,
step: index, // step: index,
}) // })
}) // })
data.externalLogs = externalLogs; // data.externalLogs = externalLogs;
(data.innerRecordDOList || []).forEach((item: any, index: number) => { (data.innerRecordDOList || []).forEach((item: any, index: number) => {
interiorLogs.push({ interiorLogs.push({
auditOpinion: item.opinion, auditOpinion: item.opinion,
......
...@@ -132,13 +132,13 @@ const Search = () => { ...@@ -132,13 +132,13 @@ const Search = () => {
}).catch(err => { }).catch(err => {
console.warn(err) console.warn(err)
}) })
/** 外部状态 */ // /** 外部状态 */
getMarketingMerchantActivityGetOuterStatusList().then(res => { // getMarketingMerchantActivityGetOuterStatusList().then(res => {
const _enum = res.data.map((item) => { return { label: item.name, value: item.status } }); // const _enum = res.data.map((item) => { return { label: item.name, value: item.status } });
linkage.enum('outerStatus', _enum); // linkage.enum('outerStatus', _enum);
}).catch(err => { // }).catch(err => {
console.warn(err) // console.warn(err)
}) // })
/** 内部状态 */ /** 内部状态 */
getMarketingMerchantActivityGetInnerStatusList().then(res => { getMarketingMerchantActivityGetInnerStatusList().then(res => {
const _enum = res.data.map((item) => { return { label: item.name, value: item.status } }) const _enum = res.data.map((item) => { return { label: item.name, value: item.status } })
...@@ -241,16 +241,16 @@ const Search = () => { ...@@ -241,16 +241,16 @@ const Search = () => {
}, },
enum: [], enum: [],
}, },
outerStatus: { // outerStatus: {
type: 'string', // type: 'string',
'x-component-props': { // 'x-component-props': {
placeholder: `${intl.formatMessage({ id: 'selfManagement.externalState' })}`, // placeholder: `${intl.formatMessage({ id: 'selfManagement.externalState' })}`,
style: { // style: {
width: 160, // width: 160,
}, // },
}, // },
enum: [], // enum: [],
}, // },
innerStatus: { innerStatus: {
type: 'string', type: 'string',
'x-component-props': { '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