|
@@ -63,10 +63,11 @@
|
|
|
size="small"
|
|
|
class="delete"
|
|
|
@click="enableOrAble(scope.row,0)"
|
|
|
- v-if="scope.row.planStatus === 1"
|
|
|
+ v-if="scope.row.planStatus === 1 && scope.row.hospitalId !=-1"
|
|
|
+ :disabled="scope.row.hospitalId ==-1?true:false"
|
|
|
>禁用</el-button>
|
|
|
- <el-button type="text" size="small" @click="enableOrAble(scope.row,1)" v-else>启用</el-button>
|
|
|
- <span style="margin:0 3px;">|</span>
|
|
|
+ <el-button type="text" size="small" @click="enableOrAble(scope.row,1)" :disabled="scope.row.hospitalId ==-1?true:false" v-else>启用</el-button>
|
|
|
+ <span style="margin:0 3px;" >|</span>
|
|
|
<el-button
|
|
|
v-if="scope.row.planStatus !== 1"
|
|
|
@click="showDelDialog(scope.row.id,scope.row.planStatus,scope.row.planName,scope.row)"
|