已完成状态时,强制撤回禁用置灰

This commit is contained in:
yuekuo
2023-04-17 13:42:20 +08:00
parent 6723cf0ab9
commit bf594d4b89
@@ -29,7 +29,8 @@
<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>
</template>
</el-table-column>
@@ -42,6 +43,8 @@ export default {
name: "sentProcess",
data() {
return {
color:'rgb(236, 128, 141)',
icolor:'rgb(119,136,153)',
tableData: [
{
processId: "2016-05-1",