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
e02d2fea
authored
2022-12-30 14:58:55 +0800
by
蔡俊立
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
61a15fe4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
24 deletions
src/api/sbbwcx.js
src/views/sbbwcx/index.vue
src/api/sbbwcx.js
0 → 100644
View file @
e02d2fe
import
request
from
'@/utils/request'
class
sbbwcx
{
// 定时任务查询接口
async
getDataReportPage
(
data
)
{
return
request
({
url
:
'/sjsb/DataReport/getDataReportPage'
,
method
:
'post'
,
data
})
}
}
export
default
new
sbbwcx
()
\ No newline at end of file
src/views/sbbwcx/index.vue
View file @
e02d2fe
...
...
@@ -78,6 +78,9 @@ import data from "./data"
import
tableMixin
from
'@/mixins/tableMixin.js'
// 引入详情弹框
import
dataDetails
from
'@/components/dataDetails/edit-dialog'
import
{
getDataReportPage
}
from
"@/api/sbbwcx.js"
;
import
{
getQlxxDictList
,
getChildDictList
,
refreshDictCache
}
from
"@/api/user.js"
export
default
{
name
:
"sbbwcx"
,
mixins
:
[
tableMixin
],
...
...
@@ -120,27 +123,6 @@ export default {
pcode
:
''
,
currentPage
:
1
},
// 表单验证
rules
:
{
bdcdyh
:
[
{
required
:
true
,
message
:
'不动产单元号'
,
trigger
:
'change'
}
],
startTime
:
[
{
required
:
true
,
message
:
'开始日期'
,
trigger
:
'change'
}
],
endTime
:
[
{
required
:
true
,
message
:
'结束日期'
,
trigger
:
'change'
}
],
ywmc
:
[
{
required
:
true
,
message
:
'业务名称'
,
trigger
:
'change'
}
],
status
:
[
{
required
:
true
,
message
:
'响应结果'
,
trigger
:
'change'
}
],
pcode
:
[
{
required
:
true
,
message
:
'响应结果'
,
trigger
:
'change'
}
],
},
// table数据
tableData
:
{
// 表头数据
...
...
@@ -163,8 +145,8 @@ export default {
}
}
]),
// 列表数据
data
:
[
{}]
total
:
0
,
data
:
[
],
},
// 分页
pageData
:
{
...
...
@@ -199,7 +181,14 @@ export default {
this
.
$refs
.
ruleForm
.
resetFields
();
},
// 初始化数据
async
featchData
()
{
featchData
()
{
getDataReportPage
({
...
this
.
form
,
...
this
.
pageData
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
this
.
tableData
.
total
=
total
;
this
.
tableData
.
data
=
records
?
records
:
[]
}
})
},
// 多选
handleSelectionChange
(
val
)
{
...
...
Please
register
or
sign in
to post a comment