Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
K
knowledgeServiceAdmin
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
注册表
注册表
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
quanlili
knowledgeServiceAdmin
Commits
d3941500
提交
d3941500
authored
10月 24, 2019
作者:
quanlili
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改图册
上级
5a521307
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
15 行增加
和
4 行删除
+15
-4
detail.vue
src/views/draw/metadata/detail.vue
+2
-2
index.vue
src/views/draw/sip/index.vue
+3
-0
msg_packet.vue
src/views/draw/sip/msg_packet.vue
+10
-2
没有找到文件。
src/views/draw/metadata/detail.vue
浏览文件 @
d3941500
...
...
@@ -597,8 +597,8 @@ export default {
handleMap
(){
var
myGeo
=
new
BMap
.
Geocoder
();
// 将地址解析结果显示在地图上,并调整地图视野
myGeo
.
getPoint
(
"
北京市海淀区上地10街10号
"
,
function
(
point
){
console
.
log
(
point
,
'ppppppp'
)
myGeo
.
getPoint
(
"
昆明市
"
,
function
(
point
){
//
console.log(point,'ppppppp')
if
(
point
)
{
// map.centerAndZoom(point, 16);
// map.addOverlay(new BMap.Marker(point));
...
...
src/views/draw/sip/index.vue
浏览文件 @
d3941500
...
...
@@ -47,6 +47,9 @@
清太祖爱新觉罗·努尔哈赤(1559年2月21日—1626年9月30日),清朝的奠基者,后金开国之君,通满语和汉语,喜读《三国演义》。二十五岁时起兵统一女真各部,明神宗万历四十四年...
</p>
-->
</div>
<!--
<el-tag
type=
"success"
effect=
"dark"
style=
"margin-right: 40px;"
v-if=
"item.albumId"
>
图册
</el-tag>
<el-tag
type=
"warning"
effect=
"dark"
style=
"margin-right: 40px;"
>
待交接
</el-tag>
-->
<el-button
type=
"success"
size=
"mini"
style=
"margin-right: 40px;"
v-if=
"item.albumId"
>
图册
</el-button>
<el-button
type=
"warning"
size=
"mini"
style=
"margin-right: 40px;"
>
待交接
</el-button>
<img
class=
"tag_img"
:src=
"`$
{domain}${requestPath.file}?fileName=${item.userImg}
&
isOnLine=true`" v-if="item.userImg" alt="头像" :title="item.createrName">
<img
class=
"tag_img"
src=
"../../../assets/img/default.png"
v-else
alt=
"默认头像"
:title=
"item.createrName"
>
...
...
src/views/draw/sip/msg_packet.vue
浏览文件 @
d3941500
...
...
@@ -14,8 +14,8 @@
<p>
<span>
资源题名:
{{
pdf
.
name
}}
由
{{
pdf
.
createrName
}}
在
{{
pdf
.
createTime
}}
提交
</span>
<span
v-if=
"resourceType==2||resourceType==6"
>
<el-button
type=
"primary"
icon=
"el-icon-download"
size=
"mini"
>
下载原文件
</el-button>
<el-button
type=
"primary"
icon=
""
size=
"mini"
>
进入图册
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-download"
size=
"mini"
@
click=
"downPic"
>
下载原文件
</el-button>
<el-button
type=
"primary"
icon=
""
size=
"mini"
@
click=
"linkPic"
v-if=
"pdf.albumId"
>
进入图册
</el-button>
</span>
<span
v-else
>
<img
src=
"~@/assets/img/pdf.png"
alt=
"pdf"
class=
"pdf_icon"
>
...
...
@@ -174,6 +174,7 @@ export default {
id
:
''
,
resourceType
:
null
,
pdf
:{},
fileName
:
''
}
},
mounted
()
{
...
...
@@ -201,6 +202,7 @@ export default {
let
{
fileName
}
=
res
.
data
.
data
;
this
.
pdf
=
res
.
data
.
data
;
this
.
activeStatus
=
this
.
pdf
.
status
;
this
.
fileName
=
fileName
;
this
.
pdf
.
fileName
=
`
${
this
.
domain
}${
requestPath
.
file
}
?fileName=
${
fileName
}
&isOnLine=true`
;
}
else
{
this
.
$message
.
error
(
'获取失败'
)
...
...
@@ -224,6 +226,12 @@ export default {
});
},
downPic
(){
window
.
open
(
`
${
this
.
domain
}${
requestPath
.
file
}
?fileName=
${
this
.
fileName
}
&isOnLine=false`
);
},
linkPic
(){
this
.
$router
.
push
({
path
:
'/submission/infoview/photolook'
,
query
:{
oid
:
this
.
pdf
.
albumId
}})
},
handleClick
(){
},
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论