|
@@ -61,8 +61,8 @@
|
|
|
<el-button
|
|
|
type="text"
|
|
|
size="small"
|
|
|
- :class="codeArr.includes(scope.row.planCode) ? 'active-t': 'active'"
|
|
|
- :disabled = 'codeArr.includes(scope.row.planCode)'
|
|
|
+ :class="scope.row.hospitalId===-1&&codeArr.includes(scope.row.planCode) ? 'active-t': 'delete'"
|
|
|
+ :disabled = 'scope.row.hospitalId===-1&&codeArr.includes(scope.row.planCode)'
|
|
|
@click="enableOrAble(scope.row,0)"
|
|
|
v-if="scope.row.planStatus === 1"
|
|
|
>禁用</el-button>
|
|
@@ -261,7 +261,7 @@ export default {
|
|
|
: { currentPage: this.currentPage, pageSize: this.pageSize };
|
|
|
this.$router.push({
|
|
|
name: "AddPlan",
|
|
|
- params: Object.assign(pam, { isEdit: true, data: item, codeArr: this.codeArr})
|
|
|
+ params: Object.assign(pam, { isEdit: true, data: item, needDisable: row.hospitalId===-1&&this.codeArr.includes(row.planCode)})
|
|
|
});
|
|
|
},
|
|
|
currentChange(next) {
|
|
@@ -504,7 +504,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
.el-table__row {
|
|
|
- /deep/ .is-disabled {
|
|
|
+ /deep/ .is-disabled,.el-button.is-disabled.is-plain {
|
|
|
border-color: transparent !important;
|
|
|
}
|
|
|
}
|
|
@@ -519,10 +519,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-.active {
|
|
|
- color: #ff0000;
|
|
|
-}
|
|
|
-.active-t {
|
|
|
+/deep/.el-button.is-disabled.active-t {
|
|
|
color: #dad7d7;
|
|
|
}
|
|
|
</style>
|