Merge branch 'master' of http://47.107.61.133:3000/nm-project/aiccs
This commit is contained in:
commit
6b23b8b225
|
|
@ -598,7 +598,7 @@ export default {
|
||||||
this.data.fileList = data.map((item) => {
|
this.data.fileList = data.map((item) => {
|
||||||
return {
|
return {
|
||||||
...item,
|
...item,
|
||||||
name: item.fileName
|
name: item.filename
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}),
|
}),
|
||||||
|
|
@ -608,7 +608,10 @@ export default {
|
||||||
}).then((busInfo) => {
|
}).then((busInfo) => {
|
||||||
const busName = this.data.busName
|
const busName = this.data.busName
|
||||||
this.data.status = busInfo[0].status
|
this.data.status = busInfo[0].status
|
||||||
this.data = busInfo[0]
|
this.data = {
|
||||||
|
...this.data,
|
||||||
|
...busInfo[0]
|
||||||
|
}
|
||||||
if (busName) {
|
if (busName) {
|
||||||
this.data.busName = busName
|
this.data.busName = busName
|
||||||
}
|
}
|
||||||
|
|
@ -694,7 +697,7 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
previewFile(file) {
|
previewFile(file) {
|
||||||
window.open(`${process.env.VUE_APP_BASE_API}/xrAttachment/getMaterial?id=${file.attachmentId || file?.response?.data?.attachmentId}&bizSeqNo=${file.bizSeqNo}&attachType=${file.attachType}`, '_blank')
|
window.open(`${process.env.VUE_APP_BASE_API}/xrAttachment/getMaterial?id=${file.attachmentid || file?.response?.data?.attachmentid}&bizSeqNo=${file.bizseq}&attachType=${file.attachtype}`, '_blank')
|
||||||
},
|
},
|
||||||
getUsersWithPermission(isUpper) {
|
getUsersWithPermission(isUpper) {
|
||||||
const ps = []
|
const ps = []
|
||||||
|
|
|
||||||
|
|
@ -582,7 +582,7 @@ export default {
|
||||||
this.data.fileList = data.map((item) => {
|
this.data.fileList = data.map((item) => {
|
||||||
return {
|
return {
|
||||||
...item,
|
...item,
|
||||||
name: item.fileName
|
name: item.filename
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}),
|
}),
|
||||||
|
|
@ -592,7 +592,10 @@ export default {
|
||||||
}).then((busInfo) => {
|
}).then((busInfo) => {
|
||||||
const busName = this.data.busName
|
const busName = this.data.busName
|
||||||
this.data.status = busInfo[0].status
|
this.data.status = busInfo[0].status
|
||||||
this.data = busInfo[0]
|
this.data = {
|
||||||
|
...this.data,
|
||||||
|
...busInfo[0]
|
||||||
|
}
|
||||||
if (busName) {
|
if (busName) {
|
||||||
this.data.busName = busName
|
this.data.busName = busName
|
||||||
}
|
}
|
||||||
|
|
@ -668,7 +671,7 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
previewFile(file) {
|
previewFile(file) {
|
||||||
window.open(`${process.env.VUE_APP_BASE_API}/xrAttachment/getMaterial?id=${file.attachmentId || file?.response?.data?.attachmentId}&bizSeqNo=${file.bizSeqNo}&attachType=${file.attachType}`, '_blank')
|
window.open(`${process.env.VUE_APP_BASE_API}/xrAttachment/getMaterial?id=${file.attachmentid || file?.response?.data?.attachmentid}&bizSeqNo=${file.bizseq}&attachType=${file.attachtype}`, '_blank')
|
||||||
},
|
},
|
||||||
getUsersWithPermission(isUpper) {
|
getUsersWithPermission(isUpper) {
|
||||||
const ps = []
|
const ps = []
|
||||||
|
|
|
||||||
|
|
@ -454,7 +454,7 @@ export default {
|
||||||
this.data.fileList = data.map((item) => {
|
this.data.fileList = data.map((item) => {
|
||||||
return {
|
return {
|
||||||
...item,
|
...item,
|
||||||
name: item.fileName
|
name: item.filename
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}),
|
}),
|
||||||
|
|
@ -462,7 +462,10 @@ export default {
|
||||||
bizSeqNo: this.$route.query.bizSeqNo
|
bizSeqNo: this.$route.query.bizSeqNo
|
||||||
}).then((busInfo) => {
|
}).then((busInfo) => {
|
||||||
this.data.status = busInfo.status
|
this.data.status = busInfo.status
|
||||||
this.data = busInfo
|
this.data = {
|
||||||
|
...this.data,
|
||||||
|
...busInfo
|
||||||
|
}
|
||||||
const permission = ({
|
const permission = ({
|
||||||
'0': 'xrExamine',
|
'0': 'xrExamine',
|
||||||
'1': 'xrApprove'
|
'1': 'xrApprove'
|
||||||
|
|
@ -530,7 +533,7 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
previewFile(file) {
|
previewFile(file) {
|
||||||
window.open(`${process.env.VUE_APP_BASE_API}/xrAttachment/getMaterial?id=${file.attachmentId || file?.response?.data?.attachmentId}&bizSeqNo=${file.bizSeqNo}&attachType=${file.attachType}`, '_blank')
|
window.open(`${process.env.VUE_APP_BASE_API}/xrAttachment/getMaterial?id=${file.attachmentid || file?.response?.data?.attachmentid}&bizSeqNo=${file.bizseq}&attachType=${file.attachtype}`, '_blank')
|
||||||
},
|
},
|
||||||
getUsersWithPermission(isUpper) {
|
getUsersWithPermission(isUpper) {
|
||||||
const ps = []
|
const ps = []
|
||||||
|
|
|
||||||
|
|
@ -508,7 +508,7 @@ export default {
|
||||||
this.data.fileList = data.map((item) => {
|
this.data.fileList = data.map((item) => {
|
||||||
return {
|
return {
|
||||||
...item,
|
...item,
|
||||||
name: item.fileName
|
name: item.filename
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}),
|
}),
|
||||||
|
|
@ -516,7 +516,10 @@ export default {
|
||||||
bizSeqNo: this.$route.query.bizSeqNo
|
bizSeqNo: this.$route.query.bizSeqNo
|
||||||
}).then((busInfo) => {
|
}).then((busInfo) => {
|
||||||
this.data.status = busInfo.status
|
this.data.status = busInfo.status
|
||||||
this.data = busInfo
|
this.data = {
|
||||||
|
...this.data,
|
||||||
|
...busInfo
|
||||||
|
}
|
||||||
const permission = ({
|
const permission = ({
|
||||||
'0': 'xrExamine',
|
'0': 'xrExamine',
|
||||||
'1': 'xrApprove'
|
'1': 'xrApprove'
|
||||||
|
|
@ -584,7 +587,7 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
previewFile(file) {
|
previewFile(file) {
|
||||||
window.open(`${process.env.VUE_APP_BASE_API}/xrAttachment/getMaterial?id=${file.attachmentId || file?.response?.data?.attachmentId}&bizSeqNo=${file.bizSeqNo}&attachType=${file.attachType}`, '_blank')
|
window.open(`${process.env.VUE_APP_BASE_API}/xrAttachment/getMaterial?id=${file.attachmentid || file?.response?.data?.attachmentid}&bizSeqNo=${file.bizseq}&attachType=${file.attachtype}`, '_blank')
|
||||||
},
|
},
|
||||||
getUsersWithPermission(isUpper) {
|
getUsersWithPermission(isUpper) {
|
||||||
const ps = []
|
const ps = []
|
||||||
|
|
|
||||||
|
|
@ -513,7 +513,7 @@ export default {
|
||||||
this.data.fileList = data.map((item) => {
|
this.data.fileList = data.map((item) => {
|
||||||
return {
|
return {
|
||||||
...item,
|
...item,
|
||||||
name: item.fileName
|
name: item.filename
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}),
|
}),
|
||||||
|
|
@ -521,7 +521,10 @@ export default {
|
||||||
bizSeqNo: this.$route.query.bizSeqNo
|
bizSeqNo: this.$route.query.bizSeqNo
|
||||||
}).then((busInfo) => {
|
}).then((busInfo) => {
|
||||||
this.data.status = busInfo.status
|
this.data.status = busInfo.status
|
||||||
this.data = busInfo
|
this.data = {
|
||||||
|
...this.data,
|
||||||
|
...busInfo
|
||||||
|
}
|
||||||
const permission = ({
|
const permission = ({
|
||||||
'0': 'xrExamine',
|
'0': 'xrExamine',
|
||||||
'1': 'xrApprove'
|
'1': 'xrApprove'
|
||||||
|
|
@ -578,7 +581,7 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
previewFile(file) {
|
previewFile(file) {
|
||||||
window.open(`${process.env.VUE_APP_BASE_API}/xrAttachment/getMaterial?id=${file.attachmentId || file?.response?.data?.attachmentId}&bizSeqNo=${file.bizSeqNo}&attachType=${file.attachType}`, '_blank')
|
window.open(`${process.env.VUE_APP_BASE_API}/xrAttachment/getMaterial?id=${file.attachmentid || file?.response?.data?.attachmentid}&bizSeqNo=${file.bizseq}&attachType=${file.attachtype}`, '_blank')
|
||||||
},
|
},
|
||||||
getUsersWithPermission(isUpper) {
|
getUsersWithPermission(isUpper) {
|
||||||
const ps = []
|
const ps = []
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue