Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
K
knowledgeServiceAdmin
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
注册表
注册表
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
quanlili
knowledgeServiceAdmin
Commits
c254b833
提交
c254b833
authored
11月 04, 2019
作者:
quanlili
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改批量
上级
d922db8e
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
35 行增加
和
17 行删除
+35
-17
contrast.vue
src/views/draw/metadata/contrast.vue
+7
-2
detail.vue
src/views/draw/metadata/detail.vue
+20
-11
index.scss
src/views/draw/metadata/index.scss
+5
-1
index.vue
src/views/draw/sip/index.vue
+2
-2
msg_packet.vue
src/views/draw/sip/msg_packet.vue
+1
-1
没有找到文件。
src/views/draw/metadata/contrast.vue
浏览文件 @
c254b833
<
template
>
<
template
>
<div
class=
"metadata_contrast app-container"
>
<div
class=
"metadata_contrast app-container"
>
<div
class=
" clearfix"
>
<a><span
class=
"refBtn fr"
style=
"margin: 17px 0px 23px;"
@
click=
"$router.go(-1)"
><i
class=
"el-icon-back"
></i>
返回
</span>
</a>
</div>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<div
style=
"width:100%;"
class=
"pdf_wrap"
v-loading=
"loading"
>
<div
style=
"width:100%;"
class=
"pdf_wrap"
v-loading=
"loading"
>
...
@@ -46,9 +49,11 @@ export default {
...
@@ -46,9 +49,11 @@ export default {
}
}
},
},
mounted
()
{
mounted
()
{
this
.
file
=
this
.
$route
.
query
.
file
;
this
.
file
=
JSON
.
parse
(
this
.
$route
.
query
.
file
);
this
.
pdf
=
this
.
$route
.
query
.
pdf
;
this
.
pdf
=
JSON
.
parse
(
this
.
$route
.
query
.
pdf
);
console
.
log
(
this
.
file
,
this
.
pdf
,
'00000000000'
)
this
.
file
.
fileName
=
`
${
this
.
domain
}${
requestPath
.
file
}
?fileName=
${
this
.
file
.
fileName
}
&isOnLine=true`
;
this
.
file
.
fileName
=
`
${
this
.
domain
}${
requestPath
.
file
}
?fileName=
${
this
.
file
.
fileName
}
&isOnLine=true`
;
this
.
pdf
.
fileName
=
`
${
this
.
domain
}${
requestPath
.
file
}
?fileName=
${
this
.
pdf
.
fileName
}
&isOnLine=true`
;
},
},
methods
:
{
methods
:
{
refPage
(){
refPage
(){
...
...
src/views/draw/metadata/detail.vue
浏览文件 @
c254b833
...
@@ -228,7 +228,7 @@
...
@@ -228,7 +228,7 @@
<img
class=
"tag_img"
v-if=
"item.userImg"
:src=
"`$
{uploadUrl}?fileName=${item.userImg}`" alt="头像" >
<img
class=
"tag_img"
v-if=
"item.userImg"
:src=
"`$
{uploadUrl}?fileName=${item.userImg}`" alt="头像" >
<img
class=
"tag_img"
v-else
:src=
"`$
{uploadUrl}?fileName=${item.userImg}`" alt="头像">
<img
class=
"tag_img"
v-else
:src=
"`$
{uploadUrl}?fileName=${item.userImg}`" alt="头像">
<div
class=
"opt_wrap"
>
<div
class=
"opt_wrap"
>
<el-button
type=
"primary"
plain
size=
"mini"
@
click=
"contrastTo(item.
file
Name,item.name)"
><i
class=
"iconfont icon-projectguanlianbijiao"
></i>
关联比较
</el-button>
<el-button
type=
"primary"
plain
size=
"mini"
@
click=
"contrastTo(item.
pdf
Name,item.name)"
><i
class=
"iconfont icon-projectguanlianbijiao"
></i>
关联比较
</el-button>
<el-button
type=
"success"
plain
size=
"mini"
icon=
"el-icon-search"
@
click=
"linkSip"
>
查看
</el-button>
<el-button
type=
"success"
plain
size=
"mini"
icon=
"el-icon-search"
@
click=
"linkSip"
>
查看
</el-button>
</div>
</div>
</div>
</div>
...
@@ -265,7 +265,7 @@
...
@@ -265,7 +265,7 @@
</el-form>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"entityVisible = false"
>
取 消
</el-button>
<el-button
@
click=
"entityVisible = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"entitySubmit"
>
确 定
</el-button>
<el-button
type=
"primary"
@
click=
"entitySubmit"
v-loading=
"submitLoad"
>
确 定
</el-button>
</span>
</span>
</el-dialog>
</el-dialog>
<!-- 命名实体确认 -->
<!-- 命名实体确认 -->
...
@@ -325,7 +325,7 @@
...
@@ -325,7 +325,7 @@
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"personLinkVisible = false"
>
取 消
</el-button>
<el-button
@
click=
"personLinkVisible = false"
>
取 消
</el-button>
<!--
<el-button
type=
"primary"
@
click=
"personLinkVisible = false"
>
更换义项
</el-button>
-->
<!--
<el-button
type=
"primary"
@
click=
"personLinkVisible = false"
>
更换义项
</el-button>
-->
<el-button
type=
"primary"
@
click=
"importPerson"
>
确认实体
</el-button>
<el-button
type=
"primary"
@
click=
"importPerson"
v-loading=
"submitLoad"
>
确认实体
</el-button>
</span>
</span>
</el-dialog>
</el-dialog>
<!-- 地理位置实体确认 -->
<!-- 地理位置实体确认 -->
...
@@ -574,6 +574,7 @@ export default {
...
@@ -574,6 +574,7 @@ export default {
positionLinkVisible
:
false
,
positionLinkVisible
:
false
,
organizationLinkVisible
:
false
,
organizationLinkVisible
:
false
,
timerLinkVisible
:
false
,
timerLinkVisible
:
false
,
submitLoad
:
false
,
backForm
:{
backForm
:{
state
:
1
,
state
:
1
,
keyword
:
''
keyword
:
''
...
@@ -756,6 +757,7 @@ export default {
...
@@ -756,6 +757,7 @@ export default {
entitySubmit
(){
entitySubmit
(){
this
.
$refs
[
'entityForm'
].
validate
((
valid
)
=>
{
this
.
$refs
[
'entityForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
this
.
submitLoad
=
true
;
addEntityAPI
(
this
.
entityForm
).
then
(
res
=>
{
addEntityAPI
(
this
.
entityForm
).
then
(
res
=>
{
if
(
res
.
data
.
code
===
0
){
if
(
res
.
data
.
code
===
0
){
let
tab
=
{
let
tab
=
{
...
@@ -765,8 +767,10 @@ export default {
...
@@ -765,8 +767,10 @@ export default {
this
.
backForm
.
state
=
this
.
entityForm
.
state
;
//显示哪个弹框
this
.
backForm
.
state
=
this
.
entityForm
.
state
;
//显示哪个弹框
this
.
lookBack
(
this
.
entityForm
.
keyword
);
this
.
lookBack
(
this
.
entityForm
.
keyword
);
this
.
entityVisible
=
false
;
this
.
entityVisible
=
false
;
this
.
submitLoad
=
false
;
}
else
{
}
else
{
this
.
$message
.
error
(
'新增实体失败'
)
this
.
$message
.
error
(
'新增实体失败'
)
this
.
submitLoad
=
false
;
}
}
})
})
}
else
{
}
else
{
...
@@ -896,6 +900,7 @@ export default {
...
@@ -896,6 +900,7 @@ export default {
importPerson
(){
importPerson
(){
this
.
$refs
[
'personForm'
].
validate
((
valid
)
=>
{
this
.
$refs
[
'personForm'
].
validate
((
valid
)
=>
{
if
(
valid
){
if
(
valid
){
this
.
submitLoad
=
true
;
this
.
personForm
.
keyword
=
this
.
backForm
.
keyword
;
this
.
personForm
.
keyword
=
this
.
backForm
.
keyword
;
importPersonAPI
(
this
.
personForm
).
then
(
res
=>
{
importPersonAPI
(
this
.
personForm
).
then
(
res
=>
{
if
(
res
.
data
.
code
==
0
){
if
(
res
.
data
.
code
==
0
){
...
@@ -906,8 +911,10 @@ export default {
...
@@ -906,8 +911,10 @@ export default {
}
}
this
.
handleInnerClick
(
tab
,
event
)
this
.
handleInnerClick
(
tab
,
event
)
this
.
personLinkVisible
=
false
;
this
.
personLinkVisible
=
false
;
this
.
submitLoad
=
false
;
}
else
{
}
else
{
this
.
$message
.
error
(
'确认实体失败'
);
this
.
$message
.
error
(
'确认实体失败'
);
this
.
submitLoad
=
false
;
}
}
})
})
}
else
{
}
else
{
...
@@ -1010,15 +1017,17 @@ export default {
...
@@ -1010,15 +1017,17 @@ export default {
this
.
getTimer
()
this
.
getTimer
()
}
}
},
},
contrastTo
(
fileName
,
name
){
contrastTo
(
pdfName
,
name
){
let
file
=
{
fileName
:
pdfName
,
name
:
name
,
}
let
pdf
=
{
fileName
:
this
.
pdf
.
pdfName
,
name
:
this
.
pdf
.
name
}
this
.
$router
.
push
({
path
:
"/draw/metadata_contrast"
,
query
:{
this
.
$router
.
push
({
path
:
"/draw/metadata_contrast"
,
query
:{
file
:{
file
:
JSON
.
stringify
(
file
),
pdf
:
JSON
.
stringify
(
pdf
)
fileName
:
fileName
,
name
:
name
,
},
pdf
:{
fileName
:
this
.
pdf
.
fileName
,
name
:
this
.
pdf
.
name
}
}
}
})
})
},
},
...
...
src/views/draw/metadata/index.scss
浏览文件 @
c254b833
...
@@ -158,7 +158,7 @@
...
@@ -158,7 +158,7 @@
.tag
{
.tag
{
margin
:
0
20px
;
margin
:
0
20px
;
color
:
#F56C6C
;
color
:
#F56C6C
;
}
}
.tag_img
{
.tag_img
{
width
:
28px
;
width
:
28px
;
...
@@ -406,6 +406,10 @@
...
@@ -406,6 +406,10 @@
.ref_btn
{
.ref_btn
{
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.refBtn
{
font-size
:
14px
;
color
:
#868BA3
;
}
.pdf_wrap
{
.pdf_wrap
{
background-color
:
#fff
;
background-color
:
#fff
;
padding
:
20px
;
padding
:
20px
;
...
...
src/views/draw/sip/index.vue
浏览文件 @
c254b833
...
@@ -312,7 +312,7 @@ export default {
...
@@ -312,7 +312,7 @@ export default {
},
},
batchUpdate
(){
batchUpdate
(){
let
data
=
{
let
data
=
{
ids
:
this
.
allIds
,
ids
:
this
.
multipleSelection
,
status
:
3
,
//通过交接
status
:
3
,
//通过交接
remark
:
this
.
pdf
.
remark
remark
:
this
.
pdf
.
remark
}
}
...
@@ -338,7 +338,7 @@ export default {
...
@@ -338,7 +338,7 @@ export default {
},
},
batchRefuse
(){
batchRefuse
(){
let
data
=
{
let
data
=
{
ids
:
this
.
allIds
,
ids
:
this
.
multipleSelection
,
status
:
4
,
//通过交接
status
:
4
,
//通过交接
remark
:
this
.
pdf
.
remark
remark
:
this
.
pdf
.
remark
}
}
...
...
src/views/draw/sip/msg_packet.vue
浏览文件 @
c254b833
...
@@ -114,7 +114,7 @@
...
@@ -114,7 +114,7 @@
<el-steps
:active=
"activeStatus"
finish-status=
"success"
align-center
>
<el-steps
:active=
"activeStatus"
finish-status=
"success"
align-center
>
<el-step
title=
"待录入"
v-if=
"pdf.status==0"
></el-step>
<el-step
title=
"待录入"
v-if=
"pdf.status==0"
></el-step>
<el-step
title=
"待挂接"
v-if=
"pdf.status==2"
></el-step>
<el-step
title=
"待挂接"
v-if=
"pdf.status==2"
></el-step>
<el-step
title=
"审交接中"
></el-step>
<el-step
title=
"审
核
交接中"
></el-step>
<el-step
title=
"已交接"
v-if=
"pdf.status!=4"
></el-step>
<el-step
title=
"已交接"
v-if=
"pdf.status!=4"
></el-step>
<el-step
title=
"已入库"
v-if=
'pdf.status!=4'
></el-step>
<el-step
title=
"已入库"
v-if=
'pdf.status!=4'
></el-step>
<el-step
title=
"拒绝交接"
v-if=
"pdf.status==4"
></el-step>
<el-step
title=
"拒绝交接"
v-if=
"pdf.status==4"
></el-step>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论