Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
founder_vue
Commits
a9227032
Commit
a9227032
authored
Feb 15, 2022
by
gao_yingdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
评估研判报告下载
parent
70a41058
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
3 deletions
+26
-3
src/views/pgypbggl/mbxx/queryMbxx.vue
+26
-3
No files found.
src/views/pgypbggl/mbxx/queryMbxx.vue
View file @
a9227032
...
...
@@ -17,14 +17,13 @@
<span
class=
"hbyp"
@
click=
"toDelete(scope.scope)"
>
删除
</span>
</
template
>
</right-content>
<el-dialog
title=
"报告详情"
:visible
.
sync=
"dialogFormVisible"
width=
"70%"
>
<
!-- <
el-dialog title="报告详情" :visible.sync="dialogFormVisible" width="70%">
<el-row :gutter="20">
<el-col :span="12"><span>报告标题:</span>{{ xqData.bgbt }}</el-col>
<el-col :span="12"
><span>报告状态:</span
>{{ xqData.bgzt == 0 ? "未生效" : "已生效" }}</el-col
>
<!-- <el-col :span="12"><span>报告内容:</span>{{ xqData.bgnr }}</el-col> -->
</el-row>
<el-row :gutter="20">
<el-col :span="12"><span>发布时间:</span>{{ xqData.djsj }}</el-col>
...
...
@@ -52,6 +51,15 @@
></span
></el-col>
</el-row>
</el-dialog> -->
<el-dialog
title=
"报告内容"
:visible
.
sync=
"dialogFormVisible"
width=
"50%"
>
<el-button
type=
"primary"
@
click=
"downloadReport"
size=
'small'
>
下载报告
</el-button>
<div
id=
"export"
>
<span
style=
"margin-left: 37px; width: 800px"
v-html=
"xqData.bgnr"
></span>
</div>
</el-dialog>
</div>
</template>
...
...
@@ -62,7 +70,8 @@ import {
getTbYwXnpgbg
,
updateTbYwXnpgbg
,
}
from
"@/api/pgypbggl.js"
;
import
base
from
"@/api/base"
;
import
axios
from
"axios"
;
import
rightContent
from
"@c/ptCxForm_components.vue"
;
export
default
{
name
:
"queryMbxx"
,
...
...
@@ -191,6 +200,7 @@ export default {
};
this
.
$router
.
push
({
path
:
"/addMbxx"
,
query
:
param
});
},
showDetail
(
scope
)
{
getTbYwXnpgbg
({
xxzjbh
:
scope
.
row
.
xxzjbh
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
...
...
@@ -198,6 +208,12 @@ export default {
this
.
dialogFormVisible
=
true
;
}
});
// setTimeout(() => {
// $("#export").wordExport();
// }, 1000);
},
downloadReport
()
{
$
(
"#export"
).
wordExport
();
},
toDelete
(
scope
)
{
this
.
$confirm
(
"是否继续?"
,
"提示"
,
{
...
...
@@ -257,6 +273,13 @@ export default {
};
</
script
>
<
style
scoped
lang=
"scss"
>
button
.el-button.el-button--primary
{
margin
:
10px
;
float
:
right
;
}
#export
{
margin
:
0
0
50px
;
}
.content-mbxx
{
margin-left
:
20px
;
.hbyp
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment