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
d9c7bff7
authored
2022-09-01 18:01:30 +0800
by
liangyifan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
退回
1 parent
e8685d48
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
15 deletions
src/api/ywbl.js
src/views/ywbl/fqsq/components/th.vue
src/views/ywbl/fqsq/fqsq.vue
src/api/ywbl.js
View file @
d9c7bff
...
...
@@ -41,7 +41,7 @@ export function selectBdcdy (data) {
// 待办箱列表查询接口
export
function
searchTaskToDo
(
data
)
{
return
request
({
url
:
'/
business/todoBox
/searchTaskToDo'
,
url
:
'/
workBox/search
/searchTaskToDo'
,
method
:
'post'
,
data
})
...
...
src/views/ywbl/fqsq/components/th.vue
View file @
d9c7bff
...
...
@@ -5,12 +5,12 @@
<!-- 表单部分 -->
<div
class=
"from-clues-header"
>
<el-form
ref=
"queryForm"
label-width=
"120px"
>
<div
v-for=
'(item,index) in tableData'
:key=
'item.bdcdyid'
>
<el-form-item
label=
"不动产单元号:"
>
<div>
<
!--
<
el-form-item
label=
"不动产单元号:"
>
<p>
{{
item
.
bdcdyh
}}
</p>
</el-form-item>
</el-form-item>
-->
<lb-table
:column=
"columns"
border
:heightNum=
"390"
:pagination=
"false"
heightNumSetting
:data=
"
item.nodeList
"
>
:data=
"
tableData
"
>
</lb-table>
<el-form-item
label=
"退回意见:"
>
<el-input
class=
"textArea"
type=
"textarea"
v-model=
"outstepopinion"
></el-input>
...
...
@@ -29,7 +29,9 @@ export default {
},
props
:
{
value
:
{
type
:
Boolean
,
default
:
false
},
queryForm
:{
type
:
Object
}
queryForm
:{
type
:
Object
},
taskId
:{
type
:
String
},
bsmBusiness
:{
type
:
String
}
},
data
()
{
const
columns
=
[
...
...
@@ -56,11 +58,11 @@ export default {
},
},
{
prop
:
"
fromstepn
ame"
,
prop
:
"
activityN
ame"
,
label
:
"退回环节名称"
,
},
{
prop
:
"
usernam
e"
,
prop
:
"
assigne
e"
,
label
:
"办理人"
,
},
...
...
@@ -75,6 +77,8 @@ export default {
bsmSlsq
:
""
,
backNodeList
:[],
},
sumbitList
:{},
taskid
:
""
,
}
},
mounted
(){
...
...
@@ -84,7 +88,7 @@ export default {
},
methods
:
{
tablelistFn
(){
getTaskBackNode
(
this
.
queryForm
).
then
(
res
=>
{
getTaskBackNode
(
{
taskId
:
this
.
taskId
}
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
=
res
.
result
}
...
...
@@ -92,6 +96,7 @@ export default {
},
radioClick
(
scope
){
this
.
taskid
=
scope
.
taskid
this
.
sumbitList
=
scope
},
submitForm
()
{
...
...
@@ -99,14 +104,14 @@ export default {
this
.
$message
.
error
(
'请至少选择一条数据'
);
return
}
this
.
list
.
backNodeList
=
this
.
tableData
.
map
((
item
,
index
)
=>
{
return
{
id
:
item
.
id
,
this
.
list
.
backNodeList
.
push
({
id
:
this
.
taskId
,
taskid
:
this
.
taskid
,
processInstanceId
:
item
.
processInstanceId
,
processInstanceId
:
this
.
sumbitList
.
processInstanceId
,
bsmBusiness
:
this
.
bsmBusiness
,
outstepopinion
:
this
.
outstepopinion
}
})
console
.
log
(
this
.
list
,
44
)
sendBackTask
(
this
.
list
).
then
(
res
=>
{
console
.
log
(
res
,
11
)
if
(
res
.
code
===
200
)
{
...
...
@@ -114,6 +119,8 @@ export default {
window
.
open
(
"about:blank"
,
"_self"
);
window
.
close
();
this
.
$emit
(
'input'
,
false
)
}
else
{
this
.
$message
.
error
(
res
.
message
)
}
})
},
...
...
src/views/ywbl/fqsq/fqsq.vue
View file @
d9c7bff
...
...
@@ -50,7 +50,7 @@
</div>
</div>
<zc
v-model=
"zcDialog"
:queryForm=
'queryForm'
/>
<thDialog
ref=
'thdialogRef'
v-model=
"thflag"
:queryForm=
'queryForm'
/>
<thDialog
ref=
'thdialogRef'
v-model=
"thflag"
:
taskId=
'taskId'
:bsmBusiness=
'bsmBusiness'
:
queryForm=
'queryForm'
/>
</div>
</
template
>
<
script
>
...
...
@@ -139,6 +139,7 @@ export default {
editItem
:
''
,
issplitScreen
:
false
,
unitData
:
[],
taskId
:
""
,
};
},
watch
:
{
...
...
@@ -173,12 +174,16 @@ export default {
this
.
unitData
=
res
.
result
setTimeout
(()
=>
{
that
.
$refs
.
slxx
[
0
].
list
(
that
.
unitData
[
0
].
bsmSldy
)
this
.
taskId
=
that
.
unitData
[
0
].
taskId
this
.
bsmBusiness
=
that
.
unitData
[
0
].
bsmBusiness
},
300
);
}
})
},
// 左侧列表点击调用接口
unitClick
(
item
)
{
this
.
taskId
=
item
.
taskId
this
.
bsmBusiness
=
item
.
bsmBusiness
this
.
$nextTick
(()
=>
{
this
.
$refs
.
slxx
[
0
].
list
(
item
.
bsmSldy
)
})
...
...
Please
register
or
sign in
to post a comment