已完成状态时,强制撤回禁用置灰
This commit is contained in:
@@ -29,7 +29,8 @@
|
|||||||
|
|
||||||
<el-button :disabled="tableData[scope.$index].status=='已完成'" @click.native.prevent="back(scope.$index, tableData)" type="text" size="small"
|
<el-button :disabled="tableData[scope.$index].status=='已完成'" @click.native.prevent="back(scope.$index, tableData)" type="text" size="small"
|
||||||
>
|
>
|
||||||
<span style="color: rgb(236, 128, 141)">强制撤回</span>
|
<span :style="tableData[scope.$index].status=='已完成' ? {color:icolor } :{color:color}" >强制撤回</span>
|
||||||
|
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -42,6 +43,8 @@ export default {
|
|||||||
name: "sentProcess",
|
name: "sentProcess",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
color:'rgb(236, 128, 141)',
|
||||||
|
icolor:'rgb(119,136,153)',
|
||||||
tableData: [
|
tableData: [
|
||||||
{
|
{
|
||||||
processId: "2016-05-1",
|
processId: "2016-05-1",
|
||||||
|
|||||||
Reference in New Issue
Block a user