|
@@ -282,7 +282,7 @@
|
|
|
|
|
|
</template>
|
|
|
<template #planDays="{row,index}" >
|
|
|
- <el-input v-model="row.planDays" disabled clearable />
|
|
|
+ <el-input v-model="row.planDays" disabled clearable/>
|
|
|
</template>
|
|
|
<template #key9="{row,index}">
|
|
|
<el-input v-model="row.key9" clearable/>
|
|
@@ -561,20 +561,14 @@ const relatedModalShow = (row) => {
|
|
|
}
|
|
|
//保存获取工作时长
|
|
|
const getWorkDays=async(row)=>{
|
|
|
-
|
|
|
if(row?.planStartTime&&row?.planEndTime){
|
|
|
-
|
|
|
const {error, code, data,msg} = await projectApi.getWorkDays( {
|
|
|
startDate:row.planStartTime,
|
|
|
endDate:row.planEndTime,
|
|
|
|
|
|
})
|
|
|
-
|
|
|
if (!error && code === 200) {
|
|
|
- if(data){
|
|
|
row.planDays=data
|
|
|
- }
|
|
|
-
|
|
|
}
|
|
|
}
|
|
|
|