diff --git a/src/assets/image/hospital_logo.png b/src/assets/image/hospital_logo.png new file mode 100644 index 0000000..e6b39bb Binary files /dev/null and b/src/assets/image/hospital_logo.png differ diff --git a/src/views/system/dept.vue b/src/views/system/dept.vue index 3a14785..014b301 100644 --- a/src/views/system/dept.vue +++ b/src/views/system/dept.vue @@ -15,6 +15,10 @@ @click.stop="handleAdd(scope.row, scope.index)" v-if="userInfo.role_name.includes('admin')">新增子项 + @@ -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 ? '' : ''}` - }, 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: "机构全称", diff --git a/vue.config.js b/vue.config.js index bd2df6e..d50c5a7 100644 --- a/vue.config.js +++ b/vue.config.js @@ -26,7 +26,8 @@ module.exports = { proxy: { "/api": { //本地服务接口地址 - target: "http://192.168.1.3:8088", + // target: "http://192.168.1.3:8088", + target: "http://192.168.1.106:80", //远程演示服务地址,可用于直接启动项目 // target: 'https://saber.bladex.vip/api', ws: true,