Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-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
9e68d2ca
authored
2023-07-26 09:48:23 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
变化情况对比
1 parent
2344ae34
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
127 additions
and
20 deletions
src/api/djbDetail.js
src/views/registerBook/comparison.vue
src/views/ywbl/slsqxx/fdcq2/slxx300.vue
src/views/ywbl/slsqxx/jsydsyq/slxx300.vue
src/views/ywbl/slsqxx/ygdj/slxx300.vue
src/api/djbDetail.js
View file @
9e68d2c
...
...
@@ -205,3 +205,16 @@ export function getNydsyqList (data) {
data
})
}
/**
* @description: 获取当前权力信息和上手权力信息
* @param {*} data
* @author: renchao
*/
export
function
getDjbQlxxDiff
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/djbDetail/getDjbQlxxDiff?bsmQlxx='
+
data
,
method
:
'post'
,
})
}
...
...
src/views/registerBook/comparison.vue
View file @
9e68d2c
...
...
@@ -16,13 +16,19 @@
</div>
</div>
<div
class=
"xxTableBox rollTable"
>
<!-- 固定前三个 -->
<table
class=
"xxTable"
>
<tr
v-for=
"(item, colindex) in columns"
:key=
"colindex"
>
<td>
{{
item
.
label
}}
</td>
<td></td>
<td
v-for=
"count in emptycolNum"
:key=
"~count"
></td>
<td
v-for=
"(row, index) in tableData"
:key=
"index"
>
<div
class=
"setbut"
v-if=
"item.prop == 'cz' && row.sjlx != '系统数据'"
></div>
<span>
{{
row
[
item
.
prop
]
}}
</span>
</td>
</tr>
</table>
</div>
...
...
@@ -32,8 +38,8 @@
<
script
>
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
,
getDictLeabel
}
from
"@/utils/dictionary.js"
;
import
{
getD
iyiqList
}
from
"@/api/djbDetail.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getD
jbQlxxDiff
}
from
"@/api/djbDetail.js"
;
export
default
{
props
:
{
formData
:
{
...
...
@@ -50,19 +56,75 @@ export default {
//空列值个数
emptycolNum
:
1
,
//列名称对象
columns
:
datas
.
columns
().
DYIQ
,
columns
:
[]
,
};
},
created
()
{
console
.
log
(
"this.formData"
,
this
.
formData
);
console
.
log
(
"this.formData"
,
this
.
formData
.
bsmQlxx
);
console
.
log
(
"this.formData"
,
this
.
formData
.
dqqllx
);
switch
(
this
.
formData
.
dqqllx
)
{
case
"JSYDSYQ"
:
this
.
columns
=
datas
.
columns
().
JSYDSYQ
;
break
;
case
"FDCQ2"
:
this
.
columns
=
datas
.
columns
().
FDCQ2
;
break
;
case
"NYDSYQ"
:
this
.
columns
=
datas
.
columns
().
NYDSYQ
;
break
;
case
"DYAQ"
:
this
.
columns
=
datas
.
columns
().
DYAQ
;
break
;
case
"DYIQ"
:
this
.
columns
=
datas
.
columns
().
DYIQ
;
break
;
case
"YGDJ"
:
this
.
columns
=
datas
.
columns
().
YGDJ
;
break
;
case
"CFDJ"
:
this
.
columns
=
datas
.
columns
().
CFDJ
;
break
;
case
"YYDJ"
:
this
.
columns
=
datas
.
columns
().
YYDJ
;
break
;
}
this
.
getdata
();
},
methods
:
{
/**
* @description: checkChange
* @author: renchao
*/
getdata
()
{
getDjbQlxxDiff
(
this
.
formData
.
bsmQlxx
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
console
.
log
(
"res"
,
res
);
this
.
tableData
=
res
.
result
;
this
.
tableData
.
map
((
item
)
=>
{
item
.
sjlx
=
getSjlx
(
item
.
sjlx
);
});
console
.
log
(
"this.tableData"
,
this
.
tableData
);
}
});
}
/**
* @description: getQsztName
* @param {*} code
* @author: renchao
*/
,
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
if
(
item
.
value
==
code
)
{
name
=
item
.
label
;
break
;
}
}
return
name
;
},
checkChange
()
{
console
.
log
(
"ssss"
,
this
.
radio
);
console
.
log
(
"ssss"
,
this
.
radio
);
},
},
};
...
...
src/views/ywbl/slsqxx/fdcq2/slxx300.vue
View file @
9e68d2c
...
...
@@ -46,13 +46,13 @@
</el-form-item>
</el-col>
</el-row>
<div
class=
"slxx_title title-block"
>
<div
class=
"slxx_title title-block flex"
style=
"justify-content: space-between"
>
不动产单元情况
<
div
class=
"triangle"
></div
>
<
el-button
@
click=
"compare"
>
变化情况对比+
</el-button
>
</div>
<el-button
type=
"primary"
style=
"float: right;margin-right: 20px; "
@
click=
"dataSelectClick"
>
数据查看
</el-button>
<el-row
:gutter=
"10"
v-if=
"ruleForm.qlxx"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"不动产单元号:"
>
...
...
@@ -355,12 +355,27 @@
}
});
},
/**
* @description: compare
* @author: renchao
*/
compare
()
{
this
.
$popupDialog
(
"国有建设用地使用权"
,
"registerBook/comparison"
,
{
bsmQlxx
:
this
.
ruleForm
.
qlxx
.
bsmQlxx
,
dqqllx
:
'FDCQ2'
,
},
"80%"
,
true
);
},
},
};
</
script
>
<
style
scoped
lang=
'scss'
>
@import
"~@/styles/public.scss"
;
@import
"~@/styles/slxx/slxx.scss"
;
/
deep
/
.el-form
{
display
:
flex
;
flex-direction
:
column
;
...
...
src/views/ywbl/slsqxx/jsydsyq/slxx300.vue
View file @
9e68d2c
...
...
@@ -331,7 +331,9 @@ export default {
this
.
$popupDialog
(
"国有建设用地使用权"
,
"registerBook/comparison"
,
{
propsParam
:
this
.
propsParam
},
{
bsmQlxx
:
this
.
ruleForm
.
qlxx
.
bsmQlxx
,
dqqllx
:
'JSYDSYQ'
,
},
"80%"
,
true
);
...
...
src/views/ywbl/slsqxx/ygdj/slxx300.vue
View file @
9e68d2c
...
...
@@ -42,13 +42,13 @@
</el-form-item>
</el-col>
</el-row>
<div
class=
"slxx_title title-block"
>
不动产情况
<div
class=
"triangle"
></div>
<div
class=
"slxx_title title-block flex"
style=
"justify-content: space-between"
>
不动产单元情况
<el-button
@
click=
"compare"
>
变化情况对比+
</el-button>
</div>
<!--
<el-button
type=
"primary"
style=
"float: right;margin-right: 20px; "
@
click=
"onClick"
>
数据查看
</el-button>
-->
<el-row
:gutter=
"10"
v-if=
"ruleForm.qlxx"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"不动产单元号:"
>
...
...
@@ -245,6 +245,21 @@
}
});
},
/**
* @description: compare
* @author: renchao
*/
compare
()
{
this
.
$popupDialog
(
"国有建设用地使用权"
,
"registerBook/comparison"
,
{
bsmQlxx
:
this
.
ruleForm
.
qlxx
.
bsmQlxx
,
dqqllx
:
'YGDJ'
,
},
"80%"
,
true
);
},
},
};
</
script
>
...
...
Please
register
or
sign in
to post a comment