|
@@ -54,9 +54,9 @@
|
|
|
<el-table-column
|
|
|
prop="name"
|
|
|
label="扣分值"
|
|
|
- width="240">
|
|
|
+ width="120">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input class="tipsMsg" v-model="scope.row.value" placeholder="请输入扣分值"></el-input>
|
|
|
+ <el-input class="scoreInp" v-model="scope.row.value" placeholder="请输入扣分值"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
@@ -68,6 +68,15 @@
|
|
|
<el-input class="tipsMsg" v-model="scope.row.tipMsg" placeholder="请输入提示语"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="address"
|
|
|
+ label="是否启用"
|
|
|
+ width="120"
|
|
|
+ show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-checkbox v-model="scope.row.isUsed" :checked="scope.row.isUsed=='1'" :disabled="getIsUsed(scope.row)" true-label="1" false-label="0"></el-checkbox>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
</el-table>
|
|
|
</div>
|
|
|
|
|
@@ -147,6 +156,14 @@
|
|
|
}
|
|
|
})
|
|
|
|
|
|
+ },
|
|
|
+ getIsUsed(row){
|
|
|
+ if(this.multipleSelection.findIndex(it => it.hospitalId ==row.hospitalId) > -1){
|
|
|
+ return false
|
|
|
+ } else{
|
|
|
+ return true
|
|
|
+ }
|
|
|
+
|
|
|
},
|
|
|
changeModule(val){
|
|
|
this.form.itemCode = this.caseLIst.find(item => item.id === val).prefix
|
|
@@ -162,7 +179,8 @@
|
|
|
hospitalId: this.hospitalList[i].id,
|
|
|
hospitalName: this.hospitalList[i].name,
|
|
|
value: '',
|
|
|
- tipMsg:''
|
|
|
+ tipMsg:'',
|
|
|
+ isUsed: '0'
|
|
|
})
|
|
|
}
|
|
|
for(let i = 0; i < this.selectHospital.length; i++){
|
|
@@ -170,6 +188,7 @@
|
|
|
let item = tableData.find(item => item.hospitalName === selectItem.hospitalName)
|
|
|
item.value = selectItem.score
|
|
|
item.tipMsg = selectItem.msg
|
|
|
+ item.isUsed = selectItem.isUsed
|
|
|
this.multipleSelection.push(item)
|
|
|
}
|
|
|
this.tableData = tableData
|
|
@@ -222,7 +241,7 @@
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
-
|
|
|
+ return
|
|
|
let casesEntryHospitals = []
|
|
|
for(let i = 0; i < this.multipleSelection.length; i++){
|
|
|
const item = this.multipleSelection[i]
|
|
@@ -364,13 +383,21 @@
|
|
|
/deep/.el-table{
|
|
|
min-width: 0;
|
|
|
}
|
|
|
- /deep/.tipsMsg{
|
|
|
+ /deep/.el-input.tipsMsg{
|
|
|
.el-input__inner{
|
|
|
width:200px;
|
|
|
height: 30px;
|
|
|
display: inline-block;
|
|
|
}
|
|
|
}
|
|
|
+ /deep/.scoreInp.el-input{
|
|
|
+ width:50px;
|
|
|
+ .el-input__inner{
|
|
|
+ width:50px;
|
|
|
+ height: 30px;
|
|
|
+ display: inline-block;
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
}
|
|
|
|