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
cf8479c1
authored
2023-02-03 14:40:09 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:不动产数据编辑
1 parent
a970cb82
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
38 additions
and
33 deletions
src/components/Business/kttFwH.vue
src/components/Business/zttGyQlr.vue
src/components/EditDialog/index.vue
src/views/business-info/dyaq/index.vue
src/views/jsbwcx/index.vue
src/components/Business/kttFwH.vue
View file @
cf8479c
...
...
@@ -95,8 +95,9 @@
实际层数:
<br
/>
<p
class=
"label-detail"
>
(SJCS)
</p>
</span>
<el-input-number
controls-position=
"right"
:disabled=
"$store.state.business.Edit"
v-only-number=
"
{ max: 99999, min: 1, precision: 0 }"
placeholder="实际层数" v-model="ruleForm.sjcs">
</el-input-number>
<el-input-number
controls-position=
"right"
:disabled=
"$store.state.business.Edit"
v-only-number=
"
{ max: 99999, min: 1, precision: 0 }" placeholder="实际层数"
v-model="ruleForm.sjcs">
</el-input-number>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -108,8 +109,8 @@
户号:
<br
/>
<p
class=
"label-detail"
>
(HH)
</p>
</span>
<el-input-number
controls-position=
"right"
:disabled=
"$store.state.business.Edit"
v-model=
"ruleForm.hh"
placeholder=
"户号
"
v-only-number=
"
{ max: 99999, min: 1, precision: 0 }">
</el-input-number>
<el-input-number
controls-position=
"right"
:disabled=
"$store.state.business.Edit"
v-model=
"ruleForm.hh
"
placeholder=
"户号"
v-only-number=
"
{ max: 99999, min: 1, precision: 0 }">
</el-input-number>
</el-form-item>
</el-col>
...
...
@@ -225,7 +226,7 @@
<p
class=
"label-detail"
>
(YCFTJZMJ)
</p>
</span>
<el-input
:disabled=
"$store.state.business.Edit"
:
999999999999999
,
min:
0
,
precision:
2
}"
placeholder=
"预测分摊建筑面积"
type=
"number"
v-only-number=
"
{ max
: 999999999999999, min: 0, precision: 2 }" placeholder="预测分摊建筑面积" type="number"
v-model.number="ruleForm.ycftjzmj">
</el-input>
</el-form-item>
</el-col>
...
...
@@ -236,9 +237,9 @@
预测地下部分建筑面积:
<br
/>
<p
class=
"label-detail"
>
(YCDXBFJZMJ)
</p>
</span>
<el-input-number
controls-position=
"right"
:disabled=
"$store.state.business.Edit"
<el-input
controls-position=
"right"
:disabled=
"$store.state.business.Edit"
v-only-number=
"
{ max: 999999999999999, min: 0, precision: 2 }" placeholder="预测地下部分建筑面积" type="number"
v-model.number="ruleForm.ycdxbfjzmj">
</el-input
-number
>
v-model.number="ruleForm.ycdxbfjzmj">
</el-input>
</el-form-item>
</el-col>
...
...
@@ -363,9 +364,8 @@
分摊土地面积:
<br
/>
<p
class=
"label-detail"
>
(FTTDMJ)
</p>
</span>
<el-input
:disabled=
"$store.state.business.Edit"
:
999999999999999
,
min:
0
,
precision:
3
}"
placeholder=
"分摊土地面积"
type=
"number"
v-model
.
number=
"ruleForm.fttdmj"
></el-input>
<el-input
:disabled=
"$store.state.business.Edit"
:
999999999999999
,
min:
0
,
precision:
3
}"
placeholder=
"分摊土地面积"
type=
"number"
v-model
.
number=
"ruleForm.fttdmj"
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -465,7 +465,7 @@ export default {
default
:
""
,
},
},
data
()
{
data
()
{
return
{
ruleForm
:
{
YSDM
:
""
,
...
...
@@ -508,7 +508,7 @@ export default {
};
},
methods
:
{
async
featchData
()
{
async
featchData
()
{
try
{
let
{
result
:
res
}
=
await
kttFwH
.
getKttFwHById
(
this
.
bsmSjsb
);
this
.
ruleForm
=
res
;
...
...
@@ -517,7 +517,7 @@ export default {
this
.
$refs
.
msg
.
messageShow
();
}
},
handleUpdateForm
()
{
handleUpdateForm
()
{
return
new
Promise
(
async
(
resolve
,
reject
)
=>
{
try
{
let
res
=
await
kttFwH
.
updateKttFwH
(
this
.
ruleForm
);
...
...
src/components/Business/zttGyQlr.vue
View file @
cf8479c
...
...
@@ -315,7 +315,6 @@
</div>
</div>
</el-form>
<message-tips
ref=
"msg"
/>
</div>
</
template
>
<
script
>
...
...
@@ -378,19 +377,15 @@ export default {
try
{
let
{
result
:
res
}
=
await
zttGyQlr
.
getZttGyQlrById
(
this
.
bsmSjsb
)
this
.
obligeeForm
.
obligeeList
=
res
//this.featchRule()
}
catch
(
error
)
{
this
.
$refs
.
msg
.
messageShow
()
}
},
handleUpdateForm
()
{
return
new
Promise
(
async
(
resolve
)
=>
{
try
{
let
res
=
await
zttGyQlr
.
updateZttGyQlr
(
this
.
obligeeForm
.
obligeeList
)
// this.$refs['formList'].resetFields();
resolve
(
res
.
code
)
}
catch
(
error
)
{
this
.
$refs
.
msg
.
messageShow
()
}
})
}
...
...
src/components/EditDialog/index.vue
View file @
cf8479c
...
...
@@ -7,8 +7,8 @@
</div>
<el-tabs
v-model=
"titleName"
type=
"card"
@
tab-click=
"handleTitleTab"
>
<el-tab-pane
label=
"数据模型"
name=
"sjmx"
></el-tab-pane>
<el-tab-pane
label=
"xml报文"
name=
"xml"
></el-tab-pane>
<el-tab-pane
label=
"响应结果"
name=
"xyjg"
></el-tab-pane>
<el-tab-pane
v-if=
"visiableXml"
label=
"xml报文"
name=
"xml"
></el-tab-pane>
<el-tab-pane
v-if=
"visiableXml"
label=
"响应结果"
name=
"xyjg"
></el-tab-pane>
</el-tabs>
<div
v-if=
"titleName == 'sjmx'"
class=
"sjmx"
>
<div
class=
"dialog-from"
>
...
...
@@ -97,11 +97,11 @@
</el-tabs>
<div
class=
"edit-content"
>
<component
:is=
"editItem"
ref=
"editItem"
:class=
"
{ 'editForm': $store.state.business.Edit }"
:bsmYwsjb="bsmYwsjb" :bsmSjsb="dataReport.bsmReport" />
:bsmYwsjb="bsmYwsjb" :bsmSjsb="dataReport.bsmReport
|| dataReport.bsmSjsb
" />
</div>
</div>
<div
v-if=
"titleName == 'xyjg'"
>
<Xyjg
:form-data
=
'dataReport'
></Xyjg>
<Xyjg
:form-data
=
'dataReport'
></Xyjg>
</div>
<JsonEditor
:resultInfo=
"resultInfo"
v-if=
"titleName == 'xml'"
/>
<!--
<div
slot=
"footer"
class=
"dialog_footer"
ref=
"dialogFooter"
>
...
...
@@ -126,6 +126,14 @@ export default {
title
:
{
type
:
String
,
default
:
''
},
tabsActiveName
:
{
type
:
String
,
default
:
''
},
visiableXml
:
{
type
:
Boolean
,
default
:
false
}
},
computed
:
{
...
...
@@ -177,19 +185,21 @@ export default {
this
.
titleName
=
'sjmx'
;
this
.
dialogVisible
=
true
;
//获取表头列表
getDetail
({
bsmReport
:
this
.
dataReport
.
bsmReport
}).
then
((
res
)
=>
{
getDetail
({
bsmReport
:
this
.
dataReport
.
bsmReport
||
this
.
dataReport
.
bsmSjsb
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
headerList
=
res
.
result
;
this
.
activeName
=
res
.
result
[
0
].
soleurl
this
.
activeName
=
this
.
tabsActiveName
==
''
?
res
.
result
[
0
].
soleurl
:
this
.
tabsActiveName
this
.
bsmYwsjb
=
this
.
headerList
[
0
].
bsmYwsjb
;
this
.
editItem
=
this
.
loadView
(
this
.
activeName
);
console
.
log
(
this
.
activeName
,
'this.activeNamethis.activeNamethis.activeName'
);
}
});
// 获取xml
getXml
(
item
.
bizMsgid
).
then
((
res
)
=>
{
console
.
log
(
res
);
this
.
resultInfo
=
res
.
message
})
if
(
this
.
visiableXml
)
{
getXml
(
item
.
bizMsgid
).
then
((
res
)
=>
{
this
.
resultInfo
=
res
.
message
})
}
},
changeList
(
val
)
{
let
_index
=
val
.
index
;
...
...
@@ -206,7 +216,7 @@ export default {
},
loadView
(
view
)
{
return
(
r
)
=>
require
.
ensure
([],
()
=>
r
(
require
(
`@/components/Business/
${
view
}
`
)));
require
.
ensure
([],
()
=>
r
(
require
(
`@/components/Business/
${
view
}
.vue
`
)));
},
closeDialog
()
{
this
.
dialogVisible
=
false
;
...
...
src/views/business-info/dyaq/index.vue
View file @
cf8479c
...
...
@@ -66,12 +66,12 @@
</div>
<div
class=
"from-clues-content"
>
<lb-table
:page-size=
"pageData.size"
:current-page
.
sync=
"pageData.current"
:total=
"pageData.total"
@
s
election-change=
"handleSelectionChange"
@
size-change=
"handleSizeChange
"
@
p-current-change=
"handleCurrentChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
@
s
ize-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
:column=
"tableData.columns
"
:data=
"tableData.data"
>
</lb-table>
</div>
<!-- 编辑 -->
<dataDetails
ref=
"editLog"
:title=
"title"
/>
<dataDetails
ref=
"editLog"
:title=
"title"
:tabsActiveName=
"'qlfQlDyaq'"
/>
</div>
</
template
>
...
...
src/views/jsbwcx/index.vue
View file @
cf8479c
...
...
@@ -91,7 +91,7 @@
</lb-table>
</div>
<!-- 编辑 -->
<dataDetails
ref=
"editLog"
:title=
"title"
/>
<dataDetails
ref=
"editLog"
:title=
"title"
:visiableXml=
"true"
/>
</div>
</
template
>
...
...
Please
register
or
sign in
to post a comment