Commit 7c60b997 by lichengming

修改了入库管理照片页面标题

parent bfc44237
...@@ -26,8 +26,14 @@ export default { ...@@ -26,8 +26,14 @@ export default {
} }
}, },
methods: { methods: {
_open(id, key) { _open(id, key, title) {
this.showModal = true this.showModal = true
if (title) {
this.modalTitle = title
} else {
this.modalTitle = '附件管理'
}
this.$refs.fileCont._open(id, key) this.$refs.fileCont._open(id, key)
} }
} }
......
...@@ -253,7 +253,7 @@ export default { ...@@ -253,7 +253,7 @@ export default {
// 上传照片文件 // 上传照片文件
this.currentComponent = 'FileManage' this.currentComponent = 'FileManage'
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.refModal._open(data.id, 'aloneSampleId') this.$refs.refModal._open(data.id, 'aloneSampleId', '照片管理')
}) })
// this.$refs.PhotoManage._open(id, 'entrustId') // this.$refs.PhotoManage._open(id, 'entrustId')
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment