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
d928a4af
authored
2022-08-24 12:17:04 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:发起申请
1 parent
026d25bc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
64 additions
and
17 deletions
src/api/ywbl.js
src/views/ywbl/ywsq/components/selectql.vue
src/views/ywbl/ywsq/ywsqdata.js → src/views/ywbl/ywsq/components/ywsqdata.js
src/views/ywbl/ywsq/ywsq.vue
src/api/ywbl.js
View file @
d928a4a
...
...
@@ -31,7 +31,6 @@ export function getNextNode (bsmSqyw) {
/*
业务办理-选择单元-根据条件进行列表查询
*/
//
export
function
getselectBdcdy
(
data
)
{
return
request
({
url
:
'/ywbl/ywsq/selectBdcdy'
,
...
...
@@ -40,3 +39,13 @@ export function getselectBdcdy (data) {
})
}
/*
业务办理-发起业务申请流程
*/
export
function
startBusinessFlow
(
data
)
{
return
request
({
url
:
'/business/workFlow/startBusinessFlow'
,
method
:
'post'
,
data
})
}
\ No newline at end of file
...
...
src/views/ywbl/ywsq/components/selectql.vue
View file @
d928a4a
...
...
@@ -45,7 +45,7 @@
<div
class=
"from-clues-content"
>
<lb-table
:page-size=
"pageData.pageSize"
heightNumSetting
:current-page
.
sync=
"pageData.currentPage"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
@
selection-change=
"handleSelectionChange"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
</div>
</div>
...
...
@@ -54,13 +54,14 @@
</
template
>
<
script
>
import
{
datas
}
from
".
./ywsqdata.js"
;
import
{
datas
,
sendThis
}
from
"
./ywsqdata.js"
;
import
table
from
"@/utils/mixin/table"
;
import
{
getselectBdcdy
}
from
"@/api/ywbl.js"
import
{
getselectBdcdy
,
startBusinessFlow
}
from
"@/api/ywbl.js"
export
default
{
mixins
:
[
table
],
props
:
{
value
:
{
type
:
Boolean
,
default
:
false
},
bsmSqyw
:
{
type
:
String
,
default
:
''
},
},
data
()
{
return
{
...
...
@@ -77,26 +78,52 @@ export default {
total
:
0
,
columns
:
datas
.
columns
(),
data
:
[]
}
},
bdcdyid
:
''
,
bdcdyh
:
''
}
},
watch
:
{
value
(
val
)
{
if
(
val
)
this
.
fetchData
()
}
},
mounted
()
{
sendThis
(
this
);
},
methods
:
{
fetchData
()
{
getselectBdcdy
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
this
.
tableData
.
total
=
total
;
this
.
tableData
.
data
=
records
}
})
if
(
this
.
value
)
{
getselectBdcdy
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
this
.
tableData
.
total
=
total
;
this
.
tableData
.
data
=
records
}
})
}
},
submitForm
()
{
this
.
$emit
(
'input'
,
false
)
const
{
href
}
=
this
.
$router
.
resolve
(
'/fqsq'
)
window
.
open
(
href
,
'_blank'
);
if
(
this
.
bdcdyid
==
''
)
{
this
.
$message
.
error
(
'请至少选择一条数据'
);
return
}
startBusinessFlow
({
bsmSqyw
:
this
.
bsmSqyw
,
bdcdyid
:
this
.
bdcdyid
,
bdcdyh
:
this
.
bdcdyh
}).
then
(
res
=>
{
this
.
$emit
(
'input'
,
false
)
const
{
href
}
=
this
.
$router
.
resolve
(
'/fqsq'
)
window
.
open
(
href
,
'_blank'
);
})
},
closeDialog
()
{
this
.
$emit
(
'input'
,
false
)
},
handleSelectionChange
(
val
)
{
this
.
bdcdyid
=
val
.
map
(
item
=>
item
.
dyhbsm
?
item
.
dyhbsm
:
''
).
join
(
','
)
this
.
bdcdyh
=
val
.
map
(
item
=>
item
.
bdcdyh
?
item
.
bdcdyh
:
''
).
join
(
','
)
}
}
}
...
...
src/views/ywbl/ywsq/ywsqdata.js
→
src/views/ywbl/ywsq/
components/
ywsqdata.js
View file @
d928a4a
...
...
@@ -17,7 +17,14 @@ class data extends filter {
{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
width
:
'50'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
{(
vm
.
pageData
.
currentPage
-
1
)
*
vm
.
pageData
.
pageSize
+
scope
.
$index
+
1
}
<
/div
>
)
}
},
{
prop
:
"status"
,
...
...
@@ -63,4 +70,5 @@ class data extends filter {
let
datas
=
new
data
()
export
{
datas
,
sendThis
}
...
...
src/views/ywbl/ywsq/ywsq.vue
View file @
d928a4a
...
...
@@ -63,7 +63,7 @@
<el-button
type=
"primary"
:disabled=
"btnDisabled"
@
click=
"btnClick()"
>
选择不动产信息
</el-button>
</div>
</div>
<choiceDialog
v-model=
"isDialog"
/>
<choiceDialog
v-model=
"isDialog"
:bsmSqyw=
"bsmSqyw"
/>
</div>
</
template
>
<
script
>
...
...
@@ -87,6 +87,7 @@ export default {
}
],
djqxList
:
[],
bsmSqyw
:
''
,
isDialog
:
false
,
btnDisabled
:
true
}
...
...
@@ -125,6 +126,7 @@ export default {
item
.
cselect
=
!
item
.
cselect
if
(
item
.
sffqlc
==
'1'
)
{
this
.
btnDisabled
=
false
this
.
bsmSqyw
=
item
.
bsmSqyw
}
},
handleList
(
list
,
obj
)
{
...
...
@@ -165,6 +167,7 @@ export default {
this
.
$set
(
item
,
'select'
,
true
)
if
(
item
.
sffqlc
==
'1'
)
{
this
.
btnDisabled
=
false
this
.
bsmSqyw
=
item
.
bsmSqyw
}
else
{
this
.
getNextNode
(
item
.
bsmSqyw
)
}
...
...
Please
register
or
sign in
to post a comment