|
@@ -1152,7 +1152,8 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="manDay" width="200" label="预估工时" >
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input v-model="scope.row.manDay" type="number" :placeholder="$t('peaseenterthe')" maxlength="10" :max="99999" style="width:120px;"></el-input> 人天 <i v-if="user.companyId=3092" @click="changeBudget(scope.row)" class="el-icon-circle-plus-outline"></i>
|
|
|
+ <el-input v-model="scope.row.manDay" type="number" :placeholder="$t('peaseenterthe')" maxlength="10" :max="99999" style="width:120px;" :disabled="scope.row.disabled"></el-input> 人天
|
|
|
+ <i v-if="user.companyId=3092 && scope.row.disabled" @click="changeBudget(scope.row)" class="el-icon-circle-plus-outline"></i>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -3361,8 +3362,16 @@
|
|
|
this.http.post('/task-group/list',{projectId: this.curProjectId},
|
|
|
res => {
|
|
|
if (res.code == "ok") {
|
|
|
+ const { companyId } = this.user
|
|
|
this.allGroupData = res.data;
|
|
|
- this.groupList = res.data;
|
|
|
+ // if(companyId == '3092') {
|
|
|
+ res.data.forEach(item => {
|
|
|
+ item.disabled = Boolean(item.manDay);
|
|
|
+ });
|
|
|
+ this.groupList = res.data;
|
|
|
+ // } else {
|
|
|
+ // this.groupList = res.data;
|
|
|
+ // }
|
|
|
console.log(this.groupList,'grouplist');
|
|
|
if (this.groupList.length > 0) {
|
|
|
this.defaultGroupId = this.groupList[0].id;
|