导入---添加科室
This commit is contained in:
parent
55661d3fab
commit
aef0a89b45
@ -88,7 +88,6 @@
|
||||
</el-option>
|
||||
</el-select>
|
||||
<el-button
|
||||
v-if="departmentsshow"
|
||||
type="primary"
|
||||
plain
|
||||
style="margin-left: 8px"
|
||||
@ -194,6 +193,7 @@
|
||||
</el-form-item>
|
||||
<el-form-item label="所属机构" prop="hospitalAgencyName">
|
||||
<el-cascader
|
||||
class="custom-cascader"
|
||||
clearable
|
||||
:props="{ checkStrictly: true }"
|
||||
:options="treeOptions"
|
||||
@ -706,6 +706,8 @@ export default {
|
||||
this.openadd = true
|
||||
if (localStorage.getItem('roleKey') != 'admin') {
|
||||
this.getLeafIds(this.treeOptions)
|
||||
this.formadd.hospitalAgencyIdtwo = JSON.parse(localStorage.getItem('user')).hospitalAgencyId;
|
||||
this.formadd.hospitalAgencyName=JSON.parse(localStorage.getItem('user')).nickName;
|
||||
}
|
||||
console.log(item, index, 'item')
|
||||
// this.$emit('additem',item,index)
|
||||
@ -725,9 +727,6 @@ export default {
|
||||
},
|
||||
getLeafIds(nodes) {
|
||||
console.log(nodes, ';node')
|
||||
|
||||
this.formadd.hospitalAgencyIdtwo = JSON.parse(localStorage.getItem('user')).hospitalAgencyId;
|
||||
|
||||
let leafIds = [];
|
||||
nodes.forEach(node => {
|
||||
|
||||
@ -984,10 +983,9 @@ export default {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
.el-cascader .el-input input::-webkit-input-placeholder {
|
||||
color: black;
|
||||
.custom-cascader ::v-deep .el-input__inner::placeholder {
|
||||
color: #606266; /* 你想要的颜色 */
|
||||
}
|
||||
|
||||
.nameinformation {
|
||||
border-left: 3px solid #4d9de7;
|
||||
width: 200px;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user