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
68e92cdc
authored
2023-01-17 10:53:23 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:地役权
1 parent
69ac769c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
34 deletions
src/mixins/tableMixin.js
src/views/business-info/dyiq/index.vue
src/mixins/tableMixin.js
View file @
68e92cd
import
{
mapGetters
}
from
'vuex'
// 引入详情弹框
import
dataDetails
from
"@/components/dataDetails/edit-dialog"
;
let
mixin
=
{
data
()
{
return
{
...
...
@@ -7,6 +9,9 @@ let mixin = {
}
}
},
components
:
{
dataDetails
,
},
computed
:
{
...
mapGetters
([
'dicData'
])
},
...
...
@@ -28,6 +33,11 @@ let mixin = {
},
handleSubmit
()
{
this
.
featchData
()
},
// 详情
handleEdit
(
row
)
{
this
.
title
=
row
.
rectypeName
this
.
$refs
.
editLog
.
isShow
(
row
);
}
}
}
...
...
src/views/business-info/dyiq/index.vue
View file @
68e92cd
...
...
@@ -76,10 +76,8 @@
</lb-table>
<message-tips
ref=
"msg"
:message=
"message"
/>
</div>
<!-- XML报文 -->
<xml-message
ref=
"dialog"
:xml=
"xml"
/>
<!-- 数据详情 -->
<edit-dialog
ref=
"editLog"
:bsmSjsb=
"bsmSjsb"
:diaData=
"diaData"
/>
<!-- 编辑 -->
<dataDetails
ref=
"editLog"
:title=
"title"
/>
</div>
</
template
>
...
...
@@ -90,13 +88,11 @@ import business from '@/api/business'
import
dataReporting
from
'@/api/dataReporting'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/treeSelect/index.vue'
import
editDialog
from
'@/components/dataDetails/edit-dialog.vue'
export
default
{
name
:
"dyiq"
,
mixins
:
[
tableMixin
],
components
:
{
treeSelect
,
editDialog
treeSelect
},
data
()
{
return
{
...
...
@@ -113,8 +109,6 @@ export default {
xxx1
:
''
,
currentPage
:
1
},
// 需役地不动产单元号
xxx1Options
:
[],
tableData
:
{
columns
:
[{
label
:
'序号'
,
...
...
@@ -129,21 +123,11 @@ export default {
return
(
<
div
>
<
el
-
button
type
=
"
text
"
type
=
"
primary
"
size
=
"mini"
icon
=
"el-icon-folder"
style
=
"color:#67C23A"
onClick
=
{()
=>
{
this
.
handleXmlres
(
scope
.
$index
,
scope
.
row
)
}}
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
row
)
}}
>
XML
报文
<
/el-button
>
<
el
-
button
type
=
"text"
size
=
"mini"
icon
=
"el-icon-view"
onClick
=
{()
=>
{
this
.
handlDatadetails
(
scope
.
$index
,
scope
.
row
)
}}
>
数据详情
详情
<
/el-button
>
<
/div
>
);
...
...
@@ -151,7 +135,7 @@ export default {
},
]),
data
:
[]
data
:
[
{}
]
},
pageData
:
{
total
:
0
,
...
...
@@ -168,7 +152,7 @@ export default {
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
business
.
getQlfQlDyiqList
(
this
.
form
)
this
.
tableData
.
data
=
list
//
this.tableData.data = list
this
.
pageData
=
{
pageSize
,
current
,
...
...
@@ -178,17 +162,7 @@ export default {
this
.
message
=
error
this
.
$refs
.
msg
.
messageShow
()
}
},
async
handlDatadetails
(
index
,
row
)
{
let
{
result
:
res
,
message
}
=
await
dataReporting
.
getQltFwFdcqYzByCondition
(
row
.
BSM_SJSB
)
if
(
res
!=
null
)
{
this
.
diaData
=
res
this
.
bsmSjsb
=
row
.
BSM_SJSB
this
.
$store
.
dispatch
(
'business/setEdit'
);
this
.
$refs
.
editLog
.
isShow
()
}
else
{
this
.
$message
(
message
)
}
},
}
}
</
script
>
...
...
Please
register
or
sign in
to post a comment