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,7 +141,10 @@ const columns = [
|
|||||||
NSpace,
|
NSpace,
|
||||||
{ size: 8, justify: 'center' },
|
{ size: 8, justify: 'center' },
|
||||||
{
|
{
|
||||||
default: () => [
|
default: () => {
|
||||||
|
let arr = []
|
||||||
|
if (row.report_download_urls.length) {
|
||||||
|
arr.push(
|
||||||
h(
|
h(
|
||||||
NButton,
|
NButton,
|
||||||
{
|
{
|
||||||
@ -154,7 +157,11 @@ const columns = [
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{ default: () => '下载报告' }
|
{ default: () => '下载报告' }
|
||||||
),
|
)
|
||||||
|
)
|
||||||
|
}
|
||||||
|
if (row.certificate_download_urls.length)
|
||||||
|
arr.push(
|
||||||
h(
|
h(
|
||||||
NButton,
|
NButton,
|
||||||
{
|
{
|
||||||
@ -167,8 +174,11 @@ const columns = [
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{ default: () => '下载证书' }
|
{ default: () => '下载证书' }
|
||||||
),
|
)
|
||||||
],
|
)
|
||||||
|
|
||||||
|
return arr
|
||||||
|
},
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user