Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
ab27e65c
提交
ab27e65c
编写于
12月 01, 2021
作者:
张磊
浏览文件
操作
浏览文件
下载
差异文件
save
上级
bd795302
6bdd7952
变更
10
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
7672 行增加
和
13 行删除
+7672
-13
package.json
package.json
+1
-1
router.js
src/router/router.js
+10
-1
global.scss
src/style/global.scss
+18
-4
mixins.js
src/utils/mixins.js
+7
-7
index.js
src/utils/qualification/index.js
+49
-0
historyDialog.vue
src/views/qualification/components/historyDialog.vue
+99
-0
refuseDialog.vue
src/views/qualification/components/refuseDialog.vue
+114
-0
detail.vue
src/views/qualification/detail.vue
+519
-0
list.vue
src/views/qualification/list.vue
+431
-0
yarn.lock
yarn.lock
+6424
-0
未找到文件。
package.json
浏览文件 @
ab27e65c
...
...
@@ -27,7 +27,7 @@
"
iscroll
"
:
"
^5.2.0
"
,
"
js-cookie
"
:
"
^2.2.0
"
,
"
js-md5
"
:
"
^0.7.3
"
,
"
jsencrypt
"
:
"
^3.
0.0-rc
.1
"
,
"
jsencrypt
"
:
"
^3.
2
.1
"
,
"
jspdf
"
:
"
^1.5.3
"
,
"
node-sass
"
:
"
^4.9.2
"
,
"
pdfh5
"
:
"
^1.3.9
"
,
...
...
src/router/router.js
浏览文件 @
ab27e65c
...
...
@@ -82,6 +82,8 @@ const plazaList = r => require.ensure([], () => r(require('../views/plaza/plaza-
const
activityMember
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/activitymanagement/activity-member.vue'
)),
'activity-member'
)
const
videoManage
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/shortvideo/video-manage.vue'
)),
'video-manage'
)
const
qualificationList
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/qualification/list.vue'
)),
'qualification'
)
const
qualificationDetail
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/qualification/detail.vue'
)),
'qualification'
)
export
default
[{
path
:
'/'
,
...
...
@@ -347,7 +349,14 @@ export default [{
path
:
'video-manage'
,
component
:
videoManage
,
},
{
path
:
'qualification-list'
,
component
:
qualificationList
},
{
path
:
'qualification-detail'
,
component
:
qualificationDetail
},
// {
// path: '/followup',
// name: 'followUp',
...
...
src/style/global.scss
浏览文件 @
ab27e65c
@import
'./common.scss'
;
// color
.c0D9078
{
color
:
#0D9078
;
}
//定位
.relative
{
position
:
relative
;
...
...
@@ -18,9 +22,19 @@
display
:
flex
;
justify-content
:
flex-end
;
}
.flex1
{
flex
:
1
;
}
.textLeft
{
float
:
left
;
}
.cp
{
cursor
:
pointer
;
}
.flex-c
{
display
:
flex
;
align-items
:
center
;
}
.center
{
text-align
:
center
;
}
...
...
@@ -125,11 +139,11 @@
padding-left
:
5px
!
important
;
font-size
:
14px
!
important
;
color
:
#333
;
}
}
.el-checkbox__input.is-checked
+
.el-checkbox__label
{
color
:
#449284
;
}
.el-checkbox__input.is-checked
.el-checkbox__inner
,
.el-checkbox__input.is-checked
.el-checkbox__inner
,
.el-checkbox__input.is-indeterminate
.el-checkbox__inner
{
color
:
#449284
;
}
...
...
@@ -204,7 +218,7 @@
margin
:
0
;
padding
:
25px
5px
30px
;
border-top
:
0px
solid
#E4E7ED
;
}
}
}
.el-dialog__footer
{
padding-top
:
20px
;
...
...
@@ -227,7 +241,7 @@
margin
:
0
;
padding
:
25px
5px
30px
;
border-top
:
1px
solid
#E4E7ED
;
}
}
}
}
.el-cascader
.el-input
.el-input__inner
:focus
,
.el-cascader
.el-input.is-focus
.el-input__inner
{
...
...
src/utils/mixins.js
浏览文件 @
ab27e65c
import
fetch
from
'@/utils/fetch'
import
{
getBaseUrl
,
getReportUrl
,
getWorkApi
,
getCmsUrl
}
from
'@/utils/index'
import
{
CryptoJS
}
from
'@/plugins/aes'
import
'jsencrypt'
import
JSEncrypt
from
'jsencrypt'
import
{
getPubKey
}
from
'@/utils/account/accountApi'
;
...
...
@@ -19,7 +19,7 @@ module.exports = {
// this.token = this.getUrlKey('token') || (query && query.token) || null
},
mounted
:
function
()
{
},
methods
:
{
...
...
@@ -56,7 +56,7 @@ module.exports = {
cb
&&
cb
(
params
);
}
}
else
{
this
.
$message
({
this
.
$message
({
message
:
(
res
&&
res
.
message
)
||
'接口出错'
,
type
:
'warning'
});
...
...
@@ -85,7 +85,7 @@ module.exports = {
return
encrypted
.
toString
();
},
// RSA encrypt
RsaEncrypt
(
aesKey
,
pubKey
){
RsaEncrypt
(
aesKey
,
pubKey
){
let
_encrypt
=
new
JSEncrypt
();
let
boss_public_key
=
pubKey
;
_encrypt
.
setPublicKey
(
boss_public_key
);
...
...
@@ -159,7 +159,7 @@ module.exports = {
setEntry
:
'headers'
,
}
let
url
=
'contents/searchKeyword/searchContent'
let
csourceData
=
await
this
.
GET
(
url
,
para
).
then
(
res
=>
{
// _this.searchText = ''
if
(
res
.
code
==
'000000'
)
{
...
...
@@ -182,7 +182,7 @@ module.exports = {
})
return
csourceData
},
setEventByModuleCode
(
itemData
){
let
modeCode
=
itemData
.
appModuleInfo
.
code
||
''
;
let
paramList
=
itemData
.
appModuleInfo
.
paramList
?
itemData
.
appModuleInfo
.
paramList
:
''
...
...
@@ -253,7 +253,7 @@ module.exports = {
params
:
para
})
},
// 通用DELETE请求
DELETE
(
api
,
para
,
callback
,
str
)
{
// para.token = para.token || this.token || "343BCABC890349ACAF357FA79122F9FE"
...
...
src/utils/qualification/index.js
0 → 100644
浏览文件 @
ab27e65c
import
fetch
from
'../fetch'
;
import
{
getBaseUrl
,
getSaasDomain
,
getSaasApiDomain
}
from
'@/utils/index'
let
headers
=
{
'Content-Type'
:
'application/json;charset=UTF-8'
,
token
:
localStorage
.
getItem
(
'storageToken'
),
};
export
const
getCertifyList
=
(
params
)
=>
{
return
fetch
({
headers
,
url
:
getBaseUrl
(
`store/certify/list`
),
method
:
'post'
,
data
:
params
,
description
:
'审核记录列表(批发和供应商)'
,
})
};
export
const
getCertifyHistory
=
(
params
)
=>
{
return
fetch
({
headers
,
url
:
getBaseUrl
(
`certify/certifyHistory`
),
method
:
'get'
,
data
:
params
,
description
:
'查看审核历史'
,
})
};
export
const
getCertifyDetail
=
()
=>
{
return
fetch
({
headers
,
url
:
getBaseUrl
(
`store/certify/certifyDetail`
),
method
:
'get'
,
description
:
'获取认证申请的审核详情'
,
})
};
export
const
getRefuseTemplate
=
(
type
)
=>
{
return
fetch
({
headers
,
url
:
getBaseUrl
(
`store/cert/constant/refuse/template?type=
${
type
}
`
),
method
:
'get'
,
description
:
'获取错误模板'
,
})
};
export
const
postCertifyAudit
=
(
params
)
=>
{
return
fetch
({
headers
,
url
:
getBaseUrl
(
`store/certify/audit`
),
method
:
'post'
,
data
:
params
,
description
:
'审核'
,
})
};
src/views/qualification/components/historyDialog.vue
0 → 100644
浏览文件 @
ab27e65c
<
template
>
<el-dialog
title=
"提示"
:visible
.
sync=
"hidden"
width=
"80%"
: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=
"address"
label=
"审核结果"
></el-table-column>
<el-table-column
property=
"address"
label=
"失败原因"
width=
"200"
>
<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>
<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>
</div>
</el-dialog>
</template>
<
script
>
import
{
getCertifyHistory
}
from
"@/utils/qualification"
;
export
default
{
props
:
{
hidden
:
{
type
:
Boolean
,
default
:
()
=>
{
return
false
;
},
},
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
)
=>
{
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"
);
},
},
};
</
script
>
<
style
lang=
'less'
scoped
>
</
style
>
src/views/qualification/components/refuseDialog.vue
0 → 100644
浏览文件 @
ab27e65c
<
template
>
<el-dialog
title=
"拒绝原因"
:visible
.
sync=
"dialogVisible"
width=
"40%"
:before-close=
"handleClose"
>
<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
class=
"radio"
v-model=
"checkId"
:label=
"-1"
>
手动输入
</el-radio>
<el-input
v-if=
"checkId === -1"
type=
"textarea"
placeholder=
"请输入拒绝原因"
v-model=
"refuse"
maxlength=
"30"
show-word-limit
/>
</div>
<div
class=
"btn"
>
<el-button
type=
"default"
size=
"small"
@
click=
"handleClose"
>
取消
</el-button
>
<el-button
type=
"primary"
size=
"small"
@
click=
"confirm"
>
确认
</el-button>
</div>
</el-dialog>
</
template
>
<
script
>
import
{
getRefuseTemplate
}
from
"@/utils/qualification"
;
export
default
{
props
:
{},
data
()
{
return
{
dialogVisible
:
false
,
checkId
:
-
1
,
refuse
:
""
,
list
:
[],
type
:
""
,
typeData
:
{
1
:
"公司信息"
,
2
:
"营业执照"
,
3
:
"上一年年度报告"
,
4
:
"委托人身份证照片"
,
5
:
"委托书"
,
6
:
"法人身份证照片"
,
7
:
"药品经营许可证"
,
8
:
"药品经营质量管理规范认证证书"
,
9
:
"食品经营许可证"
,
10
:
"医疗器械经营许可证"
,
11
:
"二级医疗器械经营备案凭证"
,
12
:
"事业单位法人证"
,
},
};
},
created
()
{},
methods
:
{
init
()
{
getRefuseTemplate
(
this
.
type
).
then
((
res
)
=>
{
console
.
log
(
res
);
this
.
list
=
res
.
data
||
[];
});
},
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
,
infoTypeName
:
this
.
typeData
[
this
.
type
]
};
if
(
this
.
checkId
===
-
1
)
{
params
.
refuseContent
=
this
.
refuse
;
}
else
{
params
.
refuseContent
=
this
.
list
.
filter
((
v
)
=>
{
return
v
.
id
===
this
.
checkId
;
})[
0
].
name
;
}
this
.
handleClose
();
this
.
$emit
(
"confirm"
,
params
);
},
},
};
</
script
>
<
style
lang=
'less'
scoped
>
.refuse-dialog {
display: flex;
flex-direction: column;
margin-bottom: 20px;
}
.radio {
margin-bottom: 10px;
}
.btn {
text-align: right;
}
</
style
>
src/views/qualification/detail.vue
0 → 100644
浏览文件 @
ab27e65c
此差异已折叠。
点击以展开。
src/views/qualification/list.vue
0 → 100644
浏览文件 @
ab27e65c
此差异已折叠。
点击以展开。
yarn.lock
0 → 100644
浏览文件 @
ab27e65c
此差异已折叠。
点击以展开。
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录