Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
6bdd7952
提交
6bdd7952
编写于
12月 01, 2021
作者:
dmx_mac
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat:供货商资质
上级
e5d4f406
变更
2
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
60 行增加
和
16 行删除
+60
-16
index.js
src/utils/qualification/index.js
+10
-1
detail.vue
src/views/qualification/detail.vue
+50
-15
未找到文件。
src/utils/qualification/index.js
浏览文件 @
6bdd7952
...
...
@@ -22,7 +22,7 @@ export const getCertifyHistory = (params) => {
description
:
'查看审核历史'
,
})
};
export
const
getCertifyDetail
=
(
storeId
)
=>
{
export
const
getCertifyDetail
=
()
=>
{
return
fetch
({
headers
,
url
:
getBaseUrl
(
`store/certify/certifyDetail`
),
...
...
@@ -38,3 +38,12 @@ export const getRefuseTemplate = (type) => {
description
:
'获取错误模板'
,
})
};
export
const
postCertifyAudit
=
(
params
)
=>
{
return
fetch
({
headers
,
url
:
getBaseUrl
(
`store/certify/audit`
),
method
:
'post'
,
data
:
params
,
description
:
'审核'
,
})
};
src/views/qualification/detail.vue
浏览文件 @
6bdd7952
...
...
@@ -238,7 +238,7 @@ import BreadCrumb from "@/components/breadcrumb.vue";
import
historyDialog
from
"./components/historyDialog.vue"
;
import
refuseDialog
from
"./components/refuseDialog.vue"
;
import
{
getCertifyDetail
}
from
"@/utils/qualification"
;
import
{
getCertifyDetail
,
postCertifyAudit
}
from
"@/utils/qualification"
;
import
Footer
from
"../layout/footer.vue"
;
export
default
{
components
:
{
...
...
@@ -319,8 +319,13 @@ export default {
);
},
confirm
()
{
const
msg
=
"部分内容你已经标记拒绝,不可通过审核,请返回查看"
;
this
.
$confirm
(
msg
,
"确认通过审核吗?"
,
{
const
params
=
{
certificateInfoId
:
1
,
certifyStatus
:
3
,
certifyValidDtoList
:
this
.
certifyValidDtoList
}
if
(
this
.
certifyValidDtoList
.
length
)
{
this
.
$confirm
(
"部分内容你已经标记拒绝,不可通过审核,请返回查看"
,
"确认通过审核吗?"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
...
...
@@ -331,10 +336,30 @@ export default {
document
.
querySelector
(
'#body-content'
).
scrollTop
=
this
.
$refs
.
company
.
scrollHeight
})
.
catch
(()
=>
{});
return
;
}
this
.
$confirm
(
''
,
"确认通过审核吗?"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(()
=>
{
postCertifyAudit
(
params
).
then
(
res
=>
{
console
.
log
(
res
);
document
.
querySelector
(
'#body-content'
).
scrollTop
=
0
;
this
.
init
();
})
})
.
catch
(()
=>
{});
},
handleClose
()
{
const
msg
=
"未检测到有标记拒绝原因的项目,请返回查看"
;
this
.
$confirm
(
msg
,
"确认通过审核不通过吗?"
,
{
const
params
=
{
certificateInfoId
:
1
,
certifyStatus
:
4
,
certifyValidDtoList
:
this
.
certifyValidDtoList
}
if
(
this
.
certifyValidDtoList
.
length
)
{
this
.
$confirm
(
''
,
"确认通过审核不通过吗?"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
...
...
@@ -343,6 +368,16 @@ export default {
document
.
body
.
scrollTop
=
0
;
})
.
catch
(()
=>
{});
return
;
}
this
.
$confirm
(
'未检测到有标记拒绝原因的项目,请返回查看'
,
"确认通过审核不通过吗?"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(()
=>
{
})
.
catch
(()
=>
{});
},
refuseConfirm
(
params
)
{
console
.
log
(
params
);
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录