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
c88a4847
authored
2024-01-25 18:01:46 +0800
by
tianhaohao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev' of
http://yun.pashanhoo.com:9090/bdc/bdcdj-web
into dev
2 parents
d94bf034
a376e09d
Show whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
235 additions
and
183 deletions
src/components/LbTable/lb-table.vue
src/views/registerBook/components/djbDetail.vue
src/views/registerBook/fdcq1.vue
src/views/sjgx/jkgnck/jkgnck.vue
src/views/workflow/components/leftmenu/ordinaryMenu.vue
src/views/workflow/components/leftmenu/segmentMenu.vue
src/views/workflow/components/sdqxx.vue
src/views/workflow/workFrameView.vue
src/views/ywbl/slsqxx/tdcbjyq/slxx.vue
src/views/ywbl/ywsq/components/cfdj.vue
src/views/ywbl/ywsq/components/fwsyq.vue
src/views/ywbl/ywsq/components/jtjsydfwsyq.vue
src/views/ywbl/ywsq/components/selectQjzdjbxx.vue
src/views/ywbl/ywsq/components/selectSllmsc.vue
src/views/ywbl/ywsq/components/selectYgdj200.vue
src/views/ywbl/ywsq/components/zjdfwsyq.vue
src/views/ywbl/ywsq/javascript/selectYgdj200.js
src/components/LbTable/lb-table.vue
View file @
c88a484
...
...
@@ -40,7 +40,7 @@
<br>
<el-pagination
class=
"lb-table-pagination"
v-if=
"pagination"
v-bind=
"$attrs"
v-on=
"$listeners"
background
layout=
"total,
prev, pager, next"
@
current-change=
"paginationCurrent
Change"
layout=
"total,
sizes, prev, pager, next"
@
current-change=
"paginationCurrentChange"
@
size-change=
"handleSize
Change"
:style=
"{ 'margin-top': paginationTop, 'text-align': paginationAlign }"
>
</el-pagination>
</div>
...
...
@@ -306,6 +306,9 @@
paginationCurrentChange
(
val
)
{
this
.
$emit
(
'p-current-change'
,
val
)
},
handleSizeChange
(
val
)
{
this
.
$emit
(
'size-change'
,
val
)
},
/**
* @description: getMergeArr
* @param {*} tableData
...
...
src/views/registerBook/components/djbDetail.vue
View file @
c88a484
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-
19 16:10:10
* @LastEditTime: 2024-01-
25 15:06:08
-->
<
template
>
<div
class=
"tableBox"
>
...
...
@@ -257,7 +257,7 @@
let
that
=
this
let
sjlx
=
row
.
sjlx
,
bsmQlxx
=
row
.
bsmQlxx
if
(
sjlx
==
'系统数据'
)
{
if
(
[
'系统数据'
,
'存量数据'
].
includes
(
sjlx
)
)
{
getXtParamsByYwh
(
ywh
).
then
(
res
=>
{
let
data
=
res
.
result
that
.
$popup
(
'材料信息'
,
'registerBook/components/clxx/index'
,
{
...
...
src/views/registerBook/fdcq1.vue
View file @
c88a484
<!--
* @Description:
* @Autor: miaofang
* @LastEditTime: 2024-01-
19 16:09:59
* @LastEditTime: 2024-01-
25 15:08:01
-->
<
template
>
<div
class=
"djxxTable"
>
...
...
@@ -304,7 +304,7 @@
let
that
=
this
let
sjlx
=
row
.
sjlx
,
bsmQlxx
=
row
.
bsmQlxx
if
(
sjlx
==
'系统数据'
)
{
if
(
[
'系统数据'
,
'存量数据'
].
includes
(
sjlx
)
)
{
getXtParamsByYwh
(
ywh
).
then
(
res
=>
{
let
data
=
res
.
result
that
.
$popup
(
'材料信息'
,
'registerBook/components/clxx/index'
,
{
...
...
src/views/sjgx/jkgnck/jkgnck.vue
View file @
c88a484
...
...
@@ -29,12 +29,12 @@
</div>
</
template
>
<
script
>
import
{
mapGetters
}
from
"vuex"
;
import
table
from
"@/utils/mixin/table"
;
import
{
datas
,
sendThis
}
from
"./djbcxdata"
;
import
{
list
,
detail
}
from
"@/api/sysPushRecord.js"
;
import
{
mapGetters
}
from
"vuex"
;
import
table
from
"@/utils/mixin/table"
;
import
{
datas
,
sendThis
}
from
"./djbcxdata"
;
import
{
list
,
detail
}
from
"@/api/sysPushRecord.js"
;
export
default
{
export
default
{
name
:
"djbcx"
,
mixins
:
[
table
],
mounted
()
{
...
...
@@ -123,16 +123,16 @@ export default {
})
}
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/public.scss"
;
@import
"~@/styles/public.scss"
;
.icon-circle
{
.icon-circle
{
position
:
relative
;
}
}
.icon-circle
::before
{
.icon-circle
::before
{
content
:
""
;
width
:
4px
;
height
:
4px
;
...
...
@@ -140,5 +140,5 @@ export default {
background
:
#000
;
top
:
0px
;
left
:
0px
;
}
}
</
style
>
...
...
src/views/workflow/components/leftmenu/ordinaryMenu.vue
View file @
c88a484
<!--
* @Description: workFrame左侧菜单列表-普通
* @Autor: renchao
* @LastEditTime: 2024-01-25 1
3:40:13
* @LastEditTime: 2024-01-25 1
4:21:36
-->
<
template
>
<div
class=
"leftmenu"
:class=
"
{ 'animation-map-drawer': isShowdrawer }">
...
...
@@ -13,7 +13,7 @@
<div
v-if=
"this.isShowdrawer"
>
<div
class=
"title"
>
申请单元列表(
{{
unitData
.
length
}}
)
<
!--
<el-button
type=
"text"
class=
"batchDel"
@
click=
"handleBatchDel"
v-if=
"unitData.length > 1"
>
批量删除
</el-button>
--
>
<
el-button
type=
"text"
class=
"batchDel"
@
click=
"handleBatchDel"
v-if=
"unitData.length > 1&& isDel"
>
批量删除
</el-button
>
</div>
<el-menu
v-model=
"activeIndex"
:default-active=
"activeIndex"
:key=
"key"
@
select=
"unitClick"
>
<el-menu-item
v-for=
"(item, index) in unitData"
:index=
"index.toString()"
:key=
"index"
>
...
...
@@ -25,7 +25,7 @@
<p
v-else
class=
"title-detail"
>
{{
item
.
qllxmc
}}
</p>
</el-tooltip>
</div>
<
!--
<i
class=
"el-icon-delete"
v-if=
"unitData.length > 1 && item.sqfl=='1'"
@
click
.
stop=
"handleDel(item)"
></i>
--
>
<
i
class=
"el-icon-delete"
v-if=
"unitData.length > 1 && item.sqfl=='1' && isDel"
@
click
.
stop=
"handleDel(item)"
></i
>
</el-menu-item>
</el-menu>
</div>
...
...
@@ -45,6 +45,12 @@
import
{
mapGetters
}
from
'vuex'
import
{
leftMenu
,
deleteSlbdcdy
,
jdcxLeftMenu
}
from
"@/api/workFlow.js"
export
default
{
props
:
{
isDel
:
{
type
:
Boolean
,
default
:
true
}
},
data
()
{
return
{
key
:
0
,
...
...
src/views/workflow/components/leftmenu/segmentMenu.vue
View file @
c88a484
<!--
* @Description: workFrame左侧菜单列表-分割
* @Autor: renchao
* @LastEditTime: 2024-01-25 1
3:40:28
* @LastEditTime: 2024-01-25 1
4:21:44
-->
<
template
>
<div
class=
"leftmenu"
:class=
"
{ 'animation-map-drawer': isShowdrawer }">
...
...
@@ -23,7 +23,7 @@
<p
class=
"title-detail"
>
{{
item
.
zl
}}
</p>
</el-tooltip>
</div>
<
!--
<i
class=
"el-icon-delete"
v-if=
"aroundUnitData.length > 1"
@
click
.
stop=
"handleDel(item,'around')"
></i>
--
>
<
i
class=
"el-icon-delete"
v-if=
"aroundUnitData.length > 1 && isDel"
@
click
.
stop=
"handleDel(item,'around')"
></i
>
</el-menu-item>
</el-menu>
<!-- 变更后单元 -->
...
...
@@ -39,7 +39,7 @@
<p
class=
"title-detail"
>
{{
item
.
zl
}}
</p>
</el-tooltip>
</div>
<
!--
<i
class=
"el-icon-delete"
v-if=
"afterUnitData.length > 1"
@
click
.
stop=
"handleDel(item, 'after')"
></i>
--
>
<
i
class=
"el-icon-delete"
v-if=
"afterUnitData.length > 1 && isDel"
@
click
.
stop=
"handleDel(item, 'after')"
></i
>
</el-menu-item>
</el-menu>
</div>
...
...
src/views/workflow/components/sdqxx.vue
View file @
c88a484
...
...
@@ -25,12 +25,12 @@
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"行政区划区县代码:"
>
<el-input
v-model=
"ruleForm.
AREACODE
"
></el-input>
<el-input
v-model=
"ruleForm.
areacode
"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"登记系统业务号:"
>
<el-input
v-model=
"ruleForm.
YWH
"
></el-input>
<el-input
v-model=
"ruleForm.
ywh
"
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -43,47 +43,47 @@
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"原户主姓名:"
>
<el-input
v-model=
"ruleForm.
MC_OLD
"
></el-input>
<el-input
v-model=
"ruleForm.
mcOld
"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"原户主身份证号码:"
>
<el-input
v-model=
"ruleForm.
ZJHM_OLD
"
></el-input>
<el-input
v-model=
"ruleForm.
zjhmOld
"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"10"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"原户主联系电话:"
>
<el-input
v-model=
"ruleForm.
LXDH_OLD
"
></el-input>
<el-input
v-model=
"ruleForm.
lxdhOld
"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"新户主姓名:"
>
<el-input
v-model=
"ruleForm.
MC_NEW
"
></el-input>
<el-input
v-model=
"ruleForm.
mcNew
"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"新户主身份证号码:"
>
<el-input
v-model=
"ruleForm.
ZJHM_NEW
"
></el-input>
<el-input
v-model=
"ruleForm.
zjhmNew
"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"10"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"新户主联系电话:"
>
<el-input
v-model=
"ruleForm.
LXDH_NEW
"
></el-input>
<el-input
v-model=
"ruleForm.
lxdhNew
"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"房产证编号:"
>
<el-input
v-model=
"ruleForm.
FCZBH
"
></el-input>
<el-input
v-model=
"ruleForm.
fczbh
"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"是否过户:"
>
<el-switch
v-model=
"ruleForm.
SFGH
"
v-model=
"ruleForm.
sfgh
"
:active-value=
'1'
active-text=
"是"
:inactive-value=
"0"
...
...
@@ -96,17 +96,23 @@
<el-row
:gutter=
"10"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"房屋坐落(地址):"
>
<el-input
v-model=
"ruleForm.
FWZL
"
type=
"textarea"
<el-input
v-model=
"ruleForm.
fwzl
"
type=
"textarea"
:rows=
"2"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
class=
"btn"
v-if=
"viewEdit"
>
<el-form-item>
<el-button
type=
"primary"
@
click=
"onSubmit"
>
保存
</el-button>
</el-form-item>
</el-row>
</div>
</el-form>
</div>
</
template
>
<
script
>
import
{
mapGetters
}
from
"vuex"
;
import
{
getDlxxByBsmSldy
,
saveOrUpdateDlxx
}
from
"@/api/sfxx.js"
;
export
default
{
computed
:
{
...
mapGetters
([
"dictData"
,
"flag"
]),
...
...
@@ -119,6 +125,8 @@
formdata
.
append
(
"bsmSldy"
,
this
.
propsParam
.
bsmSldy
);
formdata
.
append
(
"djlx"
,
this
.
propsParam
.
djlx
);
formdata
.
append
(
"isEdit"
,
this
.
viewEdit
);
console
.
log
(
this
.
propsParam
)
this
.
getDlxxByBsmSldy
()
},
data
()
{
return
{
...
...
@@ -131,6 +139,25 @@
}
},
methods
:
{
getDlxxByBsmSldy
()
{
getDlxxByBsmSldy
(
this
.
propsParam
.
bsmSldy
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
if
(
res
.
result
!=
null
)
{
this
.
ruleForm
=
res
.
result
}
}
});
},
saveOrUpdateDlxx
()
{
saveOrUpdateDlxx
(
this
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
"成功"
)
}
});
},
onSubmit
()
{
this
.
saveOrUpdateDlxx
()
}
}
}
</
script
>
...
...
src/views/workflow/workFrameView.vue
View file @
c88a484
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-2
3 10:21:28
* @LastEditTime: 2024-01-2
5 14:22:07
-->
<
template
>
<div
class=
"container"
>
...
...
@@ -26,8 +26,8 @@
<!-- 内容框架 -->
<div
class=
"containerFrame"
>
<!-- 左侧菜单栏 区分业务-->
<segmentMenu
v-if=
"['A0320099','A0330099' ,'A04300S1','A04200S2','A0830S1'].includes(slsq.djqxbm)"
@
getCurrentSelectProps=
"getCurrentSelectProps"
/>
<ordinaryMenu
v-else
@
getCurrentSelectProps=
"getCurrentSelectProps"
/>
<segmentMenu
v-if=
"['A0320099','A0330099' ,'A04300S1','A04200S2','A0830S1'].includes(slsq.djqxbm)"
:isDel=
"false"
@
getCurrentSelectProps=
"getCurrentSelectProps"
/>
<ordinaryMenu
v-else
@
getCurrentSelectProps=
"getCurrentSelectProps"
:isDel=
"false"
/>
<div
class=
"leftCon"
>
<!-- 分屏左侧预览 -->
...
...
src/views/ywbl/slsqxx/tdcbjyq/slxx.vue
View file @
c88a484
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-2
3 16:05:38
* @LastEditTime: 2024-01-2
5 14:15:55
-->
<
template
>
<!-- 受理信息 -->
...
...
@@ -179,7 +179,10 @@
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"土地所有权性质:"
>
<el-input
maxlength=
"100"
:disabled=
"!viewEdit"
v-model=
"ruleForm.tdcbjyq.tdsyqxz"
></el-input>
<el-select
clearable
v-model=
"ruleForm.tdcbjyq.tdsyqxz"
class=
"width100"
placeholder=
"请选择"
:disabled=
"!viewEdit"
>
<el-option
v-for=
"item in dictData['A45']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -207,7 +210,10 @@
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"用地用海分类:"
>
<el-input
:disabled=
"!viewEdit"
v-model=
"ruleForm.tdcbjyq.ydyhfl"
></el-input>
<el-select
clearable
v-model=
"ruleForm.tdcbjyq.ydyhfl"
class=
"width100"
placeholder=
"请选择"
:disabled=
"!viewEdit"
>
<el-option
v-for=
"item in dictData['A56']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -215,7 +221,10 @@
<el-row
:gutter=
"10"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"承包经营权取得方式:"
>
<el-input
:disabled=
"!viewEdit"
v-model=
"ruleForm.tdcbjyq.cbjyqqdfs"
></el-input>
<el-select
clearable
v-model=
"ruleForm.tdcbjyq.cbjyqqdfs"
class=
"width100"
placeholder=
"请选择"
:disabled=
"!viewEdit"
>
<el-option
v-for=
"item in dictData['A59']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"16"
>
...
...
@@ -278,7 +287,7 @@
:key=
"key"
:gyfs=
"ruleForm.sldy.gyfs"
/>
<div
v-if=
"ruleForm.ywrList && ruleForm.ywrList.length > 0"
>
<div
v-if=
"ruleForm.ywrList && ruleForm.ywrList.length > 0
&& ruleForm.qlxx.djlx == '200'
"
>
<div
class=
"slxx_title title-block"
>
义务人信息
<div
class=
"triangle"
></div>
...
...
@@ -401,8 +410,8 @@
ruleForm
:
{},
//传递参数
propsParam
:
{},
rules
:
{}
,
}
;
rules
:
{}
}
},
methods
:
{
/**
...
...
@@ -502,23 +511,30 @@
* @description: saveData
* @author: renchao
*/
this
.
$store
.
dispatch
(
"user/refreshPage"
,
false
);
saveData
(
this
.
ruleForm
).
then
((
res
)
=>
{
this
.
$refs
[
'ruleForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
that
.
$store
.
dispatch
(
"user/refreshPage"
,
false
);
saveData
(
that
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
({
that
.
$message
({
showClose
:
true
,
message
:
"保存成功!"
,
type
:
"success"
,
});
this
.
$store
.
dispatch
(
"user/refreshPage"
,
true
);
that
.
$store
.
dispatch
(
"user/refreshPage"
,
true
);
}
else
{
this
.
$message
({
that
.
$message
({
showClose
:
true
,
message
:
res
.
message
,
type
:
"error"
})
}
})
}
else
{
return
false
;
}
})
}
}
}
...
...
@@ -526,4 +542,7 @@
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/public.scss"
;
@import
"~@/styles/slxx/slxx.scss"
;
/
deep
/
.el-form-item__error
{
display
:
none
;
}
</
style
>
...
...
src/views/ywbl/ywsq/components/cfdj.vue
View file @
c88a484
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-
17 17:30:08
* @LastEditTime: 2024-01-
25 15:01:43
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -69,7 +69,6 @@
:current-page
.
sync=
"pageData.currentPage"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
select=
"select"
@
p-current-change=
"handleCurrentChange"
@
selection-change=
"handleSelectionChange"
:column=
"tableData.columns"
...
...
@@ -99,6 +98,7 @@
mixins
:
[
ywsqTable
,
jump
],
data
()
{
return
{
radioVal
:
''
,
loading
:
false
,
queryForm
:
defaultParameters
.
defaultParameters
(),
tableData
:
{
...
...
@@ -111,6 +111,28 @@
},
mounted
()
{
sendThis
(
this
);
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
this
.
tableData
.
columns
=
[{
label
:
'选择'
,
width
:
'50px'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
class
=
"orgColumn"
>
<
el
-
radio
onChange
=
{()
=>
{
this
.
handleChange
(
scope
.
row
)
}}
v
-
model
=
{
this
.
radioVal
}
label
=
{
scope
.
row
.
bdcdyid
}
>
&
ensp
;
<
/el-radio
>
<
/div
>
)
}
}].
concat
(
datas
.
columns
())
}
else
{
this
.
tableData
.
columns
=
[{
type
:
'selection'
,
label
:
'全选'
,
width
:
'50'
}].
concat
(
datas
.
columns
())
}
},
methods
:
{
/**
...
...
@@ -207,54 +229,26 @@
}
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
this
.
$refs
.
table
.
clearSelection
();
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if
(
selection
.
length
==
0
)
return
;
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleChange
()
{
let
arr
=
this
.
tableData
.
data
.
filter
(
item
=>
item
.
bdcdyid
==
this
.
radioVal
)
arr
[
0
].
bsm
=
arr
[
0
].
zdbsm
this
.
bdcdysz
=
arr
},
handleRowClick
(
row
)
{
// 如果状态是1,那就是单选
let
refs
=
'table'
;
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
const
bdcdysz
=
this
.
bdcdysz
;
this
.
$refs
.
table
.
clearSelection
();
if
(
bdcdysz
.
length
==
1
)
{
bdcdysz
.
forEach
((
item
)
=>
{
// 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
if
(
item
==
row
)
{
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
false
);
}
// 不然就让当前的一行勾选
else
{
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
});
row
.
bsm
=
row
.
zdbsm
this
.
bdcdysz
=
[
row
]
this
.
radioVal
=
row
.
bdcdyid
}
else
{
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
}
else
{
this
.
$refs
.
table
.
toggleRowSelection
(
row
);
this
.
$refs
[
refs
].
toggleRowSelection
(
row
)
}
},
/**
* @description: openBook
* @param {*} row
* @author: miaofang
*/
openBook
(
row
)
{
var
param
=
{
bdcdyid
:
row
.
bdcdyid
,
...
...
src/views/ywbl/ywsq/components/fwsyq.vue
View file @
c88a484
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-
17 15:34:28
* @LastEditTime: 2024-01-
25 14:59:59
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -74,7 +74,7 @@
</div>
<div
class=
"from-clues-content loadingtext"
>
<lb-table
ref=
"table1"
@
row-click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:calcHeight=
"300"
:current-page
.
sync=
"pageData.currentPage"
:total=
"zrztableData.total"
:current-page
.
sync=
"pageData.currentPage"
:total=
"zrztableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
@
selection-change=
"handleSelectionChange"
:column=
"zrztableData.columns"
:data=
"zrztableData.data"
>
</lb-table>
...
...
src/views/ywbl/ywsq/components/jtjsydfwsyq.vue
View file @
c88a484
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-
17 17:20:34
* @LastEditTime: 2024-01-
25 14:59:36
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -62,7 +62,7 @@
</div>
<div
class=
"from-clues-content loadingtext"
>
<lb-table
ref=
"table1"
@
row-click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:calcHeight=
"300"
:current-page
.
sync=
"pageData.currentPage"
:total=
"zrztableData.total"
:current-page
.
sync=
"pageData.currentPage"
:total=
"zrztableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
@
selection-change=
"handleSelectionChange"
:column=
"zrztableData.columns"
:data=
"zrztableData.data"
>
</lb-table>
...
...
src/views/ywbl/ywsq/components/selectQjzdjbxx.vue
View file @
c88a484
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-
19 16:25:18
* @LastEditTime: 2024-01-
25 14:45:25
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -180,9 +180,6 @@
* @author: renchao
*/
handleSelectionChange
(
val
)
{
val
.
forEach
((
item
,
index
)
=>
{
item
.
bsm
=
item
.
zdbsm
;
});
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
if
(
val
.
length
>
1
)
{
this
.
bdcdysz
=
[...
val
[
val
.
length
-
1
]];
...
...
src/views/ywbl/ywsq/components/selectSllmsc.vue
View file @
c88a484
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 202
3-11-16 14:13:30
* @LastEditTime: 202
4-01-25 14:45:28
-->
<
template
>
<div
class=
"from-clues"
>
<!-- 表单部分 森林林木 -->
<div
class=
"from-clues-header"
>
<el-form
:model=
"queryForm"
ref=
"queryForm"
>
<el-form
:model=
"queryForm"
ref=
"queryForm"
label-width=
"100px"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"宗地代码"
>
...
...
@@ -27,10 +27,22 @@
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
class=
"btnColRight"
>
<el-col
:span=
"6"
>
<el-form-item
label=
"权利人"
>
<el-input
placeholder=
"请输入权利人"
v-model
.
trim=
"queryForm.qlr"
clearable
class=
"width100"
>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"证件号"
>
<el-input
placeholder=
"请输入证件号"
v-model
.
trim=
"queryForm.zjh"
clearable
class=
"width100"
>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"18"
class=
"btnColRight"
>
<el-form-item>
<!--
<el-button
type=
"primary"
@
click=
"resetForm(true)"
>
重置
</el-button>
-->
<el-button
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
type=
"primary"
@
click=
"resetForm(true)"
>
重置
</el-button>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -39,7 +51,7 @@
<!-- 表格 -->
<div
class=
"from-clues-content loadingtext"
>
<lb-table
ref=
"table"
@
row-click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:calcHeight=
"300"
:current-page
.
sync=
"pageData.currentPage"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
select=
"select"
:current-page
.
sync=
"pageData.currentPage"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
@
selection-change=
"handleSelectionChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
...
...
@@ -68,6 +80,7 @@
},
data
()
{
return
{
radioVal
:
''
,
loading
:
false
,
queryForm
:
defaultParameters
.
defaultParameters
(),
tableData
:
{
...
...
@@ -80,6 +93,28 @@
},
mounted
()
{
sendThis
(
this
);
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
this
.
tableData
.
columns
=
[{
label
:
'选择'
,
width
:
'50px'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
class
=
"orgColumn"
>
<
el
-
radio
onChange
=
{()
=>
{
this
.
handleChange
(
scope
.
row
)
}}
v
-
model
=
{
this
.
radioVal
}
label
=
{
scope
.
row
.
bdcdyid
}
>
&
ensp
;
<
/el-radio
>
<
/div
>
)
}
}].
concat
(
datas
.
columns
())
}
else
{
this
.
tableData
.
columns
=
[{
type
:
'selection'
,
label
:
'全选'
,
width
:
'50'
}].
concat
(
datas
.
columns
())
}
},
methods
:
{
/**
...
...
@@ -96,9 +131,8 @@
this
.
tableData
.
total
=
total
;
this
.
tableData
.
data
=
records
;
}
})
;
})
},
/**
* @description: submitForm
* @author: renchao
...
...
@@ -157,49 +191,22 @@
}
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
this
.
$refs
.
table
.
clearSelection
()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if
(
selection
.
length
==
0
)
return
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleChange
()
{
let
arr
=
this
.
tableData
.
data
.
filter
(
item
=>
item
.
bdcdyid
==
this
.
radioVal
)
this
.
bdcdysz
=
arr
},
handleRowClick
(
row
)
{
// 如果状态是1,那就是单选
let
refs
=
'table'
;
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
const
bdcdysz
=
this
.
bdcdysz
this
.
$refs
.
table
.
clearSelection
()
if
(
bdcdysz
.
length
==
1
)
{
bdcdysz
.
forEach
(
item
=>
{
// 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
if
(
item
==
row
)
{
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
false
);
}
// 不然就让当前的一行勾选
else
{
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
})
}
else
{
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
this
.
bdcdysz
=
[
row
]
this
.
radioVal
=
row
.
bdcdyid
}
else
{
this
.
$refs
.
table
.
toggleRowSelection
(
row
);
this
.
$refs
[
refs
].
toggleRowSelection
(
row
)
}
},
/**
...
...
src/views/ywbl/ywsq/components/selectYgdj200.vue
View file @
c88a484
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-
17 17:26:1
8
* @LastEditTime: 2024-01-
25 14:37:3
8
-->
<
template
>
<!-- 主体权利信息查询 -->
...
...
@@ -52,7 +52,7 @@
<!-- 表格 -->
<div
class=
"from-clues-content loadingtext"
>
<lb-table
ref=
"table"
@
row-click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:calcHeight=
"300"
:current-page
.
sync=
"pageData.currentPage"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
select=
"select"
:current-page
.
sync=
"pageData.currentPage"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
@
selection-change=
"handleSelectionChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
...
...
@@ -80,6 +80,7 @@
},
data
()
{
return
{
radioVal
:
''
,
loading
:
false
,
queryForm
:
defaultParameters
.
defaultParameters
(),
tableData
:
{
...
...
@@ -87,11 +88,33 @@
columns
:
datas
.
columns
(),
data
:
[],
},
bdcdysz
:
[]
,
}
;
bdcdysz
:
[]
}
},
mounted
()
{
sendThis
(
this
);
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
this
.
tableData
.
columns
=
[{
label
:
'选择'
,
width
:
'50px'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
class
=
"orgColumn"
>
<
el
-
radio
onChange
=
{()
=>
{
this
.
handleChange
(
scope
.
row
)
}}
v
-
model
=
{
this
.
radioVal
}
label
=
{
scope
.
row
.
bdcdyid
}
>
&
ensp
;
<
/el-radio
>
<
/div
>
)
}
}].
concat
(
datas
.
columns
())
}
else
{
this
.
tableData
.
columns
=
[{
type
:
'selection'
,
label
:
'全选'
,
width
:
'50'
}].
concat
(
datas
.
columns
())
}
},
methods
:
{
/**
...
...
@@ -164,21 +187,10 @@
this
.
bdcdysz
=
val
;
}
},
/**
* @description: select
* @param {*} selection
* @param {*} row
* @author: renchao
*/
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
this
.
$refs
.
table
.
clearSelection
()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if
(
selection
.
length
==
0
)
return
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
handleChange
()
{
let
arr
=
this
.
tableData
.
data
.
filter
(
item
=>
item
.
bdcdyid
==
this
.
radioVal
)
arr
[
0
].
bsm
=
arr
[
0
].
zdbsm
this
.
bdcdysz
=
arr
},
/**
* @description: handleRowClick
...
...
@@ -187,26 +199,13 @@
*/
handleRowClick
(
row
)
{
// 如果状态是1,那就是单选
let
refs
=
'table'
;
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
const
bdcdysz
=
this
.
bdcdysz
this
.
$refs
.
table
.
clearSelection
()
if
(
bdcdysz
.
length
==
1
)
{
bdcdysz
.
forEach
(
item
=>
{
// 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
if
(
item
==
row
)
{
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
false
);
}
// 不然就让当前的一行勾选
else
{
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
})
}
else
{
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
row
.
bsm
=
row
.
zdbsm
this
.
bdcdysz
=
[
row
]
this
.
radioVal
=
row
.
bdcdyid
}
else
{
this
.
$refs
.
table
.
toggleRowSelection
(
row
);
this
.
$refs
[
refs
].
toggleRowSelection
(
row
)
}
},
/**
...
...
src/views/ywbl/ywsq/components/zjdfwsyq.vue
View file @
c88a484
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-
17 17:15:13
* @LastEditTime: 2024-01-
25 14:57:59
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -62,7 +62,7 @@
</div>
<div
class=
"from-clues-content loadingtext"
>
<lb-table
ref=
"table1"
@
row-click=
"handleRowClick"
:page-size=
"pageData.pageSize"
:calcHeight=
"300"
:current-page
.
sync=
"pageData.currentPage"
:total=
"zrztableData.total"
:current-page
.
sync=
"pageData.currentPage"
:total=
"zrztableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
@
selection-change=
"handleSelectionChange"
:column=
"zrztableData.columns"
:data=
"zrztableData.data"
>
</lb-table>
...
...
src/views/ywbl/ywsq/javascript/selectYgdj200.js
View file @
c88a484
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 202
3-10-31 08:56:52
* @LastEditTime: 202
4-01-25 14:38:58
*/
import
filter
from
'@/utils/filter.js'
let
vm
=
null
...
...
@@ -15,11 +15,11 @@ class data extends filter {
}
columns
()
{
return
[
{
type
:
'selection'
,
label
:
'全选'
,
selectable
:
this
.
selected
},
//
{
//
type: 'selection',
//
label: '全选',
//
selectable: this.selected
//
},
{
label
:
'序号'
,
type
:
'index'
,
...
...
Please
register
or
sign in
to post a comment