Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
常超
founder_vue
Commits
32fb48ed
Commit
32fb48ed
authored
Oct 12, 2023
by
yuhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改服务器ip
parent
b0d9a4a8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
33 deletions
+44
-33
src/components/treeCode_components.vue
+22
-11
src/utils/params.js
+21
-21
src/views/rzcx/cpu.vue
+1
-1
No files found.
src/components/treeCode_components.vue
View file @
32fb48ed
...
...
@@ -33,10 +33,14 @@
style=
"text-align: left;height: 30px;font-size: 16px;font-family: Microsoft YaHei;font-weight: bold;line-height: 30px;opacity: 1;"
>
<div>
{{
codeTreeConfig
.
title
}}
</div>
</div>
<el-input
placeholder=
"输入关键字进行过滤
"
<el-input
:placeholder=
"currentItem.placeholder
"
v-model=
"filterText"
style=
"
margin-bottom:4px;width:calc(100% - 26px) !important; margin-left: 15px; margin-top: 2
px;"
>
style=
"
width:80% !important;margin:2px 8px 4px 15
px;"
>
</el-input>
<el-button
v-if=
"currentItem.placeholder=='请输入单位全称进行查询'"
@
click=
"searchBtn()"
type=
"primary"
size=
"medium"
>
搜索
</el-button>
<div
style=
"width: calc(100% - 18px);height:calc(100% - 42px);overflow-y:auto;border-bottom:1px solid #F2F2F2;margin-left: 7px;"
>
<el-tree
:props=
"codeTreeConfig.props"
node-key=
"id"
...
...
@@ -99,19 +103,26 @@ export default {
},
watch
:
{
filterText
(
val
)
{
clearTimeout
(
this
.
fdId
);
if
(
val
!=
'湖'
&&
val
!=
'湖南'
&&
val
!=
'湖南省'
)
{
this
.
fdId
=
setTimeout
(()
=>
{
this
.
$refs
.
codeTreeDialog
.
filter
(
val
);
},
500
);
}
else
{
this
.
fdId
=
setTimeout
(()
=>
{
this
.
$refs
.
codeTreeDialog
.
filter
();
},
500
);
if
(
this
.
currentItem
.
placeholder
!=
'请输入单位全称进行查询'
)
{
clearTimeout
(
this
.
fdId
);
if
(
val
!=
'湖'
&&
val
!=
'湖南'
&&
val
!=
'湖南省'
&&
val
!=
'刑侦'
&&
val
!=
'刑事'
&&
val
!=
'侦查'
)
{
this
.
fdId
=
setTimeout
(()
=>
{
this
.
$refs
.
codeTreeDialog
.
filter
(
val
);
},
500
);
}
else
{
this
.
fdId
=
setTimeout
(()
=>
{
this
.
$refs
.
codeTreeDialog
.
filter
();
},
500
);
}
}
},
},
methods
:
{
searchBtn
()
{
if
(
this
.
filterText
!=
'湖'
&&
this
.
filterText
!=
'湖南'
&&
this
.
filterText
!=
'湖南省'
&&
this
.
filterText
!=
'刑侦'
&&
this
.
filterText
!=
'刑事'
&&
this
.
filterText
!=
'侦查'
)
{
this
.
$refs
.
codeTreeDialog
.
filter
(
this
.
filterText
);
}
},
removeTag
(
val
)
{
let
self
=
this
,
label
=
""
;
self
.
codeTreeConfig
.
fieldItem
.
splice
(
self
.
codeTreeConfig
.
fieldItem
.
findIndex
(
item
=>
item
.
id
===
val
),
1
)
...
...
src/utils/params.js
View file @
32fb48ed
...
...
@@ -11983,13 +11983,13 @@ let rzcxPropLeftMenu = [
// index: '7-3',
// }
{
id
:
'cpu1
3
'
,
label
:
'65.26.
2.13
服务器'
,
id
:
'cpu1
74
'
,
label
:
'65.26.
106.174
服务器'
,
index
:
'7-1'
,
},
{
id
:
'cpu296'
,
label
:
'65.26.
2.96
服务器'
,
label
:
'65.26.
106.192
服务器'
,
index
:
'7-2'
,
},
{
...
...
@@ -11998,39 +11998,39 @@ let rzcxPropLeftMenu = [
index
:
'7-3'
,
},
{
id
:
'cpu1
01
'
,
label
:
'65.26.
2.101
服务器'
,
id
:
'cpu1
72
'
,
label
:
'65.26.
106.172
服务器'
,
index
:
'7-4'
,
},
{
id
:
'cpu
173
'
,
label
:
'65.26.
2.173
服务器'
,
id
:
'cpu
201
'
,
label
:
'65.26.
106.201
服务器'
,
index
:
'7-5'
,
},
{
id
:
'cpu1
44
'
,
label
:
'65.26.
2.144
服务器'
,
id
:
'cpu1
93
'
,
label
:
'65.26.
106.193
服务器'
,
index
:
'7-6'
,
},
{
id
:
'cpu
184
'
,
label
:
'65.26.
2.184
服务器'
,
id
:
'cpu
208
'
,
label
:
'65.26.
106.208
服务器'
,
index
:
'7-7'
,
},
{
id
:
'cpu
204
'
,
label
:
'65.26.
2.204
服务器'
,
id
:
'cpu
197
'
,
label
:
'65.26.
106.197
服务器'
,
index
:
'7-8'
,
},
{
id
:
'cpu2
52
'
,
label
:
'65.26.
2.252
服务器'
,
id
:
'cpu2
13
'
,
label
:
'65.26.
106.213
服务器'
,
index
:
'7-9'
,
},
{
id
:
'cpu
253
'
,
label
:
'65.26.
2.253
服务器'
,
id
:
'cpu
185
'
,
label
:
'65.26.
106.185
服务器'
,
index
:
'7-10'
,
},
{
...
...
@@ -12355,7 +12355,7 @@ let rzcxCxQueryField = [
type
:
'codeTreeDialog'
,
//字典弹框
props
:
[],
//字典弹框需要的字段
value
:
''
,
placeholder
:
''
,
placeholder
:
'
请输入单位全称进行查询
'
,
codeOptions
:
[],
codeTree
:
'CODE_UNIT'
,
col
:
'3'
...
...
@@ -12532,7 +12532,7 @@ let rzcxGnCxQueryField = [
type
:
'codeTreeDialog'
,
//字典弹框
props
:
[],
//字典弹框需要的字段
value
:
''
,
placeholder
:
''
,
placeholder
:
'
请输入单位全称进行查询
'
,
codeOptions
:
[],
codeTree
:
'CODE_UNIT'
,
col
:
'3'
...
...
@@ -12717,7 +12717,7 @@ let rzcxSyqkCxQueryField = [
type
:
'codeTreeDialog'
,
//字典弹框
props
:
[],
//字典弹框需要的字段
value
:
''
,
placeholder
:
''
,
placeholder
:
'
请输入单位全称进行查询
'
,
codeOptions
:
[],
codeTree
:
'CODE_UNIT'
,
col
:
'3'
...
...
@@ -13671,7 +13671,7 @@ let gnfwcxQueryField = [
type
:
'codeTreeDialog'
,
//字典弹框
props
:
[],
//字典弹框需要的字段
value
:
''
,
placeholder
:
''
,
placeholder
:
'
请输入单位全称进行查询
'
,
codeOptions
:
[],
codeTree
:
'CODE_UNIT'
,
col
:
'3'
...
...
src/views/rzcx/cpu.vue
View file @
32fb48ed
...
...
@@ -106,7 +106,7 @@ export default {
console
.
log
(
e
);
let
path
=
e
.
query
.
path
.
replace
(
'服务器'
,
''
);
// console.log(path);
this
.
url
=
`http
://
${
path
}
:19999
`
this
.
url
=
`http
s://10.142.16.96:5502/fwqjk/
${
path
}
:19999/#menu_system_submenu_cpu;theme=slate;help=true
`
// this.url = `http://74.6.54.${e.params.id}:19999`
},
deep
:
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