Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
op-web-service
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bp
op-web-service
Commits
60b71f6c
Commit
60b71f6c
authored
Jul 08, 2021
by
mengwenhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:回显字段随服务端更改
parent
561a9ad9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
15 deletions
+15
-15
index.vue
src/pages/Enterprise/Audit/index.vue
+12
-12
enterpriseForm.vue
src/pages/Enterprise/components/enterpriseForm.vue
+3
-3
No files found.
src/pages/Enterprise/Audit/index.vue
View file @
60b71f6c
...
...
@@ -70,19 +70,19 @@
>
<template
#
reference
>
<el-image
v-if=
"scope.row.sensitiveWord && scope.row.entterprise_image"
v-if=
"scope.row.sensitiveWord && scope.row.entterprise_image
_url
"
fit=
"fill"
:src=
"scope.row.entterprise_image"
:src=
"scope.row.entterprise_image
_url
"
></el-image>
<span
v-else-if=
"
scope.row.sensitiveWord && !scope.row.entterprise_image
scope.row.sensitiveWord && !scope.row.entterprise_image
_url
"
>
无
</span>
<span
v-else
>
无权限
</span>
</
template
>
<el-image
fit=
"fill"
style=
"width:100%;height:100%"
:src=
"scope.row.entterprise_image"
:src=
"scope.row.entterprise_image
_url
"
></el-image>
</el-popover>
</template>
...
...
@@ -119,19 +119,19 @@
>
<template
#
reference
>
<el-image
v-if=
"scope.row.sensitiveWord && scope.row.legal_front_id_card"
:src=
"scope.row.legal_front_id_card"
v-if=
"scope.row.sensitiveWord && scope.row.legal_front_id_card
_url
"
:src=
"scope.row.legal_front_id_card
_url
"
fit=
"fill"
></el-image>
<span
v-else-if=
"
scope.row.sensitiveWord && !scope.row.legal_front_id_card
scope.row.sensitiveWord && !scope.row.legal_front_id_card
_url
"
>
无
</span>
<span
v-else
>
无权限
</span>
</
template
>
<el-image
fit=
"fill"
style=
"width:100%;height:100%"
:src=
"scope.row.legal_front_id_card"
:src=
"scope.row.legal_front_id_card
_url
"
></el-image>
</el-popover>
</template>
...
...
@@ -148,19 +148,19 @@
>
<template
#
reference
>
<el-image
v-if=
"scope.row.sensitiveWord && scope.row.legal_back_id_card"
v-if=
"scope.row.sensitiveWord && scope.row.legal_back_id_card
_url
"
fit=
"fill"
:src=
"scope.row.legal_back_id_card"
:src=
"scope.row.legal_back_id_card
_url
"
></el-image>
<span
v-else-if=
"
scope.row.sensitiveWord && !scope.row.legal_back_id_card
scope.row.sensitiveWord && !scope.row.legal_back_id_card
_url
"
>
无
</span>
<span
v-else
>
无权限
</span>
</
template
>
<el-image
fit=
"fill"
style=
"width:100%;height:100%"
:src=
"scope.row.legal_back_id_card"
:src=
"scope.row.legal_back_id_card
_url
"
></el-image>
</el-popover>
...
...
src/pages/Enterprise/components/enterpriseForm.vue
View file @
60b71f6c
...
...
@@ -349,7 +349,7 @@ export default {
handleEnterpriseSuccess
(
res
)
{
if
(
res
.
code
!==
0
)
return
this
.
$message
.
error
(
res
.
reason
);
this
.
clearValidate
(
"entterpriseImageRef"
);
this
.
establishForm
.
entterprise_image_url
=
`http://
${
res
.
result
.
file_url
}
`
;
this
.
establishForm
.
entterprise_image_url
=
res
.
result
.
file_url
;
this
.
establishForm
.
entterprise_image
=
`
${
res
.
result
.
bucket
}
/
${
res
.
result
.
object_id
}
`
;
},
...
...
@@ -357,7 +357,7 @@ export default {
handleFontSuccess
(
res
)
{
if
(
res
.
code
!==
0
)
return
this
.
$message
.
error
(
res
.
reason
);
this
.
clearValidate
(
"frontImgRef"
);
this
.
establishForm
.
legal_front_id_card_url
=
`http://
${
res
.
result
.
file_url
}
`
;
this
.
establishForm
.
legal_front_id_card_url
=
res
.
result
.
file_url
;
this
.
establishForm
.
legal_front_id_card
=
`
${
res
.
result
.
bucket
}
/
${
res
.
result
.
object_id
}
`
;
},
...
...
@@ -365,7 +365,7 @@ export default {
handleBackSuccess
(
res
)
{
if
(
res
.
code
!==
0
)
return
this
.
$message
.
error
(
res
.
reason
);
this
.
clearValidate
(
"bakImgRef"
);
this
.
establishForm
.
legal_back_id_card_url
=
`http://
${
res
.
result
.
file_url
}
`
;
this
.
establishForm
.
legal_back_id_card_url
=
res
.
result
.
file_url
;
this
.
establishForm
.
legal_back_id_card
=
`
${
res
.
result
.
bucket
}
/
${
res
.
result
.
object_id
}
`
;
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment