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
dd9c3579
authored
2023-08-01 14:20:59 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
17b0ee6e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
10 deletions
src/views/workflow/components/spyj copy.vue
src/views/workflow/components/spyj.vue
src/views/workflow/components/spyj copy.vue
View file @
dd9c357
...
...
@@ -25,7 +25,7 @@
<el-col
:span=
"24"
>
<el-form-item
label-width=
"0"
class=
"opinion_item"
>
<el-input
:disabled=
"!ableOperation"
:disabled=
"!ableOperation
&&item.show
"
type=
"textarea"
:rows=
"4"
class=
"opinion"
...
...
@@ -150,16 +150,20 @@ export default {
this
.
$endLoading
();
if
(
res
.
code
===
200
&&
res
.
result
)
{
this
.
tableData
=
res
.
result
;
if
(
this
.
tableData
.
length
==
0
)
{
if
(
this
.
tableData
.
length
==
0
&&
this
.
jdmc
==
"初审"
)
{
console
.
log
(
0
);
this
.
tableData
.
push
({
jdmc
:
"初审"
});
}
else
if
(
this
.
tableData
[
this
.
tableData
.
length
-
1
].
jdmc
==
"初审"
)
{
}
else
if
(
this
.
tableData
[
this
.
tableData
.
length
-
1
].
jdmc
==
"初审"
&&
this
.
jdmc
==
"复审"
)
{
console
.
log
(
1
);
this
.
tableData
.
push
({
jdmc
:
"复审"
});
}
else
if
(
this
.
tableData
[
this
.
tableData
.
length
-
1
].
jdmc
==
"复审"
)
{
}
else
if
(
this
.
tableData
[
this
.
tableData
.
length
-
1
].
jdmc
==
"复审"
&&
this
.
jdmc
==
"核定"
)
{
console
.
log
(
2
);
this
.
tableData
.
push
({
jdmc
:
"核定"
});
}
if
(
this
.
$parent
.
dqhj
==
"cs"
){
this
.
tableData
[
0
].
show
=
false
}
console
.
log
(
"this.tableData"
,
this
.
tableData
);
}
});
...
...
src/views/workflow/components/spyj.vue
View file @
dd9c357
...
...
@@ -25,7 +25,7 @@
<el-col
:span=
"24"
>
<el-form-item
label-width=
"0"
class=
"opinion_item"
>
<el-input
:disabled=
"!ableOperation"
:disabled=
"!ableOperation
&&item.show
"
type=
"textarea"
:rows=
"4"
class=
"opinion"
...
...
@@ -54,7 +54,7 @@
<el-form-item
class=
"sjxzq"
label=
"审核时间"
>
<el-date-picker
:disabled=
"!ableOperation"
v-model=
"item.sh
j
ssj"
v-model=
"item.sh
k
ssj"
type=
"date"
placeholder=
"选择日期"
value-format=
"yyyy-MM-dd HH:mm:ss"
...
...
@@ -112,7 +112,7 @@ export default {
created
()
{},
mounted
()
{
this
.
propsParam
=
this
.
$attrs
;
console
.
log
(
"this.$parent.dqhj"
,
this
.
$parent
.
dqhj
);
console
.
log
(
"this.$parent.dqhj
111111111111111
"
,
this
.
$parent
.
dqhj
);
this
.
ableOperation
=
this
.
$parent
.
currentSelectTab
.
ableOperation
;
// this.ableOperation = this.$parent.ableOperation;
this
.
getShList
();
...
...
@@ -151,6 +151,7 @@ export default {
if
(
res
.
code
===
200
&&
res
.
result
)
{
this
.
tableData
=
res
.
result
;
if
(
this
.
tableData
.
length
==
0
)
{
console
.
log
(
0
);
this
.
tableData
.
push
({
jdmc
:
"初审"
});
}
console
.
log
(
"this.tableData"
,
this
.
tableData
);
...
...
@@ -170,13 +171,15 @@ export default {
onSubmit
()
{
this
.
tableData
.
forEach
((
item
,
index
)
=>
{
item
[
"bsmBusiness"
]
=
this
.
propsParam
.
bsmBusiness
;
item
[
"
be
stepid"
]
=
this
.
$route
.
query
.
bestepid
;
item
[
"stepid"
]
=
this
.
$route
.
query
.
bestepid
;
item
[
"shryxm"
]
=
this
.
userInfo
.
name
;
item
[
"userid"
]
=
this
.
userInfo
.
id
;
item
[
"shjssj"
]
=
item
.
shkssj
;
item
[
"czjg"
]
=
"1"
;
item
[
"jddm"
]
=
this
.
$parent
.
dqhj
;
item
[
"jdmc"
]
=
this
.
jdmc
;
item
[
"jddm"
]
=
"cs"
item
[
"jdmc"
]
=
"初审"
item
[
"sxh"
]
=
"1"
});
console
.
log
(
"this.tableData"
,
this
.
tableData
);
...
...
Please
register
or
sign in
to post a comment