|
@@ -16,23 +16,33 @@
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<HcTable :isIndex="false" :column="tableColumn" :datas="tableData" :row-style="tableRowStyle" hasChildren="hasChildren1" children="childrenList">
|
|
<HcTable :isIndex="false" :column="tableColumn" :datas="tableData" :row-style="tableRowStyle" hasChildren="hasChildren1" children="childrenList">
|
|
|
|
+ <template #projectProcessValue="{row,index}">
|
|
|
|
+
|
|
|
|
+ <template v-if="row.taskFinishedStatus === 1">
|
|
|
|
+ <el-popover placement="top-start" title="" :width="200" :hide-after="0" :content="row?.projectProcessValue">
|
|
|
|
+ <template #reference>
|
|
|
|
+ <span class="text-hover">{{row.projectProcessValue}}</span>
|
|
|
|
+ </template>
|
|
|
|
+ </el-popover>
|
|
|
|
+ </template>
|
|
|
|
+ <span v-else>{{row.projectProcessValue}}</span>
|
|
|
|
+ </template>
|
|
<template #planTaskType="{row,index}">
|
|
<template #planTaskType="{row,index}">
|
|
- <el-select v-model="row.planTaskType" v-if="row.isEdit">
|
|
|
|
- <el-option v-for="item in taskTypeList" :label="item.dictName" :value="item.id"/>
|
|
|
|
|
|
+ <el-select v-model="row.planTaskType" v-if="row.isEdit" clearable>
|
|
|
|
+ <el-option v-for="item in taskTypeList" :label="item.dictName" :value="item.id" />
|
|
</el-select>
|
|
</el-select>
|
|
<span v-else>{{row?.planTaskTypeValue}}</span>
|
|
<span v-else>{{row?.planTaskTypeValue}}</span>
|
|
</template>
|
|
</template>
|
|
<template #planTaskDesc="{row,index}">
|
|
<template #planTaskDesc="{row,index}">
|
|
- <el-input v-model="row.planTaskDesc" v-if="row.isEdit"/>
|
|
|
|
|
|
+ <el-input v-model="row.planTaskDesc" v-if="row.isEdit" clearable/>
|
|
<span v-else>{{row.planTaskDesc}}</span>
|
|
<span v-else>{{row.planTaskDesc}}</span>
|
|
</template>
|
|
</template>
|
|
<template #planTarget="{row,index}">
|
|
<template #planTarget="{row,index}">
|
|
- <el-input v-model="row.planTarget" v-if="row.isEdit"/>
|
|
|
|
|
|
+ <el-input v-model="row.planTarget" v-if="row.isEdit" clearable/>
|
|
<span v-else>{{row.planTarget}}</span>
|
|
<span v-else>{{row.planTarget}}</span>
|
|
</template>
|
|
</template>
|
|
<template #key7="{row,index}">
|
|
<template #key7="{row,index}">
|
|
<HcDatePicker :dates="[row.planStartTime,row.planEndTime]" @change="betweenTimeUpdate($event,row)" v-if="row.isEdit" clearable/>
|
|
<HcDatePicker :dates="[row.planStartTime,row.planEndTime]" @change="betweenTimeUpdate($event,row)" v-if="row.isEdit" clearable/>
|
|
- <!-- <span v-else>{{row.key7}}</span> -->
|
|
|
|
<span v-else>
|
|
<span v-else>
|
|
<span >{{row.planStartTime?row.planStartTime:''}}</span>
|
|
<span >{{row.planStartTime?row.planStartTime:''}}</span>
|
|
<span v-if="row.planEndTime">~</span>
|
|
<span v-if="row.planEndTime">~</span>
|
|
@@ -42,13 +52,9 @@
|
|
|
|
|
|
</template>
|
|
</template>
|
|
<template #planDays="{row,index}">
|
|
<template #planDays="{row,index}">
|
|
- <el-input v-model="row.planDays" v-if="row.isEdit" disabled/>
|
|
|
|
|
|
+ <el-input v-model="row.planDays" v-if="row.isEdit" disabled clearable/>
|
|
<span v-else>{{row.planDays}}</span>
|
|
<span v-else>{{row.planDays}}</span>
|
|
</template>
|
|
</template>
|
|
- <!-- <template #key9="{row,index}">
|
|
|
|
- <el-input v-model="row.key9" v-if="row.isEdit"/>
|
|
|
|
- <span v-else>{{row.key9}}</span>
|
|
|
|
- </template> -->
|
|
|
|
<template #action="{row,index}">
|
|
<template #action="{row,index}">
|
|
<el-button size="small" type="success" v-if="row.isEdit" @click="getWorkDays(row)">保存</el-button>
|
|
<el-button size="small" type="success" v-if="row.isEdit" @click="getWorkDays(row)">保存</el-button>
|
|
<el-button size="small" type="primary" v-else @click="row.isEdit = true" :disabled="row?.isShowEdit===0">编辑</el-button>
|
|
<el-button size="small" type="primary" v-else @click="row.isEdit = true" :disabled="row?.isShowEdit===0">编辑</el-button>
|
|
@@ -80,15 +86,15 @@
|
|
</template>
|
|
</template>
|
|
<HcTable :isIndex="false" :column="tableSubplanColumn" :datas="tableSubplanData">
|
|
<HcTable :isIndex="false" :column="tableSubplanColumn" :datas="tableSubplanData">
|
|
<template #planTaskType="{row,index}">
|
|
<template #planTaskType="{row,index}">
|
|
- <el-select v-model="row.planTaskType" :disabled="!row.isEdit">
|
|
|
|
|
|
+ <el-select v-model="row.planTaskType" :disabled="!row.isEdit" clearable>
|
|
<el-option v-for="item in taskTypeList" :label="item.dictName" :value="item.id"/>
|
|
<el-option v-for="item in taskTypeList" :label="item.dictName" :value="item.id"/>
|
|
</el-select>
|
|
</el-select>
|
|
</template>
|
|
</template>
|
|
<template #planTaskDesc="{row,index}">
|
|
<template #planTaskDesc="{row,index}">
|
|
- <el-input v-model="row.planTaskDesc" :disabled="!row.isEdit"/>
|
|
|
|
|
|
+ <el-input v-model="row.planTaskDesc" :disabled="!row.isEdit" clearable/>
|
|
</template>
|
|
</template>
|
|
<template #planTarget="{row,index}">
|
|
<template #planTarget="{row,index}">
|
|
- <el-input v-model="row.planTarget" :disabled="!row.isEdit"/>
|
|
|
|
|
|
+ <el-input v-model="row.planTarget" :disabled="!row.isEdit" clearable/>
|
|
</template>
|
|
</template>
|
|
<template #key7="{row,index}">
|
|
<template #key7="{row,index}">
|
|
<HcDatePicker :dates="[row.planStartTime,row.planEndTime]" @change="subbetweenTimeUpdate($event,row)" :disabled="!row.isEdit" clearable/>
|
|
<HcDatePicker :dates="[row.planStartTime,row.planEndTime]" @change="subbetweenTimeUpdate($event,row)" :disabled="!row.isEdit" clearable/>
|
|
@@ -96,10 +102,10 @@
|
|
</template>
|
|
</template>
|
|
<template #planDays="{row,index}" >
|
|
<template #planDays="{row,index}" >
|
|
<!-- <el-input v-model="row.planDays" disabled/> -->
|
|
<!-- <el-input v-model="row.planDays" disabled/> -->
|
|
- <el-input v-model="row.planDays" disabled />
|
|
|
|
|
|
+ <el-input v-model="row.planDays" disabled clearable/>
|
|
</template>
|
|
</template>
|
|
<template #key9="{row,index}">
|
|
<template #key9="{row,index}">
|
|
- <el-input v-model="row.key9"/>
|
|
|
|
|
|
+ <el-input v-model="row.key9" clearable/>
|
|
</template>
|
|
</template>
|
|
<template #action="{row,index}">
|
|
<template #action="{row,index}">
|
|
<el-button size="small" type="success" v-if="row.isEdit" @click="getWorkDays(row)">保存</el-button>
|
|
<el-button size="small" type="success" v-if="row.isEdit" @click="getWorkDays(row)">保存</el-button>
|