|
@@ -111,7 +111,8 @@ const getDepartmentPlan=async()=>{
|
|
}
|
|
}
|
|
)
|
|
)
|
|
if (!error && code === 200) {
|
|
if (!error && code === 200) {
|
|
- console.log(getObjValue(data),'详情');
|
|
|
|
|
|
+ console.log(getArrValue(data),'详情');
|
|
|
|
+ tableData.value=getArrValue(data)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -137,17 +138,17 @@ const tabChange = ({key}) => {
|
|
//获取数据
|
|
//获取数据
|
|
const tableLoading = ref(false)
|
|
const tableLoading = ref(false)
|
|
const tableColumn = [
|
|
const tableColumn = [
|
|
- {key: 'key1', name: '所属项目', minWidth: '160'},
|
|
|
|
- {key: 'key2', name: '项目环节', width: '160', align: 'center'},
|
|
|
|
- {key: 'key3', name: '预算类型', width: '160', align: 'center'},
|
|
|
|
- {key: 'key4', name: '任务明细', width: '160', align: 'center'},
|
|
|
|
- {key: 'key5', name: '任务类型', width: '160', align: 'center'},
|
|
|
|
- {key: 'key6', name: '任务描述', minWidth: '160', isTooltip: true},
|
|
|
|
- {key: 'key8', name: '完成指标', width: '160', align: 'center'},
|
|
|
|
- {key: 'key9', name: '任务人', width: '160', align: 'center'},
|
|
|
|
|
|
+ {key: 'projectName', name: '所属项目', minWidth: '160'},
|
|
|
|
+ {key: 'projectProcessValue', name: '项目环节', width: '160', align: 'center'},
|
|
|
|
+ {key: 'budgetTypeValue', name: '预算类型', width: '160', align: 'center'},
|
|
|
|
+ {key: 'taskDetailValue', name: '任务明细', width: '160', align: 'center'},
|
|
|
|
+ {key: 'planTaskType', name: '任务类型', width: '160', align: 'center'},
|
|
|
|
+ {key: 'planTaskDesc', name: '任务描述', minWidth: '160', isTooltip: true},
|
|
|
|
+ {key: 'planTarget', name: '完成指标', width: '160', align: 'center'},
|
|
|
|
+ {key: 'taskUser', name: '任务人', width: '160', align: 'center'},
|
|
{key: 'key10', name: '计划起止日期', width: '220', align: 'center'},
|
|
{key: 'key10', name: '计划起止日期', width: '220', align: 'center'},
|
|
- {key: 'key11', name: '预计差旅费(元)', width: '180', align: 'center'},
|
|
|
|
- {key: 'key12', name: '状态', width: '100', align: 'center'},
|
|
|
|
|
|
+ {key: 'budgetTravelExpense', name: '预计差旅费(元)', width: '180', align: 'center'},
|
|
|
|
+ {key: 'statusValue', name: '状态', width: '100', align: 'center'},
|
|
{key: 'action', name: '操作', width: '160', align: 'center', fixed: 'right'},
|
|
{key: 'action', name: '操作', width: '160', align: 'center', fixed: 'right'},
|
|
]
|
|
]
|
|
const tableData = ref([
|
|
const tableData = ref([
|