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
8b653a1d
authored
2023-08-10 11:19:37 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
4b43d29a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
src/views/workflow/components/spyj.vue
src/views/workflow/components/spyj.vue
View file @
8b653a1
...
...
@@ -58,7 +58,7 @@
</el-form>
</div>
<div
class=
"submit_button"
v-if=
"ableOperation"
>
<el-button
type=
"primary"
@
click=
"onSubmit()"
>
保存
</el-button>
<el-button
type=
"primary"
:disabled=
"shows"
@
click=
"onSubmit()"
>
保存
</el-button>
</div>
</div>
<!--
<el-empty
v-if=
"isNoData"
description=
"暂无数据"
></el-empty>
-->
...
...
@@ -87,6 +87,7 @@ export default {
falg1
:
false
,
jdmc
:
""
,
indexdqlc
:
0
,
shows
:
false
};
},
...
...
@@ -128,7 +129,6 @@ export default {
* @author: renchao
*/
getShList
()
{
let
that
=
this
;
this
.
$startLoading
();
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmBusiness"
,
this
.
propsParam
.
bsmBusiness
);
...
...
@@ -138,6 +138,10 @@ export default {
this
.
$endLoading
();
if
(
res
.
code
===
200
&&
res
.
result
)
{
this
.
tableData
=
res
.
result
;
if
(
this
.
shows
){
this
.
shows
=
false
}
var
index
=
this
.
tableData
.
findIndex
(
(
item
)
=>
item
.
jddm
===
this
.
$parent
.
dqhj
);
...
...
@@ -179,6 +183,7 @@ export default {
* @author: renchao
*/
onSubmit
()
{
this
.
shows
=
true
this
.
tableData
.
forEach
((
item
,
index
)
=>
{
item
[
"bsmBusiness"
]
=
this
.
propsParam
.
bsmBusiness
;
item
[
"czjg"
]
=
"1"
;
...
...
@@ -187,6 +192,7 @@ export default {
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
"保存成功"
);
this
.
refresh
+=
1
;
this
.
getShList
();
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
...
...
Please
register
or
sign in
to post a comment