Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xxx_phase2_web
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
夏敏伟
xxx_phase2_web
Commits
abbacd8b
Commit
abbacd8b
authored
Oct 28, 2023
by
高飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改人物机构右侧数据
parent
fdb06eb3
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
47 additions
and
44 deletions
+47
-44
src/api/xxxl/llxx.js
src/api/xxxl/llxx.js
+5
-3
src/assets/img/setting/tr1.png
src/assets/img/setting/tr1.png
+0
-0
src/assets/img/setting/tr11.png
src/assets/img/setting/tr11.png
+0
-0
src/view/dfzy/dfzyjgk.vue
src/view/dfzy/dfzyjgk.vue
+3
-3
src/view/dfzy/dfzyrwk.vue
src/view/dfzy/dfzyrwk.vue
+5
-3
src/view/dfzy/jq_xq_dfzy.vue
src/view/dfzy/jq_xq_dfzy.vue
+4
-8
src/view/dfzyjgxq.vue
src/view/dfzyjgxq.vue
+1
-1
src/view/dfzyrwxq.vue
src/view/dfzyrwxq.vue
+1
-1
src/view/flfg/flfg1.vue
src/view/flfg/flfg1.vue
+1
-1
src/view/home.vue
src/view/home.vue
+7
-5
src/view/sjgl/jg_xq.vue
src/view/sjgl/jg_xq.vue
+4
-4
src/view/sjgl/news_info.vue
src/view/sjgl/news_info.vue
+2
-2
src/view/sjgl/rw_xq.vue
src/view/sjgl/rw_xq.vue
+5
-4
src/view/yqjc/news_info.vue
src/view/yqjc/news_info.vue
+4
-4
src/view/yqjc/rdsj.vue
src/view/yqjc/rdsj.vue
+2
-2
src/view/yqjc/zk_info.vue
src/view/yqjc/zk_info.vue
+2
-2
webpack.config.js
webpack.config.js
+1
-1
No files found.
src/api/xxxl/llxx.js
View file @
abbacd8b
...
@@ -98,9 +98,11 @@ export const queryRecommendLiterature = id => {
...
@@ -98,9 +98,11 @@ export const queryRecommendLiterature = id => {
//分页检索文献列表
//分页检索文献列表
export
const
searchLiterature
=
(
module
,
pageNum
,
pageSize
,
text
)
=>
{
export
const
searchLiterature
=
(
module
,
pageNum
,
pageSize
,
text
)
=>
{
let
url
=
`
${
PREFIX_ELASTIC
}
queryRecommendLiterature`
;
// let url = `${PREFIX_ELASTIC}queryRecommendLiterature`;
url
+=
addParam
({
module
,
pageNum
,
pageSize
,
text
});
// url += addParam({ module, pageNum, pageSize, text });
return
post
(
url
);
let
url
=
`
${
PREFIX_ELASTIC
}
searchLiterature`
;
url
+=
addParam
({
module
,
pageNum
,
pageSize
});
return
post
(
url
,
text
);
}
}
//根据文献name获取文献
//根据文献name获取文献
...
...
src/assets/img/setting/tr1.png
View replaced file @
fdb06eb3
View file @
abbacd8b
95.5 KB
|
W:
|
H:
7.59 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/assets/img/setting/tr11.png
0 → 100644
View file @
abbacd8b
95.5 KB
src/view/dfzy/dfzyjgk.vue
View file @
abbacd8b
...
@@ -486,8 +486,8 @@ export default {
...
@@ -486,8 +486,8 @@ export default {
{
{
module
:
this
.
jgName_public
==
1
?
"
DF
"
:
"
DFWW
"
,
module
:
this
.
jgName_public
==
1
?
"
DF
"
:
"
DFWW
"
,
name
:
name
,
name
:
name
,
type
:
this
.
typeMilitaryPolitics
.
name
,
type
:
this
.
typeMilitaryPolitics
.
name
==
''
?
null
:
this
.
typeMilitaryPolitics
.
name
,
nation
:
this
.
typeCountryRegion
.
name
,
nation
:
this
.
typeCountryRegion
.
name
==
''
?
null
:
this
.
typeCountryRegion
.
name
,
}
}
).
then
((
res
)
=>
{
).
then
((
res
)
=>
{
this
.
rwkxx
=
[];
this
.
rwkxx
=
[];
...
@@ -626,7 +626,7 @@ export default {
...
@@ -626,7 +626,7 @@ export default {
this
.
jgName
=
"
1
"
;
this
.
jgName
=
"
1
"
;
this
.
jgName_public
=
2
;
this
.
jgName_public
=
2
;
}
else
{
}
else
{
this
.
value_select
=
val
.
code
;
this
.
value_select
=
val
.
id
;
this
.
jgName
=
val
.
id
;
this
.
jgName
=
val
.
id
;
this
.
jgName_public
=
val
.
type
;
this
.
jgName_public
=
val
.
type
;
}
}
...
...
src/view/dfzy/dfzyrwk.vue
View file @
abbacd8b
...
@@ -352,6 +352,7 @@ export default {
...
@@ -352,6 +352,7 @@ export default {
categoryId
:
null
,
categoryId
:
null
,
valueTitle
:
""
,
valueTitle
:
""
,
value_select
:
4
,
value_select
:
4
,
value_selects
:
''
,
};
};
},
},
methods
:
{
methods
:
{
...
@@ -368,7 +369,6 @@ export default {
...
@@ -368,7 +369,6 @@ export default {
this
.
typeCountryRegion
=
{
value
:
''
,
name
:
''
};
this
.
typeCountryRegion
=
{
value
:
''
,
name
:
''
};
this
.
typeMilitaryPolitics
=
{
value
:
''
,
name
:
''
};
this
.
typeMilitaryPolitics
=
{
value
:
''
,
name
:
''
};
this
.
type_zhOrcx
=
1
;
this
.
type_zhOrcx
=
1
;
// this.query_tree();
this
.
pageInfo
.
current_page
=
pageNum
;
this
.
pageInfo
.
current_page
=
pageNum
;
let
pageSize
=
this
.
pageInfo
.
pageSize
;
let
pageSize
=
this
.
pageInfo
.
pageSize
;
post
(
post
(
...
@@ -477,7 +477,7 @@ export default {
...
@@ -477,7 +477,7 @@ export default {
`api/rest/mongo/character/query?pageNum=
${
pageNum
}
&pageSize=
${
pageSize
}
`
,
`api/rest/mongo/character/query?pageNum=
${
pageNum
}
&pageSize=
${
pageSize
}
`
,
{
{
module
:
this
.
types
==
1
?
"
DF
"
:
"
DFWW
"
,
module
:
this
.
types
==
1
?
"
DF
"
:
"
DFWW
"
,
orgId
:
this
.
value_select
==
1
||
this
.
value_select
==
4
?
null
:
this
.
value_select
,
orgId
:
this
.
value_select
==
1
||
this
.
value_select
==
4
?
null
:
this
.
value_select
s
,
}
}
)
)
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
...
@@ -624,10 +624,12 @@ export default {
...
@@ -624,10 +624,12 @@ export default {
NodeClick
(
val
){
NodeClick
(
val
){
if
(
JSON
.
stringify
(
val
)
==
"
{}
"
){
if
(
JSON
.
stringify
(
val
)
==
"
{}
"
){
this
.
value_select
=
undefined
;
this
.
value_select
=
undefined
;
this
.
value_selects
=
undefined
;
this
.
types
=
2
;
this
.
types
=
2
;
this
.
jgName
=
"
1
"
;
this
.
jgName
=
"
1
"
;
}
else
{
}
else
{
this
.
value_select
=
val
.
code
;
this
.
value_select
=
val
.
id
;
this
.
value_selects
=
val
.
code
;
this
.
types
=
val
.
type
;
this
.
types
=
val
.
type
;
this
.
jgName
=
val
.
code
==
undefined
?
val
.
id
:
val
.
code
;
this
.
jgName
=
val
.
code
==
undefined
?
val
.
id
:
val
.
code
;
}
}
...
...
src/view/dfzy/jq_xq_dfzy.vue
View file @
abbacd8b
...
@@ -1048,15 +1048,13 @@ export default {
...
@@ -1048,15 +1048,13 @@ export default {
});
});
endLoading
();
endLoading
();
}
else
if
(
item
.
objectType
==
"
文献
"
)
{
}
else
if
(
item
.
objectType
==
"
文献
"
)
{
get
(
"
api/rest/document/queryLiterature?id=
"
+
item
.
objectFrom
)
get
(
"
api/rest/
3z/
document/queryLiterature?id=
"
+
item
.
objectFrom
)
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
if
(
data
.
list
.
length
==
0
)
{
if
(
data
.
list
.
length
==
0
)
{
this
.
$message
.
warning
(
"
当前关联文献未找到!!!
"
);
this
.
$message
.
warning
(
"
当前关联文献未找到!!!
"
);
}
else
{
}
else
{
window
.
open
(
window
.
open
(
"
api/rest/document/viewLiterature/
"
+
"
api/rest/file/pdf/LiteraturePDF?objectName=
"
+
data
.
list
[
0
].
folder
+
"
/
"
+
data
.
list
[
0
].
name
data
.
list
[
0
].
name
);
);
}
}
...
@@ -1080,15 +1078,13 @@ export default {
...
@@ -1080,15 +1078,13 @@ export default {
},
},
showInfo_s
(
item
)
{
showInfo_s
(
item
)
{
if
(
item
.
objectType
==
"
文献
"
)
{
if
(
item
.
objectType
==
"
文献
"
)
{
get
(
"
api/rest/document/queryLiterature?id=
"
+
item
.
objectFrom
)
get
(
"
api/rest/
3z/
document/queryLiterature?id=
"
+
item
.
objectFrom
)
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
if
(
data
.
list
.
length
==
0
)
{
if
(
data
.
list
.
length
==
0
)
{
this
.
$message
.
warning
(
"
当前关联文献未找到
"
);
this
.
$message
.
warning
(
"
当前关联文献未找到
"
);
}
else
{
}
else
{
window
.
open
(
window
.
open
(
"
api/rest/document/viewLiterature/
"
+
"
api/rest/file/pdf/LiteraturePDF?objectName=
"
+
data
.
list
[
0
].
folder
+
"
/
"
+
data
.
list
[
0
].
name
data
.
list
[
0
].
name
);
);
}
}
...
...
src/view/dfzyjgxq.vue
View file @
abbacd8b
...
@@ -978,7 +978,7 @@ export default {
...
@@ -978,7 +978,7 @@ export default {
this
.
xgnr_gjjy
=
[];
this
.
xgnr_gjjy
=
[];
this
.
xgnr_jgfxbg
=
[];
this
.
xgnr_jgfxbg
=
[];
this
.
query_Twitter
(
this
.
form
.
extraProperty
.
id
);
this
.
query_Twitter
(
this
.
form
.
extraProperty
.
id
);
this
.
query_xgyl
(
this
.
form
.
_id
);
this
.
query_xgyl
(
this
.
form
.
jgbh
.
value
);
})
})
.
catch
((
err
)
=>
{
.
catch
((
err
)
=>
{
console
.
log
(
err
);
console
.
log
(
err
);
...
...
src/view/dfzyrwxq.vue
View file @
abbacd8b
...
@@ -1113,7 +1113,7 @@ export default {
...
@@ -1113,7 +1113,7 @@ export default {
this
.
xgnr_pjyl
=
[];
this
.
xgnr_pjyl
=
[];
this
.
form
=
JSON
.
parse
(
this
.
$route
.
query
.
obj
);
this
.
form
=
JSON
.
parse
(
this
.
$route
.
query
.
obj
);
this
.
form
.
mouldId
&&
this
.
query_CharacterMould
(
this
.
form
.
mouldId
);
this
.
form
.
mouldId
&&
this
.
query_CharacterMould
(
this
.
form
.
mouldId
);
this
.
query_xgyl
(
this
.
form
.
_id
);
this
.
query_xgyl
(
this
.
form
.
rwbh
.
value
);
this
.
query_Twitter
(
this
.
form
.
extraProperty
.
id
);
this
.
query_Twitter
(
this
.
form
.
extraProperty
.
id
);
}
}
},
},
...
...
src/view/flfg/flfg1.vue
View file @
abbacd8b
...
@@ -1633,7 +1633,7 @@ export default {
...
@@ -1633,7 +1633,7 @@ export default {
},
},
//根据文本信息查询文件
//根据文本信息查询文件
searchLiterature
()
{
searchLiterature
()
{
searchLiterature
(
this
.
fulltextPagination
.
currentPage
,
this
.
fulltextPagination
.
everySize
,
this
.
input
).
then
((
res
)
=>
{
searchLiterature
(
'
法律法规
'
,
this
.
fulltextPagination
.
currentPage
,
this
.
fulltextPagination
.
everySize
,
this
.
input
).
then
((
res
)
=>
{
res
.
list
.
forEach
((
item
)
=>
{
res
.
list
.
forEach
((
item
)
=>
{
item
.
createTime
=
dateChangeFormat
(
item
.
createTime
=
dateChangeFormat
(
"
YYYY-mm-dd HH:MM:SS
"
,
"
YYYY-mm-dd HH:MM:SS
"
,
...
...
src/view/home.vue
View file @
abbacd8b
...
@@ -23,13 +23,13 @@
...
@@ -23,13 +23,13 @@
<!--
<div
class=
"top-nav3-content-user"
@
click=
"dialogVisible = true;"
>
<!--
<div
class=
"top-nav3-content-user"
@
click=
"dialogVisible = true;"
>
<i
class=
"el-icon-user-solid"
></i>
<i
class=
"el-icon-user-solid"
></i>
<span
v-text=
"userInfo.username"
></span>
<span
v-text=
"userInfo.username"
></span>
</div>
</div>
-->
<div
class=
"top-nav3-content-user"
v-if=
"noteNum > 0"
>
<
!--
<
div
class=
"top-nav3-content-user"
v-if=
"noteNum > 0"
>
<a
@
click=
"queryNotification()"
class=
"nav-link"
>
<a
@
click=
"queryNotification()"
class=
"nav-link"
>
<div
class=
"nav-counter nav-counter-red"
v-text=
"noteNum"
></div>
<div
class=
"nav-counter nav-counter-red"
v-text=
"noteNum"
></div>
</a>
</a>
</div>
</div>
-->
 
-->
 
<el-dropdown
@
command=
"handleCommand"
style=
"float: left;margin-top:10px;margin-left: 10px;"
>
<el-dropdown
@
command=
"handleCommand"
style=
"float: left;margin-top:10px;margin-left: 10px;"
>
<span
class=
"el-dropdown-link"
>
<span
class=
"el-dropdown-link"
>
<i
class=
"el-icon-more setting_button"
></i>
<i
class=
"el-icon-more setting_button"
></i>
...
@@ -37,6 +37,7 @@
...
@@ -37,6 +37,7 @@
<el-dropdown-menu
slot=
"dropdown"
class=
"hide-drop"
>
<el-dropdown-menu
slot=
"dropdown"
class=
"hide-drop"
>
<el-dropdown-item
v-for=
"(item, index) in manager_module_backstage"
v-text=
"item.name"
<el-dropdown-item
v-for=
"(item, index) in manager_module_backstage"
v-text=
"item.name"
:command=
"item.name"
:key=
"index"
></el-dropdown-item>
:command=
"item.name"
:key=
"index"
></el-dropdown-item>
<el-dropdown-item
command=
"修改密码"
>
修改密码
</el-dropdown-item>
<el-dropdown-item
command=
"安全退出"
>
安全退出
</el-dropdown-item>
<el-dropdown-item
command=
"安全退出"
>
安全退出
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown-menu>
</el-dropdown>
</el-dropdown>
...
@@ -160,6 +161,8 @@ export default {
...
@@ -160,6 +161,8 @@ export default {
this
.
$router
.
push
(
"
countfileupload
"
);
this
.
$router
.
push
(
"
countfileupload
"
);
}
else
if
(
command
==
'
消息
'
)
{
}
else
if
(
command
==
'
消息
'
)
{
this
.
$router
.
push
(
"
xx
"
);
this
.
$router
.
push
(
"
xx
"
);
}
else
if
(
command
==
'
修改密码
'
)
{
this
.
dialogVisible
=
true
;
}
}
},
},
handleClose
(
key
,
keyPath
)
{
},
handleClose
(
key
,
keyPath
)
{
},
...
@@ -217,7 +220,6 @@ export default {
...
@@ -217,7 +220,6 @@ export default {
}
}
},
},
mounted
()
{
mounted
()
{
console
.
log
(
this
.
$store
.
state
.
navList
);
let
arr
=
this
.
$store
.
state
.
navList
[
0
].
children
.
filter
((
e
)
=>
e
.
path
==
'
/sjgl
'
);
let
arr
=
this
.
$store
.
state
.
navList
[
0
].
children
.
filter
((
e
)
=>
e
.
path
==
'
/sjgl
'
);
this
.
$store
.
state
.
navList
[
0
].
children
.
forEach
((
item
)
=>
{
this
.
$store
.
state
.
navList
[
0
].
children
.
forEach
((
item
)
=>
{
if
(
item
.
children
.
length
>
0
)
{
if
(
item
.
children
.
length
>
0
)
{
...
...
src/view/sjgl/jg_xq.vue
View file @
abbacd8b
...
@@ -615,15 +615,15 @@ export default {
...
@@ -615,15 +615,15 @@ export default {
let
obj
=
{};
let
obj
=
{};
obj
[
"
object
"
]
=
this
.
selectText
;
obj
[
"
object
"
]
=
this
.
selectText
;
obj
[
"
objectFrom
"
]
=
""
;
obj
[
"
objectFrom
"
]
=
""
;
obj
[
"
subject
"
]
=
this
.
form
.
_id
;
obj
[
"
subject
"
]
=
this
.
form
.
jgbh
.
value
;
obj
[
"
relation
"
]
=
"
攻击建议
"
;
obj
[
"
relation
"
]
=
"
攻击建议
"
;
obj
[
"
objectType
"
]
=
"
攻击建议
"
;
obj
[
"
objectType
"
]
=
"
攻击建议
"
;
post
(
`api/rest/resource/addRelatedInfo`
,
obj
)
post
(
`api/rest/
3z/
resource/addRelatedInfo`
,
obj
)
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
if
(
res
==
1
)
{
if
(
res
==
1
)
{
this
.
$message
.
success
(
"
攻击建议新增成功!
"
);
this
.
$message
.
success
(
"
攻击建议新增成功!
"
);
this
.
dialogVisibleOrganization
=
false
;
this
.
dialogVisibleOrganization
=
false
;
this
.
query_xgyl
(
this
.
form
.
jgbh
);
this
.
query_xgyl
(
this
.
form
.
jgbh
.
value
);
}
else
{
}
else
{
this
.
$message
.
error
(
"
关联机构失败!
"
);
this
.
$message
.
error
(
"
关联机构失败!
"
);
}
}
...
@@ -645,7 +645,7 @@ export default {
...
@@ -645,7 +645,7 @@ export default {
// return
// return
delete_util
(
"
api/rest/resource/removeRelatedInfo
"
,
paramDatas
)
delete_util
(
"
api/rest/resource/removeRelatedInfo
"
,
paramDatas
)
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
this
.
query_xgyl
(
this
.
form
.
_id
);
this
.
query_xgyl
(
this
.
form
.
jgbh
.
value
);
this
.
$message
({
this
.
$message
({
message
:
"
删除成功!!!
"
,
message
:
"
删除成功!!!
"
,
type
:
"
success
"
,
type
:
"
success
"
,
...
...
src/view/sjgl/news_info.vue
View file @
abbacd8b
...
@@ -465,7 +465,7 @@ export default {
...
@@ -465,7 +465,7 @@ export default {
obj
[
'
subject
'
]
=
this
.
pickItem
.
address
;
obj
[
'
subject
'
]
=
this
.
pickItem
.
address
;
obj
[
'
relation
'
]
=
this
.
personType
;
obj
[
'
relation
'
]
=
this
.
personType
;
obj
[
'
objectType
'
]
=
'
新闻
'
;
obj
[
'
objectType
'
]
=
'
新闻
'
;
post
(
`api/rest/resource/addRelatedInfo`
,
obj
).
then
(
res
=>
{
post
(
`api/rest/
3z/
resource/addRelatedInfo`
,
obj
).
then
(
res
=>
{
if
(
res
==
1
)
{
if
(
res
==
1
)
{
this
.
$message
.
success
(
'
关联人员成功!
'
);
this
.
$message
.
success
(
'
关联人员成功!
'
);
this
.
dialogVisiblePerson
=
false
;
this
.
dialogVisiblePerson
=
false
;
...
@@ -485,7 +485,7 @@ export default {
...
@@ -485,7 +485,7 @@ export default {
obj
[
'
subject
'
]
=
this
.
pickItem
.
address
;
obj
[
'
subject
'
]
=
this
.
pickItem
.
address
;
obj
[
'
relation
'
]
=
this
.
organizationType
;
obj
[
'
relation
'
]
=
this
.
organizationType
;
obj
[
'
objectType
'
]
=
'
新闻
'
;
obj
[
'
objectType
'
]
=
'
新闻
'
;
post
(
`api/rest/resource/addRelatedInfo`
,
obj
).
then
(
res
=>
{
post
(
`api/rest/
3z/
resource/addRelatedInfo`
,
obj
).
then
(
res
=>
{
if
(
res
==
1
)
{
if
(
res
==
1
)
{
this
.
$message
.
success
(
'
关联机构成功!
'
);
this
.
$message
.
success
(
'
关联机构成功!
'
);
this
.
dialogVisibleOrganization
=
false
;
this
.
dialogVisibleOrganization
=
false
;
...
...
src/view/sjgl/rw_xq.vue
View file @
abbacd8b
...
@@ -639,15 +639,15 @@ export default {
...
@@ -639,15 +639,15 @@ export default {
let
obj
=
{};
let
obj
=
{};
obj
[
'
object
'
]
=
this
.
selectText
;
obj
[
'
object
'
]
=
this
.
selectText
;
obj
[
'
objectFrom
'
]
=
''
;
obj
[
'
objectFrom
'
]
=
''
;
obj
[
'
subject
'
]
=
this
.
form
.
_id
;
obj
[
'
subject
'
]
=
this
.
form
.
rwbh
.
value
;
obj
[
'
relation
'
]
=
'
攻击建议
'
;
obj
[
'
relation
'
]
=
'
攻击建议
'
;
obj
[
'
objectType
'
]
=
'
攻击建议
'
;
obj
[
'
objectType
'
]
=
'
攻击建议
'
;
post
(
`api/rest/resource/addRelatedInfo`
,
obj
).
then
(
res
=>
{
post
(
`api/rest/
3z/
resource/addRelatedInfo`
,
obj
).
then
(
res
=>
{
if
(
res
==
1
)
{
if
(
res
==
1
)
{
this
.
$message
.
success
(
'
攻击建议新增成功!
'
);
this
.
$message
.
success
(
'
攻击建议新增成功!
'
);
this
.
dialogVisibleOrganization
=
false
;
this
.
dialogVisibleOrganization
=
false
;
get
(
get
(
"
api/rest/3z/resource/queryRelatedInfo?subject=
"
+
this
.
form
.
_id
+
"
&relation=
"
+
"
攻击建议
"
,
"
api/rest/3z/resource/queryRelatedInfo?subject=
"
+
this
.
form
.
rwbh
.
value
+
"
&relation=
"
+
"
攻击建议
"
,
)
)
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
this
.
xgnr_gjjy
=
data
.
list
;
this
.
xgnr_gjjy
=
data
.
list
;
...
@@ -677,7 +677,7 @@ export default {
...
@@ -677,7 +677,7 @@ export default {
delete_util
(
"
api/rest/resource/removeRelatedInfo
"
,
paramDatas
)
delete_util
(
"
api/rest/resource/removeRelatedInfo
"
,
paramDatas
)
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
get
(
get
(
"
api/rest/3z/resource/queryRelatedInfo?subject=
"
+
this
.
form
.
_id
+
"
&relation=
"
+
"
攻击建议
"
,
"
api/rest/3z/resource/queryRelatedInfo?subject=
"
+
this
.
form
.
rwbh
.
value
+
"
&relation=
"
+
"
攻击建议
"
,
)
)
.
then
((
data
)
=>
{
.
then
((
data
)
=>
{
this
.
xgnr_gjjy
=
data
.
list
;
this
.
xgnr_gjjy
=
data
.
list
;
...
@@ -1489,6 +1489,7 @@ export default {
...
@@ -1489,6 +1489,7 @@ export default {
color
:
#8cd4ff
;
color
:
#8cd4ff
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
overflow
:
hidden
;
width
:
200px
;
}
}
}
}
.title-divs
{
.title-divs
{
...
...
src/view/yqjc/news_info.vue
View file @
abbacd8b
...
@@ -537,8 +537,8 @@ export default {
...
@@ -537,8 +537,8 @@ export default {
).
then
(
res
=>
{
).
then
(
res
=>
{
res
.
records
.
forEach
(
item
=>
{
res
.
records
.
forEach
(
item
=>
{
let
organizationObj
=
{};
let
organizationObj
=
{};
organizationObj
[
'
value
'
]
=
item
.
jgfh
.
value
;
organizationObj
[
'
value
'
]
=
item
.
info
.
jgfh
.
value
;
organizationObj
[
'
address
'
]
=
item
.
jgbh
.
value
;
organizationObj
[
'
address
'
]
=
item
.
info
.
jgbh
.
value
;
organizationList
.
push
(
organizationObj
);
organizationList
.
push
(
organizationObj
);
})
})
// var results = queryString ? organizationList.filter(this.createStateFilter(queryString)) : organizationList;
// var results = queryString ? organizationList.filter(this.createStateFilter(queryString)) : organizationList;
...
@@ -559,8 +559,8 @@ export default {
...
@@ -559,8 +559,8 @@ export default {
).
then
(
res
=>
{
).
then
(
res
=>
{
res
.
records
.
forEach
(
item
=>
{
res
.
records
.
forEach
(
item
=>
{
let
organizationObj
=
{};
let
organizationObj
=
{};
organizationObj
[
'
value
'
]
=
item
.
jgfh
.
value
;
organizationObj
[
'
value
'
]
=
item
.
info
.
jgfh
.
value
;
organizationObj
[
'
address
'
]
=
item
.
jgbh
.
value
;
organizationObj
[
'
address
'
]
=
item
.
info
.
jgbh
.
value
;
organizationList
.
push
(
organizationObj
);
organizationList
.
push
(
organizationObj
);
})
})
// var results = queryString ? organizationList.filter(this.createStateFilter(queryString)) : organizationList;
// var results = queryString ? organizationList.filter(this.createStateFilter(queryString)) : organizationList;
...
...
src/view/yqjc/rdsj.vue
View file @
abbacd8b
...
@@ -1476,7 +1476,7 @@ export default {
...
@@ -1476,7 +1476,7 @@ export default {
obj
[
'
subject
'
]
=
this
.
pickItem
.
address
;
obj
[
'
subject
'
]
=
this
.
pickItem
.
address
;
obj
[
'
relation
'
]
=
this
.
personType
;
obj
[
'
relation
'
]
=
this
.
personType
;
obj
[
'
objectType
'
]
=
'
文献
'
;
obj
[
'
objectType
'
]
=
'
文献
'
;
post
(
`api/rest/resource/addRelatedInfo`
,
obj
).
then
(
res
=>
{
post
(
`api/rest/
3z/
resource/addRelatedInfo`
,
obj
).
then
(
res
=>
{
if
(
res
==
1
)
{
if
(
res
==
1
)
{
this
.
$message
.
success
(
'
关联人员成功!
'
);
this
.
$message
.
success
(
'
关联人员成功!
'
);
this
.
dialogVisiblePerson
=
false
;
this
.
dialogVisiblePerson
=
false
;
...
@@ -1500,7 +1500,7 @@ export default {
...
@@ -1500,7 +1500,7 @@ export default {
obj
[
'
subject
'
]
=
this
.
pickItem
.
address
;
obj
[
'
subject
'
]
=
this
.
pickItem
.
address
;
obj
[
'
relation
'
]
=
this
.
organizationType
;
obj
[
'
relation
'
]
=
this
.
organizationType
;
obj
[
'
objectType
'
]
=
'
文献
'
;
obj
[
'
objectType
'
]
=
'
文献
'
;
post
(
`api/rest/resource/addRelatedInfo`
,
obj
).
then
(
res
=>
{
post
(
`api/rest/
3z/
resource/addRelatedInfo`
,
obj
).
then
(
res
=>
{
if
(
res
==
1
)
{
if
(
res
==
1
)
{
this
.
$message
.
success
(
'
关联机构成功!
'
);
this
.
$message
.
success
(
'
关联机构成功!
'
);
this
.
dialogVisibleOrganization
=
false
;
this
.
dialogVisibleOrganization
=
false
;
...
...
src/view/yqjc/zk_info.vue
View file @
abbacd8b
...
@@ -428,7 +428,7 @@ export default {
...
@@ -428,7 +428,7 @@ export default {
obj
[
'
subject
'
]
=
this
.
pickItem
.
address
;
obj
[
'
subject
'
]
=
this
.
pickItem
.
address
;
obj
[
'
relation
'
]
=
this
.
personType
;
obj
[
'
relation
'
]
=
this
.
personType
;
obj
[
'
objectType
'
]
=
'
智库
'
;
obj
[
'
objectType
'
]
=
'
智库
'
;
post
(
`api/rest/resource/addRelatedInfo`
,
obj
).
then
(
res
=>
{
post
(
`api/rest/
3z/
resource/addRelatedInfo`
,
obj
).
then
(
res
=>
{
if
(
res
==
1
)
{
if
(
res
==
1
)
{
this
.
$message
.
success
(
'
关联人员成功!
'
);
this
.
$message
.
success
(
'
关联人员成功!
'
);
this
.
dialogVisiblePerson
=
false
;
this
.
dialogVisiblePerson
=
false
;
...
@@ -449,7 +449,7 @@ export default {
...
@@ -449,7 +449,7 @@ export default {
obj
[
'
subject
'
]
=
this
.
pickItem
.
address
;
obj
[
'
subject
'
]
=
this
.
pickItem
.
address
;
obj
[
'
relation
'
]
=
this
.
organizationType
;
obj
[
'
relation
'
]
=
this
.
organizationType
;
obj
[
'
objectType
'
]
=
'
智库
'
;
obj
[
'
objectType
'
]
=
'
智库
'
;
post
(
`api/rest/resource/addRelatedInfo`
,
obj
).
then
(
res
=>
{
post
(
`api/rest/
3z/
resource/addRelatedInfo`
,
obj
).
then
(
res
=>
{
if
(
res
==
1
)
{
if
(
res
==
1
)
{
this
.
$message
.
success
(
'
关联机构成功!
'
);
this
.
$message
.
success
(
'
关联机构成功!
'
);
this
.
dialogVisibleOrganization
=
false
;
this
.
dialogVisibleOrganization
=
false
;
...
...
webpack.config.js
View file @
abbacd8b
...
@@ -86,7 +86,7 @@ module.exports = {
...
@@ -86,7 +86,7 @@ module.exports = {
//后台代理
//后台代理
proxy
:
{
proxy
:
{
'
/api/
'
:
{
'
/api/
'
:
{
target
:
'
http://192.168.168.
106
:8081
'
,
target
:
'
http://192.168.168.
213
:8081
'
,
ws
:
true
,
ws
:
true
,
secure
:
false
,
secure
:
false
,
changeOrigin
:
true
,
changeOrigin
:
true
,
...
...
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