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
ff0ec5d7
authored
2023-08-01 16:56:16 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
9d27b623
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
25 deletions
src/views/workflow/components/spyj.vue
src/views/workflow/components/spyj.vue
View file @
ff0ec5d
...
...
@@ -35,7 +35,7 @@
<el-button
class=
"opinion_btn"
@
click=
"commonOpinion(index)"
v-if=
"ableOperation
&& !item.show
"
v-if=
"ableOperation"
>
常用意见
</el-button
>
</el-form-item>
...
...
@@ -48,7 +48,7 @@
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"审核时间"
:key=
"refresh"
>
<el-form-item
disabled
label=
"审核时间"
:key=
"refresh"
>
{{
item
.
shjssj
}}
</el-form-item>
</el-col>
...
...
@@ -93,7 +93,6 @@ export default {
watch
:
{
yjsqOptions
:
{
handler
(
val
)
{
console
.
log
(
"val"
,
val
);
this
.
add
(
val
);
},
deep
:
true
,
...
...
@@ -103,7 +102,6 @@ export default {
created
()
{},
mounted
()
{
this
.
propsParam
=
this
.
$attrs
;
console
.
log
(
"this.$parent.dqhj"
,
this
.
$parent
.
dqhj
);
this
.
ableOperation
=
this
.
$parent
.
currentSelectTab
.
ableOperation
;
// this.ableOperation = this.$parent.ableOperation;
this
.
getShList
();
...
...
@@ -130,6 +128,7 @@ export default {
* @author: renchao
*/
getShList
()
{
let
that
=
this
;
this
.
$startLoading
();
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmBusiness"
,
this
.
propsParam
.
bsmBusiness
);
...
...
@@ -139,32 +138,32 @@ export default {
this
.
$endLoading
();
if
(
res
.
code
===
200
&&
res
.
result
)
{
this
.
tableData
=
res
.
result
;
if
(
this
.
tableData
.
length
==
0
&&
this
.
jdmc
==
"初审"
)
{
this
.
tableData
.
push
({
jdmc
:
"初审"
,
jddm
:
"cs"
,
sxh
:
1
});
}
else
if
(
this
.
tableData
.
length
==
1
&&
this
.
jdmc
==
"复审"
)
{
this
.
tableData
.
push
({
jdmc
:
"复审"
,
jddm
:
"fs"
,
sxh
:
2
});
}
else
if
(
this
.
tableData
.
length
==
2
&&
this
.
jdmc
==
"核定"
)
{
this
.
tableData
.
push
({
jdmc
:
"核定"
,
jddm
:
"hd"
,
sxh
:
3
});
var
index
=
this
.
tableData
.
findIndex
(
(
item
)
=>
item
.
jddm
===
this
.
$parent
.
dqhj
);
if
(
index
==
-
1
)
{
switch
(
this
.
$parent
.
dqhj
)
{
case
"cs"
:
this
.
tableData
.
push
({
jdmc
:
"初审"
,
jddm
:
"cs"
,
sxh
:
1
});
break
;
case
"fs"
:
this
.
tableData
.
push
({
jdmc
:
"复审"
,
jddm
:
"fs"
,
sxh
:
2
});
break
;
case
"hd"
:
this
.
tableData
.
push
({
jdmc
:
"核定"
,
jddm
:
"hd"
,
sxh
:
3
});
break
;
}
}
if
(
this
.
tableData
){
this
.
tableData
.
forEach
((
item
,
index
)
=>
{
item
.
show
=
true
;
if
(
this
.
$parent
.
dqhj
==
item
.
jddm
){
item
.
show
=
false
;
this
.
tableData
.
forEach
((
item
)
=>
{
item
.
show
=
true
;
if
(
this
.
$parent
.
dqhj
==
item
.
jddm
)
{
item
.
show
=
false
;
}
item
.
shjssj
=
getNewDatesh
();
item
.
shkssj
=
getNewDatesh
();
item
[
"shryxm"
]
=
this
.
userInfo
.
name
;
item
[
"userid"
]
=
this
.
userInfo
.
id
;
item
[
"shryxm"
]
=
this
.
userInfo
.
name
;
item
[
"userid"
]
=
this
.
userInfo
.
id
;
});
}
}
});
},
...
...
Please
register
or
sign in
to post a comment