Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
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
9421f0aa
authored
2023-03-01 09:24:01 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:区县接入样式修改
1 parent
f79f1525
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
29 deletions
src/components/EditDialog/index.vue
src/components/JsonEditor.vue
src/store/modules/user.js
src/styles/dialogBox.scss
src/components/EditDialog/index.vue
View file @
9421f0a
...
...
@@ -95,16 +95,20 @@
<component
:is=
"editItem"
ref=
"editItem"
:class=
"
{ 'editForm': $store.state.business.Edit }"
:bsmYwsjb="bsmYwsjb" :bsmSjsb="dataReport.bsmReport || dataReport.bsmSjsb" />
</div>
<div
class=
"d-center"
v-if=
"!$store.state.business.Edit"
>
<btn
nativeType=
"cz"
@
click=
"dialogVisible = false"
>
取 消
</btn>
<btn
nativeType=
"cx"
@
click=
"submitForm"
>
确 定
</btn>
</div>
</div>
<div
v-if=
"titleName == 'xyjg'"
>
<Xyjg
:form-data=
'dataReport'
></Xyjg>
</div>
<JsonEditor
:resultInfo=
"resultInfo"
class=
"JsonEditor"
v-if=
"titleName == 'xml'"
/>
</div>
<div
class=
"d-center"
v-if=
"!$store.state.business.Edit && titleName == 'sjmx'"
>
<btn
nativeType=
"cz"
@
click=
"dialogVisible = false"
>
取 消
</btn>
<btn
nativeType=
"cx"
@
click=
"submitForm"
>
确 定
</btn>
</div>
<div
class=
"d-center"
v-if=
"!$store.state.business.Edit && titleName == 'xml'"
>
<btn
nativeType=
"cx"
@
click=
"handleResubmit"
>
重新上报
</btn>
</div>
</el-dialog>
</
template
>
...
...
@@ -255,7 +259,9 @@ export default {
type
:
"error"
})
})
}
},
// 重新上报
handleResubmit
()
{
}
}
}
</
script
>
...
...
@@ -266,6 +272,7 @@ export default {
/
deep
/
.el-dialog__body
{
display
:
flex
;
flex-direction
:
column
;
padding-bottom
:
25px
;
}
/
deep
/
.el-tabs
{
...
...
@@ -273,8 +280,6 @@ export default {
}
.sjmx
{
padding-bottom
:
25px
;
/deep/.el-tabs__item
{
height
:
50px
;
padding-top
:
6px
;
...
...
@@ -350,7 +355,7 @@ export default {
}
.edit-content
{
height
:
4
20px
;
height
:
4
5vh
;
overflow-y
:
auto
;
overflow-x
:
hidden
;
padding-right
:
1px
;
...
...
@@ -362,9 +367,6 @@ export default {
border-radius
:
8px
;
overflow
:
hidden
;
min-width
:
1228px
;
height
:
825px
!important
;
.el-dialog__header
{
display
:
flex
;
...
...
src/components/JsonEditor.vue
View file @
9421f0a
<
template
>
<div>
<el-input
type=
"textarea"
:rows=
"6"
:disabled=
"$store.state.business.Edit"
placeholder=
"配置参数"
v-model=
"resultInfo"
>
<el-input
type=
"textarea"
:rows=
"6"
disabled
placeholder=
"配置参数"
v-model=
"resultInfo"
>
</el-input>
<div
class=
"d-center"
v-if=
"!$store.state.business.Edit"
>
<btn
nativeType=
"cx"
@
click=
"submitForm"
>
重新上报
</btn>
</div>
</div>
</
template
>
<
script
>
// 引入json编译器
...
...
@@ -15,17 +10,6 @@ export default {
type
:
String
,
default
:
''
}
},
data
()
{
return
{
myValue
:
this
.
value
,
}
},
methods
:
{
onJsonChange
(
value
)
{
},
onJsonSave
(
value
)
{
}
}
}
...
...
src/store/modules/user.js
View file @
9421f0a
...
...
@@ -18,6 +18,9 @@ const actions = {
getUserInfo
({
commit
})
{
return
new
Promise
(
async
(
resolve
)
=>
{
let
{
result
:
res
}
=
await
getUserInfo
();
// require.ensure([], function (require) {
// require("@/assets/sass/smart-lift/index.scss");
// });
commit
(
"SET_USERINFO"
,
res
);
resolve
(
true
);
});
...
...
src/styles/dialogBox.scss
View file @
9421f0a
...
...
@@ -56,7 +56,7 @@
box-shadow
:
inset
0px
0px
12px
0px
#02D9FD
;
border-radius
:
2px
;
border
:
1px
solid
#6BC1FC
;
margin
:
0
18px
1
5
px
18px
;
margin
:
0
18px
1
0
px
18px
;
}
}
...
...
Please
register
or
sign in
to post a comment