Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
K
knowledgeServiceAdmin
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
注册表
注册表
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
quanlili
knowledgeServiceAdmin
Commits
6a1ae472
提交
6a1ae472
authored
11月 01, 2019
作者:
王腾飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1101
上级
62297cda
全部展开
显示空白字符变更
内嵌
并排
正在显示
13 个修改的文件
包含
130 行增加
和
86 行删除
+130
-86
character.scss
src/views/storagemodule/namedentity/character.scss
+7
-0
character.vue
src/views/storagemodule/namedentity/character.vue
+18
-16
characterentry.vue
src/views/storagemodule/namedentity/characterentry.vue
+6
-7
localtion.vue
src/views/storagemodule/namedentity/localtion.vue
+1
-1
organ.vue
src/views/storagemodule/namedentity/organ.vue
+1
-1
addnewphoto.vue
src/views/submission/infoview/addnewphoto.vue
+8
-7
allresource.vue
src/views/submission/infoview/allresource.vue
+2
-1
editphotoresource.vue
src/views/submission/infoview/editphotoresource.vue
+1
-1
mycommit.vue
src/views/submission/infoview/mycommit.vue
+3
-2
myedit.vue
src/views/submission/infoview/myedit.vue
+2
-1
photolook.vue
src/views/submission/infoview/photolook.vue
+20
-4
index.scss
src/views/submission/resourcecommit/index.scss
+3
-3
index.vue
src/views/submission/resourcecommit/index.vue
+58
-42
没有找到文件。
src/views/storagemodule/namedentity/character.scss
浏览文件 @
6a1ae472
...
...
@@ -44,3 +44,10 @@
text-align
:center
;
}
}
.searchBox
{
.el-input-group__append
{
background
:
#409EFF
;
color
:
#fff
;
border
:none
;
}
}
src/views/storagemodule/namedentity/character.vue
浏览文件 @
6a1ae472
<
template
>
<div
class=
"box"
>
<div
class=
"metaDataTop"
>
<em
v-if=
"this.$route.query.entityType ==
= '1'
"
>
人物实体
</em>
<em
v-if=
"this.$route.query.entityType ==
= '2'
"
>
地理位置实体
</em>
<em
v-if=
"this.$route.query.entityType ==
= '3'
"
>
组织机构实体
</em>
<em
v-if=
"this.$route.query.entityType ==
1
"
>
人物实体
</em>
<em
v-if=
"this.$route.query.entityType ==
3
"
>
地理位置实体
</em>
<em
v-if=
"this.$route.query.entityType ==
2
"
>
组织机构实体
</em>
<span>
刷新
</span>
</div>
<div
class=
"contentBox"
>
<div
class=
"contentBoxLeft"
>
<h2
id=
"moduleId0"
>
>
人物
信息
</h2>
<h2
id=
"moduleId0"
>
>
实体
信息
</h2>
<dl>
<dt>
<img
:src=
"characterDetailData.img"
alt=
""
>
...
...
@@ -16,7 +16,9 @@
<dd>
<ul>
<li>
{{
characterDetailData
.
name
}}
</li>
<li>
{{
characterDetailData
.
occupation
}}
|
{{
characterDetailData
.
dateofbirth
}}
-
{{
characterDetailData
.
elapsedtime
}}
|
{{
characterDetailData
.
nationality
}}
</li>
<li
v-if=
"this.$route.query.entityType == 1"
>
{{
characterDetailData
.
occupation
}}
|
{{
characterDetailData
.
dateofbirth
}}
-
{{
characterDetailData
.
elapsedtime
}}
|
{{
characterDetailData
.
nationality
}}
</li>
<li
v-else-if=
"this.$route.query.entityType == 3"
>
{{
characterDetailData
.
detailedaddress
}}
</li>
<li
v-else
>
{{
characterDetailData
.
type
}}
|
{{
characterDetailData
.
foundertime
}}
|
{{
characterDetailData
.
abbreviation
}}
</li>
<li>
{{
characterDetailData
.
description
}}
</li>
</ul>
</dd>
...
...
@@ -54,7 +56,7 @@
<td></td>
</tr>
</table>
<table
class=
"basicInfo"
v-if=
"this.$route.query.entityType ==
2
"
>
<table
class=
"basicInfo"
v-if=
"this.$route.query.entityType ==
3
"
>
<tr>
<td>
名称:
</td>
<td>
{{
characterDetailData
.
name
}}
</td>
...
...
@@ -74,7 +76,7 @@
<td></td>
</tr>
</table>
<table
class=
"basicInfo"
v-if=
"this.$route.query.entityType ==
3
"
>
<table
class=
"basicInfo"
v-if=
"this.$route.query.entityType ==
2
"
>
<tr>
<td>
名称:
</td>
<td>
{{
characterDetailData
.
name
}}
</td>
...
...
@@ -168,16 +170,16 @@
</table>
<div
class=
"echartsBox"
id=
"moduleId4 moduleId5"
>
<section
class=
"left"
>
<h2
v-if=
"this.$route.query.entityType ==
= '1'
"
>
>人物关系
</h2>
<h2
v-else-if=
"this.$route.query.entityType ==
= '2'
"
>
>地点实体关系
</h2>
<h2
v-if=
"this.$route.query.entityType ==
1
"
>
>人物关系
</h2>
<h2
v-else-if=
"this.$route.query.entityType ==
3
"
>
>地点实体关系
</h2>
<h2
v-else
>
>组织机构实体关系
</h2>
<div>
<div
id=
"relationChart"
style=
"width:100%; height:100%;"
></div>
</div>
</section>
<section
class=
"right"
>
<h2
v-if=
"this.$route.query.entityType ==
= '1'
"
>
>人物关键词
</h2>
<h2
v-else-if=
"this.$route.query.entityType ==
= '2'
"
>
>地点关键词
</h2>
<h2
v-if=
"this.$route.query.entityType ==
1
"
>
>人物关键词
</h2>
<h2
v-else-if=
"this.$route.query.entityType ==
3
"
>
>地点关键词
</h2>
<h2
v-else
>
>组织机构关键词
</h2>
<div>
<div
id=
"myChart"
></div>
...
...
@@ -462,7 +464,7 @@ export default {
contentBoxRightData
:
[
{
id
:
1
,
name
:
'
人物
信息'
name
:
'
实体
信息'
},
{
id
:
2
,
...
...
@@ -478,11 +480,11 @@ export default {
},
{
id
:
5
,
name
:
'
人物
关系'
name
:
'
实体
关系'
},
{
id
:
6
,
name
:
'
人物
关键词'
name
:
'
实体
关键词'
},
{
id
:
7
,
...
...
@@ -539,7 +541,7 @@ export default {
_this
.
peopleName
=
res
.
data
.
data
.
keyword
;
}
})
}
else
if
(
this
.
$route
.
query
.
entityType
==
2
)
{
}
else
if
(
this
.
$route
.
query
.
entityType
==
3
)
{
localtionDetailAPI
(
this
.
$route
.
query
.
id
)
.
then
(
res
=>
{
if
(
res
.
data
.
code
===
0
)
{
...
...
@@ -547,7 +549,7 @@ export default {
_this
.
peopleName
=
res
.
data
.
data
.
keyword
;
}
})
}
else
if
(
this
.
$route
.
query
.
entityType
==
3
)
{
}
else
if
(
this
.
$route
.
query
.
entityType
==
2
)
{
organDetailAPI
(
this
.
$route
.
query
.
id
)
.
then
(
res
=>
{
if
(
res
.
data
.
code
===
0
)
{
...
...
src/views/storagemodule/namedentity/characterentry.vue
浏览文件 @
6a1ae472
...
...
@@ -2,16 +2,11 @@
<div
class=
"box"
>
<div
class=
"metaDataTop"
>
<em>
人物
</em>
<span
@
click=
"refPage"
>
刷新
<i
class=
"el-icon-refresh
"
></i></span>
<span
@
click=
"refPage"
>
刷新
<i
class=
"el-icon-refresh
"
></i></span>
</div>
<div
class=
"searchBox"
>
<el-input
placeholder=
"搜索数字记忆资源库"
v-model=
"inputVal"
class=
"input-with-select"
>
<el-select
v-model=
"selectVal"
slot=
"prepend"
placeholder=
"关键字"
>
<el-option
label=
"餐厅名"
value=
"1"
></el-option>
<el-option
label=
"订单号"
value=
"2"
></el-option>
<el-option
label=
"用户电话"
value=
"3"
></el-option>
</el-select>
<el-button
slot=
"append"
icon=
"el-icon-search"
style=
"background:#409EFF; color:#fff; border-top-left-radius:0; border-bottom-left-radius:0;"
>
检索
</el-button>
<el-button
slot=
"append"
icon=
"el-icon-search"
style=
"border-top-left-radius:0; border-bottom-left-radius:0;"
>
检索
</el-button>
</el-input>
</div>
<div
class=
"screeningConditionsLeft"
>
...
...
@@ -572,3 +567,7 @@ export default {
}
}
</
style
>
<
style
lang=
"scss"
>
@import
'character.scss'
</
style
>
src/views/storagemodule/namedentity/localtion.vue
浏览文件 @
6a1ae472
...
...
@@ -228,7 +228,7 @@ export default {
path
:
'character'
,
query
:
{
id
:
item
.
id
,
entityType
:
2
,
entityType
:
3
,
}
})
},
...
...
src/views/storagemodule/namedentity/organ.vue
浏览文件 @
6a1ae472
...
...
@@ -254,7 +254,7 @@ export default {
path
:
'character'
,
query
:
{
id
:
item
.
id
,
entityType
:
3
,
entityType
:
2
,
}
})
},
...
...
src/views/submission/infoview/addnewphoto.vue
浏览文件 @
6a1ae472
...
...
@@ -49,7 +49,6 @@
<el-upload
:action=
"`$
{uploadUrl}/${uploadPath}/info`"
:show-file-list="false"
:limit="1"
:on-success="handleSuccess"
:before-upload="beforeUpload"
class="upload-demo"
...
...
@@ -233,12 +232,14 @@ export default {
},
1000
)
},
editThisItem
(
item
,
key
)
{
// console.log(item, "*****(((((")
// store.dispatch('set_photo_id', item.id)
// this.$router.push({
// path: 'editphotoresource',
// activeIndexOne: key
// })
store
.
dispatch
(
'set_photo_id'
,
item
.
id
);
this
.
$router
.
push
({
path
:
'editphotoresource'
,
query
:
{
oid
:
this
.
$route
.
query
.
oid
,
//图册id
activeIndexOne
:
key
}
})
}
}
}
...
...
src/views/submission/infoview/allresource.vue
浏览文件 @
6a1ae472
...
...
@@ -298,7 +298,8 @@ export default {
this
.
$router
.
push
({
path
:
'/submission/resourcecommit'
,
query
:
{
oid
:
item
.
id
oid
:
item
.
id
,
flag
:
'look'
}
})
},
...
...
src/views/submission/infoview/editphotoresource.vue
浏览文件 @
6a1ae472
<
template
>
<div
class=
"editPhotoResourceBox app-container"
>
<div
class=
"resourceCommitTop"
>
<em>
提交文本
资源
</em>
<em>
编辑照片
资源
</em>
</div>
<div
class=
"formBox"
>
<div
class=
"formLeft"
>
...
...
src/views/submission/infoview/mycommit.vue
浏览文件 @
6a1ae472
...
...
@@ -292,7 +292,7 @@ export default {
this
.
$router
.
push
({
path
:
'/submission/resourcecommit'
,
query
:
{
oid
:
item
.
id
oid
:
item
.
id
,
}
})
},
...
...
@@ -300,7 +300,8 @@ export default {
this
.
$router
.
push
({
path
:
'/submission/resourcecommit'
,
query
:
{
oid
:
item
.
id
oid
:
item
.
id
,
flag
:
'look'
}
})
}
...
...
src/views/submission/infoview/myedit.vue
浏览文件 @
6a1ae472
...
...
@@ -300,7 +300,8 @@ export default {
this
.
$router
.
push
({
path
:
'/submission/resourcecommit'
,
query
:
{
oid
:
item
.
id
oid
:
item
.
id
,
flag
:
'look'
}
})
}
...
...
src/views/submission/infoview/photolook.vue
浏览文件 @
6a1ae472
...
...
@@ -190,10 +190,18 @@ export default {
console
.
log
(
this
.
uploadUrl
,
"LL"
)
this
.
photoItemId
=
flag
.
id
this
.
exifImgPath
=
this
.
uploadUrl
+
'?fileName='
+
flag
.
fileName
;
const
imageObj
=
new
Image
();
if
(
this
.
exifImgPath
)
{
imageObj
.
src
=
this
.
exifImgPath
;
console
.
log
(
imageObj
,
'ILIL'
)
console
.
log
(
this
.
exifImgPath
)
var
_this
=
this
;
var
res
=
_this
.
EXIF
.
getAllTags
(
this
.
exifImgPath
);
console
.
log
(
res
,
"22222222222222"
);
this
.
EXIF
.
getData
([
imageObj
],
function
()
{
console
.
log
(
_this
.
EXIF
.
getAllTags
(
this
),
"::::"
)
// 此处打印的为选中图片的数据
})
// var res = _this.EXIF.getAllTags(imageObj);
// console.log(res,"22222222222222");
}
}
}
},
...
...
@@ -218,10 +226,18 @@ export default {
console
.
log
(
this
.
uploadUrl
,
"LL"
)
this
.
photoItemId
=
flag
.
id
this
.
exifImgPath
=
this
.
uploadUrl
+
'?fileName='
+
flag
.
fileName
;
const
imageObj
=
new
Image
();
if
(
this
.
exifImgPath
)
{
imageObj
.
src
=
this
.
exifImgPath
;
console
.
log
(
imageObj
,
'ILIL'
)
console
.
log
(
this
.
exifImgPath
)
var
_this
=
this
;
var
res
=
_this
.
EXIF
.
getAllTags
(
this
.
exifImgPath
);
console
.
log
(
res
,
"22222222222222"
);
this
.
EXIF
.
getData
(
imageObj
,
function
()
{
console
.
log
(
_this
.
EXIF
.
getAllTags
(
this
))
// 此处打印的为选中图片的数据
})
// var res = _this.EXIF.getAllTags(imageObj);
// console.log(res,"22222222222222");
}
}
}
}
...
...
src/views/submission/resourcecommit/index.scss
浏览文件 @
6a1ae472
...
...
@@ -24,7 +24,7 @@
color
:
#409EFF
;
background
:
#e6f1fe
;
}
.el-form-item__error
{
top
:
80%
;
}
//
.el-form-item__error {
//
top:80%;
//
}
}
src/views/submission/resourcecommit/index.vue
浏览文件 @
6a1ae472
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论