Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
web-monitor
Project
Project
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
Administrator
web-monitor
Commits
03b7ca74
Commit
03b7ca74
authored
Apr 09, 2025
by
dupengyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设置参数
parent
ee0839c9
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
6 deletions
+16
-6
leakyCable.vue
src/views/setting/add/comp/leakyCable.vue
+7
-2
line.vue
src/views/setting/add/comp/line.vue
+5
-1
leakyTable.vue
src/views/setting/statistics/comp/leakyTable.vue
+1
-0
monitorTable.vue
src/views/setting/statistics/comp/monitorTable.vue
+1
-1
vue.config.js
vue.config.js
+2
-2
No files found.
src/views/setting/add/comp/leakyCable.vue
View file @
03b7ca74
...
...
@@ -126,7 +126,7 @@
<el-form-item
label=
"方向"
prop=
"direction"
>
<el-select
v-model=
"leakyCableForm.direction"
placeholder=
"
菜单状态
"
placeholder=
"
方向
"
clearable
>
<el-option
...
...
@@ -175,6 +175,7 @@ export default {
curInfo
:
{
immediate
:
true
,
handler
(
newV
)
{
newV
.
direction
=
String
(
newV
.
direction
);
this
.
leakyCableForm
=
formInit
(
newV
);
},
},
...
...
@@ -185,7 +186,7 @@ export default {
if
(
value
>
0.65
)
{
callback
(
new
Error
(
"百米损耗值需小于0.65,请输入正确的值"
));
}
callback
();
callback
();
},
1000
);
};
return
{
...
...
@@ -261,6 +262,10 @@ export default {
},
mounted
()
{
this
.
getAllWay
();
this
.
changerailWay
();
this
.
changesite
();
this
.
changefsu
();
this
.
changesite
();
},
methods
:
{
// 编辑的确认
...
...
src/views/setting/add/comp/line.vue
View file @
03b7ca74
...
...
@@ -121,7 +121,7 @@
<el-form-item
label=
"方向"
prop=
"direction"
>
<el-select
v-model=
"leakyCableForm.direction"
placeholder=
"
菜单状态
"
placeholder=
"
方向
"
clearable
>
<el-option
...
...
@@ -170,6 +170,7 @@ export default {
curInfo
:
{
immediate
:
true
,
handler
(
newV
)
{
newV
.
direction
=
String
(
newV
.
direction
);
this
.
leakyCableForm
=
formInit
(
newV
);
},
},
...
...
@@ -253,6 +254,9 @@ export default {
},
mounted
()
{
this
.
getAllWay
();
this
.
changerailWay
();
this
.
changesite
();
this
.
changefsu
();
},
methods
:
{
// 编辑的确认
...
...
src/views/setting/statistics/comp/leakyTable.vue
View file @
03b7ca74
...
...
@@ -245,6 +245,7 @@ export default {
methods
:
{
toEdit
(
row
)
{
this
.
visible
=
true
;
console
.
log
(
row
);
this
.
curInfo
=
row
;
},
update
(
data
)
{
...
...
src/views/setting/statistics/comp/monitorTable.vue
View file @
03b7ca74
...
...
@@ -270,8 +270,8 @@ export default {
let
res
=
await
selectParam
({
equipId
:
row
.
id
});
if
(
res
&&
res
.
paramsJson
)
{
this
.
paramsJson
=
JSON
.
parse
(
res
.
paramsJson
);
this
.
openSetting
=
true
;
}
this
.
openSetting
=
true
;
},
async
handleSetting
(
row
)
{
this
.
rowData
=
row
;
...
...
vue.config.js
View file @
03b7ca74
...
...
@@ -9,8 +9,8 @@ function resolve(dir) {
const
name
=
defaultSettings
.
title
||
'漏缆故障定位监测系统'
// page title
const
port
=
process
.
env
.
port
||
process
.
env
.
npm_config_port
||
8890
// dev port
// const href = 'http://101.126.159.207'
const
href
=
'http://127.0.0.1'
// const href = 'http://192.168.0.115
'
//
const href = 'http://127.0.0.1'
const
href
=
'http://192.168.0.114
'
const
rewriteDefaultConfig
=
{
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