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

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

View File

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

View File

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

View File

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

View File

@ -60,7 +60,7 @@
<el-table-column label="操作">
<template slot-scope="scope">
<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>
</el-table-column>
</el-table>