Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
e5752aaf
authored
2025-12-02 10:40:09 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
企业认证部分接口修改
1 parent
1dae2c95
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
57 additions
and
34 deletions
src/api/modules/dataRequire.ts
src/views/data_facilitator/authenticationManagement.vue
src/views/data_facilitator/certificationAudit.vue
src/views/data_facilitator/certificationAuditDetail.vue
src/api/modules/dataRequire.ts
View file @
e5752aa
...
...
@@ -137,7 +137,7 @@ export const deleteConnector = (params) => request({
})
export
const
getConnectorDetail
=
(
guid
)
=>
request
({
url
:
`
${
import
.
meta
.
env
.
VITE_APP_
CIRCULATION_PORTAL
_URL
}
/tds-connector-identity/detail?guid=
${
guid
}
`
,
url
:
`
${
import
.
meta
.
env
.
VITE_APP_
DIGITAL_CONTRACT
_URL
}
/tds-connector-identity/detail?guid=
${
guid
}
`
,
method
:
'get'
})
...
...
src/views/data_facilitator/authenticationManagement.vue
View file @
e5752aa
...
...
@@ -920,7 +920,7 @@ const getTenant = () => {
getDataType
(
'机构类型'
,
'tenantTypeVal'
),
getDataType
(
'证件类型'
,
'juridicalPersonIdType'
),
getDataType
(
'组织机构性质'
,
'institutionType'
),
getDeploymentId
(
'10013'
)
//
getDeploymentId('10013')
)
if
(
userData
.
tenantName
!=
'非认证会员'
)
{
getTenantData
()
...
...
@@ -959,14 +959,14 @@ const getTenantData = () => {
}
// 获取流程信息
const
getDeploymentId
=
(
flowType
:
any
)
=>
{
return
getCamundaDeploymentId
(
flowType
,
userData
.
tenantGuid
,
userData
.
staffGuid
).
then
((
res
:
any
)
=>
{
if
(
res
.
code
==
proxy
.
$passCode
)
{
}
else
{
ElMessage
.
error
(
res
.
msg
);
}
})
}
//
const getDeploymentId = (flowType: any) => {
//
return getCamundaDeploymentId(flowType, userData.tenantGuid, userData.staffGuid).then((res: any) => {
//
if (res.code == proxy.$passCode) {
//
} else {
//
ElMessage.error(res.msg);
//
}
//
})
//
}
const
setTableField
=
()
=>
{
tableField
.
value
.
splice
(
2
);
...
...
@@ -1169,7 +1169,7 @@ const subSave = (params) => {
const
changeApprove
=
(
params
)
=>
{
loading
.
value
=
true
;
changeApprov
eSave
(
params
).
then
((
res
:
any
)
=>
{
enterpris
eSave
(
params
).
then
((
res
:
any
)
=>
{
loading
.
value
=
false
;
if
(
res
.
code
==
proxy
.
$passCode
)
{
ElMessage
.
success
(
'认证信息变更申请成功'
);
...
...
@@ -1280,14 +1280,32 @@ const btnClick = async (btn, bType = null) => {
params
.
attachmentRQVOS
=
attachmentRQVOS
;
if
(
bizApproveState
.
value
==
'Y'
)
{
let
flowParams
:
any
=
{};
flowParams
.
flowType
=
'10014'
;
flowParams
.
bizGuid
=
detailGuid
.
value
;
flowParams
.
sourceApproveGuid
=
flowDetail
.
value
.
approveVO
.
approveGuid
;
flowParams
.
bizDataJson
=
JSON
.
stringify
(
params
);
flowParams
.
oldBizDataJson
=
JSON
.
stringify
(
flowDetail
.
value
);
flowParams
.
isDraft
=
type
==
'submit'
?
'N'
:
'Y'
;
changeApprove
(
flowParams
);
params
.
immediateApprove
=
true
;
params
.
bizApproveState
=
'A'
;
params
.
isRestart
=
false
;
loading
.
value
=
true
;
enterpriseSave
(
params
).
then
((
res
:
any
)
=>
{
loading
.
value
=
false
;
if
(
res
.
code
==
proxy
.
$passCode
)
{
ElMessage
.
success
(
'编辑认证信息提交申请成功'
);
bizApproveState
.
value
=
'A'
;
setFormDisable
();
}
else
{
ElMessage
.
error
(
res
.
msg
);
}
}).
catch
((
xhr
)
=>
{
loading
.
value
=
false
;
ElMessage
.
error
(
xhr
.
response
.
data
.
msg
);
});
// let flowParams: any = {};
// flowParams.flowType = '10014';
// flowParams.bizGuid = detailGuid.value;
// // flowParams.sourceApproveGuid = flowDetail.value.approveVO.approveGuid;
// flowParams.bizDataJson = JSON.stringify(params);
// flowParams.oldBizDataJson = JSON.stringify(flowDetail.value);
// flowParams.isDraft = type == 'submit' ? 'N' : 'Y';
// changeApprove(flowParams);
}
else
{
if
(
type
==
'submit'
)
{
params
.
immediateApprove
=
true
;
...
...
@@ -1613,8 +1631,8 @@ const viewVoucherFile = () => {
<div
class=
"empty_tips"
v-else
>
暂无变更信息
</div>
</div>
</ContentWrap>
<ContentWrap
title=
"认证结果信息"
v-if=
"bizApproveState == 'Y' && !isEdit"
expandSwicth
style=
"margin-top: 15px"
:isExpand=
"expandResult
"
@
expand=
"(v) => expandResult = v"
>
<ContentWrap
title=
"认证结果信息"
v-if=
"bizApproveState == 'Y' && !isEdit"
expandSwicth
style=
"margin-top: 15px
"
:isExpand=
"expandResult"
@
expand=
"(v) => expandResult = v"
>
<div
class=
"list_panel"
>
<div
class=
"list_item"
>
<span
class=
"item_label"
>
认证时间:
</span>
...
...
src/views/data_facilitator/certificationAudit.vue
View file @
e5752aa
...
...
@@ -295,7 +295,7 @@ const tableBtnClick = (scope, btn) => {
if
(
type
===
'detail'
)
{
// 详情
router
.
push
({
name
:
'certificationAuditDetail'
,
query
:
{
guid
:
row
.
flowType
==
'10014'
?
row
.
objectGuid
:
row
.
bizGuid
,
name
:
row
.
param1
,
tName
:
row
.
tenantName
,
fType
:
row
.
flowType
,
bizGuid
:
row
.
bizGuid
,
type
}
query
:
{
guid
:
row
.
guid
,
name
:
row
.
param1
,
tName
:
row
.
tenantName
,
fType
:
row
.
flowType
,
type
}
});
}
else
if
(
type
==
"delete"
)
{
delTableOpen
(
"此操作将永久删除该认证信息,是否继续?"
,
"warning"
);
...
...
src/views/data_facilitator/certificationAuditDetail.vue
View file @
e5752aa
...
...
@@ -27,7 +27,7 @@ const detailType = route.query.type;
const
tName
=
route
.
query
.
tName
;
const
fType
=
route
.
query
.
fType
;
const
bizGuid
=
route
.
query
.
bizG
uid
;
const
bizGuid
=
route
.
query
.
g
uid
;
const
loading
=
ref
(
false
);
const
flowDetail
:
any
=
ref
({});
const
approveState
=
ref
(
''
);
...
...
@@ -1130,12 +1130,27 @@ onActivated(() => {
}
})
const
getIndustryParamsList
=
()
=>
{
return
getParamsList
({
dictType
:
'行业分类'
}).
then
((
res
:
any
)
=>
{
if
(
res
?.
code
==
proxy
.
$passCode
)
{
industryList
.
value
=
res
.
data
||
[];
let
index
=
contentFormItems
.
value
.
findIndex
(
item
=>
item
.
field
==
'industry'
);
let
item
=
contentFormItems
.
value
[
index
];
item
.
options
=
industryList
.
value
;
contentFormItems
.
value
[
index
+
1
].
options
=
!
item
.
default
?
[]
:
industryList
.
value
.
find
(
i
=>
i
.
value
==
item
.
default
)?.
childDictList
||
[];
}
else
{
res
?.
msg
&&
proxy
.
$ElMessage
.
error
(
res
?.
msg
);
}
})
}
onBeforeMount
(()
=>
{
if
(
fType
==
'10014'
)
{
promiseList
(
()
=>
getDataType
(
'机构类型'
,
'tenantType'
),
()
=>
getDataType
(
'证件类型'
,
'juridicalPersonIdType'
),
()
=>
getDataType
(
'组织机构性质'
,
'institutionType'
),
()
=>
getIndustryParamsList
(),
()
=>
getDetail
(),
()
=>
getChangeDetail
()
)
...
...
@@ -1144,20 +1159,10 @@ onBeforeMount(() => {
()
=>
getDataType
(
'机构类型'
,
'tenantType'
),
()
=>
getDataType
(
'证件类型'
,
'juridicalPersonIdType'
),
()
=>
getDataType
(
'组织机构性质'
,
'institutionType'
),
()
=>
getIndustryParamsList
(),
()
=>
getDetail
(),
)
}
getParamsList
({
dictType
:
'行业分类'
}).
then
((
res
:
any
)
=>
{
if
(
res
?.
code
==
proxy
.
$passCode
)
{
industryList
.
value
=
res
.
data
||
[];
let
index
=
contentFormItems
.
value
.
findIndex
(
item
=>
item
.
field
==
'industry'
);
let
item
=
contentFormItems
.
value
[
index
];
item
.
options
=
industryList
.
value
;
contentFormItems
.
value
[
index
+
1
].
options
=
!
item
.
default
?
[]
:
industryList
.
value
.
find
(
i
=>
i
.
value
==
item
.
default
)?.
childDictList
||
[];
}
else
{
res
?.
msg
&&
proxy
.
$ElMessage
.
error
(
res
?.
msg
);
}
})
})
const
orgTableRef
=
ref
();
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment