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,81 +3,97 @@
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
background
@
size-change=
"handleSizeChange"
@
current-change=
"handleNumChange"
:current-page=
"pageNo"
:page-sizes=
"[10, 30, 50, 100]"
:page-size=
"pageSize"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"total"
></el-pagination>
<el-pagination
background
@
size-change=
"handleSizeChange"
@
current-change=
"handleNumChange"
:current-page=
"pageNo"
:page-sizes=
"[10, 30, 50, 100]"
:page-size=
"pageSize"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"total"
></el-pagination>
</div>
</el-dialog>
</template>
<
script
>
import
{
getCertifyHistory
}
from
'@/utils/qualification'
import
{
getCertifyHistory
}
from
"@/utils/qualification"
;
export
default
{
props
:{
hidden
:{
type
:
Boolean
,
default
:()
=>
{
return
false
;
}
props
:
{
hidden
:
{
type
:
Boolean
,
default
:
()
=>
{
return
false
;
},
},
id
:
{
type
:
Number
,
default
:
()
=>
{
return
0
;
},
},
},
id
:{
type
:
Number
,
default
:()
=>
{
return
0
;
}
}
},
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
=>
{
})
data
()
{
return
{
pageNo
:
0
,
pageSize
:
10
,
total
:
100
,
gridData
:
[],
};
},
handleSizeChange
()
{},
handleNumChange
()
{},
show
()
{
created
()
{},
methods
:
{
init
()
{
const
params
=
{
certificateInfoId
:
this
.
id
,
pageNo
:
this
.
pageNo
,
pageSize
:
this
.
pageSize
,
};
getCertifyHistory
(
params
).
then
((
res
)
=>
{
this
.
gridData
=
res
.
data
.
contentList
;
});
},
handleSizeChange
(
value
)
{
this
.
pageSize
=
value
;
this
.
init
();
},
handleNumChange
(
value
)
{
this
.
pageNo
=
value
;
},
goDetail
()
{
},
show
()
{},
handleClose
()
{
this
.
pageSize
=
10
;
this
.
pageNo
=
1
;
this
.
gridData
=
[];
this
.
$emit
(
"close"
);
},
},
handleClose
(){
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
...
...
@@ -2,56 +2,94 @@
<div
class=
"qualification-list"
>
<bread-crumb
:curmbFirst=
"curmbFirst"
></bread-crumb>
<div
class=
"qualification-content screenSet"
id=
"screenSet"
>
<el-form
ref=
"searchForm"
:model=
"searchForm"
label-width=
"100px"
label-suffix=
":"
:inline=
"true"
>
<template
v-if=
"$route.query.source === 'ghs'"
>
<el-form-item
label=
"店铺名称"
>
<el-input
v-model=
"searchForm.storeNameStr"
size=
"small"
style=
"width:200px"
placeholder=
"请输入店铺名称,用‘、’隔开"
></el-input>
</el-form-item>
<el-form-item
label=
"管理员姓名"
>
<el-input
v-model=
"searchForm.adminNameStr"
size=
"small"
style=
"width:220px"
placeholder=
"请输入管理员姓名,用‘、’隔开"
></el-input>
</el-form-item>
<el-form-item
label=
"管理员手机号"
>
<el-input
v-model=
"searchForm.adminMobileStr"
size=
"small"
style=
"width:220px"
placeholder=
"亲输入管理员手机号,用‘、’隔开"
></el-input>
</el-form-item>
<el-form-item
label=
"企业类型"
>
<el-select
v-model=
"searchForm.orgType"
placeholder=
"请选择"
size=
"small"
clearable
>
<el-option
v-for=
"(item,index) in orgList"
:key=
"index"
:label=
"item.name"
:value=
"item.id"
></el-option>
</el-select>
</el-form-item>
</
template
>
<
template
v-if=
"$route.query.source === 'pf'"
>
<el-form-item
label=
"医生ID"
>
<el-input
v-model=
"searchForm.doctorIdStr"
size=
"small"
style=
"width:200px"
placeholder=
"请输入医生ID,用‘、’隔开"
></el-input>
</el-form-item>
<el-form-item
label=
"医生姓名"
>
<el-input
v-model=
"searchForm.doctorNameStr"
size=
"small"
style=
"width:200px"
placeholder=
"请输入医生姓名,用‘、’隔开"
></el-input>
</el-form-item>
<el-form-item
label=
"企业名称"
>
<el-input
v-model=
"searchForm.orgNameStr"
size=
"small"
style=
"width:200px"
placeholder=
"亲输入企业名称,用‘、’隔开"
></el-input>
</el-form-item>
</
template
>
<el-form-item
label=
"审核状态"
>
<el-select
v-model=
"searchForm.status"
placeholder=
"请选择"
size=
"small"
>
<el-option
v-for=
"(item,index) in statusList"
:key=
"index"
:label=
"item.name"
:value=
"item.id"
></el-option>
</el-select>
</el-form-item>
<el-form
ref=
"searchForm"
:model=
"searchForm"
label-width=
"100px"
label-suffix=
":"
:inline=
"true"
>
<template
v-if=
"$route.query.source === 'ghs'"
>
<el-form-item
label=
"店铺名称"
>
<el-input
v-model=
"searchForm.storeNameStr"
size=
"small"
style=
"width: 200px"
placeholder=
"请输入店铺名称,用‘、’隔开"
></el-input>
</el-form-item>
<el-form-item
label=
"管理员姓名"
>
<el-input
v-model=
"searchForm.adminNameStr"
size=
"small"
style=
"width: 220px"
placeholder=
"请输入管理员姓名,用‘、’隔开"
></el-input>
</el-form-item>
<el-form-item
label=
"管理员手机号"
>
<el-input
v-model=
"searchForm.adminMobileStr"
size=
"small"
style=
"width: 220px"
placeholder=
"亲输入管理员手机号,用‘、’隔开"
></el-input>
</el-form-item>
<el-form-item
label=
"企业类型"
>
<el-select
v-model=
"searchForm.orgType"
placeholder=
"请选择"
size=
"small"
clearable
>
<el-option
v-for=
"(item, index) in orgList"
:key=
"index"
:label=
"item.name"
:value=
"item.id"
></el-option>
</el-select>
</el-form-item>
</
template
>
<
template
v-if=
"$route.query.source === 'pf'"
>
<el-form-item
label=
"医生ID"
>
<el-input
v-model=
"searchForm.doctorIdStr"
size=
"small"
style=
"width: 200px"
placeholder=
"请输入医生ID,用‘、’隔开"
></el-input>
</el-form-item>
<el-form-item
label=
"医生姓名"
>
<el-input
v-model=
"searchForm.doctorNameStr"
size=
"small"
style=
"width: 200px"
placeholder=
"请输入医生姓名,用‘、’隔开"
></el-input>
</el-form-item>
<el-form-item
label=
"企业名称"
>
<el-input
v-model=
"searchForm.orgNameStr"
size=
"small"
style=
"width: 200px"
placeholder=
"亲输入企业名称,用‘、’隔开"
></el-input>
</el-form-item>
</
template
>
<el-form-item
label=
"审核状态"
>
<el-select
v-model=
"searchForm.status"
placeholder=
"请选择"
size=
"small"
>
<el-option
v-for=
"(item, index) in statusList"
:key=
"index"
:label=
"item.name"
:value=
"item.id"
></el-option>
</el-select>
</el-form-item>
</el-form>
<div
class=
"form-btn"
>
<el-button
type=
"primary"
size=
"small"
>
查询
</el-button>
...
...
@@ -60,233 +98,337 @@
</div>
<div
class=
"table"
>
<div
class=
"tab"
>
<span
:class=
"{checked:item.id === tabChecked}"
v-for=
"item in tabList"
:key=
"item.id"
@
click=
"checkTab(item)"
>
{{item.name}}
</span>
<span
:class=
"{ checked: item.id === tabChecked }"
v-for=
"item in tabList"
:key=
"item.id"
@
click=
"checkTab(item)"
>
{{ item.name }}
</span
>
</div>
<el-table
:data=
"tableData"
align=
"left"
class=
"item-table"
style=
"width: 100%;margin-top: 10px;"
>
<el-table-column
prop=
"id"
label=
"申请ID"
min-width=
"100"
align=
"center"
>
<el-table
:data=
"tableData"
align=
"left"
class=
"item-table"
style=
"width: 100%; margin-top: 10px"
>
<el-table-column
prop=
"id"
label=
"申请ID"
min-width=
"100"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
id
}}
</span>
</
template
>
</el-table-column>
<
template
v-if=
"$route.query.source === 'ghs'"
>
<el-table-column
prop=
"storeName"
label=
"店铺名称"
min-width=
"100"
align=
"center"
show-overflow-tooltip
>
<
template
v-if=
"$route.query.source === 'ghs'"
>
<el-table-column
prop=
"storeName"
label=
"店铺名称"
min-width=
"100"
align=
"center"
show-overflow-tooltip
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
storeName
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"storeType"
label=
"管理员姓名"
min-width=
"100"
align=
"center"
>
<el-table-column
prop=
"storeType"
label=
"管理员姓名"
min-width=
"100"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
storeType
|
storeTypeFormat
}}
</span>
<span>
{{
scope
.
row
.
storeType
|
storeTypeFormat
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"storeType"
label=
"管理员手机号"
min-width=
"100"
align=
"center"
>
<el-table-column
prop=
"storeType"
label=
"管理员手机号"
min-width=
"100"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
storeType
|
storeTypeFormat
}}
</span>
<span>
{{
scope
.
row
.
storeType
|
storeTypeFormat
}}
</span>
</
template
>
</el-table-column>
</template>
<
template
v-if=
"$route.query.source === 'pf'"
>
<el-table-column
prop=
"storeName"
label=
"医生ID"
min-width=
"100"
align=
"center"
show-overflow-tooltip
>
</template>
<
template
v-if=
"$route.query.source === 'pf'"
>
<el-table-column
prop=
"storeName"
label=
"医生ID"
min-width=
"100"
align=
"center"
show-overflow-tooltip
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
storeName
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"storeType"
label=
"医生姓名"
min-width=
"100"
align=
"center"
>
<el-table-column
prop=
"storeType"
label=
"医生姓名"
min-width=
"100"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
storeType
|
storeTypeFormat
}}
</span>
<span>
{{
scope
.
row
.
storeType
|
storeTypeFormat
}}
</span>
</
template
>
</el-table-column>
</template>
<el-table-column
prop=
"storeStatus"
label=
"企业姓名"
min-width=
"100"
align=
"center"
>
</template>
<el-table-column
prop=
"storeStatus"
label=
"企业姓名"
min-width=
"100"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
storeStatus
|
statusFormat
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"count"
label=
"企业类型"
min-width=
"120"
align=
"center"
>
<el-table-column
prop=
"count"
label=
"企业类型"
min-width=
"120"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
count
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"createdTime"
label=
"审核状态"
min-width=
"120"
align=
"center"
>
<el-table-column
prop=
"createdTime"
label=
"审核状态"
min-width=
"120"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span
:class=
"scope.row.createdTime | typeState"
>
{{
scope
.
row
.
createdTime
|
examineType
}}
</span>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"Top Left 提示文字"
placement=
"top-start"
>
<i
class=
"el-icon-warning-outline no-reviewed"
></i>
</el-tooltip>
<span
:class=
"scope.row.createdTime | typeState"
>
{{
scope
.
row
.
createdTime
|
examineType
}}
</span>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"Top Left 提示文字"
placement=
"top-start"
>
<i
class=
"el-icon-warning-outline no-reviewed"
></i>
</el-tooltip>
</
template
>
</el-table-column>
<el-table-column
prop=
"commissionType"
label=
"申请时间"
width=
"120"
align=
"center"
>
<el-table-column
prop=
"commissionType"
label=
"申请时间"
width=
"120"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
commissionType
|
commissionTypeFormat
}}
</span>
<span>
{{
scope
.
row
.
commissionType
|
commissionTypeFormat
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"commissionPrice"
label=
"审核人"
width=
"120"
align=
"center"
>
<el-table-column
prop=
"commissionPrice"
label=
"审核人"
width=
"120"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.commissionType == 1"
>
{{
scope
.
row
.
commissionPrice
|
priceNum
}}
%
</span>
<span
v-if=
"scope.row.commissionType == 2"
>
{{
scope
.
row
.
commissionPrice
|
priceNum
}}
元
</span>
<span
v-if=
"scope.row.commissionType == 1"
>
{{
scope
.
row
.
commissionPrice
|
priceNum
}}
%
</span
>
<span
v-if=
"scope.row.commissionType == 2"
>
{{
scope
.
row
.
commissionPrice
|
priceNum
}}
元
</span
>
</
template
>
</el-table-column>
<el-table-column
prop=
"commissionType"
label=
"审核时间"
width=
"120"
align=
"center"
>
<el-table-column
prop=
"commissionType"
label=
"审核时间"
width=
"120"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
proxyCommissionType
|
commissionTypeFormat
}}
</span>
<span>
{{
scope
.
row
.
proxyCommissionType
|
commissionTypeFormat
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
min-width=
"230"
align=
"center"
fixed=
"right"
>
<el-table-column
label=
"操作"
min-width=
"230"
align=
"center"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<div
class=
"operation"
>
<el-button
@
click=
"shopManage(scope.row)"
type=
"text"
size=
"small"
>
审核
</el-button>
<el-button
@
click=
"orderManage(scope.row)"
type=
"text"
size=
"small"
>
查看详情
</el-button>
<el-button
@
click=
"shopManage(scope.row)"
type=
"text"
size=
"small"
>
审核
</el-button
>
<el-button
@
click=
"orderManage(scope.row)"
type=
"text"
size=
"small"
>
查看详情
</el-button
>
</div>
</
template
>
</el-table-column>
</el-table>
<div
class=
"pagination"
>
<el-pagination
background
@
size-change=
"handleSizeChange"
@
current-change=
"handleNumChange"
:current-page=
"searchForm.pageNo"
:page-sizes=
"[10, 30, 50, 100]"
:page-size=
"searchForm.pageSize"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"totalRows"
background
@
size-change=
"handleSizeChange"
@
current-change=
"handleNumChange"
:current-page=
"searchForm.pageNo"
:page-sizes=
"[10, 30, 50, 100]"
:page-size=
"searchForm.pageSize"
layout=
"total, sizes, prev, pager, next, jumper"
:total=
"totalRows"
></el-pagination>
</div>
</div>
</div>
</template>
<
script
>
import
{
openLoading
,
closeLoading
}
from
"../../utils/utils"
;
import
BreadCrumb
from
"@/components/breadcrumb.vue"
;
import
{
getCertifyList
}
from
'@/utils/qualification'
export
default
{
components
:
{
BreadCrumb
import
{
openLoading
,
closeLoading
}
from
"../../utils/utils"
;
import
BreadCrumb
from
"@/components/breadcrumb.vue"
;
import
{
getCertifyList
}
from
"@/utils/qualification"
;
export
default
{
components
:
{
BreadCrumb
,
},
filters
:
{
examineType
(
type
)
{
const
obj
=
{
0
:
"待审核"
,
1
:
"审核通过"
,
2
:
"审核不通过"
,
};
return
obj
[
type
];
},
filters
:{
examineType
(
type
){
const
obj
=
{
0
:
'待审核'
,
1
:
'审核通过'
,
2
:
'审核不通过'
,
}
return
obj
[
type
]
},
typeState
(
type
){
const
reviewType
=
[
'tobe-reviewed'
,
'success-reviewed'
,
'no-reviewed'
]
typeState
(
type
)
{
const
reviewType
=
[
"tobe-reviewed"
,
"success-reviewed"
,
"no-reviewed"
];
return
reviewType
[
type
]
},
return
reviewType
[
type
];
},
data
(){
return
{
curmbFirst
:
'首营资质审核'
,
tabList
:[
{
id
:
1
,
name
:
'全部'
,
},
{
id
:
2
,
name
:
'待审核'
,
},
{
id
:
3
,
name
:
'已审核'
,
},
],
searchForm
:
{
adminMobileStr
:
''
,
adminNameStr
:
''
,
doctorIdStr
:
0
,
doctorNameStr
:
1
,
orgNameStr
:
10
,
orgType
:
null
,
pageNo
:
null
,
pageSize
:
0
,
status
:
0
,
storeNameStr
:
0
,
type
:
1
},
data
()
{
return
{
curmbFirst
:
"首营资质审核"
,
tabList
:
[
{
id
:
1
,
name
:
"全部"
,
},
orgList
:[
{
id
:
1
,
name
:
'医疗机构(非营利性)'
},
{
id
:
2
,
name
:
'医疗机构(营利性)'
},
{
id
:
3
,
name
:
'零售-单体药店'
},
{
id
:
4
,
name
:
'零售-连锁药店'
},
],
statusList
:[
{
id
:
0
,
name
:
'全部'
},
{
id
:
1
,
name
:
'待审核'
},
{
id
:
2
,
name
:
'已审核'
},
],
tableData
:[{
id
:
1
,
storeName
:
'11'
,
storeType
:
2
,
storeStatus
:
2
,
count
:
2
,
createdTime
:
2
,
commissionType
:
2
,
}],
tabChecked
:
1
}
{
id
:
2
,
name
:
"待审核"
,
},
{
id
:
3
,
name
:
"已审核"
,
},
],
searchForm
:
{
adminMobileStr
:
""
,
adminNameStr
:
""
,
doctorIdStr
:
""
,
doctorNameStr
:
""
,
orgNameStr
:
""
,
orgType
:
""
,
pageNo
:
1
,
pageSize
:
10
,
status
:
""
,
storeNameStr
:
""
,
},
orgList
:
[
{
id
:
1
,
name
:
"医疗机构(非营利性)"
},
{
id
:
2
,
name
:
"医疗机构(营利性)"
},
{
id
:
3
,
name
:
"零售-单体药店"
},
{
id
:
4
,
name
:
"零售-连锁药店"
},
],
statusList
:
[
{
id
:
0
,
name
:
"全部"
},
{
id
:
1
,
name
:
"待审核"
},
{
id
:
2
,
name
:
"已审核"
},
],
tableData
:
[
{
id
:
1
,
storeName
:
"11"
,
storeType
:
2
,
storeStatus
:
2
,
count
:
2
,
createdTime
:
2
,
commissionType
:
2
,
},
],
tabChecked
:
1
,
totalRows
:
0
,
};
},
created
()
{
this
.
init
();
},
methods
:
{
init
()
{
const
params
=
{
type
:
Number
(
this
.
$route
.
query
.
type
||
1
)
,
...
this
.
searchForm
,
};
getCertifyList
(
params
).
then
((
res
)
=>
{
console
.
log
(
res
);
const
{
contentList
,
total
}
=
res
.
data
;
this
.
tableData
=
contentList
;
this
.
totalRows
=
total
;
});
},
c
reated
()
{
this
.
init
()
c
heckTab
(
item
)
{
this
.
tabChecked
=
item
.
id
;
},
methods
:{
init
()
{
const
params
=
{
}
getCertifyList
(
params
).
then
(
res
=>
{
console
.
log
(
res
);
})
},
checkTab
(
item
)
{
this
.
tabChecked
=
item
.
id
;
}
}
}
},
};
</
script
>
<
style
lang=
"scss"
scope
>
.qualification-list
{
.qualification-content
{
background
:
#fff
;
padding
:
10px
;
.qualification-list
{
.qualification-content
{
background
:
#fff
;
padding
:
10px
;
}
.form-btn
{
text-align
:
right
;
}
.table
{
background-color
:
#fff
;
margin
:
10px
30px
;
padding
:
20px
;
.tobe-reviewed
{
color
:
#fac94d
;
}
.
form-btn
{
text-align
:
right
;
.
success-reviewed
{
color
:
#71d60a
;
}
.table
{
background-color
:
#fff
;
margin
:
10px
30px
;
padding
:
20px
;
.tobe-reviewed
{
color
:
#FAC94D
;
}
.success-reviewed
{
color
:
#71D60A
;
}
.no-reviewed
{
color
:
#E2292A
;
}
.tab
{
span
{
font-weight
:
bold
;
font-size
:
18px
;
margin-right
:
30px
;
cursor
:
pointer
;
&
.checked
{
color
:
#0D9078
;
}
}
}
.operation
{
span
{
color
:
#0D9078
;
.no-reviewed
{
color
:
#e2292a
;
}
.tab
{
span
{
font-weight
:
bold
;
font-size
:
18px
;
margin-right
:
30px
;
cursor
:
pointer
;
&
.checked
{
color
:
#0d9078
;
}
}
}
.operation
{
span
{
color
:
#0d9078
;
}
}
}
}
</
style
>
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录