Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-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
2ab69844
authored
2023-03-06 15:15:04 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:样式修改
1 parent
131594e4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
55 additions
and
25 deletions
src/components/EditDialog/index.vue
src/views/jsbwcx/index.vue
src/views/sthj/dbrzcx/data/index.js
src/views/sthj/sbbwcx/index.vue
src/components/EditDialog/index.vue
View file @
2ab6984
...
...
@@ -119,7 +119,7 @@
</div>
<div
class=
"d-center"
v-if=
"!$store.state.business.Edit && titleName == 'sjmx'"
>
<btn
nativeType=
"cz"
@
click=
"dialogVisible = false"
>
取 消
</btn>
<btn
nativeType=
"cx"
@
click=
"submitForm"
>
确 定
</btn>
<btn
nativeType=
"cx"
@
click=
"submitForm"
>
保 存
</btn>
</div>
<div
class=
"d-center"
v-if=
"!$store.state.business.Edit && titleName == 'xml'"
>
<btn
nativeType=
"cx"
@
click=
"handleResubmit"
>
重新上报
</btn>
...
...
@@ -294,10 +294,9 @@ export default {
})
}
let
listRes
=
await
this
.
$refs
[
"editItem"
].
handleUpdateForm
()
console
.
log
(
headRes
,
listRes
);
if
(
headRes
.
data
?.
code
==
200
&&
listRes
==
200
)
{
this
.
$message
({
message
:
'
上报
成功'
,
message
:
'
修改
成功'
,
type
:
'success'
})
}
...
...
@@ -325,7 +324,7 @@ export default {
if
(
res
.
code
==
200
)
{
_this
.
resultInfo
=
res
.
message
_this
.
$message
({
message
:
'
上报
成功'
,
message
:
'
修改
成功'
,
type
:
'success'
})
}
...
...
src/views/jsbwcx/index.vue
View file @
2ab6984
...
...
@@ -189,14 +189,28 @@ export default {
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
type
=
"primary"
onClick
=
{()
=>
{
this
.
handleDetails
(
scope
.
row
);
}}
>
详情
<
/el-button
>
{
scope
.
row
.
receiveState
==
2
?
<
el
-
button
type
=
"text"
style
=
"color:#67C23A"
onClick
=
{()
=>
{
this
.
handleDetails
(
scope
.
row
);
}}
>
修改
<
i
class
=
"el-icon-d-arrow-right"
><
/i
>
<
/el-button>
:
<
el
-
button
type
=
"text"
onClick
=
{()
=>
{
this
.
handleDetails
(
scope
.
row
);
}}
>
详情
<
i
class
=
"el-icon-d-arrow-right"
><
/i
>
<
/el-button
>
}
<
/div
>
)
}
...
...
src/views/sthj/dbrzcx/data/index.js
View file @
2ab6984
...
...
@@ -192,13 +192,14 @@ class data {
return
(
<
div
>
<
el
-
button
size
=
"mini
"
type
=
"primary
"
type
=
"text
"
style
=
"color:#67C23A
"
onClick
=
{()
=>
{
vm
.
handleEdit
(
scope
.
row
);
}}
>
编辑
修改
<
i
class
=
"el-icon-d-arrow-right"
><
/i
>
<
/el-button
>
<
/div
>
);
...
...
src/views/sthj/sbbwcx/index.vue
View file @
2ab6984
...
...
@@ -156,15 +156,31 @@ export default {
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
el
-
button
size
=
"mini"
type
=
"primary"
onClick
=
{()
=>
{
this
.
handleDetail
(
scope
.
row
);
}}
>
详情
<
/el-button
>
{
scope
.
row
.
exchangeState
==
2
?
<
el
-
button
size
=
"mini"
type
=
"text"
style
=
"color:#67C23A"
onClick
=
{()
=>
{
this
.
handleDetail
(
scope
.
row
);
}}
>
修改
<
i
class
=
"el-icon-d-arrow-right"
><
/i
>
<
/el-button>
:
<
el
-
button
size
=
"mini"
type
=
"text"
onClick
=
{()
=>
{
this
.
handleDetail
(
scope
.
row
);
}}
>
详情
<
i
class
=
"el-icon-d-arrow-right"
><
/i
>
<
/el-button
>
}
<
/div
>
);
},
...
...
@@ -203,7 +219,7 @@ export default {
this
.
$refs
.
editLog
.
isShow
(
row
);
if
(
row
.
exchangeState
==
2
)
{
this
.
$store
.
dispatch
(
'business/setReportLogEdit'
)
}
else
{
}
else
{
this
.
$store
.
dispatch
(
'business/setEdit'
)
}
},
...
...
Please
register
or
sign in
to post a comment