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
db7459c7
authored
2024-01-22 10:50:17 +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
b8896702
805d31c5
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
270 additions
and
254 deletions
src/api/clxx.js
src/components/LbTable/lb-table.vue
src/views/djbworkflow/components/qlrCommonTable.vue
src/views/djbworkflow/components/ywrCommonTable.vue
src/views/djbworkflow/components/zc.vue
src/views/registerBook/components/clxx/index.vue
src/views/registerBook/components/djbDetail.vue
src/views/registerBook/fdcq1.vue
src/views/workflow/components/dialog/zslq.vue
src/views/workflow/components/qlrCommonTable.vue
src/views/workflow/components/ywrCommonTable.vue
src/views/workflow/components/zc.vue
src/views/workflow/workFrame.vue
src/views/ywbl/slsqxx/fdcq2/slxxOverview.vue
src/views/ywbl/ywsq/components/diyaq.vue
src/views/ywbl/ywsq/components/nydsyq100.vue
src/views/ywbl/ywsq/components/selectLqsc.vue
src/views/ywbl/ywsq/components/selectQjzdjbxx.vue
src/views/ywbl/ywsq/javascript/diyaq.js
src/views/ywbl/ywsq/javascript/nydsyq100.js
vue.config.js
src/api/clxx.js
View file @
db7459c
/*
* @Description: 材料信息
* @Autor: renchao
* @LastEditTime: 202
3-09-18 16:03:16
* @LastEditTime: 202
4-01-19 16:00:03
*/
import
request
from
'@/utils/request'
let
SERVER
=
window
.
config
?
window
.
config
:
JSON
.
parse
(
localStorage
.
getItem
(
'ApiUrl'
))
...
...
src/components/LbTable/lb-table.vue
View file @
db7459c
...
...
@@ -10,7 +10,7 @@
<
template
>
<div
:class=
"['lb-table', customClass]"
>
<el-table
v-if=
"!heightNumSetting"
class=
"table-fixed"
:row-style=
"
{ height:
'45
px' }" ref="elTable" :border='border'
<el-table
v-if=
"!heightNumSetting"
class=
"table-fixed"
:row-style=
"
{ height:
rowStyleHeight+'
px' }" ref="elTable" :border='border'
:row-class-name="tableRowClassName" :show-header='showHeader' @row-click="singleElection" v-bind="$attrs"
:height="tableHeight" v-on="$listeners" :data="data" style="width: 100%"
:span-method="this.merge ? this.mergeMethod : this.spanMethod">
...
...
@@ -24,7 +24,7 @@
</lb-column>
</el-table>
<el-table
v-else
ref=
"elTable"
class=
"table-fixed heightNumSetting"
:row-style=
"{ height:
'45px'
}"
<el-table
v-else
ref=
"elTable"
class=
"table-fixed heightNumSetting"
:row-style=
"{ height:
rowStyleHeight+'px'
}"
:border=
'border'
:row-class-name=
"tableRowClassName"
:show-header=
'showHeader'
@
row-click=
"singleElection"
v-bind=
"$attrs"
:max-height=
"maxHeight"
:height=
"tableHeight"
v-on=
"$listeners"
:data=
"data"
style=
"width: 100%"
:span-method=
"this.merge ? this.mergeMethod : this.spanMethod"
>
...
...
@@ -65,6 +65,10 @@
type
:
Boolean
,
default
:
true
,
},
rowStyleHeight
:
{
type
:
Number
,
default
:
45
,
},
showHeader
:
{
type
:
Boolean
,
default
:
true
,
...
...
src/views/djbworkflow/components/qlrCommonTable.vue
View file @
db7459c
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-18 1
4:22:0
6
* @LastEditTime: 2024-01-18 1
5:03:5
6
-->
<
template
>
<div>
...
...
@@ -181,6 +181,7 @@
that
.
tableDataList
=
_
.
cloneDeep
([])
}
else
{
that
.
tableDataList
=
_
.
cloneDeep
(
val
)
that
.
key
++
}
})
},
...
...
@@ -193,6 +194,7 @@
if
(
newVal
==
0
)
{
this
.
column
=
_
.
cloneDeep
(
dataList
);
this
.
tableDataList
=
_
.
cloneDeep
(
this
.
tableData
);
this
.
key
++
}
else
if
(
newVal
==
"1"
||
newVal
==
"3"
)
{
this
.
column
=
dataList
;
}
else
{
...
...
src/views/djbworkflow/components/ywrCommonTable.vue
View file @
db7459c
...
...
@@ -181,6 +181,7 @@
that
.
tableDataList
=
_
.
cloneDeep
([])
}
else
{
that
.
tableDataList
=
_
.
cloneDeep
(
val
)
that
.
key
++
}
})
},
...
...
src/views/djbworkflow/components/zc.vue
View file @
db7459c
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 202
3-10-19 16:23:02
* @LastEditTime: 202
4-01-19 16:48:37
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -41,8 +41,6 @@
import
{
popupCacel
}
from
"@/utils/popup.js"
;
import
{
mapGetters
}
from
"vuex"
;
export
default
{
computed
:
{
},
props
:
{
formData
:
{
type
:
Object
,
...
...
@@ -56,15 +54,6 @@
shyj
:
""
,
};
},
// watch: {
// yjsqOptions: {
// handler (val) {
// this.add(val.opinion);
// },
// deep: true,
// immediate: true,
// },
// },
methods
:
{
/**
* @description: submitForm
...
...
@@ -80,6 +69,7 @@
})
},
submitForm
()
{
let
that
=
this
this
.
queryForm
=
{
bsmSlsq
:
this
.
formData
.
bsmSlsq
,
shyj
:
this
.
shyj
,
...
...
@@ -87,20 +77,23 @@
};
completeTask
(
this
.
queryForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
"转件成功"
);
popupCacel
();
that
.
$message
.
success
(
"转件成功"
);
setTimeout
(()
=>
{
window
.
close
();
that
.
$emit
(
"input"
,
false
);
if
(
window
.
opener
&&
window
.
opener
.
getBpageList
)
{
window
.
opener
.
getBpageList
();
}
else
{
window
.
opener
.
frames
[
0
].
getBpageList
();
}
window
.
close
();
this
.
$emit
(
"input"
,
false
);
},
1000
);
},
360
);
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
}).
catch
((
error
)
=>
{
// 可以添加适当的错误处理
this
.
$message
.
error
(
"提交任务失败"
);
});
},
/**
...
...
src/views/registerBook/components/clxx/index.vue
View file @
db7459c
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 202
3-10-09 10:18:4
6
* @LastEditTime: 202
4-01-19 16:30:0
6
-->
<
template
>
<div
class=
"clxx"
>
...
...
@@ -45,7 +45,7 @@
<
script
>
import
store
from
'@/store/index.js'
import
imagePreview
from
"./dialog/imagePreview.vue"
;
import
{
repairInitClml
,
getClmxList
}
from
"@/api/clxx.js"
;
import
{
InitClml
,
repairInitClml
,
getClmxList
}
from
"@/api/clxx.js"
;
export
default
{
components
:
{
imagePreview
},
props
:
{
...
...
@@ -87,7 +87,7 @@
}
},
created
()
{
this
.
clmlInitList
()
this
.
clmlInitList
(
1
)
},
methods
:
{
/**
...
...
@@ -148,25 +148,51 @@
clmlInitList
(
type
)
{
// 1:列表初始化 2:新增材料
return
new
Promise
((
resolve
)
=>
{
repairInitClml
(
this
.
formData
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
resolve
(
res
.
code
);
if
(
res
.
result
&&
res
.
result
.
length
>
0
)
{
this
.
tableData
=
res
.
result
;
if
(
type
==
1
)
{
this
.
treeClick
(
this
.
tableData
[
0
],
0
);
}
else
{
//新增材料后刷新列表焦点置于新增的对象上
this
.
treeClick
(
this
.
tableData
[
this
.
tableData
.
length
-
1
],
this
.
tableData
.
length
-
1
);
if
(
this
.
formData
.
sjlx
==
2
)
{
repairInitClml
(
this
.
formData
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
resolve
(
res
.
code
);
if
(
res
.
result
&&
res
.
result
.
length
>
0
)
{
this
.
tableData
=
res
.
result
;
if
(
type
==
1
)
{
this
.
treeClick
(
this
.
tableData
[
0
],
0
);
}
else
{
//新增材料后刷新列表焦点置于新增的对象上
this
.
treeClick
(
this
.
tableData
[
this
.
tableData
.
length
-
1
],
this
.
tableData
.
length
-
1
);
}
}
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
})
})
}
else
{
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSlsq"
,
this
.
formData
.
bsmSlsq
);
formdata
.
append
(
"bsmSldy"
,
this
.
formData
.
bsmSldy
);
InitClml
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
resolve
(
res
.
code
);
if
(
res
.
result
&&
res
.
result
.
length
>
0
)
{
this
.
tableData
=
res
.
result
;
if
(
type
==
1
)
{
this
.
treeClick
(
this
.
tableData
[
0
],
0
);
}
else
{
//新增材料后刷新列表焦点置于新增的对象上
this
.
treeClick
(
this
.
tableData
[
this
.
tableData
.
length
-
1
],
this
.
tableData
.
length
-
1
);
}
}
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
})
}
})
},
/**
...
...
@@ -279,13 +305,11 @@
position
:
absolute
;
.menu-tree
{
width
:
2
0
%
;
width
:
2
6
%
;
min-width
:
160px
;
height
:
100%
;
margin-right
:
10
px
;
margin-right
:
5
px
;
border-right
:
1px
dotted
#d9d9d9
;
padding
:
0
15px
;
.item
{
line-height
:
30px
;
padding-top
:
5px
;
...
...
src/views/registerBook/components/djbDetail.vue
View file @
db7459c
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-1
8 13:35:52
* @LastEditTime: 2024-01-1
9 16:10:10
-->
<
template
>
<div
class=
"tableBox"
>
...
...
@@ -254,30 +254,28 @@
},
// 选择业务号
handleSelectYwh
(
row
,
ywh
)
{
let
that
=
this
let
sjlx
=
row
.
sjlx
,
bsmQlxx
=
row
.
bsmQlxx
getBlParamsByYwh
(
ywh
,
bsmQlxx
).
then
(
res
=>
{
let
data
=
res
.
result
this
.
$popup
(
'材料信息'
,
'registerBook/components/clxx/index'
,
{
width
:
'60%'
,
formData
:
data
if
(
sjlx
==
'系统数据'
)
{
getXtParamsByYwh
(
ywh
).
then
(
res
=>
{
let
data
=
res
.
result
that
.
$popup
(
'材料信息'
,
'registerBook/components/clxx/index'
,
{
width
:
'70%'
,
formData
:
{
...
data
,
sjlx
:
1
,
bsmSldy
:
row
.
bsmSldy
}
})
// const { href } = Router.resolve('/workFrameView?bsmSlsq=' + data.bsmSlsq + '&bsmBusiness=' + data.bsmBusiness)
// window.open(href, `urlname${new Date().getTime()}`)
})
})
// if (sjlx == '系统数据') {
// getXtParamsByYwh(ywh).then(res => {
// let data = res.result
// const { href } = Router.resolve('/workFrameView?bsmSlsq=' + data.bsmSlsq + '&bsmBusiness=' + data.bsmBusiness)
// window.open(href, `urlname${new Date().getTime()}`)
// })
// } else {
// getBlParamsByYwh(ywh, bsmQlxx).then(res => {
// let data = res.result
// this.$popup('材料信息', 'registerBook/components/clxx/index', {
// width: '60%',
// formData: data
// })
// })
// }
}
else
{
getBlParamsByYwh
(
ywh
,
bsmQlxx
).
then
(
res
=>
{
let
data
=
res
.
result
this
.
$popup
(
'材料信息'
,
'registerBook/components/clxx/index'
,
{
width
:
'70%'
,
formData
:
{
...
data
,
sjlx
:
2
}
})
})
}
}
}
}
...
...
src/views/registerBook/fdcq1.vue
View file @
db7459c
<!--
* @Description:
* @Autor: miaofang
* @LastEditTime: 2024-01-1
8 13:36:24
* @LastEditTime: 2024-01-1
9 16:09:59
-->
<
template
>
<div
class=
"djxxTable"
>
...
...
@@ -301,30 +301,28 @@
},
// 选择业务号
handleSelectYwh
(
row
,
ywh
)
{
let
that
=
this
let
sjlx
=
row
.
sjlx
,
bsmQlxx
=
row
.
bsmQlxx
getBlParamsByYwh
(
ywh
,
bsmQlxx
).
then
(
res
=>
{
let
data
=
res
.
result
this
.
$popup
(
'材料信息'
,
'registerBook/components/clxx/index'
,
{
width
:
'60%'
,
formData
:
data
if
(
sjlx
==
'系统数据'
)
{
getXtParamsByYwh
(
ywh
).
then
(
res
=>
{
let
data
=
res
.
result
that
.
$popup
(
'材料信息'
,
'registerBook/components/clxx/index'
,
{
width
:
'70%'
,
formData
:
{
...
data
,
sjlx
:
1
,
bsmSldy
:
row
.
bsmSldy
}
})
// const { href } = Router.resolve('/workFrameView?bsmSlsq=' + data.bsmSlsq + '&bsmBusiness=' + data.bsmBusiness)
// window.open(href, `urlname${new Date().getTime()}`)
})
})
// if (sjlx == '系统数据') {
// getXtParamsByYwh(ywh).then(res => {
// let data = res.result
// const { href } = Router.resolve('/workFrameView?bsmSlsq=' + data.bsmSlsq + '&bsmBusiness=' + data.bsmBusiness)
// window.open(href, `urlname${new Date().getTime()}`)
// })
// } else {
// getBlParamsByYwh(ywh, bsmQlxx).then(res => {
// let data = res.result
// this.$popup('材料信息', 'registerBook/components/clxx/index', {
// width: '60%',
// formData: data
// })
// })
// }
}
else
{
getBlParamsByYwh
(
ywh
,
bsmQlxx
).
then
(
res
=>
{
let
data
=
res
.
result
this
.
$popup
(
'材料信息'
,
'registerBook/components/clxx/index'
,
{
width
:
'70%'
,
formData
:
{
...
data
,
sjlx
:
2
}
})
})
}
}
}
};
...
...
src/views/workflow/components/dialog/zslq.vue
View file @
db7459c
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 202
3-12-18 09:24:03
* @LastEditTime: 202
4-01-19 14:45:09
-->
<
template
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"100px"
>
...
...
src/views/workflow/components/qlrCommonTable.vue
View file @
db7459c
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 202
3-12-15 09:35:06
* @LastEditTime: 202
4-01-18 14:55:20
-->
<
template
>
<div>
<lb-table
:column=
"column"
:pagination=
"false"
:key=
"key"
:heightNumSetting=
"true"
:minHeight=
"0"
<lb-table
:column=
"column"
:pagination=
"false"
:key=
"key"
:heightNumSetting=
"true"
:minHeight=
"0"
:rowStyleHeight=
'25'
:data=
"tableDataList"
>
</lb-table>
<addQlr
v-model=
"dialog"
:details=
"details"
:showButton=
"disabled"
@
updateDetail=
"handleupdateDetail"
/>
...
...
@@ -126,6 +126,7 @@
if
(
val
.
length
==
0
||
!
val
)
{
}
else
{
that
.
tableDataList
=
_
.
cloneDeep
(
val
)
that
.
key
++
}
})
},
...
...
@@ -138,6 +139,7 @@
if
(
newVal
==
0
)
{
this
.
column
=
_
.
cloneDeep
(
dataList
)
this
.
tableDataList
=
_
.
cloneDeep
(
this
.
tableData
)
this
.
key
++
}
else
if
((
newVal
==
'1'
||
newVal
==
'3'
))
{
this
.
column
=
dataList
}
else
{
...
...
@@ -329,6 +331,9 @@
}
</
script
>
<
style
scoped
lang=
"scss"
>
/
deep
/
.el-table--small
.el-table__cell
{
padding
:
0
0
!important
;
}
/
deep
/
.el-table
th
{
height
:
30px
!important
;
}
...
...
src/views/workflow/components/ywrCommonTable.vue
View file @
db7459c
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-18 1
4:21:08
* @LastEditTime: 2024-01-18 1
5:03:10
-->
<
template
>
<div>
<lb-table
:column=
"column"
:pagination=
"false"
:key=
"key"
:heightNumSetting=
"true"
:minHeight=
"0"
<lb-table
:column=
"column"
:pagination=
"false"
:key=
"key"
:heightNumSetting=
"true"
:minHeight=
"0"
:rowStyleHeight=
'25'
:data=
"tableDataList"
>
</lb-table>
<addQlr
v-model=
"dialog"
:details=
"details"
:showButton=
"disabled"
@
updateDetail=
"handleupdateDetail"
/>
...
...
@@ -126,6 +126,7 @@
if
(
val
.
length
==
0
||
!
val
)
{
}
else
{
that
.
tableDataList
=
_
.
cloneDeep
(
val
)
this
.
key
++
}
})
},
...
...
@@ -138,6 +139,7 @@
if
(
newVal
==
0
)
{
this
.
column
=
_
.
cloneDeep
(
dataList
)
this
.
tableDataList
=
_
.
cloneDeep
(
this
.
tableData
)
this
.
key
++
}
else
if
((
newVal
==
'1'
||
newVal
==
'3'
))
{
this
.
column
=
dataList
}
else
{
...
...
@@ -301,10 +303,16 @@
}
</
script
>
<
style
scoped
lang=
"scss"
>
/
deep
/
.el-table--small
.el-table__cell
{
padding
:
0
0
!important
;
}
/
deep
/
.el-table
th
{
height
:
30px
!important
;
}
/
deep
/
.el-table
.cell
{
padding-right
:
12px
;
}
/
deep
/
.el-table__body-wrapper
{
height
:
auto
!important
;
}
</
style
>
...
...
src/views/workflow/components/zc.vue
View file @
db7459c
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 202
3-05-17 10:42:01
* @LastEditTime: 202
4-01-19 16:43:43
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -102,15 +102,14 @@
this
.
$message
.
success
(
"转件成功"
);
popupCacel
();
setTimeout
(()
=>
{
// window.opener.location.reload(); //刷新父窗口
window
.
close
();
this
.
$emit
(
"input"
,
false
);
if
(
window
.
opener
&&
window
.
opener
.
getBpageList
)
{
window
.
opener
.
getBpageList
();
}
else
{
window
.
opener
.
frames
[
0
].
getBpageList
();
}
window
.
close
();
this
.
$emit
(
"input"
,
false
);
},
1000
);
},
360
);
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
...
...
src/views/workflow/workFrame.vue
View file @
db7459c
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-18 1
0:11:3
2
* @LastEditTime: 2024-01-18 1
4:37:4
2
-->
<
template
>
<div
class=
"container"
>
...
...
src/views/ywbl/slsqxx/fdcq2/slxxOverview.vue
View file @
db7459c
<!--
* @Description: 受理信息
* @Autor: renchao
* @LastEditTime: 202
3-11-15 15:47:02
* @LastEditTime: 202
4-01-18 16:19:51
-->
<
template
>
<div
class=
"slxx"
>
...
...
@@ -132,8 +132,8 @@
<el-col
:span=
"5"
>
<el-form-item
label=
"发证方式:"
:disabled=
"!viewEdit"
>
<el-radio-group
v-model=
"ruleForm.slsq.fzfs"
>
<el-radio
label=
"1"
>
小证
</el-radio>
<el-radio
label=
"2"
>
大证
</el-radio>
<el-radio
label=
"1"
>
小证
</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
...
...
src/views/ywbl/ywsq/components/diyaq.vue
View file @
db7459c
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-1
8 08:38:32
* @LastEditTime: 2024-01-1
9 13:40:53
-->
<
template
>
<!-- 抵押权利信息查询 -->
...
...
@@ -60,7 +60,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>
...
...
@@ -88,6 +88,7 @@
},
data
()
{
return
{
radioVal
:
''
,
loading
:
false
,
queryForm
:
defaultParameters
.
defaultParameters
(),
qllxs
:
[],
...
...
@@ -101,6 +102,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
:
{
/**
...
...
@@ -177,48 +200,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
)
}
},
/**
...
...
@@ -226,7 +223,7 @@
* @param {*} row
* @author: renchao
*/
open
Book
(
row
)
{
open
Dialog
(
row
)
{
var
param
=
{
bdcdyid
:
row
.
bdcdyid
,
qllx
:
row
.
qllx
,
...
...
src/views/ywbl/ywsq/components/nydsyq100.vue
View file @
db7459c
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-1
7 17:25:09
* @LastEditTime: 2024-01-1
8 15:56:28
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -33,7 +33,7 @@
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"
8
"
class=
"btnColRight"
>
<el-col
:span=
"
24
"
class=
"btnColRight"
>
<el-form-item>
<el-button
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
type=
"primary"
@
click=
"resetForm(true)"
>
重置
</el-button>
...
...
@@ -45,7 +45,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>
...
...
@@ -74,6 +74,7 @@
},
data
()
{
return
{
radioVal
:
''
,
loading
:
false
,
queryForm
:
defaultParameters
.
defaultParameters
(),
tableData
:
{
...
...
@@ -86,6 +87,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
:
{
/**
...
...
@@ -158,21 +181,9 @@
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
)
this
.
bdcdysz
=
arr
},
/**
* @description: handleRowClick
...
...
@@ -181,26 +192,12 @@
*/
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/selectLqsc.vue
View file @
db7459c
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 202
3-11-16 14:12:35
* @LastEditTime: 202
4-01-19 13:35:33
-->
<
template
>
<div
class=
"from-clues"
>
<!-- 表单部分 林权首次 -->
<div
class=
"from-clues-header"
>
<el-form
:model=
"queryForm"
ref=
"queryForm"
>
<el-row
:gutter=
"20"
>
<el-form
:model=
"queryForm"
ref=
"queryForm"
label-width=
"100px"
>
<el-row>
<el-col
:span=
"6"
>
<el-form-item
label=
"宗地代码"
>
<el-input
placeholder=
"请输入宗地代码"
maxlength=
"19"
v-model=
"queryForm.zddm"
clearable
class=
"width100"
>
...
...
@@ -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
:
{
/**
...
...
@@ -157,49 +192,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/selectQjzdjbxx.vue
View file @
db7459c
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-1
7 14:17:17
* @LastEditTime: 2024-01-1
9 16:25:18
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -195,6 +195,7 @@
},
handleChange
()
{
let
arr
=
this
.
tableData
.
data
.
filter
(
item
=>
item
.
bdcdyid
==
this
.
radioVal
)
arr
[
0
].
bsm
=
arr
[
0
].
zdbsm
this
.
bdcdysz
=
arr
},
/**
...
...
@@ -204,31 +205,12 @@
*/
handleRowClick
(
row
)
{
// 如果状态是1,那就是单选
// 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);
// }
// } else {
// this.$refs.table.toggleRowSelection(row);
// }
let
refs
=
'table'
;
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
row
.
bsm
=
row
.
zdbsm
this
.
bdcdysz
=
[
row
]
this
.
radioVal
=
row
.
bdcdyid
}
else
{
this
.
$refs
[
refs
].
toggleRowSelection
(
row
)
}
...
...
src/views/ywbl/ywsq/javascript/diyaq.js
View file @
db7459c
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-1
8 08:37:55
* @LastEditTime: 2024-01-1
9 13:40:07
*/
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'
,
...
...
src/views/ywbl/ywsq/javascript/nydsyq100.js
View file @
db7459c
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 202
3-09-21 16:18:47
* @LastEditTime: 202
4-01-18 15:57:18
*/
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'
,
...
...
vue.config.js
View file @
db7459c
...
...
@@ -60,16 +60,16 @@ module.exports = {
app
:
'./src/main.js'
},
externals
:
[{
'./cptable'
:
'var cptable'
}],
'./cptable'
:
'var cptable'
}],
resolve
:
{
alias
:
{
'@'
:
resolve
(
'src'
)
}
},
output
:
{
// 输出重构 打包编译后的 文件名称 【模块名称.版本号.时间戳】
filename
:
`static/js/[name].
${
Timestamp
}
.js`
,
chunkFilename
:
`static/js/[name].
${
Timestamp
}
.js`
output
:
{
filename
:
`static/js/[name].
[hash]
.js`
,
chunkFilename
:
`static/js/[name].
[hash].js`
,
},
devtool
:
process
.
env
.
NODE_ENV
===
'development'
?
'#eval-source-map'
:
false
},
...
...
Please
register
or
sign in
to post a comment