|
@@ -17,7 +17,7 @@
|
|
|
<el-table-column label="项目" width="220">
|
|
|
<template slot-scope="scope">
|
|
|
<el-select v-model="scope.row.projectId" size="small" placeholder="请选择项目" clearable
|
|
|
- @change="changeProject(scope.row.projectId, scope.$index)" :disabled="scope.row.state == 1">
|
|
|
+ @change="changeProject(scope.row.projectId, scope.$index)" :disabled="scope.row.state == 1 || scope.row.state == 0">
|
|
|
<el-option v-for="item in projectList" :key="item.id" :label="item.projectName"
|
|
|
:value="item.id">
|
|
|
</el-option>
|
|
@@ -28,7 +28,7 @@
|
|
|
<template slot-scope="scope">
|
|
|
<el-select v-model="scope.row.groupId" size="small" placeholder="请选择分类"
|
|
|
@change="changeGroup(scope.row.groupId, scope.row.taskGroups, scope.$index)"
|
|
|
- :disabled="scope.row.state == 1">
|
|
|
+ :disabled="scope.row.state == 1 || scope.row.state == 0">
|
|
|
<el-option v-for="item in scope.row.taskGroups" :key="item.id" :label="item.name"
|
|
|
:value="item.id">
|
|
|
</el-option>
|
|
@@ -38,13 +38,13 @@
|
|
|
<el-table-column prop="content" label="工作内容" width="300">
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" type="textarea" :rows="1" v-model="scope.row.content"
|
|
|
- :disabled="scope.row.state == 1"></el-input>
|
|
|
+ :disabled="scope.row.state == 1 || scope.row.state == 0"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="workingTime" label="时间(小时)" width="160">
|
|
|
<template slot-scope="scope">
|
|
|
<el-input-number size="small" v-model="scope.row.workingTime" :min="0" :max="12" :step="0.5"
|
|
|
- :disabled="scope.row.state == 1"></el-input-number>
|
|
|
+ :disabled="scope.row.state == 1 || scope.row.state == 0"></el-input-number>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="projectAuditorId" label="审批人" width="160">
|