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
067abc12
authored
2023-02-24 14:32:50 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:区县接入详情
1 parent
8fcb3052
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
6 deletions
src/components/JsonEditor.vue
src/views/jsbwcx/index.vue
src/components/JsonEditor.vue
View file @
067abc1
...
...
@@ -3,8 +3,7 @@
<el-input
type=
"textarea"
:rows=
"6"
:disabled=
"$store.state.business.Edit"
placeholder=
"配置参数"
v-model=
"resultInfo"
>
</el-input>
<div
class=
"d-center"
v-if=
"!$store.state.business.Edit"
>
<btn
nativeType=
"cz"
@
click=
"dialogVisible = false"
>
取 消
</btn>
<btn
nativeType=
"cx"
@
click=
"submitForm"
>
确 定
</btn>
<btn
nativeType=
"cx"
@
click=
"submitForm"
>
重新上报
</btn>
</div>
</div>
</
template
>
...
...
src/views/jsbwcx/index.vue
View file @
067abc1
...
...
@@ -24,9 +24,8 @@
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"至"
prop=
"receiveEndTime"
label-width=
"35px"
>
<el-date-picker
type=
"date"
class=
"width100"
placeholder=
"结束日期"
:picker-options=
"pickerOptionsEnd"
clearable
v-model=
"form.receiveEndTime"
value-format=
"yyyy-MM-dd HH:mm:ss"
@
change=
"endTimeChange"
></el-date-picker>
<el-date-picker
type=
"date"
class=
"width100"
placeholder=
"结束日期"
:picker-options=
"pickerOptionsEnd"
clearable
v-model=
"form.receiveEndTime"
value-format=
"yyyy-MM-dd HH:mm:ss"
@
change=
"endTimeChange"
></el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
...
...
@@ -192,7 +191,7 @@ export default {
<
el
-
button
type
=
"primary"
onClick
=
{()
=>
{
this
.
handle
Edit
(
scope
.
row
);
this
.
handle
Details
(
scope
.
row
);
}}
>
详情
...
...
@@ -245,7 +244,35 @@ export default {
// 结果
handleResult
(
row
)
{
this
.
$popupDialog
(
'响应结果'
,
'views/jsbwcx/components/result'
,
row
)
},
// 详情
handleDetails
(
row
)
{
if
(
row
.
rectypeName
)
{
this
.
title
=
row
.
rectypeName
}
else
{
let
Title
=
''
this
.
dicData
[
'A21'
].
map
(
item
=>
{
if
(
item
.
DCODE
==
row
.
DJLX
||
item
.
DCODE
==
row
.
djlx
)
{
Title
=
item
.
DNAME
return
}
})
this
.
dicData
[
'A8'
].
map
(
item
=>
{
if
(
item
.
DCODE
==
row
.
QLLX
||
item
.
DCODE
==
row
.
qllx
)
{
Title
+=
'-'
+
item
.
DNAME
return
}
})
this
.
title
=
Title
}
this
.
$refs
.
editLog
.
isShow
(
row
);
if
(
row
.
receiveState
==
2
)
{
this
.
$store
.
dispatch
(
'business/setReportLogEdit'
)
}
else
{
this
.
$store
.
dispatch
(
'business/setEdit'
)
}
},
}
}
</
script
>
...
...
Please
register
or
sign in
to post a comment