fix: 提交审核页面逻辑修改
This commit is contained in:
parent
f17c1678c8
commit
4110dca428
@ -23,6 +23,7 @@ export default {
|
|||||||
getHistoryList: (params) => request.get('/app-valuations/', { params }),
|
getHistoryList: (params) => request.get('/app-valuations/', { params }),
|
||||||
valuations: (data = {}) => request.post('/app-valuations/', data),
|
valuations: (data = {}) => request.post('/app-valuations/', data),
|
||||||
deleteValuations: (params = {}) => request.delete(`/app-valuations/${params.id}`),
|
deleteValuations: (params = {}) => request.delete(`/app-valuations/${params.id}`),
|
||||||
|
getValuation: (id) => request.get(`/app-valuations/${id}`),
|
||||||
// profile
|
// profile
|
||||||
updatePassword: (data = {}) => request.post('/base/update_password', data),
|
updatePassword: (data = {}) => request.post('/base/update_password', data),
|
||||||
// users
|
// users
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -141,34 +141,44 @@ const columns = [
|
|||||||
NSpace,
|
NSpace,
|
||||||
{ size: 8, justify: 'center' },
|
{ size: 8, justify: 'center' },
|
||||||
{
|
{
|
||||||
default: () => [
|
default: () => {
|
||||||
h(
|
let arr = []
|
||||||
NButton,
|
if (row.report_download_urls.length) {
|
||||||
{
|
arr.push(
|
||||||
text: true,
|
h(
|
||||||
type: 'primary',
|
NButton,
|
||||||
size: 'small',
|
{
|
||||||
onClick: (e) => {
|
text: true,
|
||||||
e.stopPropagation()
|
type: 'primary',
|
||||||
handleDownloadReport(row)
|
size: 'small',
|
||||||
},
|
onClick: (e) => {
|
||||||
},
|
e.stopPropagation()
|
||||||
{ default: () => '下载报告' }
|
handleDownloadReport(row)
|
||||||
),
|
},
|
||||||
h(
|
},
|
||||||
NButton,
|
{ default: () => '下载报告' }
|
||||||
{
|
)
|
||||||
text: true,
|
)
|
||||||
type: 'primary',
|
}
|
||||||
size: 'small',
|
if (row.certificate_download_urls.length)
|
||||||
onClick: (e) => {
|
arr.push(
|
||||||
e.stopPropagation()
|
h(
|
||||||
handleDownloadCertificate(row)
|
NButton,
|
||||||
},
|
{
|
||||||
},
|
text: true,
|
||||||
{ default: () => '下载证书' }
|
type: 'primary',
|
||||||
),
|
size: 'small',
|
||||||
],
|
onClick: (e) => {
|
||||||
|
e.stopPropagation()
|
||||||
|
handleDownloadCertificate(row)
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{ default: () => '下载证书' }
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
return arr
|
||||||
|
},
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user