|
@@ -726,7 +726,7 @@
|
|
|
<span>{{ $t('wenjian1guanli') }}</span>
|
|
|
<div>
|
|
|
<span>{{ $t('xuanzwenjian') }}</span>
|
|
|
- <el-select v-model="addFileId">
|
|
|
+ <el-select v-model="addFileId" filterable >
|
|
|
<el-option
|
|
|
v-for="item in projectFileList"
|
|
|
:key="item.id"
|
|
@@ -1689,7 +1689,7 @@
|
|
|
},
|
|
|
// 列表的删除按钮
|
|
|
taskFileDelete(eid){
|
|
|
- this.$confirm(this.$t('quxiaoguanlan'), this.$t('other.prompts'), {
|
|
|
+ this.$confirm('是否移除此文件?', this.$t('other.prompts'), {
|
|
|
confirmButtonText: this.$t('btn.determine'),
|
|
|
cancelButtonText: this.$t('btn.cancel'),
|
|
|
type: 'warning'
|
|
@@ -2435,6 +2435,7 @@
|
|
|
backToParentTask() {
|
|
|
// this.getTaskDetail(this.addForm.parentTid);
|
|
|
this.getTaskDetail(this.timelabel ? this.relationPar.id : this.addForm.parentTid);
|
|
|
+ this.isEditFile = true;
|
|
|
if(this.timelabel){
|
|
|
this.isRelationItem = false
|
|
|
// this.relationPar = {name: ''}
|
|
@@ -2449,6 +2450,8 @@
|
|
|
this.addForm = {parentTname: this.addForm.name,parentTid: this.addForm.id,projectId: this.addForm.projectId, groupId: this.addForm.groupId, taskLevel:0, planHours: 8, taskType: 0};
|
|
|
this.addForm.executorListFront = [{executorId:null, planHours:8}];
|
|
|
this.addLoading = false;
|
|
|
+ //创建子任务,非编辑状态
|
|
|
+ this.isEditFile = false;
|
|
|
},
|
|
|
//认领任务
|
|
|
addAsMyTask(task) {
|