|
|
|
|
@ -15,6 +15,10 @@ |
|
|
|
|
@click.stop="handleAdd(scope.row, scope.index)" v-if="userInfo.role_name.includes('admin')">新增子项 |
|
|
|
|
</el-button> |
|
|
|
|
</template> |
|
|
|
|
<template slot-scope="{row}" slot="imgUrl2"> |
|
|
|
|
<img v-if="row.imgUrl" :src="row.imgUrl" style="width:30px;height:30px;"/> |
|
|
|
|
<img v-else src="@/assets/image/hospital_logo.png" style="width:30px;height:30px;"/> |
|
|
|
|
</template> |
|
|
|
|
<template slot-scope="{row}" slot="deptCategory"> |
|
|
|
|
{{ row.deptCategoryName }} |
|
|
|
|
</template> |
|
|
|
|
@ -72,13 +76,14 @@ export default { |
|
|
|
|
trigger: "blur" |
|
|
|
|
}] |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: "机构logo", |
|
|
|
|
prop: "imgUrl2", |
|
|
|
|
slot: true, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: "机构logo", |
|
|
|
|
prop: "imgUrl", |
|
|
|
|
html: true, |
|
|
|
|
formatter: (val) => { |
|
|
|
|
return `${val.imgUrl ? '<img src="' + val.imgUrl + '"/>' : ''}` |
|
|
|
|
}, |
|
|
|
|
type: 'upload', |
|
|
|
|
listType: 'picture-img', |
|
|
|
|
span: 24, |
|
|
|
|
@ -88,7 +93,8 @@ export default { |
|
|
|
|
url: "link", |
|
|
|
|
}, |
|
|
|
|
tip: '只能上传jpg/png用户头像,且不超过500kb', |
|
|
|
|
action: '/api/blade-resource/oss/endpoint/put-file' |
|
|
|
|
action: '/api/blade-resource/oss/endpoint/put-file', |
|
|
|
|
hide: true, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: "机构全称", |
|
|
|
|
|