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
0a41b548
authored
2022-09-21 14:53:25 +0800
by
蔡俊立
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
审批意见
1 parent
d9ee3a4a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
89 additions
and
46 deletions
src/api/fqsq.js
src/views/ywbl/dbx/dbx.vue
src/views/ywbl/fqsq/components/spyj.vue
src/views/ywbl/fqsq/fqsq.vue
src/api/fqsq.js
View file @
0a41b54
...
...
@@ -96,3 +96,21 @@ export function stepExpandInfo (data) {
data
})
}
// 获取审批意见
export
function
getSpyjList
(
data
)
{
return
request
({
url
:
'/business/workFlow/getSpyjList'
,
method
:
'post'
,
data
})
}
// 保存审批意见
export
function
saveSpyj
(
data
)
{
return
request
({
url
:
'/business/workFlow/saveSpyj'
,
method
:
'post'
,
data
})
}
...
...
src/views/ywbl/dbx/dbx.vue
View file @
0a41b54
...
...
@@ -138,6 +138,8 @@ export default {
message
:
'删除成功!'
});
this
.
fetchData
()
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
})
}).
catch
(()
=>
{
...
...
src/views/ywbl/fqsq/components/spyj.vue
View file @
0a41b54
...
...
@@ -13,8 +13,8 @@
<div
class=
"item_right"
>
<el-row>
<el-col
:span=
"24"
>
<el-form-item
label-width=
"0"
class=
"opinion_item"
prop=
"
cs
yj"
>
<el-input
type=
"textarea"
:rows=
"4"
class=
"opinion"
placeholder=
"请输入内容"
v-model=
"ruleForm.
cs
yj"
>
<el-form-item
label-width=
"0"
class=
"opinion_item"
prop=
"
sh
yj"
>
<el-input
type=
"textarea"
:rows=
"4"
class=
"opinion"
placeholder=
"请输入内容"
v-model=
"ruleForm.
sh
yj"
>
</el-input>
<el-popover
placement=
"right"
width=
"50"
trigger=
"hover"
>
<ul
class=
"pointer"
>
...
...
@@ -28,18 +28,13 @@
</el-row>
<el-row>
<el-col
:span=
"
8
"
>
<el-form-item
label=
"审查人"
prop=
"scr"
>
{{
ruleForm
.
s
cr
}}
<el-col
:span=
"
16
"
>
<el-form-item
label=
"审查人
:
"
prop=
"scr"
>
{{
ruleForm
.
s
hryxm
}}
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"审核开始时间"
prop=
"shkssj"
>
{{
ruleForm
.
shkssj
}}
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"审核结束时间"
prop=
"shjssj"
>
<el-form-item
label=
"审核时间:"
prop=
"shjssj"
>
{{
ruleForm
.
shjssj
}}
</el-form-item>
</el-col>
...
...
@@ -53,8 +48,8 @@
<div
class=
"item_right"
>
<el-row>
<el-col
:span=
"24"
>
<el-form-item
label-width=
"0"
class=
"opinion_item"
prop=
"
cs
yj"
>
<el-input
type=
"textarea"
:rows=
"4"
class=
"opinion"
placeholder=
"请输入内容"
v-model=
"ruleForm.
cs
yj"
>
<el-form-item
label-width=
"0"
class=
"opinion_item"
prop=
"
sh
yj"
>
<el-input
type=
"textarea"
:rows=
"4"
class=
"opinion"
placeholder=
"请输入内容"
v-model=
"ruleForm.
sh
yj"
>
</el-input>
<el-popover
placement=
"right"
width=
"50"
trigger=
"hover"
>
<ul
class=
"pointer"
>
...
...
@@ -68,18 +63,13 @@
</el-row>
<el-row>
<el-col
:span=
"
8
"
>
<el-form-item
label=
"审查人"
prop=
"scr"
>
{{
ruleForm
.
s
cr
}}
<el-col
:span=
"
16
"
>
<el-form-item
label=
"审查人
:
"
prop=
"scr"
>
{{
ruleForm
.
s
hryxm
}}
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"审核开始时间"
prop=
"shkssj"
>
{{
ruleForm
.
shkssj
}}
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"审核结束时间"
prop=
"shjssj"
>
<el-form-item
label=
"审核时间:"
prop=
"shjssj"
>
{{
ruleForm
.
shjssj
}}
</el-form-item>
</el-col>
...
...
@@ -93,8 +83,8 @@
<div
class=
"item_right"
>
<el-row>
<el-col
:span=
"24"
>
<el-form-item
label-width=
"0"
class=
"opinion_item"
prop=
"
cs
yj"
>
<el-input
type=
"textarea"
:rows=
"4"
class=
"opinion"
placeholder=
"请输入内容"
v-model=
"ruleForm.
cs
yj"
>
<el-form-item
label-width=
"0"
class=
"opinion_item"
prop=
"
sh
yj"
>
<el-input
type=
"textarea"
:rows=
"4"
class=
"opinion"
placeholder=
"请输入内容"
v-model=
"ruleForm.
sh
yj"
>
</el-input>
<el-popover
placement=
"right"
width=
"50"
trigger=
"hover"
>
<ul
class=
"pointer"
>
...
...
@@ -108,18 +98,13 @@
</el-row>
<el-row>
<el-col
:span=
"
8
"
>
<el-form-item
label=
"审查人"
prop=
"scr"
>
{{
ruleForm
.
s
cr
}}
<el-col
:span=
"
16
"
>
<el-form-item
label=
"审查人
:
"
prop=
"scr"
>
{{
ruleForm
.
s
hryxm
}}
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"审核开始时间"
prop=
"shkssj"
>
{{
ruleForm
.
shkssj
}}
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"审核结束时间"
prop=
"shjssj"
>
<el-form-item
label=
"审核时间:"
prop=
"shjssj"
>
{{
ruleForm
.
shjssj
}}
</el-form-item>
</el-col>
...
...
@@ -127,32 +112,60 @@
</div>
</div>
<div
class=
"submit_button"
>
<el-button
type=
"primary"
>
保存
</el-button>
<el-button
type=
"primary"
@
click=
"onSubmit"
>
保存
</el-button>
</div>
</el-form>
</div>
</
template
>
<
script
>
import
{
getSpyjList
,
saveSpyj
}
from
"@/api/fqsq.js"
;
export
default
{
components
:
{},
props
:
{
bsmBusiness
:{
type
:
String
},
bestepid
:
{
type
:
String
}
},
data
()
{
return
{
ruleForm
:
{
csyj
:
''
,
scr
:
''
,
shyj
:
''
,
bsmBusiness
:
this
.
bsmBusiness
,
stepid
:
this
.
bestepid
},
rules
:
{
cs
yj
:
[
sh
yj
:
[
{
required
:
true
,
message
:
'请输入审批意见'
,
trigger
:
'blur'
}
],
}
},
unitData
:
[]
}
},
methods
:
{
handleClick
()
{
console
.
log
(
1
)
}
},
//审批意见数据初始化
list
(
bsmBusiness
,
bestepid
)
{
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmBusiness"
,
bsmBusiness
);
formdata
.
append
(
"bestepid"
,
bestepid
);
getSpyjList
(
formdata
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
&&
res
.
result
)
{
this
.
ruleForm
=
{...
res
.
result
[
0
]}
}
})
},
onSubmit
()
{
saveSpyj
(
this
.
ruleForm
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
}
else
{
this
.
$message
.
error
(
res
.
message
)
}
})
},
},
}
</
script
>
...
...
src/views/ywbl/fqsq/fqsq.vue
View file @
0a41b54
...
...
@@ -43,8 +43,9 @@
<el-tabs
v-model=
"activeName"
@
tab-click=
'activeClick'
>
<el-tab-pane
:label=
"item.name"
:name=
"item.value"
v-for=
"(item, index) in tabList"
:key=
"index"
>
<div
class=
"splitScreen-con"
>
<component
ref=
'slxx'
v-if=
'index == 0'
:is=
"editItem"
:flag=
"flag"
:key=
"key"
/>
<component
ref=
'clxx'
:is=
"editItem"
v-else-if=
"index == 1"
:key=
"key"
/>
<component
ref=
'slxx'
v-if=
'item.value == "slxx"'
:is=
"editItem"
:flag=
"flag"
:key=
"key"
/>
<component
ref=
'clxx'
:is=
"editItem"
v-else-if=
'item.value == "clxx"'
:key=
"key"
/>
<component
ref=
'spyj'
:is=
"editItem"
v-else-if=
'item.value == "spyj"'
:key=
"key"
:bsmBusiness=
"bsmBusiness"
:bestepid=
"queryForm.bestepid"
/>
<component
:is=
"editItem"
v-else
:key=
"key"
/>
</div>
</el-tab-pane>
...
...
@@ -144,12 +145,21 @@ export default {
}
},
// 左侧列表点击调用接口
unitClick
(
item
)
{
unitClick
(
item
)
{
this
.
taskId
=
item
.
taskId
this
.
bsmBusiness
=
item
.
bsmBusiness
this
.
$nextTick
(()
=>
{
this
.
$refs
.
slxx
[
0
].
list
(
item
.
bsmSldy
)
})
var
activeTabName
=
this
.
activeName
if
(
activeTabName
==
'slxx'
){
//受理信息页面接口调取
this
.
$nextTick
(()
=>
{
this
.
$refs
.
slxx
[
0
].
list
(
item
.
bsmSldy
)
})
}
else
if
(
activeTabName
==
'spyj'
){
//审批页面接口调取
this
.
$nextTick
(()
=>
{
this
.
$refs
.
spyj
[
0
].
list
(
this
.
bsmBusiness
,
this
.
queryForm
.
bestepid
)
})
}
},
operation
(
index
,
item
)
{
if
(
item
.
value
==
'zsyl'
)
{
...
...
Please
register
or
sign in
to post a comment