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
9fd885ad
authored
2023-01-10 20:07:18 +0800
by
田浩浩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
联调测试系统功能
1 parent
539f1163
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
95 additions
and
85 deletions
src/views/jsbwcx/data/index.js
src/views/jsbwcx/index.vue
src/views/sbbwcx/data/index.js
src/views/sbbwcx/index.vue
src/views/jsbwcx/data/index.js
View file @
9fd885a
...
...
@@ -47,11 +47,12 @@ class data extends filter {
{
prop
:
'jcjg'
,
label
:
'检查结果'
,
width
:
100
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
{
scope
.
row
.
jcjg
scope
.
row
.
receiveState
?
<
span
class
=
'adopt'
>
通过
<
/span
>
:
<
span
>
通过
1
<
/span
>
}
...
...
@@ -62,11 +63,12 @@ class data extends filter {
{
prop
:
'rkjg'
,
label
:
'入库结果'
,
width
:
100
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
{
scope
.
row
.
jcjg
scope
.
row
.
storageState
?
<
span
class
=
'warehousing'
>
入库
<
/span
>
:
<
span
>
入库
1
<
/span
>
}
...
...
src/views/jsbwcx/index.vue
View file @
9fd885a
...
...
@@ -69,7 +69,7 @@
</div>
<!-- 列表区域 -->
<div
class=
"from-clues-content"
>
<lb-table
ref=
"table"
:page-size=
"pageData.size"
:current-page
.
sync=
"pageData.current"
:total=
"
pag
eData.total"
<lb-table
ref=
"table"
:page-size=
"pageData.size"
:current-page
.
sync=
"pageData.current"
:total=
"
tabl
eData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
...
...
@@ -166,7 +166,8 @@ export default {
},
]),
// 表格列表数据
data
:
[{
jcjg
:
1
}],
total
:
0
,
data
:
[{}],
},
// 分页
pageData
:
{
...
...
src/views/sbbwcx/data/index.js
View file @
9fd885a
...
...
@@ -6,36 +6,51 @@ class data extends filter {
columns
()
{
return
[
{
type
:
'selection'
prop
:
"areacode"
,
label
:
"行政区代码"
,
width
:
100
,
},
{
prop
:
"pcode"
,
label
:
"行政区代码"
,
prop
:
"areaName"
,
label
:
"行政区名称"
,
width
:
100
,
},
{
prop
:
"
estatenum
"
,
label
:
"
不动产单元号
"
,
prop
:
"
bizMsgid
"
,
label
:
"
业务报文ID
"
,
},
{
prop
:
"pcode"
,
label
:
"行政区名称"
,
prop
:
"createdate"
,
label
:
"创建时间"
,
},
{
prop
:
"recflowid"
,
label
:
"业务流水号"
,
},
{
prop
:
"estatenum"
,
label
:
"不动产单元号"
,
width
:
240
,
},
{
prop
:
"rectype"
,
label
:
"业务编码"
,
},
{
prop
:
"rectypeName"
,
label
:
"业务名称"
,
},
{
prop
:
"uploadtime"
,
label
:
"
上报
时间"
,
label
:
"
汇交
时间"
,
},
{
prop
:
'sbjg'
,
label
:
'上报结果'
,
label
:
'汇交状态'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
{
!
scope
.
row
.
successflag
?
''
:
scope
.
row
.
successflag
==
'1'
?
<
span
class
=
'adopt'
>
成功
<
/span> : <span class='warehousing'>失败</
span
>
scope
.
row
.
exchangeState
==
'1'
?
<
span
class
=
'adopt'
>
成功
<
/span> : <span class='warehousing'>失败</
span
>
}
<
/div
>
)
...
...
src/views/sbbwcx/index.vue
View file @
9fd885a
...
...
@@ -6,25 +6,24 @@
<el-form
ref=
"ruleForm"
:model=
"form"
label-width=
"100px"
>
<el-row
class=
"marginbtm5"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"不动产单元号"
prop=
"estatenum"
>
<el-input
v-model=
"form.estatenum"
class=
"width100"
placeholder=
"不动产单元号"
></el-input>
<el-form-item
label=
"行政区"
prop=
"pcode"
>
<el-select
v-model=
"form.pcode"
class=
"width100"
clearable
placeholder=
"行政区"
>
<el-option
v-for=
"item in xzqOptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"
开始日期
"
prop=
"reportStartTime"
>
<el-form-item
label=
"
汇交时间
"
prop=
"reportStartTime"
>
<el-date-picker
type=
"date"
class=
"width100"
placeholder=
"开始日期"
:picker-options=
"pickerOptionsStart"
clearable
v-model=
"form.reportStartTime"
value-format=
"yyyy-MM-dd"
></el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"结束日期"
prop=
"reportEndTime"
>
<el-date-picker
type=
"date"
class=
"width100"
placeholder=
"结束日期"
:picker-options=
"pickerOptionsEnd"
clearable
v-model=
"form.reportEndTime"
value-format=
"yyyy-MM-dd"
></el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"
业务名称"
prop=
"ywmc
"
>
<el-select
v-model=
"form.
ywmc"
class=
"width100"
clearable
placeholder=
"业务名称
"
>
<el-form-item
label=
"
汇交状态"
prop=
"state
"
>
<el-select
v-model=
"form.
state"
class=
"width100"
clearable
placeholder=
"响应结果
"
>
<el-option
v-for=
"item in []"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
...
...
@@ -32,27 +31,10 @@
</el-col>
</el-row>
<el-row
class=
"mt-10"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"响应结果"
prop=
"state"
>
<el-select
v-model=
"form.state"
class=
"width100"
clearable
placeholder=
"响应结果"
>
<el-option
v-for=
"item in []"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"行政区"
prop=
"pcode"
>
<el-select
v-model=
"form.pcode"
class=
"width100"
clearable
placeholder=
"行政区"
>
<el-option
v-for=
"item in xzqOptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<!-- 操作按钮 -->
<el-col
:span=
"12"
class=
"btnColRight"
>
<btn
nativeType=
"cz"
@
click=
"resetForm('ruleForm')"
>
重置
</btn>
<btn
nativeType=
"cx"
@
click=
"queryClick"
>
查询
</btn>
<btn
nativeType=
"sb"
@
click=
"handleEscalation"
>
上报
</btn>
</el-col>
</el-row>
</el-form>
...
...
@@ -72,11 +54,11 @@
<
script
>
// 上报报文查询
// 引入表头数据
import
data
from
"./data"
import
data
from
"./data"
;
// 引入表格混入方法
import
table
from
"@/utils/mixin/table"
import
table
from
"@/utils/mixin/table"
;
// 引入详情弹框
import
dataDetails
from
'@/components/dataDetails/edit-dialog'
import
dataDetails
from
"@/components/dataDetails/edit-dialog"
;
import
{
getDataReportPage
}
from
"@/api/sbbwcx.js"
;
export
default
{
...
...
@@ -84,9 +66,9 @@ export default {
mixins
:
[
table
],
// 注册组件
components
:
{
dataDetails
dataDetails
,
},
data
()
{
data
()
{
return
{
isShow
:
false
,
// 开始结束日期限制
...
...
@@ -97,7 +79,7 @@ export default {
time
.
getTime
()
>=
new
Date
(
this
.
form
.
reportEndTime
).
getTime
()
);
}
}
}
,
},
// 结束日期限制
pickerOptionsEnd
:
{
...
...
@@ -107,38 +89,49 @@ export default {
time
.
getTime
()
<=
new
Date
(
this
.
form
.
reportStartTime
).
getTime
()
);
}
}
}
,
},
// 头部搜索
form
:
{
estatenum
:
''
,
reportStartTime
:
''
,
reportEndTime
:
''
,
ywmc
:
''
,
state
:
''
,
pcode
:
''
estatenum
:
""
,
reportStartTime
:
""
,
reportEndTime
:
""
,
ywmc
:
""
,
state
:
""
,
pcode
:
""
,
},
// table数据
tableData
:
{
// 表头数据
columns
:
data
.
columns
().
concat
([
columns
:
[
{
label
:
"序号"
,
type
:
"index"
,
width
:
"50"
,
index
:
this
.
indexMethod
,
},
]
.
concat
(
data
.
columns
())
.
concat
([
{
label
:
"操作"
,
width
:
'80'
,
width
:
"80"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
size
=
"mini"
type
=
"primary"
onClick
=
{()
=>
{
this
.
handleDetail
(
scope
.
row
)
}}
onClick
=
{()
=>
{
this
.
handleDetail
(
scope
.
row
);
}}
>
详情
<
/el-button
>
<
/div
>
)
}
}
);
},
},
]),
total
:
0
,
data
:
[{}],
...
...
@@ -146,50 +139,49 @@ export default {
// 行政区
xzqOptions
:
[
{
value
:
'632321'
,
label
:
'同仁县'
value
:
"632321"
,
label
:
"同仁县"
,
},
{
value
:
'632322'
,
label
:
'尖扎县'
value
:
"632322"
,
label
:
"尖扎县"
,
},
{
value
:
'632323'
,
label
:
'泽库县'
value
:
"632323"
,
label
:
"泽库县"
,
},
{
value
:
'632324'
,
label
:
'河南县'
}
]
}
value
:
"632324"
,
label
:
"河南县"
,
}
,
]
,
}
;
},
methods
:
{
// 重置表单
resetForm
()
{
resetForm
()
{
this
.
$refs
.
ruleForm
.
resetFields
();
},
// 初始化数据
queryClick
()
{
getDataReportPage
({
...
this
.
form
,
...
this
.
pageData
}).
then
(
res
=>
{
queryClick
()
{
getDataReportPage
({
...
this
.
form
,
...
this
.
pageData
}).
then
(
(
res
)
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
let
{
total
,
records
}
=
res
.
result
;
this
.
tableData
.
total
=
total
;
this
.
tableData
.
data
=
records
?
records
:
[]
this
.
tableData
.
data
=
records
?
records
:
[]
;
}
})
})
;
},
// 多选
handleSelectionChange
(
val
)
{
},
handleSelectionChange
(
val
)
{},
// 上报
handleEscalation
()
{
},
handleEscalation
()
{
},
// 详情
handleDetail
(
row
)
{
this
.
$refs
.
editLog
.
isShow
(
row
)
}
}
}
handleDetail
(
row
)
{
this
.
$refs
.
editLog
.
isShow
(
row
)
;
}
,
}
,
}
;
</
script
>
<
style
scoped
lang=
"scss"
>
//
引入页面公共样式
...
...
Please
register
or
sign in
to post a comment