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
e4f52ae2
authored
2022-12-29 15:50:11 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style;审批意见
1 parent
2b5a3c37
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
12 deletions
src/components/Popup/index.vue
src/components/Popup1/index.vue
src/views/workflow/components/commonOpinion.vue
src/components/Popup/index.vue
View file @
e4f52ae
...
...
@@ -134,6 +134,7 @@ export default {
.ls-title
{
padding
:
16px
;
color
:
#ffffff
;
font-size
:
16px
;
background
:
linear-gradient
(
3deg
,
#409EFF
,
#a7cbee
);
}
...
...
src/components/Popup1/index.vue
View file @
e4f52ae
...
...
@@ -135,6 +135,7 @@ export default {
padding
:
16px
;
color
:
#ffffff
;
background
:
linear-gradient
(
3deg
,
#409EFF
,
#a7cbee
);
font-size
:
16px
;
}
.ls-title
.svg-icon
{
...
...
src/views/workflow/components/commonOpinion.vue
View file @
e4f52ae
...
...
@@ -3,9 +3,7 @@
<dialogBox
title=
"常用意见"
:fullscreen=
"false"
width=
"60%"
isMain
v-model=
"value"
@
closeDialog=
"closeDialog"
:isButton=
"false"
>
<el-button
type=
"primary"
native-type=
"submit"
@
click=
"openDialog()"
>
新增常用
</el-button>
<lb-table
:page-size=
"pageData.size"
heightNumSetting
:current-page
.
sync=
"pageData.current"
:total=
"tableData.total"
@
size-change=
"handleSizeChange"
@
p-current-change=
"handleCurrentChange"
:column=
"columns"
:data=
"tableData.data"
>
<lb-table
heightNumSetting
:pagination=
"false"
:column=
"columns"
:data=
"tableData.data"
>
</lb-table>
<div
style=
"height:15px"
></div>
</dialogBox>
...
...
@@ -27,11 +25,9 @@
</div>
</
template
>
<
script
>
import
table
from
"@/utils/mixin/table"
;
import
{
getUserCommonOpinion
,
addUserCommonOpinion
,
delUserCommonOpinion
}
from
"@/api/fqsq.js"
export
default
{
components
:
{},
mixins
:
[
table
],
props
:
{
value
:
{
type
:
Boolean
,
default
:
false
},
},
...
...
@@ -76,13 +72,12 @@ export default {
}
},
mounted
()
{
this
.
queryClick
()
this
.
getList
()
},
methods
:
{
queryClick
()
{
getUserCommonOpinion
(
this
.
pageData
).
then
(
res
=>
{
let
{
total
,
records
}
=
res
.
result
this
.
tableData
.
total
=
total
;
getList
()
{
getUserCommonOpinion
().
then
(
res
=>
{
let
{
records
}
=
res
.
result
this
.
tableData
.
data
=
records
?
records
:
[]
})
},
...
...
@@ -99,7 +94,6 @@ export default {
}
})
}
else
{
// console.log('error submit!!');
return
false
;
}
});
...
...
@@ -128,7 +122,7 @@ export default {
delUserCommonOpinion
({
bsmOpinion
:
item
.
bsmOpinion
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
"删除成功"
)
this
.
queryClick
()
this
.
getList
()
}
else
{
this
.
$message
.
error
(
res
.
message
)
}
...
...
Please
register
or
sign in
to post a comment