|
@@ -47,14 +47,14 @@ const taskTypeList = [
|
|
|
hasJoin: true, // 是否需要拼接
|
|
|
name: '查核人x', // 显示的内容, x未来被替换的值
|
|
|
key: 'establishEmpName', // 使用详情接口key,用来替换x
|
|
|
- isOutDataKey: false // 是否详情接口一级key, 不是则在当前任务状态中找key(如pfmTaskCirculationList下面)
|
|
|
+ isOutvalueKey: false // 是否详情接口一级key, 不是则在当前任务状态中找key(如pfmTaskCirculationList下面)
|
|
|
},
|
|
|
// 第二行显示的内容
|
|
|
row2: {
|
|
|
hasJoin: true,
|
|
|
name: '发送改善通知,查核结果:x',
|
|
|
key: 'checkDetailResult',
|
|
|
- isOutDataKey: true
|
|
|
+ isOutvalueKey: true
|
|
|
},
|
|
|
// 查看xx详情 (name: 详情名字, componentName: 点击后跳转的页面, disabled: 底部按钮禁用)
|
|
|
selectDetails: {
|
|
@@ -62,9 +62,10 @@ const taskTypeList = [
|
|
|
hasAnyData: false, // 是否有多个数据需要回显 为true则使用dateKey, 否则使用key <key和datakey互斥)
|
|
|
key: 'checkDetailResult', //使用详情接口key
|
|
|
dataKey: [],
|
|
|
- isOutDataKey: true, // 是否详情接口一级key, 不是则在当前任务状态中找key(如pfmTaskCirculationList下面)
|
|
|
+ isOutvalueKey: true, // 是否详情接口一级key, 不是则在当前任务状态中找key(如pfmTaskCirculationList下面)
|
|
|
componentName: 'disagree', //点击后跳转的组件名
|
|
|
- disabled: true // 调整后是否编辑和禁用
|
|
|
+ disabled: true, // 调整后是否编辑和禁用
|
|
|
+ labelKey: 'textarea' // 回显时使用的key
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -102,13 +103,14 @@ const taskTypeList = [
|
|
|
}
|
|
|
],
|
|
|
row1: { hasJoin: true, name: '查核人x', key: 'establishEmpName' },
|
|
|
- row2: {hasJoin: true, name: '发送改善通知,查核结果:x', key: 'checkDetailResult', isOutDataKey: true },
|
|
|
+ row2: {hasJoin: true, name: '发送改善通知,查核结果:x', key: 'checkDetailResult', isOutvalueKey: true },
|
|
|
selectDetails: {
|
|
|
name: '查看查核结果详情',
|
|
|
key: 'checkDetailResult',
|
|
|
- isOutDataKey: true,
|
|
|
+ isOutvalueKey: true,
|
|
|
componentName: 'disagree',
|
|
|
- disabled: true
|
|
|
+ disabled: true,
|
|
|
+ labelKey: 'textarea'
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -150,7 +152,8 @@ const taskTypeList = [
|
|
|
name: '查看不认可原因详情',
|
|
|
key: 'approveReason',
|
|
|
componentName: 'disagree',
|
|
|
- disabled: true
|
|
|
+ disabled: true,
|
|
|
+ labelKey: 'textarea'
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -181,7 +184,8 @@ const taskTypeList = [
|
|
|
name: '查看原因详情',
|
|
|
key: 'approveReason',
|
|
|
componentName: 'disagree',
|
|
|
- disabled: true
|
|
|
+ disabled: true,
|
|
|
+ labelKey: 'textarea'
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -259,8 +263,8 @@ const taskTypeList = [
|
|
|
componentName: 'write-back',
|
|
|
hasAnyData: true, // 是否有多个数据需要回显(多个数据对多个key)
|
|
|
dataKey: [
|
|
|
- {key: 'approveReason', isOutvalueKey: false}, // 回复内容
|
|
|
- {key: 'imgPath', isOutvalueKey: false} // 回复图片地址
|
|
|
+ {key: 'approveReason', isOutvalueKey: false, labelKey: 'textarea'}, // 回复内容
|
|
|
+ {key: 'imgPath', isOutvalueKey: false, labelKey: 'filePath'} // 回复图片地址
|
|
|
],
|
|
|
disabled: true
|
|
|
},
|
|
@@ -358,7 +362,8 @@ const taskTypeList = [
|
|
|
componentName: 'pdca',
|
|
|
pdcaSetting: 'p',
|
|
|
key: 'taskPlan',
|
|
|
- disabled: true
|
|
|
+ disabled: true,
|
|
|
+ labelKey: 'plan'
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -388,7 +393,8 @@ const taskTypeList = [
|
|
|
name: '查看原因详情',
|
|
|
key: 'approveReason',
|
|
|
componentName: 'disagree',
|
|
|
- disabled: true
|
|
|
+ disabled: true,
|
|
|
+ labelKey: 'textarea'
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -428,13 +434,13 @@ const taskTypeList = [
|
|
|
selectDetails: {
|
|
|
name: '查看改善方案详情',
|
|
|
componentName: 'pdca',
|
|
|
- pdcaSetting: 'pacd',
|
|
|
+ pdcaSetting: 'pdca',
|
|
|
hasAnyData: true, // 是否有多个数据需要回显(多个数据对多个key)
|
|
|
dataKey: [
|
|
|
- {key: 'taskPlan', isOutvalueKey: false}, // plan
|
|
|
- {key: 'taskDoRequestList', isOutvalueKey: false}, // do
|
|
|
- {key: 'taskCheckRequestList', isOutvalueKey: false}, // check
|
|
|
- {key: 'taskAction', isOutvalueKey: false}, // action
|
|
|
+ {key: 'taskPlan', isOutvalueKey: false, labelKey: 'plan'}, // plan
|
|
|
+ {key: 'taskDoRequestList', isOutvalueKey: false, labelKey: 'do'}, // do
|
|
|
+ {key: 'taskCheckRequestList', isOutvalueKey: false, labelKey: 'check'}, // check
|
|
|
+ {key: 'taskAction', isOutvalueKey: false, labelKey: 'action'}, // action
|
|
|
],
|
|
|
disabled: true
|
|
|
}
|
|
@@ -466,7 +472,8 @@ const taskTypeList = [
|
|
|
name: '查看原因详情',
|
|
|
key: 'approveReason',
|
|
|
componentName: 'disagree',
|
|
|
- disabled: true
|
|
|
+ disabled: true,
|
|
|
+ labelKey: 'textarea'
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -549,7 +556,8 @@ const taskTypeList = [
|
|
|
componentName: 'pdca',
|
|
|
pdcaSetting: 'p',
|
|
|
key: 'taskPlan',
|
|
|
- disabled: true
|
|
|
+ disabled: true,
|
|
|
+ labelKey: 'plan'
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -594,7 +602,8 @@ const taskTypeList = [
|
|
|
componentName: 'pdca',
|
|
|
pdcaSetting: 'p',
|
|
|
nextPermission: 5,
|
|
|
- disabled: true
|
|
|
+ disabled: true,
|
|
|
+ labelKey: 'plan'
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -639,7 +648,8 @@ const taskTypeList = [
|
|
|
componentName: 'pdca',
|
|
|
pdcaSetting: 'p',
|
|
|
nextPermission: 5,
|
|
|
- disabled: true
|
|
|
+ disabled: true,
|
|
|
+ labelKey: 'plan'
|
|
|
}
|
|
|
},
|
|
|
{
|
|
@@ -683,10 +693,10 @@ const taskTypeList = [
|
|
|
name: '查看改善方案详情',
|
|
|
hasAnyData: true, // 是否有多个数据需要回显(多个数据对多个key)
|
|
|
dataKey: [
|
|
|
- {key: 'taskPlan', isOutvalueKey: false}, // plan
|
|
|
- {key: 'taskDoRequestList', isOutvalueKey: false}, // do
|
|
|
- {key: 'taskCheckRequestList', isOutvalueKey: false}, // check
|
|
|
- {key: 'taskAction', isOutvalueKey: false}, // action
|
|
|
+ {key: 'taskPlan', isOutvalueKey: false, labelKey: 'plan'}, // plan
|
|
|
+ {key: 'taskDoRequestList', isOutvalueKey: false, labelKey: 'do'}, // do
|
|
|
+ {key: 'taskCheckRequestList', isOutvalueKey: false, labelKey: 'check'}, // check
|
|
|
+ {key: 'taskAction', isOutvalueKey: false, labelKey: 'action'}, // action
|
|
|
],
|
|
|
componentName: 'pdca',
|
|
|
pdcaSetting: 'pdca',
|
|
@@ -705,10 +715,10 @@ const taskTypeList = [
|
|
|
name: '查看改善方案详情',
|
|
|
hasAnyData: true, // 是否有多个数据需要回显(多个数据对多个key)
|
|
|
dataKey: [
|
|
|
- {key: 'taskPlan', isOutvalueKey: false}, // plan
|
|
|
- {key: 'taskDoRequestList', isOutvalueKey: false}, // do
|
|
|
- {key: 'taskCheckRequestList', isOutvalueKey: false}, // check
|
|
|
- {key: 'taskAction', isOutvalueKey: false}, // action
|
|
|
+ {key: 'taskPlan', isOutvalueKey: false, labelKey: 'plan'}, // plan
|
|
|
+ {key: 'taskDoRequestList', isOutvalueKey: false, labelKey: 'do'}, // do
|
|
|
+ { key: 'taskCheckRequestList', isOutvalueKey: false, labelKey: 'check'}, // check
|
|
|
+ {key: 'taskAction', isOutvalueKey: false, labelKey: 'action'}, // action
|
|
|
],
|
|
|
componentName: 'pdca',
|
|
|
pdcaSetting: 'pdca',
|
|
@@ -744,7 +754,8 @@ const taskTypeList = [
|
|
|
name: '查看原因详情',
|
|
|
key: 'approveReason',
|
|
|
componentName: 'disagree',
|
|
|
- disabled: true
|
|
|
+ disabled: true,
|
|
|
+ labelKey: 'textarea'
|
|
|
}
|
|
|
},
|
|
|
];
|