Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
1885494b
提交
1885494b
编写于
11月 30, 2021
作者:
dmx_mac
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat:供货店铺审核
上级
fa31f407
变更
4
展开全部
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
455 行增加
和
289 行删除
+455
-289
index.js
src/utils/qualification/index.js
+3
-3
historyDialog.vue
src/views/qualification/components/historyDialog.vue
+75
-59
detail.vue
src/views/qualification/detail.vue
+26
-18
list.vue
src/views/qualification/list.vue
+351
-209
未找到文件。
src/utils/qualification/index.js
浏览文件 @
1885494b
...
...
@@ -7,7 +7,7 @@ let headers = {
export
const
getCertifyList
=
(
params
)
=>
{
return
fetch
({
headers
,
url
:
getBaseUrl
(
`certify/list`
),
url
:
getBaseUrl
(
`
store/
certify/list`
),
method
:
'post'
,
data
:
params
,
description
:
'审核记录列表(批发和供应商)'
,
...
...
@@ -28,7 +28,7 @@ export const getCertifyHistory = (params) => {
export
const
getCertifyDetail
=
(
storeId
)
=>
{
return
fetch
({
headers
,
url
:
getBaseUrl
(
`certify/certifyDetail`
),
url
:
getBaseUrl
(
`
store/
certify/certifyDetail`
),
method
:
'get'
,
description
:
'获取认证申请的审核详情'
,
})
...
...
@@ -36,7 +36,7 @@ export const getCertifyDetail = (storeId) => {
export
const
getRefuseTemplate
=
(
storeId
)
=>
{
return
fetch
({
headers
,
url
:
getBaseUrl
(
`cert/constant/refuse/template`
),
url
:
getBaseUrl
(
`
store/
cert/constant/refuse/template`
),
method
:
'get'
,
description
:
'获取错误模板'
,
})
...
...
src/views/qualification/components/historyDialog.vue
浏览文件 @
1885494b
...
...
@@ -3,17 +3,26 @@
title=
"提示"
:visible
.
sync=
"hidden"
width=
"80%"
:before-close=
"handleClose"
>
:before-close=
"handleClose"
>
<el-table
:data=
"gridData"
>
<el-table-column
property=
"date"
label=
"审核时间"
></el-table-column>
<el-table-column
property=
"name"
label=
"审核人"
></el-table-column>
<el-table-column
property=
"date"
label=
"审核时间"
></el-table-column>
<el-table-column
property=
"name"
label=
"审核人"
></el-table-column>
<el-table-column
property=
"address"
label=
"审核结果"
></el-table-column>
<el-table-column
property=
"address"
label=
"失败原因"
width=
"200"
>
<template
class=
""
>
<template
class=
""
>
</
template
>
</el-table-column>
<el-table-column
property=
"address"
label=
"操作"
>
<
template
>
<el-button
@
click=
"goDetail(scope.row)"
class=
"c0D9078"
type=
"text"
size=
"small"
>
查看详情
</el-button
>
</
template
>
</el-table-column>
<el-table-column
property=
"address"
label=
"操作"
></el-table-column>
</el-table>
<div
class=
"pagination"
>
<el-pagination
...
...
@@ -30,54 +39,61 @@
</el-dialog>
</template>
<
script
>
import
{
getCertifyHistory
}
from
'@/utils/qualification'
import
{
getCertifyHistory
}
from
"@/utils/qualification"
;
export
default
{
props
:
{
hidden
:
{
type
:
Boolean
,
default
:
()
=>
{
props
:
{
hidden
:
{
type
:
Boolean
,
default
:
()
=>
{
return
false
;
}
},
id
:{
type
:
Number
,
default
:()
=>
{
},
id
:
{
type
:
Number
,
default
:
()
=>
{
return
0
;
}
}
},
data
()
{
return
{
pageNo
:
0
,
pageSize
:
10
,
total
:
100
,
gridData
:
[],
}
},
created
()
{},
methods
:
{
init
()
{
},
},
},
data
()
{
return
{
pageNo
:
0
,
pageSize
:
10
,
total
:
100
,
gridData
:
[],
};
},
created
()
{},
methods
:
{
init
()
{
const
params
=
{
certificateInfoId
:
this
.
id
,
pageNo
:
this
.
pageNo
,
pageSize
:
this
.
pageSize
}
getCertifyHistory
(
params
).
then
(
res
=>
{
})
certificateInfoId
:
this
.
id
,
pageNo
:
this
.
pageNo
,
pageSize
:
this
.
pageSize
,
};
getCertifyHistory
(
params
).
then
((
res
)
=>
{
this
.
gridData
=
res
.
data
.
contentList
;
});
},
handleSizeChange
()
{},
handleNumChange
()
{},
show
()
{
handleSizeChange
(
value
)
{
this
.
pageSize
=
value
;
this
.
init
();
},
handleNumChange
(
value
)
{
this
.
pageNo
=
value
;
},
handleClose
()
{
goDetail
()
{
this
.
$emit
(
'close'
)
}
}
}
},
show
()
{},
handleClose
()
{
this
.
pageSize
=
10
;
this
.
pageNo
=
1
;
this
.
gridData
=
[];
this
.
$emit
(
"close"
);
},
},
};
</
script
>
<
style
lang=
'less'
scoped
>
</
style
>
src/views/qualification/detail.vue
浏览文件 @
1885494b
<
template
>
<div
class=
"qualification-detail"
>
<div
class=
"qualification-detail"
ref=
"qualificationDetail"
>
<bread-crumb
:curmbFirst=
"curmbFirst"
></bread-crumb>
<div
class=
"qualification-content screenSet"
id=
"screenSet"
>
<div
class=
"head"
>
...
...
@@ -36,7 +36,7 @@
</div>
</div>
</div>
<div
class=
"company"
>
<div
class=
"company"
ref=
"company"
>
<div
class=
"tit"
>
<div
class=
"mr5"
>
公司信息
</div>
<div
class=
"c0D9078 cp"
@
click=
"refuse"
>
...
...
@@ -44,7 +44,7 @@
拒绝原因
</div>
</div>
<div
class=
"refuse-info"
>
拒绝原因:
{{
1
|
reasonRejection
}}
</div>
<div
class=
"refuse-info"
>
拒绝原因:
{{
reasonRejection
(
1
)
}}
</div>
<div
class=
"info"
>
<div>
<div>
企业类型:
{{
detail
.
orgType
}}
</div>
...
...
@@ -61,7 +61,7 @@
<div
class=
"tit"
>
<div>
工商信息
</div>
</div>
<div
class=
"refuse-info"
>
拒绝原因:
{{
2
|
reasonRejection
}}
</div>
<div
class=
"refuse-info"
>
拒绝原因:
{{
reasonRejection
(
2
)
}}
</div>
<div
class=
""
>
<div
class=
"flex-c fs12"
>
<div
class=
"mr5"
>
营业执照
</div>
...
...
@@ -94,7 +94,7 @@
<i
class=
"el-icon-edit-outline"
></i>
拒绝原因
</div>
</div>
<div
class=
"refuse-info"
>
拒绝原因:
{{
3
|
reasonRejection
}}
</div>
<div
class=
"refuse-info"
>
拒绝原因:
{{
reasonRejection
(
3
)
}}
</div>
<div
class=
"img"
>
<el-image
src=
"https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg"
...
...
@@ -113,7 +113,7 @@
<i
class=
"el-icon-edit-outline"
></i>
拒绝原因
</div>
</div>
<div
class=
"refuse-info"
>
拒绝原因:
{{
4
|
reasonRejection
}}
</div>
<div
class=
"refuse-info"
>
拒绝原因:
{{
reasonRejection
(
4
)
}}
</div>
<div
class=
"img"
>
<el-image
:src=
"detail.assignorCertBackUrl"
...
...
@@ -148,7 +148,7 @@
<i
class=
"el-icon-edit-outline"
></i>
拒绝原因
</div>
</div>
<div
class=
"refuse-info"
>
拒绝原因:
{{
5
|
reasonRejection
}}
</div>
<div
class=
"refuse-info"
>
拒绝原因:
{{
reasonRejection
(
5
)
}}
</div>
<div
class=
"img"
>
<el-image
:src=
"detail.assignorCertBackUrl"
...
...
@@ -166,7 +166,7 @@
<i
class=
"el-icon-edit-outline"
></i>
拒绝原因
</div>
</div>
<div
class=
"refuse-info"
>
拒绝原因:
{{
6
|
reasonRejection
}}
</div>
<div
class=
"refuse-info"
>
拒绝原因:
{{
reasonRejection
(
6
)
}}
</div>
<div
class=
"img"
>
<el-image
:src=
"detail.legalCertBackUrl"
...
...
@@ -207,7 +207,7 @@
<i
class=
"el-icon-edit-outline"
></i>
拒绝原因
</div>
</div>
<div
class=
"refuse-info"
>
拒绝原因:
{{
7
|
reasonRejection
}}
</div>
<div
class=
"refuse-info"
>
拒绝原因:
{{
reasonRejection
(
7
)
}}
</div>
<div
class=
"img"
>
<el-image
src=
"https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg"
...
...
@@ -252,20 +252,15 @@ export default {
typeState
()
{
const
reviewType
=
[
"tobe-reviewed"
,
"success-reviewed"
,
"no-reviewed"
];
return
reviewType
[
this
.
$route
.
query
.
type
];
return
reviewType
[
this
.
$route
.
query
.
status
];
},
typeStateText
()
{
const
reviewType
=
[
"待审核"
,
"审核成功"
,
"审核不通过"
];
return
reviewType
[
this
.
$route
.
query
.
type
];
return
reviewType
[
this
.
$route
.
query
.
status
];
},
},
filters
:
{
reasonRejection
(
type
)
{
return
this
.
certifyValidDtoList
.
filters
(
v
=>
{
return
v
.
infoType
===
type
})[
0
]
},
},
data
()
{
return
{
...
...
@@ -277,7 +272,9 @@ export default {
certifyReportImgList
:
[],
//认证图片list 年度报告类
};
},
created
()
{},
created
()
{
this
.
init
();
},
methods
:
{
init
()
{
getCertifyDetail
(
this
.
id
).
then
((
res
)
=>
{
...
...
@@ -286,6 +283,7 @@ export default {
certifyLicenseImgList
=
[],
certifyReportImgList
=
[],
}
=
res
.
data
;
console
.
log
(
this
.
certifyValidDtoList
);
this
.
certifyValidDtoList
=
certifyValidDtoList
;
this
.
certifyLicenseImgList
=
certifyLicenseImgList
;
this
.
certifyReportImgList
=
certifyReportImgList
;
...
...
@@ -298,6 +296,12 @@ export default {
historyDialogClose
()
{
this
.
historyDialogHidden
=
false
;
},
reasonRejection
(
type
)
{
const
value
=
this
.
certifyValidDtoList
.
filter
(
v
=>
{
return
v
.
infoType
===
type
})[
0
];
return
value
||
''
;
},
// copy
copyTxt
(
text
)
{
var
type
=
"text/plain"
;
...
...
@@ -321,7 +325,11 @@ export default {
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(()
=>
{})
.
then
(()
=>
{
console
.
log
(
document
.
querySelector
(
'#body-content'
).
scrollTop
);
console
.
log
(
this
.
$refs
.
company
.
scrollHeight
,
document
.
scrollTop
);
document
.
querySelector
(
'#body-content'
).
scrollTop
=
this
.
$refs
.
company
.
scrollHeight
})
.
catch
(()
=>
{});
},
handleClose
()
{
...
...
src/views/qualification/list.vue
浏览文件 @
1885494b
此差异已折叠。
点击以展开。
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录