|
|
@@ -132,7 +132,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column label="仅通知当事人" align="center" width="110">
|
|
|
<template #default="scope">
|
|
|
- <el-switch v-model="scope.row.isClient" :active-value="1" :inactive-value="0" />
|
|
|
+ <el-switch v-model="scope.row.isClient" :active-value="1" :inactive-value="0" :disabled="scope.row.status !== 1"/>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="通知模板" align="center">
|
|
|
@@ -140,7 +140,8 @@
|
|
|
<span>{{ scope.row.notifyTemplateName }}</span>
|
|
|
<i
|
|
|
style="margin-left: 8px; color: #409eff; cursor: pointer; font-style: normal"
|
|
|
- @click="changeTemplate(scope.row)"
|
|
|
+ :style="{ color: scope.row.status !== 1 ? '#ccc' : '#409eff', pointerEvents: scope.row.status !== 1 ? 'none' : 'auto' }"
|
|
|
+ @click="scope.row.status == 1 && changeTemplate(scope.row)"
|
|
|
>
|
|
|
{{ scope.row.notifyTemplateName ? '更换' : '选择' }}
|
|
|
</i>
|