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
1e7b4fd3
authored
2023-06-16 09:45:25 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:业务申请
1 parent
545aa6a9
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
622 additions
and
619 deletions
src/views/ywbl/ywsq/components/cfdj.vue
src/views/ywbl/ywsq/components/diyaq.vue
src/views/ywbl/ywsq/components/fwsyq.vue
src/views/ywbl/ywsq/components/nydsyq100.vue
src/views/ywbl/ywsq/components/nydsyq200.vue
src/views/ywbl/ywsq/components/selecBdcql.vue
src/views/ywbl/ywsq/components/selectDjbbl.vue
src/views/ywbl/ywsq/components/selectFwsyq.vue
src/views/ywbl/ywsq/components/selectH.vue
src/views/ywbl/ywsq/components/selectJsydsyq.vue
src/views/ywbl/ywsq/components/selectJsydsyqSplitMerge.vue
src/views/ywbl/ywsq/components/selectQjzdjbxx.vue
src/views/ywbl/ywsq/components/selectYgdj200.vue
src/views/ywbl/ywsq/components/selectYgdy.vue
src/views/ywbl/ywsq/components/selectZrzH.vue
src/views/ywbl/ywsq/components/cfdj.vue
View file @
1e7b4fd
...
...
@@ -11,8 +11,7 @@
maxlength=
"28"
v-model=
"queryForm.bdcdyh"
clearable
class=
"width200px"
></el-input>
class=
"width200px"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
...
...
@@ -26,8 +25,7 @@
placeholder=
"请输入不动产权证号"
v-model=
"queryForm.cfwh"
clearable
class=
"width200px"
></el-input>
class=
"width200px"
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -60,8 +58,7 @@
@
p-current-change=
"handleCurrentChange"
@
selection-change=
"handleSelectionChange"
:column=
"tableData.columns"
:data=
"tableData.data"
></lb-table>
:data=
"tableData.data"
></lb-table>
</div>
<div
class=
"submit_button"
>
<el-button
@
click=
"$popupCacel"
>
取消
</el-button>
...
...
@@ -70,134 +67,140 @@
</div>
</
template
>
<
script
>
//查封登记
import
store
from
"@/store/index.js"
;
import
{
datas
,
sendThis
}
from
"../javascript/cfdj.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
table
from
"@/utils/mixin/table"
;
import
jump
from
"../components/mixin/jump"
;
import
{
selectCfdj
,
startBusinessFlow
,
choiceBdcdy
}
from
"@/api/ywbl.js"
;
export
default
{
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{}
},
},
mixins
:
[
table
,
jump
],
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
},
bdcdysz
:
[],
bsmSqyw
:
this
.
sqywInfo
.
nodetype
===
"djlx"
?
this
.
sqywInfo
.
bsmSqyw
:
this
.
sqywInfo
.
parentid
,
};
},
mounted
()
{
sendThis
(
this
);
},
methods
:
{
queryClick
()
{
console
.
log
(
"申请业务单一流向状态"
,
this
.
sqywInfo
.
sqywdylx
);
this
.
$startLoading
();
selectCfdj
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
this
.
$endLoading
();
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
;
this
.
tableData
.
total
=
total
;
this
.
tableData
.
data
=
records
;
}
});
},
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
return
;
}
if
(
!
this
.
isJump
)
{
startBusinessFlow
({
bsmSqyw
:
this
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"发起申请成功"
,
type
:
"success"
,
});
this
.
jump
(
res
.
result
,
this
.
sqywInfo
.
djywbm
);
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
});
}
else
{
choiceBdcdy
({
bsmSlsq
:
this
.
$route
.
query
.
bsmSlsq
,
bdcdysz
:
this
.
bdcdysz
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"发起申请成功"
,
type
:
"success"
,
});
store
.
dispatch
(
"user/refreshPage"
,
true
);
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
this
.
$popupCacel
();
});
}
//查封登记
import
store
from
"@/store/index.js"
;
import
{
datas
,
sendThis
}
from
"../javascript/cfdj.js"
;
import
{
defaultParameters
}
from
"../javascript/publicDefaultPar.js"
;
import
table
from
"@/utils/mixin/table"
;
import
jump
from
"../components/mixin/jump"
;
import
{
selectCfdj
,
startBusinessFlow
,
choiceBdcdy
}
from
"@/api/ywbl.js"
;
export
default
{
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{
}
},
},
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
;
mixins
:
[
table
,
jump
],
data
()
{
return
{
queryForm
:
defaultParameters
.
defaultParameters
(),
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[],
},
bdcdysz
:
[],
bsmSqyw
:
this
.
sqywInfo
.
nodetype
===
"djlx"
?
this
.
sqywInfo
.
bsmSqyw
:
this
.
sqywInfo
.
parentid
,
};
},
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
this
.
$refs
.
table
.
clearSelection
();
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if
(
selection
.
length
==
0
)
return
;
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
mounted
()
{
sendThis
(
this
);
},
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
);
methods
:
{
queryClick
()
{
console
.
log
(
"申请业务单一流向状态"
,
this
.
sqywInfo
.
sqywdylx
);
this
.
$startLoading
();
selectCfdj
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
this
.
$endLoading
();
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
;
this
.
tableData
.
total
=
total
;
this
.
tableData
.
data
=
records
;
}
});
},
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
return
;
}
if
(
!
this
.
isJump
)
{
startBusinessFlow
({
bsmSqyw
:
this
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djqx"
?
this
.
sqywInfo
.
nodename
:
""
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"发起申请成功"
,
type
:
"success"
,
});
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
sqywInfo
.
djywbm
);
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
true
);
}
this
.
$popupCacel
()
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
});
}
else
{
choiceBdcdy
({
bsmSlsq
:
this
.
$route
.
query
.
bsmSlsq
,
bdcdysz
:
this
.
bdcdysz
,
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
"发起申请成功"
,
type
:
"success"
,
});
store
.
dispatch
(
"user/refreshPage"
,
true
);
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
this
.
$popupCacel
();
});
}
},
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
;
},
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
this
.
$refs
.
table
.
clearSelection
();
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if
(
selection
.
length
==
0
)
return
;
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
}
else
{
this
.
$refs
.
table
.
toggleRowSelection
(
row
);
}
},
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
);
}
},
},
},
};
};
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
</
style
>
...
...
src/views/ywbl/ywsq/components/diyaq.vue
View file @
1e7b4fd
...
...
@@ -43,7 +43,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"
@
select=
"select"
@
p-current-change=
"handleCurrentChange"
@
selection-change=
"handleSelectionChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
...
...
@@ -83,9 +83,7 @@
sendThis
(
this
);
},
methods
:
{
queryClick
()
{
console
.
log
(
"申请业务单一流向状态"
,
this
.
sqywInfo
.
sqywdylx
);
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectDiyaq
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
...
...
@@ -119,48 +117,48 @@
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
true
);
}
this
.
$popupCacel
()
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
this
.
$popupCacel
()
})
},
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
;
},
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
this
.
$refs
.
table
.
clearSelection
()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if
(
selection
.
length
==
0
)
return
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
this
.
$refs
.
table
.
clearSelection
()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if
(
selection
.
length
==
0
)
return
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
},
handleRowClick
(
row
)
{
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
{
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
);
}
}
},
},
};
...
...
src/views/ywbl/ywsq/components/fwsyq.vue
View file @
1e7b4fd
...
...
@@ -171,7 +171,7 @@
},
methods
:
{
queryClick
()
{
console
.
log
(
"申请业务单一流向状态"
,
this
.
sqywInfo
.
sqywdylx
);
console
.
log
(
"申请业务单一流向状态"
,
this
.
sqywInfo
.
sqywdylx
);
this
.
$startLoading
();
if
(
!
this
.
isJump
)
{
//从业务办理进入
...
...
@@ -235,7 +235,12 @@
message
:
'发起申请成功'
,
type
:
'success'
})
this
.
jump
(
res
.
result
,
this
.
djywbm
)
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
sqywInfo
.
djywbm
);
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
true
);
}
this
.
$popupCacel
()
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
...
...
@@ -275,40 +280,40 @@
}
})
},
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
this
.
$refs
.
table
.
clearSelection
()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if
(
selection
.
length
==
0
)
return
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
this
.
$refs
.
table
.
clearSelection
()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if
(
selection
.
length
==
0
)
return
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
},
handleRowClick
(
row
)
{
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
{
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
);
}
}
},
}
}
...
...
src/views/ywbl/ywsq/components/nydsyq100.vue
View file @
1e7b4fd
...
...
@@ -106,48 +106,48 @@
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
true
);
}
this
.
$popupCacel
()
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
this
.
$popupCacel
()
})
},
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
;
},
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
this
.
$refs
.
table
.
clearSelection
()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if
(
selection
.
length
==
0
)
return
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
this
.
$refs
.
table
.
clearSelection
()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if
(
selection
.
length
==
0
)
return
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
},
handleRowClick
(
row
)
{
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
{
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
);
}
}
},
}
}
...
...
src/views/ywbl/ywsq/components/nydsyq200.vue
View file @
1e7b4fd
...
...
@@ -70,7 +70,7 @@
},
methods
:
{
queryClick
()
{
console
.
log
(
"申请业务单一流向状态"
,
this
.
sqywInfo
.
sqywdylx
);
console
.
log
(
"申请业务单一流向状态"
,
this
.
sqywInfo
.
sqywdylx
);
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectNydsyqQlxx
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
...
...
@@ -104,10 +104,10 @@
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
true
);
}
this
.
$popupCacel
()
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
this
.
$popupCacel
()
})
},
handleSelectionChange
(
val
)
{
...
...
@@ -119,39 +119,39 @@
formData
:
param
})
},
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
this
.
$refs
.
table
.
clearSelection
()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if
(
selection
.
length
==
0
)
return
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
this
.
$refs
.
table
.
clearSelection
()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if
(
selection
.
length
==
0
)
return
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
},
handleRowClick
(
row
)
{
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
{
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
);
}
}
},
}
}
...
...
src/views/ywbl/ywsq/components/selecBdcql.vue
View file @
1e7b4fd
...
...
@@ -98,7 +98,7 @@
methods
:
{
//默认加载表格信息
queryClick
()
{
console
.
log
(
"申请业务单一流向状态"
,
this
.
sqywInfo
.
sqywdylx
);
console
.
log
(
"申请业务单一流向状态"
,
this
.
sqywInfo
.
sqywdylx
);
this
.
$startLoading
();
this
.
queryForm
.
bsmSqyw
=
this
.
bsmSqyw
;
selectQlxx
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
...
...
@@ -132,48 +132,48 @@
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
true
);
}
this
.
$popupCacel
()
}
else
{
this
.
$
alert
(
res
.
message
);
this
.
$
message
.
error
(
res
.
message
)
}
this
.
$popupCacel
()
})
},
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
;
},
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
this
.
$refs
.
table
.
clearSelection
()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if
(
selection
.
length
==
0
)
return
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
this
.
$refs
.
table
.
clearSelection
()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if
(
selection
.
length
==
0
)
return
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
},
handleRowClick
(
row
)
{
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
{
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
);
}
}
},
},
};
...
...
src/views/ywbl/ywsq/components/selectDjbbl.vue
View file @
1e7b4fd
...
...
@@ -30,130 +30,124 @@
</el-col>
<el-col
:span=
"4"
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-button
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-form>
</div>
<!-- 表格 -->
<div
class=
"from-clues-content loadingtext"
>
<div
class=
"from-clues-content loadingtext"
>
<lb-table
ref=
"table"
@
row-click=
"handleRowClick"
:page-size=
"pageData.size"
class=
"loadingtext"
:current-page
.
sync=
"pageData.current"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
@
selection-change=
"handleSelectionChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
@
p-current-change=
"handleCurrentChange"
@
selection-change=
"handleSelectionChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
</div>
<div
class=
"submit_button"
>
<div
class=
"submit_button"
>
<el-button
@
click=
"$popupCacel"
>
取消
</el-button>
<el-button
type=
"primary"
plain
@
click=
"submitForm"
>
发起申请
</el-button>
</div>
</div>
</
template
>
<
script
>
import
{
mapGetters
}
from
"vuex"
;
import
{
startRepairFlow
}
from
"@/api/ywbl.js"
;
import
store
from
'@/store/index.js'
import
table
from
"@/utils/mixin/table"
;
import
{
datas
,
sendThis
}
from
"../javascript/selectDjbbl.js"
;
import
{
getDjbBysearch
}
from
"@/api/zhcx.js"
;
import
jump
from
"../components/mixin/jump"
;
export
default
{
name
:
"djbcx"
,
mixins
:
[
table
,
jump
],
mounted
()
{
sendThis
(
this
);
this
.
queryClick
()
},
props
:
{
import
{
mapGetters
}
from
"vuex"
;
import
{
startRepairFlow
}
from
"@/api/ywbl.js"
;
import
store
from
'@/store/index.js'
import
table
from
"@/utils/mixin/table"
;
import
{
datas
,
sendThis
}
from
"../javascript/selectDjbbl.js"
;
import
{
getDjbBysearch
}
from
"@/api/zhcx.js"
;
import
jump
from
"../components/mixin/jump"
;
export
default
{
name
:
"djbcx"
,
mixins
:
[
table
,
jump
],
mounted
()
{
sendThis
(
this
);
this
.
queryClick
()
},
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
sqywInfo
:
{
type
:
Object
,
default
:
()
=>
{
}
},
},
data
()
{
return
{
bdcdysz
:
[],
queryForm
:
{
zl
:
""
,
bdcdyh
:
""
,
bdcqzh
:
""
,
ywh
:
""
,
},
pageData
:
{
current
:
1
,
size
:
10
,
total
:
0
,
},
tableData
:
{
columns
:
datas
.
columns
(),
data
:
[],
},
qllxs
:
[],
isDialog
:
false
,
djbxxData
:
{},
bsmSqyw
:
data
()
{
return
{
bdcdysz
:
[],
queryForm
:
{
zl
:
""
,
bdcdyh
:
""
,
bdcqzh
:
""
,
ywh
:
""
,
},
pageData
:
{
current
:
1
,
size
:
10
,
total
:
0
,
},
tableData
:
{
columns
:
datas
.
columns
(),
data
:
[],
},
qllxs
:
[],
isDialog
:
false
,
djbxxData
:
{},
bsmSqyw
:
this
.
sqywInfo
.
nodetype
===
"djlx"
?
this
.
sqywInfo
.
bsmSqyw
:
this
.
sqywInfo
.
parentid
,
};
},
computed
:
{
// ...mapGetters(["dictData"]),
},
methods
:
{
// 初始化数据
queryClick
()
{
this
.
$startLoading
()
getDjbBysearch
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
this
.
$endLoading
()
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
;
this
.
tableData
.
data
=
records
;
this
.
tableData
.
total
=
total
;
}
});
};
},
// handleSort (name, sort) {
// console.log(name, sort);
// },
// 高级查询
moreQueryClick
()
{
},
// openDialog (scroll) {
// this.$popupDialog('登记簿详情', 'registerBook/djbFrame', scroll, '85%');
// },
// handleLpbClick (item) {
// this.$popupDialog('楼盘表', 'lpb/index', {
// bsm: ''
// }, '85%')
// },
ywhClick
(
item
)
{
methods
:
{
// 初始化数据
queryClick
()
{
this
.
$startLoading
()
getDjbBysearch
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
this
.
$endLoading
()
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
;
this
.
tableData
.
data
=
records
;
this
.
tableData
.
total
=
total
;
}
});
},
// 高级查询
moreQueryClick
()
{
},
// openDialog (scroll) {
// this.$popupDialog('登记簿详情', 'registerBook/djbFrame', scroll, '85%');
// },
// handleLpbClick (item) {
// this.$popupDialog('楼盘表', 'lpb/index', {
// bsm: ''
// }, '85%')
// },
ywhClick
(
item
)
{
const
{
href
}
=
this
.
$router
.
resolve
(
"/djbworkFrame?bdcdyid="
+
item
.
bdcdyid
+
"&bdcdyh="
+
item
.
bdcdyh
+
"&qllx="
+
item
.
qllx
+
"&bsmQlxx="
+
item
.
bsmQlxx
+
"/djbworkFrame?bdcdyid="
+
item
.
bdcdyid
+
"&bdcdyh="
+
item
.
bdcdyh
+
"&qllx="
+
item
.
qllx
+
"&bsmQlxx="
+
item
.
bsmQlxx
+
"&viewtype=1"
);
);
localStorage
.
setItem
(
'ywbl'
,
JSON
.
stringify
(
item
));
window
.
open
(
href
,
`urlname
${
item
.
bdcdyid
}
`
);
},
submitForm
()
{
submitForm
()
{
if
(
this
.
bdcdysz
.
length
==
0
)
{
this
.
$message
.
error
(
"请至少选择一条数据"
);
return
;
}
console
.
log
(
"this.sqywInfo"
,
this
.
sqywInfo
,
this
.
sqywInfo
.
nodetype
==
"djqx"
);
let
from
=
{
console
.
log
(
"this.sqywInfo"
,
this
.
sqywInfo
,
this
.
sqywInfo
.
nodetype
==
"djqx"
);
let
from
=
{
bsmSqyw
:
this
.
bsmSqyw
,
bdcdysz
:
this
.
bdcdysz
,
djqxbm
:
this
.
sqywInfo
.
nodetype
==
"djlx"
?
this
.
sqywInfo
.
nodecode
:
""
,
djqxmc
:
this
.
sqywInfo
.
nodetype
==
"djlx"
?
this
.
sqywInfo
.
nodename
:
""
,
}
console
.
log
(
"发起申请传参"
,
from
,
this
.
sqywInfo
);
console
.
log
(
"发起申请传参"
,
from
,
this
.
sqywInfo
);
startRepairFlow
(
from
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
...
...
@@ -166,58 +160,58 @@ export default {
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
true
);
}
this
.
$popupCacel
()
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
this
.
$popupCacel
()
})
},
handleSelectionChange
(
val
)
{
console
.
log
(
"val"
,
val
);
console
.
log
(
"val"
,
val
);
this
.
bdcdysz
=
val
;
},
handleRowClick
(
row
)
{
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
{
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
);
}
}
},
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/public.scss"
;
.icon-circle
{
position
:
relative
;
}
.icon-circle
{
position
:
relative
;
}
.icon-circle
::before
{
content
:
""
;
width
:
4px
;
height
:
4px
;
border-radius
:
50%
;
background
:
#000
;
top
:
0px
;
left
:
0px
;
}
.icon-circle
::before
{
content
:
""
;
width
:
4px
;
height
:
4px
;
border-radius
:
50%
;
background
:
#000
;
top
:
0px
;
left
:
0px
;
}
</
style
>
...
...
src/views/ywbl/ywsq/components/selectFwsyq.vue
View file @
1e7b4fd
...
...
@@ -75,7 +75,7 @@
},
methods
:
{
queryClick
()
{
console
.
log
(
"申请业务单一流向状态"
,
this
.
sqywInfo
.
sqywdylx
);
console
.
log
(
"申请业务单一流向状态"
,
this
.
sqywInfo
.
sqywdylx
);
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectFwsyq
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
...
...
@@ -109,48 +109,48 @@
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
true
);
}
this
.
$popupCacel
()
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
this
.
$popupCacel
()
})
},
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
;
},
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
this
.
$refs
.
table
.
clearSelection
()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if
(
selection
.
length
==
0
)
return
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
this
.
$refs
.
table
.
clearSelection
()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if
(
selection
.
length
==
0
)
return
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
},
handleRowClick
(
row
)
{
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
{
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
);
}
}
},
},
};
...
...
src/views/ywbl/ywsq/components/selectH.vue
View file @
1e7b4fd
...
...
@@ -75,7 +75,7 @@
},
methods
:
{
queryClick
()
{
console
.
log
(
"申请业务单一流向状态"
,
this
.
sqywInfo
.
sqywdylx
);
console
.
log
(
"申请业务单一流向状态"
,
this
.
sqywInfo
.
sqywdylx
);
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectHQjdc
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
...
...
@@ -109,48 +109,48 @@
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
true
);
}
this
.
$popupCacel
()
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
this
.
$popupCacel
()
})
},
handleSelectionChange
(
val
)
{
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
;
},
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
this
.
$refs
.
table
.
clearSelection
()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if
(
selection
.
length
==
0
)
return
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
this
.
$refs
.
table
.
clearSelection
()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if
(
selection
.
length
==
0
)
return
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
},
handleRowClick
(
row
)
{
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
{
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
);
}
}
},
},
};
...
...
src/views/ywbl/ywsq/components/selectJsydsyq.vue
View file @
1e7b4fd
...
...
@@ -83,7 +83,7 @@
},
methods
:
{
queryClick
()
{
console
.
log
(
"申请业务单一流向状态"
,
this
.
sqywInfo
.
sqywdylx
);
console
.
log
(
"申请业务单一流向状态"
,
this
.
sqywInfo
.
sqywdylx
);
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectJsydQlxx
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
...
...
@@ -117,13 +117,13 @@
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
true
);
}
this
.
$popupCacel
()
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
this
.
$popupCacel
()
})
},
handleSelectionChange
(
val
)
{
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
;
},
openBook
(
row
)
{
...
...
@@ -137,39 +137,39 @@
formData
:
param
})
},
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
this
.
$refs
.
table
.
clearSelection
()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if
(
selection
.
length
==
0
)
return
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
this
.
$refs
.
table
.
clearSelection
()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if
(
selection
.
length
==
0
)
return
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
},
handleRowClick
(
row
)
{
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
{
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
);
}
}
},
}
}
...
...
src/views/ywbl/ywsq/components/selectJsydsyqSplitMerge.vue
View file @
1e7b4fd
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-06-1
5 16:59:40
* @LastEditTime: 2023-06-1
6 09:37:51
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -47,9 +47,6 @@
<!-- 表格 -->
<div
class=
"from-clues-content loadingtext"
>
分割合并前权利信息
<!--
<lb-table
ref=
"table"
@
row-click=
"handleRowClick"
heightNumSetting
:pagination=
false
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
-->
<el-table
:data=
"tableData.data"
height=
"230"
...
...
@@ -193,6 +190,12 @@
methods
:
{
// 单选事件
close
()
{
this
.
tableData
.
data
.
forEach
(
item
=>
{
if
(
this
.
radioVal
==
item
.
bhqkbsm
)
{
item
.
bglx
=
'1'
this
.
bdcdysz
[
0
]
=
item
}
})
this
.
queryForm
.
bhqkbsm
=
this
.
radioVal
selectZdjbxxSplitMergeLast
({
...
this
.
queryForm
}).
then
((
res
)
=>
{
this
.
$endLoading
();
...
...
@@ -217,12 +220,11 @@
});
},
handleRowClick
(
val
)
{
this
.
radioVal
=
val
.
bhqkbsm
let
obj
=
val
obj
.
bglx
=
'1'
;
this
.
bdcdysz
[
0
]
=
obj
this
.
close
()
// this.radioVal = val.bhqkbsm
// let obj = val
// obj.bglx = '1';
// this.bdcdysz[0] = obj
// this.close()
},
submitForm
()
{
startBusinessFlow
({
...
...
@@ -242,10 +244,10 @@
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
true
);
}
this
.
$popupCacel
()
}
else
{
this
.
$message
.
error
(
res
.
message
)
}
this
.
$popupCacel
()
})
},
openBook
(
row
)
{
...
...
src/views/ywbl/ywsq/components/selectQjzdjbxx.vue
View file @
1e7b4fd
...
...
@@ -114,10 +114,11 @@
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
true
);
}
this
.
$popupCacel
()
}
else
{
this
.
$
alert
(
res
.
message
);
this
.
$
message
.
error
(
res
.
message
)
}
this
.
$popupCacel
()
})
},
handleSelectionChange
(
val
)
{
...
...
src/views/ywbl/ywsq/components/selectYgdj200.vue
View file @
1e7b4fd
...
...
@@ -75,7 +75,7 @@
},
methods
:
{
queryClick
()
{
console
.
log
(
"申请业务单一流向状态"
,
this
.
sqywInfo
.
sqywdylx
);
console
.
log
(
"申请业务单一流向状态"
,
this
.
sqywInfo
.
sqywdylx
);
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectYgdj200
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
...
...
@@ -108,49 +108,49 @@
this
.
jump
(
res
.
result
,
this
.
sqywInfo
.
djywbm
)
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
true
);
this
.
$popupCacel
()
}
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
this
.
$popupCacel
()
})
},
handleSelectionChange
(
val
)
{
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
;
},
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
this
.
$refs
.
table
.
clearSelection
()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if
(
selection
.
length
==
0
)
return
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
this
.
$refs
.
table
.
clearSelection
()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if
(
selection
.
length
==
0
)
return
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
},
handleRowClick
(
row
)
{
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
{
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
);
}
}
},
},
};
...
...
src/views/ywbl/ywsq/components/selectYgdy.vue
View file @
1e7b4fd
...
...
@@ -75,7 +75,7 @@
},
methods
:
{
queryClick
()
{
console
.
log
(
"申请业务单一流向状态"
,
this
.
sqywInfo
.
sqywdylx
);
console
.
log
(
"申请业务单一流向状态"
,
this
.
sqywInfo
.
sqywdylx
);
this
.
$startLoading
();
this
.
queryForm
.
sqywbm
=
this
.
sqywInfo
.
djywbm
;
selectYgdy
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
...
...
@@ -109,48 +109,48 @@
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
true
);
}
this
.
$popupCacel
()
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
this
.
$popupCacel
()
})
},
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
;
},
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
this
.
$refs
.
table
.
clearSelection
()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if
(
selection
.
length
==
0
)
return
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
this
.
$refs
.
table
.
clearSelection
()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if
(
selection
.
length
==
0
)
return
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
},
handleRowClick
(
row
)
{
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
{
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
);
}
}
},
},
};
...
...
src/views/ywbl/ywsq/components/selectZrzH.vue
View file @
1e7b4fd
...
...
@@ -75,10 +75,10 @@
sendThis
(
this
);
},
methods
:
{
queryClick
()
{
queryClick
()
{
this
.
$startLoading
();
this
.
queryForm
.
zrzbsm
=
this
.
sqywInfo
.
zrzbsm
;
selectHQjdc
({...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
selectHQjdc
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
this
.
$endLoading
();
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
;
...
...
@@ -109,48 +109,48 @@
}
else
{
store
.
dispatch
(
'user/refreshPage'
,
true
);
}
this
.
$popupCacel
()
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
this
.
$popupCacel
()
})
},
handleSelectionChange
(
val
)
{
this
.
bdcdysz
=
val
;
},
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
this
.
$refs
.
table
.
clearSelection
()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if
(
selection
.
length
==
0
)
return
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
select
(
selection
,
row
)
{
if
(
this
.
sqywInfo
.
sqywdylx
==
"1"
)
{
// 清除 所有勾选项
this
.
$refs
.
table
.
clearSelection
()
// 当表格数据都没有被勾选的时候 就返回
// 主要用于将当前勾选的表格状态清除
if
(
selection
.
length
==
0
)
return
this
.
$refs
.
table
.
toggleRowSelection
(
row
,
true
);
}
},
handleRowClick
(
row
)
{
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
{
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
);
}
}
},
},
};
...
...
Please
register
or
sign in
to post a comment