给本周进展和下周计划改为文本域

This commit is contained in:
chen 2024-07-31 11:25:00 +08:00
parent daea518ac8
commit 7a5f545a58
5 changed files with 16 additions and 11 deletions

View File

@ -32,7 +32,7 @@
placeholder="请输入内容" placeholder="请输入内容"
v-model="formAll.ls[0].thisWeek" v-model="formAll.ls[0].thisWeek"
type="textarea" type="textarea"
row="7" :rows="5"
> >
</el-input> </el-input>
</el-form-item> </el-form-item>
@ -42,7 +42,7 @@
placeholder="请输入内容" placeholder="请输入内容"
v-model="formAll.ls[0].nextWeek" v-model="formAll.ls[0].nextWeek"
type="textarea" type="textarea"
row="7" :rows="5"
> >
</el-input> </el-input>
</el-form-item> </el-form-item>

View File

@ -318,15 +318,12 @@
}, },
isAdminDisabled (rowId) { isAdminDisabled (rowId) {
const rowData = this.dataList.find(item => item.id === rowId); const rowData = this.dataList.find(item => item.id === rowId);
console.log("rowData=:", rowData); if (this.formAll.userId !== rowData.ext.draftManId &&
if (rowId === rowData.id) { this.formAll.userId !== rowData.ext.projectManagerData) {
if (this.formAll.userId !== rowData.draftManId && return false
this.formAll.userId !== rowData.projectManagerData) { } else {
return false; return true
} }
} else {
return true
}
}, },
updateWorkload (id) { updateWorkload (id) {
this.$router.push({ this.$router.push({

View File

@ -121,6 +121,8 @@
class="form-input" class="form-input"
placeholder="请输入内容" placeholder="请输入内容"
v-model="formModel.thisWeek" v-model="formModel.thisWeek"
type="textarea"
:rows="5"
> >
</el-input> </el-input>
</el-form-item> </el-form-item>
@ -129,6 +131,8 @@
class="form-input" class="form-input"
placeholder="请输入内容" placeholder="请输入内容"
v-model="formModel.nextWeek" v-model="formModel.nextWeek"
type="textarea"
:rows="5"
> >
</el-input> </el-input>
</el-form-item> </el-form-item>

View File

@ -36,6 +36,8 @@
class="form-input" class="form-input"
placeholder="请输入内容" placeholder="请输入内容"
v-model="formAll.ls[0].thisWeek" v-model="formAll.ls[0].thisWeek"
type="textarea"
:rows="5"
> >
</el-input> </el-input>
</el-form-item> </el-form-item>
@ -44,6 +46,8 @@
class="form-input" class="form-input"
placeholder="请输入内容" placeholder="请输入内容"
v-model="formAll.ls[0].nextWeek" v-model="formAll.ls[0].nextWeek"
type="textarea"
:rows="5"
> >
</el-input> </el-input>
</el-form-item> </el-form-item>

View File

@ -60,7 +60,7 @@
<el-table-column label="操作"> <el-table-column label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="text" size="mini" @click="showById(scope.row.id)">查看工作量</el-button> <el-button type="text" size="mini" @click="showById(scope.row.id)">查看工作量</el-button>
<el-button type="text" size="mini" @click="updateById(scope.row.id)">修改</el-button> <el-button type="text" size="mini" @click="updateById(scope.row.id)">查看</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>