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
1364d6c9
authored
2023-08-15 11:04:59 +0800
by
tianhaohao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改林权展示
1 parent
929fda45
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
116 additions
and
73 deletions
src/views/registerBook/ldsyq.vue
src/views/registerBook/qlxxFormData.js
src/views/workflow/flowform.js
src/views/registerBook/ldsyq.vue
View file @
1364d6c
...
...
@@ -10,7 +10,11 @@
{{
title
}}
<div
class=
"checkbox"
>
<el-checkbox-group
v-model=
"checkList"
@
change=
"checkChange"
>
<el-checkbox
v-for=
"item in qsztList"
:key=
"item.value"
:label=
"item.value"
>
{{
item
.
label
}}
</el-checkbox>
<el-checkbox
v-for=
"item in qsztList"
:key=
"item.value"
:label=
"item.value"
>
{{
item
.
label
}}
</el-checkbox>
</el-checkbox-group>
</div>
</div>
...
...
@@ -18,10 +22,11 @@
<!-- 固定前三个 -->
<table
class=
"xxTable"
>
<tr
v-for=
"(item, colindex) in columns"
:key=
"colindex"
>
<td>
{{
item
.
label
}}
</td>
<td
v-for=
"(row, index) in tableData"
:key=
"index"
:class=
"[
<td>
{{
item
.
label
}}
</td>
<td
v-for=
"(row, index) in tableData"
:key=
"index"
:class=
"[
row.qszt == '2' ? 'lishi' : '',
row.qszt == '0' ? 'linshi' : '',
row.qlzt == '4' ? 'linshi' : '',
...
...
@@ -30,28 +35,19 @@
item.prop == 'qszt' && row.qlzt == '2' ? 'linshiIcon' : '',
item.prop == 'qszt' && row.qlzt == '1' ? 'xianshiIcon' : '',
item.prop == 'qszt' && row.qlzt == '4' ? 'zhuxiaoIcon' : ''
]"
>
]"
>
<div
class=
"setbut"
v-if=
"item.prop == 'cz'&&row.sjlx !='系统数据'"
>
<el-button
type=
"text"
icon=
"el-icon-edit-outline"
@
click=
"editDialog(row)"
>
编辑
</el-button>
<el-button
type=
"text"
icon=
"el-icon-edit-outline"
@
click=
"editDialog(row,'D')"
>
删除
</el-button>
</div>
<div
class=
"icon"
v-if=
"item.prop == 'qszt' &&row.qlzt == '1'"
>
有效
</div>
<div
class=
"icon"
v-if=
"item.prop == 'qszt' && row.qlzt == '2'"
>
正在补录
</div>
<div
class=
"icon"
v-if=
"item.prop == 'qszt' && row.qlzt == '3'"
>
正在申请
</div>
<div
class=
"icon"
v-if=
"item.prop == 'qszt' && row.qlzt == '4'"
>
正在注销
</div>
<span
v-if=
"item.prop == 'qszt'"
>
{{
getQsztName
(
row
[
item
.
prop
])
}}
</span>
<div
class=
"icon"
v-if=
"item.prop == 'qszt' &&row.qlzt == '1'"
>
有效
</div>
<div
class=
"icon"
v-if=
"item.prop == 'qszt' && row.qlzt == '2'"
>
正在补录
</div>
<div
class=
"icon"
v-if=
"item.prop == 'qszt' && row.qlzt == '3'"
>
正在申请
</div>
<div
class=
"icon"
v-if=
"item.prop == 'qszt' && row.qlzt == '4'"
>
正在注销
</div>
<span
v-if=
"item.prop == 'qszt'"
>
{{
getQsztName
(
row
[
item
.
prop
])
}}
</span>
<span
v-else
>
{{
row
[
item
.
prop
]
}}
</span>
<span
v-else
>
{{
row
[
item
.
prop
]
}}
</span>
</td>
<td
v-for=
"count in emptycolNum"
:key=
"~count"
></td>
</tr>
...
...
@@ -59,16 +55,16 @@
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getLqList
}
from
"@/api/djbDetail.js"
;
export
default
{
data
()
{
<
script
>
import
{
datas
}
from
"./qlxxFormData.js"
;
import
{
getSjlx
}
from
"@/utils/dictionary.js"
;
import
{
getLqList
}
from
"@/api/djbDetail.js"
;
export
default
{
data
()
{
return
{
title
:
"林地使用
权登记信息"
,
title
:
"林
权登记信息"
,
qsztList
:
datas
.
columns
().
qsztList
,
checkList
:
datas
.
columns
().
checkList
,
//传递参数
...
...
@@ -81,7 +77,7 @@
columns
:
datas
.
columns
().
LDSYQ
,
};
},
created
()
{
created
()
{
this
.
loadData
();
},
methods
:
{
...
...
@@ -89,13 +85,12 @@
* @description: loadData
* @author: renchao
*/
loadData
()
{
loadData
()
{
if
(
this
.
$parent
.
addRepairRecord
)
{
this
.
columns
.
unshift
({
prop
:
"cz"
,
label
:
"操作"
})
label
:
"操作"
,
});
}
getLqList
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
,
...
...
@@ -104,9 +99,9 @@
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
;
this
.
tableData
.
forEach
(
item
=>
{
item
.
sjlx
=
getSjlx
(
item
.
sjlx
)
})
this
.
tableData
.
forEach
((
item
)
=>
{
item
.
sjlx
=
getSjlx
(
item
.
sjlx
);
});
if
(
this
.
tableData
.
length
<
datas
.
columns
().
emptycolNum
)
{
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
-
this
.
tableData
.
length
;
...
...
@@ -120,7 +115,7 @@
* @description: checkChange
* @author: renchao
*/
checkChange
()
{
checkChange
()
{
if
(
this
.
checkList
.
length
===
0
)
{
this
.
tableData
=
[];
this
.
emptycolNum
=
datas
.
columns
().
emptycolNum
;
...
...
@@ -133,7 +128,7 @@
* @param {*} code
* @author: renchao
*/
getQsztName
(
code
)
{
getQsztName
(
code
)
{
let
name
=
""
;
for
(
let
item
of
this
.
qsztList
)
{
if
(
item
.
value
==
code
)
{
...
...
@@ -150,31 +145,32 @@
* @param {*} del
* @author: renchao
*/
editDialog
(
row
,
del
)
{
this
.
$confirm
(
'此操作将新增一条补录信息, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
$parent
.
addRepairRecord
(
row
,
del
)
editDialog
(
row
,
del
)
{
this
.
$confirm
(
"此操作将新增一条补录信息, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(()
=>
{
this
.
$parent
.
addRepairRecord
(
row
,
del
);
this
.
$message
({
type
:
'success'
,
message
:
'补录成功!'
type
:
"success"
,
message
:
"补录成功!"
,
});
}).
catch
(()
=>
{
})
.
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'取消编辑'
type
:
"info"
,
message
:
"取消编辑"
,
});
});
},
},
};
</
script
>
};
</
script
>
<
style
lang=
"scss"
scoped
>
@import
"./qlxxCommon.scss"
;
</
style
>
@import
"./qlxxCommon.scss"
;
</
style
>
\ No newline at end of file
...
...
src/views/registerBook/qlxxFormData.js
View file @
1364d6c
...
...
@@ -1284,12 +1284,12 @@ class data extends filter {
label
:
"共有情况"
,
},
{
prop
:
"
qlrlx
"
,
label
:
"
权利人类型
"
,
prop
:
"
sllmsyq1
"
,
label
:
"
森林林木所有权人
"
,
},
{
prop
:
"
qlrmc
"
,
label
:
"
权利
人"
,
prop
:
"
sllmsyq2
"
,
label
:
"
森林林木使用权
人"
,
},
{
prop
:
"qlrzjzl"
,
...
...
@@ -1300,24 +1300,68 @@ class data extends filter {
label
:
"证件号"
,
},
{
prop
:
"
qlxzmc
"
,
label
:
"
权利
性质"
,
prop
:
"
ldsyqxz
"
,
label
:
"
林地所有权
性质"
,
},
{
prop
:
"
ytmc
"
,
label
:
"
土地用途
"
,
prop
:
"
fbf
"
,
label
:
"
发包方
"
,
},
{
prop
:
"fbfdm"
,
label
:
"发包方代码"
,
},
{
prop
:
"
fbfmc
"
,
label
:
"
发包方名称
"
,
prop
:
"
syqmj
"
,
label
:
"
使用权面积
"
,
},
{
prop
:
"mjmc"
,
label
:
"使用权面积"
,
prop
:
"ldsyqssj"
,
label
:
"林地使用(承包)起始时间"
,
},
{
prop
:
"ldsyjssj"
,
label
:
"林地使用(承包)结束时间"
,
},
{
prop
:
"ldsyqx"
,
label
:
"林地使用(承包)期限"
,
},
{
prop
:
"sllb"
,
label
:
"森林类别"
,
},
{
prop
:
"zylz"
,
label
:
"主要树种"
,
},
{
prop
:
"zs"
,
label
:
"株数"
,
},
{
prop
:
"lz"
,
label
:
"林种"
,
},
{
prop
:
"qy"
,
label
:
"起源"
,
},
{
prop
:
"zlnd"
,
label
:
"造林年度"
,
},
{
prop
:
"lb"
,
label
:
"林班"
,
},
{
prop
:
"xb"
,
label
:
"小班"
,
},
{
prop
:
"xdm"
,
label
:
"小地名"
,
},
{
prop
:
"djjg"
,
...
...
src/views/workflow/flowform.js
View file @
1364d6c
...
...
@@ -34,6 +34,10 @@ export function getForm(tabName, djywbm) {
case
"fwsyqslxx300"
:
form
=
require
(
"@/views/ywbl/slsqxx/fdcq2/slxx300.vue"
);
break
;
//林地使用权
case
"lqslxx"
:
form
=
require
(
"@/views/ywbl/slsqxx/lqslxx"
);
break
;
case
"plfdcq2"
:
form
=
require
(
"@/views/ywbl/slsqxx/fdcq2/slxxOverview.vue"
);
break
;
...
...
@@ -95,6 +99,9 @@ export function getForm(tabName, djywbm) {
case
"fdcq2Qlxx"
:
form
=
require
(
"@/views/registerBook/fdcq2.vue"
);
break
;
case
"lqQlxx"
:
form
=
require
(
"@/views/registerBook/ldsyq.vue"
);
break
;
case
"diyaqQlxx"
:
form
=
require
(
"@/views/registerBook/diyaq.vue"
);
break
;
...
...
@@ -110,10 +117,6 @@ export function getForm(tabName, djywbm) {
case
"zdjbxxImg"
:
form
=
require
(
"@/views/workflow/components/zdt.vue"
);
break
;
//林地使用权
case
"lqslxx"
:
form
=
require
(
"@/views/ywbl/slsqxx/lqslxx"
);
break
;
default
:
form
=
require
(
"@/views/error-page/404.vue"
);
break
;
...
...
Please
register
or
sign in
to post a comment