Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
agcs2.0-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
liang
agcs2.0-web
Commits
824c14a3
Commit
824c14a3
authored
Dec 07, 2022
by
miaojiale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
loading,与样式
parent
040a8a9c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
59 additions
and
35 deletions
+59
-35
index.vue
src/components/FormComponents/CustomForm/index.vue
+1
-1
screenReview.vue
src/views/audit-detail/components/screenReview.vue
+31
-13
index.vue
src/views/audit-detail/index.vue
+27
-21
No files found.
src/components/FormComponents/CustomForm/index.vue
View file @
824c14a3
...
...
@@ -66,7 +66,7 @@
</template>
</el-collapse>
</template>
<div
class=
"form-footer"
>
<div
v-if=
"!options.closeBtn"
class=
"form-footer"
>
<
template
v-if=
"options.menuBtn"
>
<template
v-if=
"options.prevBtn"
>
<el-button
...
...
src/views/audit-detail/components/screenReview.vue
View file @
824c14a3
<
template
>
<div>
<el-container>
<el-main
v-loading=
"pageLoading"
class=
"transition-box"
>
<el-container
v-loading=
"fromLoading"
>
<el-main
class=
"transition-box"
>
<el-empty
v-if=
"!isEmpty"
description=
"暂无数据"
></el-empty>
<template
v-if=
"isEmpty"
>
<div
ref=
"my-form"
class=
"my-form"
>
<custom-form
ref=
"customForm"
class=
"mb-20"
:options=
"jsonList[1]"
:form-edit=
"form"
></custom-form>
<!--
<custom-form
ref=
"form"
:options=
"jsonList[1]"
></custom-form>
<custom-form
ref=
"form"
:options=
"jsonList[2]"
></custom-form>
<custom-form
ref=
"form"
:options=
"jsonList[3]"
></custom-form>
<custom-form
ref=
"form"
:options=
"jsonList[4]"
></custom-form>
-->
<custom-form
ref=
"form"
:options=
"jsonList[2]"
class=
"mb-20"
:form-edit=
"form"
></custom-form>
<custom-form
ref=
"form"
:options=
"jsonList[3]"
class=
"mb-20"
:form-edit=
"form"
></custom-form>
<custom-form
ref=
"form"
class=
"mb-20"
:options=
"jsonList[4]"
:form-edit=
"form"
></custom-form>
</div>
</
template
>
</el-main>
...
...
@@ -36,14 +51,15 @@ export default {
components
:
{
CustomForm
},
data
()
{
return
{
fromLoading
:
fals
e
,
fromLoading
:
tru
e
,
formTabs
:
[],
formTabsList
:
[],
jsonList
:
[],
form
:
{
name
:
"
123
"
,
phone
:
"
18712412341
"
,
min_age
:
"
18
"
,
age
:
"
18
"
,
is_continue_follow
:
"
1
"
,
},
asideShow
:
true
,
}
...
...
@@ -58,9 +74,6 @@ export default {
sideWidth
()
{
return
this
.
asideShow
?
"
200px
"
:
"
0px
"
},
pageLoading
()
{
return
this
.
loading
||
this
.
formloading
},
},
watch
:
{},
created
()
{
...
...
@@ -116,11 +129,12 @@ export default {
const
formJson
=
res
.
data
.
formJson
const
obj
=
eval
(
"
(
"
+
formJson
+
"
)
"
)
obj
.
disabled
=
true
obj
.
closeBtn
=
true
obj
.
detail
=
true
this
.
jsonList
.
push
(
obj
)
if
(
i
==
4
)
{
console
.
log
(
this
.
jsonList
)
this
.
f
orml
oading
=
false
this
.
f
romL
oading
=
false
}
}
})
...
...
@@ -134,4 +148,8 @@ export default {
},
}
</
script
>
<
style
lang=
"scss"
scoped
></
style
>
<
style
lang=
"scss"
scoped
>
.md-20
{
margin-bottom
:
20px
;
}
</
style
>
src/views/audit-detail/index.vue
View file @
824c14a3
<
template
>
<div
id=
"audit-detail"
>
<div
class=
"top"
>
<div
class=
"audit-detail_header p-24"
>
<div
class=
"left"
>
<span>
当前审核
</span>
...
...
@@ -24,6 +25,7 @@
<span
v-if=
"editStatus"
class=
"op"
>
驳回修改建议:胃镜图片不合规
</span>
</div>
</div>
</div>
<div
class=
"table-content p-24"
>
<component
:is=
"curComponent"
></component>
</div>
...
...
@@ -228,6 +230,8 @@ export default {
}
#audit-detail
{
display
:
flex
;
flex-direction
:
column
;
// padding: 22px 24px;
.audit-detail_header
{
height
:
65px
;
...
...
@@ -301,6 +305,8 @@ export default {
margin-left
:
20px
;
}
.table-content
{
height
:
calc
(
100vh
-
260px
);
overflow
:
auto
;
padding-top
:
20px
;
padding-bottom
:
20px
;
}
...
...
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