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
df413098
authored
2023-11-10 10:36:27 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev'
2 parents
d4f0ab9e
e184c474
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
104 additions
and
112 deletions
src/api/djbDetail.js
src/utils/mixin/table.js
src/views/registerBook/djbFrame.vue
src/views/registerBook/djbFrameData.js
src/views/registerBook/djbFrameall.vue
src/views/registerBook/ygdj.vue
src/api/djbDetail.js
View file @
df41309
...
...
@@ -81,7 +81,18 @@ export function getBdcqljqtsx (data) {
params
:
data
})
}
/**
* @description: 获取不动产权利及其他事项Bdcdyh
* @param {*} data
* @author: renchao
*/
export
function
getBdcqljqtsxBdcdyh
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/djbDetail/getBdcqljqtsxBdcdyh'
,
method
:
'get'
,
params
:
data
})
}
/**
* @description: 获取土地所有权
* @param {*} data
...
...
src/utils/mixin/table.js
View file @
df41309
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-1
0-30 09:01:21
* @LastEditTime: 2023-1
1-10 10:34:55
*/
import
{
mapGetters
}
from
'vuex'
import
{
defaultParameters
}
from
"../../views/ywbl/ywsq/javascript/publicDefaultPar"
;
...
...
@@ -29,7 +29,6 @@ export default {
*/
handkeyCode
(
e
)
{
if
(
e
.
keyCode
===
13
)
{
console
.
log
(
"安"
);
this
.
handleSearch
()
}
},
...
...
src/views/registerBook/djbFrame.vue
View file @
df41309
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-11-
09 08:45:33
* @LastEditTime: 2023-11-
10 10:33:47
-->
<
template
>
<div
class=
"content"
>
...
...
@@ -123,7 +123,7 @@
}
else
{
this
.
sfqdata
.
push
(
loadsfqData
(
res
.
result
,
val
.
bdcdyh
,
val
.
bdcdyid
));
this
.
activeName
=
this
.
sfqdata
.
length
-
1
;
this
.
isActive
=
""
this
.
titleActive
=
this
.
activeName
}
...
...
@@ -135,6 +135,7 @@
);
this
.
sfqdata
[
0
].
children
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
id
==
this
.
defaultNode
.
id
)
{
this
.
isActive
=
index
this
.
loadComponent
(
item
.
form
);
}
});
...
...
src/views/registerBook/djbFrameData.js
View file @
df41309
/*
* @Description:
* @Autor: renchao
...
...
src/views/registerBook/djbFrameall.vue
View file @
df41309
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-
09-19 10:48:40
* @LastEditTime: 2023-
11-10 10:36:22
-->
<
template
>
<div
class=
"content loadingtext"
>
...
...
@@ -55,7 +55,7 @@
</div>
</template>
<
script
>
import
{
getBdcqljqtsx
}
from
"@/api/djbDetail.js"
;
import
{
getBdcqljqtsx
,
getBdcqljqtsxBdcdyh
}
from
"@/api/djbDetail.js"
;
import
{
loadTreeData
,
loadsfqData
,
getNode
}
from
"./djbFrameData.js"
;
import
{
searchTaskToDo
}
from
"@/api/workflow/search.js"
;
import
{
leftMenu
}
from
"@/api/workFlow.js"
;
...
...
@@ -92,7 +92,7 @@
};
},
mounted
()
{
this
.
getdata
(
);
this
.
loadData
(
this
.
getCaption
(
window
.
location
.
href
)
);
},
methods
:
{
// 截取字符的方法
...
...
@@ -111,30 +111,30 @@
* @description: 通过不动产业务号获取参数
* @author: renchao
*/
getdata
()
{
this
.
queryForm
=
{
bdcdyh
:
this
.
getCaption
(
window
.
location
.
href
),
currentPage
:
1
,
djlx
:
""
,
pageSize
:
10
,
qllx
:
""
,
ywh
:
""
,
ywly
:
""
,
};
if
(
this
.
queryForm
)
{
this
.
$startLoading
();
searchTaskToDo
({
...
this
.
queryForm
,
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
let
{
records
}
=
res
.
result
;
//
getdata () {
//
this.queryForm = {
//
bdcdyh: this.getCaption(window.location.href),
//
currentPage: 1,
//
djlx: "",
//
pageSize: 10,
//
qllx: "",
//
ywh: "",
//
ywly: "",
//
};
//
if (this.queryForm) {
//
this.$startLoading();
//
searchTaskToDo({
//
...this.queryForm,
//
}).then((res) => {
//
if (res.code === 200) {
//
let { records } = res.result;
this
.
loadBdcdylist
(
records
[
0
].
bsmSlsq
,
records
[
0
].
bestepid
);
this
.
$endLoading
();
}
});
}
},
//
this.loadBdcdylist(records[0].bsmSlsq, records[0].bestepid);
//
this.$endLoading();
//
}
//
});
//
}
//
},
// 获取不动产信息
/**
...
...
@@ -143,25 +143,25 @@
* @param {*} b
* @author: renchao
*/
loadBdcdylist
(
a
,
b
)
{
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSlsq"
,
a
);
formdata
.
append
(
"bestepid"
,
b
);
leftMenu
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
if
(
res
.
result
)
{
this
.
currentSelectProps
=
res
.
result
[
0
];
this
.
loadData
(
this
.
currentSelectProps
.
bdcdyh
);
}
}
});
},
//
loadBdcdylist (a, b) {
//
var formdata = new FormData();
//
formdata.append("bsmSlsq", a);
//
formdata.append("bestepid", b);
//
leftMenu(formdata).then((res) => {
//
if (res.code === 200) {
//
if (res.result) {
//
this.currentSelectProps = res.result[0];
//
this.loadData(this.currentSelectProps.bdcdyh);
//
}
//
}
//
});
//
},
/**
* @description: getBdcdyh
* @author: miaofang
* 点击不动产单元号事件
*/
* @description: getBdcdyh
* @author: miaofang
* 点击不动产单元号事件
*/
getBdcdyh
(
val
)
{
this
.
addloadData
(
val
);
},
...
...
@@ -179,7 +179,7 @@
let
index
=
this
.
sfqdata
.
findIndex
((
item
)
=>
{
return
item
.
bdcdyid
==
val
.
bdcdyid
;
});
this
.
activeName
=
index
this
.
activeName
=
index
;
}
else
{
this
.
sfqdata
.
push
(
loadsfqData
(
res
.
result
,
val
.
bdcdyh
,
val
.
bdcdyid
));
this
.
activeName
=
this
.
sfqdata
.
length
-
1
;
...
...
@@ -198,18 +198,15 @@
* @author: renchao
*/
loadData
(
val
)
{
getBdcqljqtsx
({
bdcdyid
:
this
.
currentSelectProps
.
bdcdyid
,
getBdcqljqtsxBdcdyh
({
bdcdyh
:
val
,
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
treedata
=
loadTreeData
(
val
);
this
.
sfqdata
.
push
(
loadsfqData
(
res
.
result
,
val
,
this
.
currentSelectProps
.
bdcdyid
)
);
this
.
sfqdata
.
push
(
loadsfqData
(
res
.
result
,
val
,
res
.
result
.
bdcdyid
));
this
.
$nextTick
(
function
()
{
this
.
defaultNode
=
getNode
(
this
.
currentSelectProps
.
qllx
,
res
.
result
.
zt
qllx
,
{
linShi
:
0
,
xianShi
:
0
,
liShi
:
0
},
res
.
result
.
bdcdylx
||
""
);
...
...
@@ -218,64 +215,49 @@
this
.
loadComponent
(
item
.
form
);
this
.
isActive
=
index
;
}
})
// this.$refs.tree.setCurrentKey(this.defaultNode.id); //data[0].id为默认选中的节点
// this.loadComponent(this.defaultNode.form);
// this.setstyle(0, 0, this.iskey);
// this.setstyle(0, 0, this.iskey)
;
})
;
})
;
this
.
currentSelectProps
=
{
bdcdyid
:
res
.
result
.
bdcdyid
,
bdcdyh
:
val
,
qllx
:
res
.
result
.
qllx
,
bsmQlxx
:
this
.
currentSelectProps
.
bsmQlxx
,
}
;
})
}
});
this
.
currentSelectProps
=
{
bdcdyid
:
this
.
currentSelectProps
.
bdcdyid
,
bdcdyh
:
this
.
currentSelectProps
.
bdcdyh
,
qllx
:
this
.
currentSelectProps
.
qllx
,
bsmQlxx
:
this
.
currentSelectProps
.
bsmQlxx
,
};
})
},
/*
点击登记簿菜单
*/
/**
* @description: 点击登记簿菜单
* @param {*} data
* @author: renchao
*/
handleNodeClick
(
data
)
{
this
.
loadComponent
(
data
.
form
);
},
/*
点击登记簿菜单
*/
/**
* @description: 点击登记簿菜单
* @param {*} data
tap
(
data
,
index
)
{
this
.
loadComponent
(
data
.
form
);
},
/**
* @description: taplist
* @param {*} data
* @author: renchao
* 新增列表功能
*/
taplist
(
data
,
index
)
{
this
.
loadComponent
(
data
.
form
);
this
.
isActive
=
index
;
},
/**
* @description: loadComponent
* @param {*} form
* @author: renchao
*/
handleNodeClick
(
data
)
{
this
.
loadComponent
(
data
.
form
);
},
tap
(
data
,
index
)
{
this
.
loadComponent
(
data
.
form
);
},
/**
* @description: taplist
* @param {*} data
* @author: renchao
* 新增列表功能
*/
taplist
(
data
,
index
)
{
this
.
loadComponent
(
data
.
form
);
this
.
isActive
=
index
;
},
/**
* @description: loadComponent
* @param {*} form
* @author: renchao
*/
loadComponent
(
form
)
{
this
.
componentTag
=
(
r
)
=>
require
.
ensure
([],
()
=>
r
(
require
(
"@/views/registerBook/"
+
form
)));
}
loadComponent
(
form
)
{
this
.
componentTag
=
(
r
)
=>
require
.
ensure
([],
()
=>
r
(
require
(
"@/views/registerBook/"
+
form
)));
}
}
}
;
}
</
script
>
<
style
scoped
lang=
"scss"
>
/
deep
/
.rollTable
{
...
...
@@ -315,8 +297,6 @@
height
:
45px
;
}
/
deep
/
.el-tree-node
{
white-space
:
pre-wrap
;
}
...
...
@@ -341,6 +321,9 @@
display
:
inline-block
;
line-height
:
15px
;
}
height
:
45px
;
border
:
1px
solid
rgb
(
228
,
228
,
228
);
border-right
:
4px
solid
#f5f5f5
;
}
height
:
45px
;
display
:
inline-block
;
...
...
@@ -367,9 +350,6 @@
justify-content
:
center
;
align-items
:
center
;
}
height
:
45px
;
border
:
1px
solid
rgb
(
228
,
228
,
228
);
border-right
:
4px
solid
#f5f5f5
;
}
.select
{
...
...
src/views/registerBook/ygdj.vue
View file @
df41309
<!--
* @Description:
* @Autor: miaofang
* @LastEditTime: 2023-1
0-09 10:49:37
* @LastEditTime: 2023-1
1-10 10:28:56
-->
<
template
>
<div
class=
"djxxTable"
>
...
...
@@ -32,7 +32,7 @@
render
:
false
};
},
crea
ted
()
{
moun
ted
()
{
this
.
loadData
();
},
methods
:
{
...
...
Please
register
or
sign in
to post a comment