Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
E
exhibition_backstage
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
龙菲
exhibition_backstage
Commits
7018502f
提交
7018502f
authored
10月 14, 2023
作者:
龙菲
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
完成审核接口对接
上级
89a6f7ae
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
18 行增加
和
46 行删除
+18
-46
PreviewDialog.vue
src/views/displayApproval/components/PreviewDialog.vue
+11
-27
ApprovalForm.vue
...iews/displayApproval/components/approval/ApprovalForm.vue
+5
-3
index.vue
src/views/displayApproval/index.vue
+0
-15
vue.config.js
vue.config.js
+2
-1
没有找到文件。
src/views/displayApproval/components/PreviewDialog.vue
浏览文件 @
7018502f
...
...
@@ -50,7 +50,7 @@ import CulturalRelicTable from "./culturalRelic/CulturalRelicTable.vue";
import
DisplayBaseInfo
from
"./display/DisplayBaseInfo.vue"
;
import
ApprovalInfo
from
"./approval/ApprovalInfo.vue"
;
import
DisplayRender
from
"./display/DisplayRender.vue"
;
import
{
cr
,
crList
,
display
}
from
"../mock"
;
//
import { cr, crList, display } from "../mock";
export
default
{
name
:
"PreviewDialog"
,
components
:
{
...
...
@@ -71,6 +71,12 @@ export default {
default
:
()
=>
({}),
},
},
// provide必须返回一个函数,不然更新后无法获取最新的值
provide
(){
return
{
handleClosePreviewDialog
:
this
.
handleClose
}
},
computed
:
{
...
mapGetters
([
"dicts"
]),
tabs
()
{
...
...
@@ -90,6 +96,7 @@ export default {
}
return
tabs
;
},
//传给ApprovalInfo组件的
approvalInfo
()
{
if
(
!
this
.
detail
)
{
return
{};
...
...
@@ -104,9 +111,6 @@ export default {
remark
,
createName
,
checkDetailList
,
culturalRelicDetailVo
,
culturalRelicPageVo
,
exhibitionDetailVo
,
}
=
this
.
detail
;
const
approvalInfo
=
{
title
,
...
...
@@ -121,7 +125,7 @@ export default {
};
return
approvalInfo
;
},
//传给CulturalRelicBaseInfo组件的
culturalRelicDetailVo
()
{
if
(
!
this
.
detail
)
{
return
{};
...
...
@@ -129,15 +133,7 @@ export default {
const
{
culturalRelicDetailVo
}
=
this
.
detail
;
return
culturalRelicDetailVo
;
},
culturalRelicPageVo
()
{
if
(
!
this
.
detail
)
{
return
{};
}
const
{
culturalRelicPageVo
}
=
this
.
detail
;
return
culturalRelicPageVo
;
},
//传给CulturalRelicTable组件的
culturalRelicPageVo
()
{
if
(
!
this
.
detail
)
{
return
{};
...
...
@@ -145,7 +141,7 @@ export default {
const
{
culturalRelicPageVo
}
=
this
.
detail
;
return
culturalRelicPageVo
;
},
//传给DisplayBaseInfo和DisplayRender组件的
exhibitionDetailVo
()
{
if
(
!
this
.
detail
)
{
return
{};
...
...
@@ -158,21 +154,9 @@ export default {
return
{
visible
:
false
,
activeName
:
"流程详情"
,
// approvalInfo: {}, //传给ApprovalInfo组件的
// culturalRelicDetailVo: {}, //传给CulturalRelicBaseInfo组件的
// culturalRelicPageVo: {}, //传给CulturalRelicTable组件的
// exhibitionDetailVo: {}, //传给DisplayBaseInfo和DisplayRender组件的
};
},
created
()
{
// this.init();
},
methods
:
{
init
()
{
// this.culturalRelicDetailVo = culturalRelicPageVo;
// this.culturalRelicPageVo = culturalRelicPageVo;
// this.exhibitionDetailVo = exhibitionDetailVo;
},
handleClose
(
done
)
{
this
.
visible
=
false
;
this
.
activeName
=
"流程详情"
;
...
...
src/views/displayApproval/components/approval/ApprovalForm.vue
浏览文件 @
7018502f
...
...
@@ -61,6 +61,7 @@ export default {
default
:
""
,
},
},
inject
:
[
"handleClosePreviewDialog"
],
data
()
{
return
{
checkStatus
:
1
,
//1同意 -2驳回
...
...
@@ -102,14 +103,15 @@ export default {
if
(
!
remark
)
{
params
.
remark
=
""
;
}
let
res
=
await
p
ost
Check
(
params
);
let
res
=
await
p
utFlow
Check
(
params
);
if
(
res
.
code
==
0
)
{
this
.
$message
.
success
(
"操作成功!"
);
// 关闭弹窗
this
.
handleClosePreviewDialog
();
// 重置数据
this
.
$refs
.
form
.
resetFields
();
}
},
},
};
</
script
>
<
style
lang=
"scss"
scoped
></
style
>
src/views/displayApproval/index.vue
浏览文件 @
7018502f
...
...
@@ -78,13 +78,11 @@ import {
}
from
"./config"
;
import
{
getFlowListPagePer
,
getFlowDetailById
}
from
"@/api/approval"
;
import
{
mapGetters
}
from
"vuex"
;
import
{
operations
}
from
"../boutique/config"
;
export
default
{
components
:
{
PreviewDialog
,
},
data
()
{
let
that
=
this
;
return
{
list
:
{
record
:
[],
...
...
@@ -215,19 +213,6 @@ export default {
this
.
list
[
this
.
currentTabIndex
].
current
=
value
;
this
.
loadData
();
},
// 关闭Dialog
handleClose
()
{
this
.
editDialogVisible
=
false
;
this
.
form
=
{
status
:
1
,
faceImage
:
""
,
// 封面(图片1张)
images
:
""
,
//展览图片
videos
:
""
,
//展览视频
audios
:
""
,
//展览音频
exhibitionUnits
:
[],
//布展单元
};
},
// 关闭预览图片
closeImgViewer
()
{
this
.
imgViewerVisible
=
false
;
...
...
vue.config.js
浏览文件 @
7018502f
...
...
@@ -31,7 +31,8 @@ module.exports = {
lintOnSave
:
false
,
productionSourceMap
:
false
,
devServer
:
{
host
:
'172.24.100.158'
,
// host: '172.24.100.158',
host
:
'0.0.0.0'
,
port
:
port
,
open
:
true
,
overlay
:
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论