Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
提交
议题看板
打开侧边栏
jingqi.liu
pica.cloud.web-education-admin
提交
e5d4f406
提交
e5d4f406
编写于
12月 01, 2021
作者:
dmx_mac
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat:供货商资质
上级
1885494b
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
127 行增加
和
103 行删除
+127
-103
index.js
src/utils/qualification/index.js
+2
-5
refuseDialog.vue
src/views/qualification/components/refuseDialog.vue
+41
-17
detail.vue
src/views/qualification/detail.vue
+16
-10
list.vue
src/views/qualification/list.vue
+68
-71
未找到文件。
src/utils/qualification/index.js
浏览文件 @
e5d4f406
...
...
@@ -22,9 +22,6 @@ export const getCertifyHistory = (params) => {
description
:
'查看审核历史'
,
})
};
export
const
getCertifyDetail
=
(
storeId
)
=>
{
return
fetch
({
headers
,
...
...
@@ -33,10 +30,10 @@ export const getCertifyDetail = (storeId) => {
description
:
'获取认证申请的审核详情'
,
})
};
export
const
getRefuseTemplate
=
(
storeId
)
=>
{
export
const
getRefuseTemplate
=
(
type
)
=>
{
return
fetch
({
headers
,
url
:
getBaseUrl
(
`store/cert/constant/refuse/template`
),
url
:
getBaseUrl
(
`store/cert/constant/refuse/template
?type=
${
type
}
`
),
method
:
'get'
,
description
:
'获取错误模板'
,
})
...
...
src/views/qualification/components/refuseDialog.vue
浏览文件 @
e5d4f406
...
...
@@ -7,13 +7,14 @@
>
<div
class=
"refuse-dialog"
>
<el-radio
class=
"radio"
v-model=
"checkId"
v-for=
"item in list"
:key=
"item.id"
:label=
"item.id"
>
{{
item
.
name
}}
</el-radio
>
<el-radio
v-model=
"checkId"
:label=
"4
"
>
手动输入
</el-radio>
<el-radio
class=
"radio"
v-model=
"checkId"
:label=
"-1
"
>
手动输入
</el-radio>
<el-input
v-if=
"checkId === -1"
type=
"textarea"
...
...
@@ -41,39 +42,59 @@ export default {
dialogVisible
:
false
,
checkId
:
-
1
,
refuse
:
""
,
list
:[],
type
:
''
list
:
[],
type
:
""
,
typeData
:
{
1
:
"公司信息"
,
2
:
"营业执照"
,
3
:
"上一年年度报告"
,
4
:
"委托人身份证照片"
,
5
:
"委托书"
,
6
:
"法人身份证照片"
,
7
:
"药品经营许可证"
,
8
:
"药品经营质量管理规范认证证书"
,
9
:
"食品经营许可证"
,
10
:
"医疗器械经营许可证"
,
11
:
"二级医疗器械经营备案凭证"
,
12
:
"事业单位法人证"
,
},
};
},
created
()
{},
methods
:
{
init
(
type
)
{
this
.
type
=
type
getRefuseTemplate
({
type
}).
then
((
res
)
=>
{
init
()
{
getRefuseTemplate
(
this
.
type
).
then
((
res
)
=>
{
console
.
log
(
res
);
this
.
list
=
res
.
data
||
[]
this
.
list
=
res
.
data
||
[]
;
});
},
show
()
{
show
(
type
)
{
console
.
log
(
type
);
this
.
type
=
type
;
this
.
init
(
type
);
this
.
dialogVisible
=
true
;
},
handleClose
()
{
this
.
list
=
[];
this
.
refuse
=
""
;
this
.
checkId
=
-
1
;
this
.
dialogVisible
=
false
;
},
confirm
()
{
const
params
=
{
refuseTemplateNo
:
this
.
checkId
,
infoType
:
this
.
type
}
if
(
this
.
checkId
===
-
1
)
{
params
.
refuseContent
=
this
.
refuse
refuseTemplateNo
:
this
.
checkId
,
infoType
:
this
.
type
,
infoTypeName
:
this
.
typeData
[
this
.
type
]
};
if
(
this
.
checkId
===
-
1
)
{
params
.
refuseContent
=
this
.
refuse
;
}
else
{
params
.
refuseContent
=
this
.
list
.
filter
s
(
v
=>
{
return
v
.
id
===
checkId
})[
0
].
name
params
.
refuseContent
=
this
.
list
.
filter
((
v
)
=>
{
return
v
.
id
===
this
.
checkId
;
})[
0
].
name
;
}
this
.
handleClose
();
this
.
$emit
(
"confirm"
,
params
);
this
.
$emit
(
"confirm"
,
params
);
},
},
};
...
...
@@ -84,6 +105,9 @@ export default {
flex-direction: column;
margin-bottom: 20px;
}
.radio {
margin-bottom: 10px;
}
.btn {
text-align: right;
}
...
...
src/views/qualification/detail.vue
浏览文件 @
e5d4f406
...
...
@@ -39,7 +39,7 @@
<div
class=
"company"
ref=
"company"
>
<div
class=
"tit"
>
<div
class=
"mr5"
>
公司信息
</div>
<div
class=
"c0D9078 cp"
@
click=
"refuse"
>
<div
class=
"c0D9078 cp"
@
click=
"refuse
(1)
"
>
<i
class=
"el-icon-edit-outline"
></i>
拒绝原因
</div>
...
...
@@ -65,7 +65,7 @@
<div
class=
""
>
<div
class=
"flex-c fs12"
>
<div
class=
"mr5"
>
营业执照
</div>
<div
class=
"c0D9078 cp"
@
click=
"refuse"
>
<div
class=
"c0D9078 cp"
@
click=
"refuse
(2)
"
>
<i
class=
"el-icon-edit-outline"
></i>
拒绝原因
</div>
</div>
...
...
@@ -90,7 +90,7 @@
<div>
<div
class=
"flex-c fs12"
>
<div
class=
"mr5"
>
上一年度报告
</div>
<div
class=
"c0D9078 cp"
@
click=
"refuse"
>
<div
class=
"c0D9078 cp"
@
click=
"refuse
(3)
"
>
<i
class=
"el-icon-edit-outline"
></i>
拒绝原因
</div>
</div>
...
...
@@ -109,7 +109,7 @@
<div>
<div
class=
"flex-c fs12"
>
<div
class=
"mr5"
>
委托人身份证照片
</div>
<div
class=
"c0D9078 cp"
@
click=
"refuse"
>
<div
class=
"c0D9078 cp"
@
click=
"refuse
(4)
"
>
<i
class=
"el-icon-edit-outline"
></i>
拒绝原因
</div>
</div>
...
...
@@ -144,7 +144,7 @@
<div>
<div
class=
"flex-c fs12"
>
<div
class=
"mr5"
>
委托书
</div>
<div
class=
"c0D9078 cp"
@
click=
"refuse"
>
<div
class=
"c0D9078 cp"
@
click=
"refuse
(5)
"
>
<i
class=
"el-icon-edit-outline"
></i>
拒绝原因
</div>
</div>
...
...
@@ -162,7 +162,7 @@
<div>
<div
class=
"flex-c fs12"
>
<div
class=
"mr5"
>
法人身份证照片
</div>
<div
class=
"c0D9078 cp"
@
click=
"refuse"
>
<div
class=
"c0D9078 cp"
@
click=
"refuse
(6)
"
>
<i
class=
"el-icon-edit-outline"
></i>
拒绝原因
</div>
</div>
...
...
@@ -203,7 +203,7 @@
<div
v-for=
"item in 4"
:key=
"item"
class=
"item"
>
<div
class=
"flex-c fs12"
>
<div
class=
"mr5"
>
药品经营许可证
</div>
<div
class=
"c0D9078 cp"
@
click=
"refuse"
>
<div
class=
"c0D9078 cp"
@
click=
"refuse
(7)
"
>
<i
class=
"el-icon-edit-outline"
></i>
拒绝原因
</div>
</div>
...
...
@@ -221,7 +221,7 @@
</div>
</div>
<history-dialog
:hidden=
"historyDialogHidden"
@
close=
"historyDialogClose"
/>
<refuse-dialog
/>
<refuse-dialog
ref=
"refuseDialog"
@
confirm=
"refuseConfirm"
/>
<footer>
<el-button
type=
"primary"
size=
"small"
@
click=
"confirm"
>
审核通过
</el-button
...
...
@@ -299,8 +299,8 @@ export default {
reasonRejection
(
type
)
{
const
value
=
this
.
certifyValidDtoList
.
filter
(
v
=>
{
return
v
.
infoType
===
type
})[
0
];
return
value
||
''
;
})[
0
]
||
{}
;
return
value
.
refuseContent
||
''
;
},
// copy
copyTxt
(
text
)
{
...
...
@@ -344,7 +344,13 @@ export default {
})
.
catch
(()
=>
{});
},
refuseConfirm
(
params
)
{
console
.
log
(
params
);
this
.
certifyValidDtoList
.
push
(
params
)
},
refuse
(
type
)
{
console
.
log
(
type
);
this
.
$refs
.
refuseDialog
.
show
(
type
);
switch
(
type
)
{
case
1
:
break
;
...
...
src/views/qualification/list.vue
浏览文件 @
e5d4f406
...
...
@@ -76,7 +76,7 @@
></el-input>
</el-form-item>
</
template
>
<el-form-item
label=
"审核状态"
>
<
!-- <
el-form-item label="审核状态">
<el-select
v-model="searchForm.status"
placeholder="请选择"
...
...
@@ -89,17 +89,21 @@
:value="item.id"
></el-option>
</el-select>
</el-form-item>
</el-form-item>
-->
</el-form>
<div
class=
"form-btn"
>
<el-button
type=
"primary"
size=
"small"
>
查询
</el-button>
<el-button
type=
"default"
size=
"small"
>
重制
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"submitForm"
>
查询
</el-button
>
<el-button
type=
"default"
size=
"small"
@
click=
"resetForm"
>
重制
</el-button
>
</div>
</div>
<div
class=
"table"
>
<div
class=
"tab"
>
<span
:class=
"{ checked: item.id ===
tabChecked
}"
:class=
"{ checked: item.id ===
searchForm.status
}"
v-for=
"item in tabList"
:key=
"item.id"
@
click=
"checkTab(item)"
...
...
@@ -135,24 +139,18 @@
</
template
>
</el-table-column>
<el-table-column
prop=
"
storeTyp
e"
prop=
"
adminNam
e"
label=
"管理员姓名"
min-width=
"100"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
storeType
|
storeTypeFormat
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"
storeTyp
e"
prop=
"
adminMobil
e"
label=
"管理员手机号"
min-width=
"100"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
storeType
|
storeTypeFormat
}}
</span>
</
template
>
</el-table-column>
</template>
<
template
v-if=
"$route.query.source === 'pf'"
>
...
...
@@ -168,45 +166,39 @@
</
template
>
</el-table-column>
<el-table-column
prop=
"
storeTyp
e"
prop=
"
applyNam
e"
label=
"医生姓名"
min-width=
"100"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
storeType
|
storeTypeFormat
}}
</span>
</
template
>
</el-table-column>
</template>
<el-table-column
prop=
"
storeStatus
"
prop=
"
orgName
"
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
"
prop=
"
orgType
"
label=
"企业类型"
min-width=
"120"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
count
}}
</span>
<span>
{{
scope
.
row
.
orgType
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"
createdTime
"
prop=
"
status
"
label=
"审核状态"
min-width=
"120"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span
:class=
"scope.row.
createdTime
| typeState"
>
{{
scope
.
row
.
createdTime
|
examineType
<span
:class=
"scope.row.
status
| typeState"
>
{{
scope
.
row
.
status
|
examineType
}}
</span>
<el-tooltip
class=
"item"
...
...
@@ -219,41 +211,25 @@
</
template
>
</el-table-column>
<el-table-column
prop=
"
commissionTyp
e"
prop=
"
applyTim
e"
label=
"申请时间"
width=
"120"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
commissionType
|
commissionTypeFormat
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"
commissionPric
e"
prop=
"
auditNam
e"
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
>
</
template
>
</el-table-column>
<el-table-column
prop=
"
commissionTyp
e"
prop=
"
auditTim
e"
label=
"审核时间"
width=
"120"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
proxyCommissionType
|
commissionTypeFormat
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
...
...
@@ -263,13 +239,10 @@
>
<
template
slot-scope=
"scope"
>
<div
class=
"operation"
>
<el-button
@
click=
"
shopManage
(scope.row)"
type=
"text"
size=
"small"
<el-button
@
click=
"
editDetail
(scope.row)"
type=
"text"
size=
"small"
>
审核
</el-button
>
<el-button
@
click=
"orderManage(scope.row)"
type=
"text"
size=
"small"
<el-button
@
click=
"lookDetail(scope.row)"
type=
"text"
size=
"small"
>
查看详情
</el-button
>
</div>
...
...
@@ -318,18 +291,11 @@ export default {
return
{
curmbFirst
:
"首营资质审核"
,
tabList
:
[
{
id
:
1
,
name
:
"全部"
,
},
{
id
:
2
,
name
:
"待审核"
,
},
{
id
:
3
,
name
:
"已审核"
,
},
{
id
:
0
,
name
:
"全部"
},
{
id
:
2
,
name
:
"待审核"
},
{
id
:
3
,
name
:
"审核成功"
},
{
id
:
4
,
name
:
"审核失败"
},
{
id
:
5
,
name
:
"作废"
},
],
searchForm
:
{
adminMobileStr
:
""
,
...
...
@@ -340,7 +306,7 @@ export default {
orgType
:
""
,
pageNo
:
1
,
pageSize
:
10
,
status
:
""
,
status
:
0
,
storeNameStr
:
""
,
},
orgList
:
[
...
...
@@ -349,11 +315,6 @@ export default {
{
id
:
3
,
name
:
"零售-单体药店"
},
{
id
:
4
,
name
:
"零售-连锁药店"
},
],
statusList
:
[
{
id
:
0
,
name
:
"全部"
},
{
id
:
1
,
name
:
"待审核"
},
{
id
:
2
,
name
:
"已审核"
},
],
tableData
:
[
{
id
:
1
,
...
...
@@ -365,7 +326,8 @@ export default {
commissionType
:
2
,
},
],
tabChecked
:
1
,
pageNo
:
1
,
pageSize
:
10
,
totalRows
:
0
,
};
},
...
...
@@ -375,7 +337,9 @@ export default {
methods
:
{
init
()
{
const
params
=
{
type
:
Number
(
this
.
$route
.
query
.
type
||
1
)
,
pageSize
:
this
.
pageSize
,
pageNo
:
this
.
pageNo
,
type
:
Number
(
this
.
$route
.
query
.
type
||
1
),
...
this
.
searchForm
,
};
getCertifyList
(
params
).
then
((
res
)
=>
{
...
...
@@ -385,8 +349,41 @@ export default {
this
.
totalRows
=
total
;
});
},
submitForm
()
{
this
.
init
();
},
editDetail
()
{
this
.
$router
.
push
({
path
:
'/qualification-detail'
,
query
:{
source
:
this
.
$route
.
query
.
source
}})
},
lookDetail
()
{},
resetForm
()
{
(
this
.
searchForm
=
{
adminMobileStr
:
""
,
adminNameStr
:
""
,
doctorIdStr
:
""
,
doctorNameStr
:
""
,
orgNameStr
:
""
,
orgType
:
""
,
pageNo
:
this
.
pageNo
,
pageSize
:
this
.
pageSize
,
status
:
this
.
searchForm
.
status
,
storeNameStr
:
""
,
}),
this
.
init
();
},
handleSizeChange
(
value
)
{
this
.
pageSize
=
value
;
this
.
pageNo
=
1
;
this
.
init
();
},
handleNumChange
(
value
)
{
this
.
pageNo
=
value
;
this
.
init
();
},
checkTab
(
item
)
{
this
.
tabChecked
=
item
.
id
;
this
.
searchForm
.
status
=
item
.
id
;
this
.
init
();
},
},
};
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录