|
@@ -311,7 +311,10 @@
|
|
|
<el-date-picker v-model="addForm.startDate" type="date" style="width:40%;" value-format="yyyy-MM-dd"
|
|
|
placeholder="请选择日期" :disabled="this.addForm.id != null && user.id != this.addForm.createrId && currentProject.inchargerId != user.id" @change="DateChange()" v-if="!timelabel"></el-date-picker>
|
|
|
<span style="margin-left:30px;margin-right:10px;" v-if="!timelabel">截止时间</span>
|
|
|
- <el-date-picker v-model="addForm.endDate" type="date" value-format="yyyy-MM-dd"
|
|
|
+ <el-date-picker style="width:40%;" v-model="addForm.endDate" type="date" value-format="yyyy-MM-dd"
|
|
|
+ placeholder="请选择日期" :disabled="this.addForm.id != null && user.id != this.addForm.createrId && currentProject.inchargerId != user.id" @change="DateChange()"></el-date-picker>
|
|
|
+ <span style="margin-left:30px;margin-right:10px;" v-if="timelabel && mileageCup">完成时间</span>
|
|
|
+ <el-date-picker style="width:40%;" v-if="timelabel && mileageCup" v-model="addForm.finishDate" type="date" value-format="yyyy-MM-dd"
|
|
|
placeholder="请选择日期" :disabled="this.addForm.id != null && user.id != this.addForm.createrId && currentProject.inchargerId != user.id" @change="DateChange()"></el-date-picker>
|
|
|
</el-form-item>
|
|
|
<div style="border: 1px solid #ddd;margin:5px 0;padding:5px 0;">
|
|
@@ -869,6 +872,7 @@ import delete$ from 'dingtalk-jsapi/api/biz/cspace/delete';
|
|
|
|
|
|
data() {
|
|
|
return {
|
|
|
+ mileageCup: false,
|
|
|
loadingExport : false,
|
|
|
saveTemplateLoading: false,
|
|
|
joinMembList:[],
|
|
@@ -2091,6 +2095,7 @@ import delete$ from 'dingtalk-jsapi/api/biz/cspace/delete';
|
|
|
},
|
|
|
// 点击卡片事件
|
|
|
editTask(task) {
|
|
|
+ this.mileageCup = true
|
|
|
// console.log('editTask',task)
|
|
|
if(task.taskType == 1){
|
|
|
this.timelabel = true
|
|
@@ -2228,6 +2233,7 @@ import delete$ from 'dingtalk-jsapi/api/biz/cspace/delete';
|
|
|
});
|
|
|
},
|
|
|
addTask(stage) {
|
|
|
+ this.mileageCup = false
|
|
|
this.addFormVisible = true;
|
|
|
this.addForm = {projectId: stage.projectId, groupId: stage.groupId, stagesId: stage.id, taskLevel:0, planHours: 8, taskType: 0};
|
|
|
this.addForm.executorListFront = [{executorId:null, planHours:this.user.timeType.allday}];
|