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
48eefff8
authored
2022-11-24 16:29:49 +0800
by
田浩浩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改业务申请对应的问题
1 parent
af6dd985
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
17 deletions
src/api/system.js
src/views/system/sqywgz/sqywDetail.vue
src/views/ywbl/ywsq/components/selecBdcql.vue
src/api/system.js
View file @
48eefff
...
...
@@ -32,6 +32,16 @@ export function getDjlxInfo (id) {
}
/*
获取登记类型信息-申请业务规则
*/
export
function
getQllxByBsmSqyw
(
id
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/system/sysSqdjyw/getQllxByBsmSqyw?bsmSqyw='
+
id
,
method
:
'post'
})
}
/*
读取申请登记业务信息-申请业务规则
*/
export
function
getSqdjywDetail
(
bsmSqyw
)
{
...
...
src/views/system/sqywgz/sqywDetail.vue
View file @
48eefff
...
...
@@ -383,8 +383,7 @@ export default {
this
.
getDetail
(
this
.
djlxList
[
0
].
bsmSqyw
);
}
else
{
this
.
getDetail
(
this
.
sqqlRule
.
bsmSqyw
);
}
}
});
//}
},
...
...
src/views/ywbl/ywsq/components/selecBdcql.vue
View file @
48eefff
...
...
@@ -15,9 +15,9 @@
>
<el-option
v-for=
"item in qllxs"
:key=
"item.
value
"
:label=
"item.
label
"
:value=
"item.
value
"
:key=
"item.
sxzdz
"
:label=
"item.
sxzdmc
"
:value=
"item.
sxzdz
"
>
</el-option>
</el-select>
...
...
@@ -93,12 +93,13 @@ import { defaultParameters } from "../javascript/publicDefaultPar.js";
import
table
from
"@/utils/mixin/table"
;
import
jump
from
"./mixin/jump"
;
import
{
selectQlxx
,
startBusinessFlow
}
from
"@/api/ywbl.js"
;
import
{
getQllxByBsmSqyw
}
from
"@/api/system.js"
;
export
default
{
mixins
:
[
table
,
jump
],
props
:
{
isJump
:
{
type
:
Boolean
,
default
:
false
},
djywbm
:
{
type
:
String
,
default
:
""
},
djqxObj
:
{
type
:
Object
,
default
:
{}
},
djqxObj
:
{
type
:
Object
,
default
:
{}
},
bsmSqyw
:
{
type
:
String
,
default
:
""
},
},
data
()
{
...
...
@@ -111,11 +112,24 @@ export default {
data
:
[],
},
bdcdysz
:
[],
bsmSqyw
:
""
,
};
},
mounted
()
{
sendThis
(
this
);
},
created
()
{
if
(
this
.
djqxObj
.
nodetype
===
"djlx"
)
{
this
.
bsmSqyw
=
this
.
djqxObj
.
bsmSqyw
;
}
else
{
this
.
bsmSqyw
=
this
.
djqxObj
.
parentid
;
}
getQllxByBsmSqyw
(
this
.
bsmSqyw
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
qllxs
=
res
.
result
?
res
.
result
:
[];
}
});
},
methods
:
{
//点击行选中或取消复选框
handleRowClick
(
row
,
column
,
event
)
{
...
...
@@ -125,13 +139,13 @@ export default {
closeDialog
()
{
this
.
$emit
(
"closeDialog"
);
},
fetchData
()
{
if
(
this
.
djqxObj
.
nodetype
===
"djlx"
){
this
.
queryForm
.
bsmSqyw
=
this
.
djqxObj
.
bsmSqyw
;
}
else
{
this
.
queryForm
.
bsmSqyw
=
this
.
djqxObj
.
parentid
;
fetchData
()
{
//this.queryForm.bsmSqyw = this.bsmSqyw;
if
(
this
.
djqxObj
.
nodetype
===
"djlx"
)
{
this
.
queryForm
.
bsmSqyw
=
this
.
djqxObj
.
bsmSqyw
;
}
else
{
this
.
queryForm
.
bsmSqyw
=
this
.
djqxObj
.
parentid
;
}
console
.
log
(
this
.
queryForm
);
selectQlxx
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
;
...
...
@@ -154,13 +168,13 @@ export default {
if
(
res
.
code
==
200
)
{
this
.
$message
({
showClose
:
true
,
message
:
'发起申请成功'
,
type
:
'success'
})
message
:
"发起申请成功"
,
type
:
"success"
,
})
;
if
(
!
this
.
isJump
)
{
this
.
jump
(
res
.
result
,
this
.
djywbm
)
this
.
jump
(
res
.
result
,
this
.
djywbm
)
;
}
else
{
this
.
$emit
(
'updateDialog'
,
true
)
this
.
$emit
(
"updateDialog"
,
true
);
}
}
else
{
this
.
$message
.
error
(
res
.
message
);
...
...
Please
register
or
sign in
to post a comment