Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety-progress
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
耿迪迪
gassafety-progress
Commits
b3d696de
Commit
b3d696de
authored
Feb 22, 2022
by
王晓倩
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
9960715a
5bff06f2
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
29 additions
and
45 deletions
+29
-45
index.vue
gassafetyprogress-web/src/components/GetPos/index.vue
+4
-2
index.vue
gassafetyprogress-web/src/views/bigWindow/index.vue
+3
-1
index.vue
...ogress-web/src/views/operationMonitor/workOrder/index.vue
+1
-23
index.vue
gassafetyprogress-web/src/views/regulation/device/index.vue
+5
-4
index.vue
gassafetyprogress-web/src/views/regulation/gasuser/index.vue
+3
-3
index.vue
gassafetyprogress-web/src/views/regulation/info/index.vue
+3
-3
index.vue
gassafetyprogress-web/src/views/regulation/pipe/index.vue
+5
-5
index.vue
gassafetyprogress-web/src/views/regulation/station/index.vue
+2
-1
index.vue
...fetyprogress-web/src/views/regulation/supervise/index.vue
+2
-2
vue.config.js
gassafetyprogress-web/vue.config.js
+1
-1
No files found.
gassafetyprogress-web/src/components/GetPos/index.vue
View file @
b3d696de
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2022-02-12 11:07:10
* @Date: 2022-02-12 11:07:10
* @LastEditTime: 2022-02-
16 17:08:55
* @LastEditTime: 2022-02-
22 15:08:10
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: /test/hello-world/src/components/GetPos.vue/index.vue
* @FilePath: /test/hello-world/src/components/GetPos.vue/index.vue
...
@@ -92,7 +92,9 @@ export default {
...
@@ -92,7 +92,9 @@ export default {
methods
:
{
methods
:
{
init
()
{
init
()
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
map
=
new
EditorMap
(
"getposmap"
,
{},
this
);
const
path
=
eval
(
this
.
$store
.
state
.
user
.
systemSetting
.
map_center
);
console
.
log
(
"path"
,
path
);
this
.
map
=
new
EditorMap
(
"getposmap"
,
{
center
:
path
},
this
);
// 如果不传值就是设备,传pipe就是管道
// 如果不传值就是设备,传pipe就是管道
if
(
this
.
device
==
""
)
{
if
(
this
.
device
==
""
)
{
// 如果传了路径就创建一个marker,如果没传就直接激活手动创建
// 如果传了路径就创建一个marker,如果没传就直接激活手动创建
...
...
gassafetyprogress-web/src/views/bigWindow/index.vue
View file @
b3d696de
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2022-01-11 13:44:17
* @Date: 2022-01-11 13:44:17
* @LastEditTime: 2022-02-
17 11:47:53
* @LastEditTime: 2022-02-
22 15:09:22
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: /test/hello-world/src/views/Home.vue
* @FilePath: /test/hello-world/src/views/Home.vue
...
@@ -182,9 +182,11 @@ export default {
...
@@ -182,9 +182,11 @@ export default {
},
},
},
},
mounted
()
{
mounted
()
{
const
path
=
eval
(
this
.
$store
.
state
.
user
.
systemSetting
.
map_center
);
this
.
map
=
new
EditorMap
(
this
.
map
=
new
EditorMap
(
"map"
,
"map"
,
{
{
center
:
path
,
mapStyle
:
"amap://styles/f71d3a3d73e14f5b2bf5508bf1411758"
,
mapStyle
:
"amap://styles/f71d3a3d73e14f5b2bf5508bf1411758"
,
zoom
:
14.5
,
zoom
:
14.5
,
},
},
...
...
gassafetyprogress-web/src/views/operationMonitor/workOrder/index.vue
View file @
b3d696de
...
@@ -43,28 +43,6 @@
...
@@ -43,28 +43,6 @@
v-hasPermi=
"['system:order:add']"
v-hasPermi=
"['system:order:add']"
>
新增
</el-button>
>
新增
</el-button>
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
type=
"success"
plain
icon=
"el-icon-edit"
size=
"mini"
:disabled=
"single"
@
click=
"handleUpdate"
v-hasPermi=
"['system:order:edit']"
>
修改
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
type=
"danger"
plain
icon=
"el-icon-delete"
size=
"mini"
:disabled=
"multiple"
@
click=
"handleDelete"
v-hasPermi=
"['system:order:remove']"
>
删除
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-button
<el-button
type=
"warning"
type=
"warning"
...
@@ -80,7 +58,7 @@
...
@@ -80,7 +58,7 @@
</el-row>
</el-row>
<el-table
v-loading=
"loading"
:data=
"orderList"
@
selection-change=
"handleSelectionChange"
>
<el-table
v-loading=
"loading"
:data=
"orderList"
@
selection-change=
"handleSelectionChange"
>
<
el-table-column
type=
"selection"
width=
"55"
align=
"center"
/
>
<
!--
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
--
>
<el-table-column
label=
"任务标题"
align=
"center"
prop=
"workTitle"
/>
<el-table-column
label=
"任务标题"
align=
"center"
prop=
"workTitle"
/>
<el-table-column
label=
"任务类型"
align=
"center"
prop=
"workType"
>
<el-table-column
label=
"任务类型"
align=
"center"
prop=
"workType"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
...
...
gassafetyprogress-web/src/views/regulation/device/index.vue
View file @
b3d696de
...
@@ -564,19 +564,19 @@ export default {
...
@@ -564,19 +564,19 @@ export default {
rules
:
{
rules
:
{
deviceName
:
[
deviceName
:
[
{
required
:
true
,
message
:
"请输入设备名称"
,
trigger
:
"blur"
}
,
{
required
:
true
,
message
:
"请输入设备名称"
,
trigger
:
"blur"
}
,
{
min
:
0
,
max
:
20
,
message
:
"长度20位"
,
trigger
:
"blur"
}
,
//
{
min
:
0
,
max
:
20
,
message
:
"长度20位"
,
trigger
:
"blur"
}
,
],
],
deviceCode
:
[
deviceCode
:
[
{
required
:
true
,
message
:
"请输入设备编号"
,
trigger
:
"blur"
}
,
{
required
:
true
,
message
:
"请输入设备编号"
,
trigger
:
"blur"
}
,
{
min
:
0
,
max
:
20
,
message
:
"长度20位"
,
trigger
:
"blur"
}
,
//
{
min
:
0
,
max
:
20
,
message
:
"长度20位"
,
trigger
:
"blur"
}
,
],
],
deviceAddr
:
[
deviceAddr
:
[
{
required
:
true
,
message
:
"请输入所在地址"
,
trigger
:
"blur"
}
,
{
required
:
true
,
message
:
"请输入所在地址"
,
trigger
:
"blur"
}
,
{
min
:
0
,
max
:
30
,
message
:
"长度30位"
,
trigger
:
"blur"
}
,
//
{
min
:
0
,
max
:
30
,
message
:
"长度30位"
,
trigger
:
"blur"
}
,
],
],
deviceModel
:
[
deviceModel
:
[
{
required
:
true
,
message
:
"请输入设备型号"
,
trigger
:
"blur"
}
,
{
required
:
true
,
message
:
"请输入设备型号"
,
trigger
:
"blur"
}
,
{
min
:
0
,
max
:
20
,
message
:
"长度20位"
,
trigger
:
"blur"
}
,
//
{
min
:
0
,
max
:
20
,
message
:
"长度20位"
,
trigger
:
"blur"
}
,
],
],
deviceType
:
[
deviceType
:
[
{
required
:
true
,
message
:
"请选择设备类型"
,
trigger
:
"blur"
}
,
{
required
:
true
,
message
:
"请选择设备类型"
,
trigger
:
"blur"
}
,
...
@@ -746,6 +746,7 @@ export default {
...
@@ -746,6 +746,7 @@ export default {
this
.
form
=
response
.
data
;
this
.
form
=
response
.
data
;
this
.
open
=
true
;
this
.
open
=
true
;
this
.
title
=
"修改设备信息"
;
this
.
title
=
"修改设备信息"
;
this
.
devicePos
=
[
response
.
data
.
longitude
,
response
.
data
.
latitude
];
}
);
}
);
}
,
}
,
/** 删除按钮操作 */
/** 删除按钮操作 */
...
...
gassafetyprogress-web/src/views/regulation/gasuser/index.vue
View file @
b3d696de
...
@@ -272,18 +272,18 @@ export default {
...
@@ -272,18 +272,18 @@ export default {
rules
:
{
rules
:
{
username
:
[
username
:
[
{
required
:
true
,
message
:
"请输入用户账号"
,
trigger
:
"blur"
},
{
required
:
true
,
message
:
"请输入用户账号"
,
trigger
:
"blur"
},
{
min
:
0
,
max
:
20
,
message
:
"长度20位"
,
trigger
:
"blur"
},
//
{ min: 0, max: 20, message: "长度20位", trigger: "blur" },
],
],
nickName
:
[
nickName
:
[
{
required
:
true
,
message
:
"请输入用户名称"
,
trigger
:
"blur"
},
{
required
:
true
,
message
:
"请输入用户名称"
,
trigger
:
"blur"
},
{
min
:
0
,
max
:
20
,
message
:
"长度20位"
,
trigger
:
"blur"
},
//
{ min: 0, max: 20, message: "长度20位", trigger: "blur" },
],
],
userType
:
[
userType
:
[
{
required
:
true
,
message
:
"请选择用户类型"
,
trigger
:
"blur"
},
{
required
:
true
,
message
:
"请选择用户类型"
,
trigger
:
"blur"
},
],
],
address
:
[
address
:
[
{
required
:
true
,
message
:
"请输入地址"
,
trigger
:
"blur"
},
{
required
:
true
,
message
:
"请输入地址"
,
trigger
:
"blur"
},
{
min
:
0
,
max
:
30
,
message
:
"长度30位"
,
trigger
:
"blur"
},
//
{ min: 0, max: 30, message: "长度30位", trigger: "blur" },
],
],
}
}
};
};
...
...
gassafetyprogress-web/src/views/regulation/info/index.vue
View file @
b3d696de
...
@@ -237,15 +237,15 @@ export default {
...
@@ -237,15 +237,15 @@ export default {
rules
:
{
rules
:
{
enterpriseName
:
[
enterpriseName
:
[
{
required
:
true
,
message
:
"请输入企业名称"
,
trigger
:
"blur"
},
{
required
:
true
,
message
:
"请输入企业名称"
,
trigger
:
"blur"
},
{
min
:
0
,
max
:
20
,
message
:
"长度20位"
,
trigger
:
"blur"
},
//
{ min: 0, max: 20, message: "长度20位", trigger: "blur" },
],
],
registerAddress
:
[
registerAddress
:
[
{
required
:
true
,
message
:
"请输入注册地址"
,
trigger
:
"blur"
},
{
required
:
true
,
message
:
"请输入注册地址"
,
trigger
:
"blur"
},
{
min
:
0
,
max
:
20
,
message
:
"长度20位"
,
trigger
:
"blur"
},
//
{ min: 0, max: 20, message: "长度20位", trigger: "blur" },
],
],
legalRepresentative
:
[
legalRepresentative
:
[
{
required
:
true
,
message
:
"请输入法定代表人"
,
trigger
:
"blur"
},
{
required
:
true
,
message
:
"请输入法定代表人"
,
trigger
:
"blur"
},
{
min
:
0
,
max
:
20
,
message
:
"长度20位"
,
trigger
:
"blur"
},
//
{ min: 0, max: 20, message: "长度20位", trigger: "blur" },
],
],
}
}
};
};
...
...
gassafetyprogress-web/src/views/regulation/pipe/index.vue
View file @
b3d696de
...
@@ -317,26 +317,26 @@ export default {
...
@@ -317,26 +317,26 @@ export default {
rules
:
{
rules
:
{
pipeLength
:
[
pipeLength
:
[
{
required
:
true
,
message
:
"请输入管道长度"
,
trigger
:
"blur"
},
{
required
:
true
,
message
:
"请输入管道长度"
,
trigger
:
"blur"
},
{
min
:
0
,
max
:
10
,
message
:
"长度10位"
,
trigger
:
"blur"
},
//
{ min: 0, max: 10, message: "长度10位", trigger: "blur" },
],
],
pipeDiameter
:
[
pipeDiameter
:
[
{
required
:
true
,
message
:
"请输入管径"
,
trigger
:
"blur"
},
{
required
:
true
,
message
:
"请输入管径"
,
trigger
:
"blur"
},
{
min
:
0
,
max
:
15
,
message
:
"长度15位"
,
trigger
:
"blur"
},
//
{ min: 0, max: 15, message: "长度15位", trigger: "blur" },
],
],
pipePressure
:
[
pipePressure
:
[
{
required
:
true
,
message
:
"请输入压力"
,
trigger
:
"blur"
},
{
required
:
true
,
message
:
"请输入压力"
,
trigger
:
"blur"
},
{
min
:
0
,
max
:
10
,
message
:
"长度10位"
,
trigger
:
"blur"
},
//
{ min: 0, max: 10, message: "长度10位", trigger: "blur" },
],
],
buildDate
:
[
buildDate
:
[
{
required
:
true
,
message
:
"请选择建设年代"
,
trigger
:
"blur"
},
{
required
:
true
,
message
:
"请选择建设年代"
,
trigger
:
"blur"
},
],
],
pipeMaterial
:
[
pipeMaterial
:
[
{
required
:
true
,
message
:
"请输入材质"
,
trigger
:
"blur"
},
{
required
:
true
,
message
:
"请输入材质"
,
trigger
:
"blur"
},
{
min
:
0
,
max
:
10
,
message
:
"长度10位"
,
trigger
:
"blur"
},
//
{ min: 0, max: 10, message: "长度10位", trigger: "blur" },
],
],
buriedDepth
:[
buriedDepth
:[
{
required
:
true
,
message
:
"请输入埋深"
,
trigger
:
"blur"
},
{
required
:
true
,
message
:
"请输入埋深"
,
trigger
:
"blur"
},
{
min
:
0
,
max
:
10
,
message
:
"长度10位"
,
trigger
:
"blur"
},
//
{ min: 0, max: 10, message: "长度10位", trigger: "blur" },
],
],
}
}
};
};
...
...
gassafetyprogress-web/src/views/regulation/station/index.vue
View file @
b3d696de
...
@@ -596,7 +596,6 @@ export default {
...
@@ -596,7 +596,6 @@ export default {
selectTEnterprise
().
then
(
response
=>
{
selectTEnterprise
().
then
(
response
=>
{
this
.
test
=
response
.
data
;
this
.
test
=
response
.
data
;
}
);
}
);
const
deviceId
=
row
.
siteStationId
||
this
.
ids
const
deviceId
=
row
.
siteStationId
||
this
.
ids
var
tDeviceInfon
=
{
var
tDeviceInfon
=
{
id
:
deviceId
,
id
:
deviceId
,
...
@@ -614,7 +613,9 @@ export default {
...
@@ -614,7 +613,9 @@ export default {
this
.
form
=
response
.
data
;
this
.
form
=
response
.
data
;
this
.
open
=
true
;
this
.
open
=
true
;
this
.
title
=
"修改场站信息"
;
this
.
title
=
"修改场站信息"
;
this
.
devicePos
=
[
response
.
data
.
longitude
,
response
.
data
.
latitude
];
}
);
}
);
}
,
}
,
...
...
gassafetyprogress-web/src/views/regulation/supervise/index.vue
View file @
b3d696de
...
@@ -254,14 +254,14 @@ export default {
...
@@ -254,14 +254,14 @@ export default {
rules
:
{
rules
:
{
employedPeopleName
:
[
employedPeopleName
:
[
{
required
:
true
,
message
:
"请输入姓名"
,
trigger
:
"blur"
},
{
required
:
true
,
message
:
"请输入姓名"
,
trigger
:
"blur"
},
{
min
:
0
,
max
:
10
,
message
:
"长度10位"
,
trigger
:
"blur"
},
//
{ min: 0, max: 10, message: "长度10位", trigger: "blur" },
],
],
beyondEnterpriseId
:
[
beyondEnterpriseId
:
[
{
required
:
true
,
message
:
"请选择受聘企业名称"
,
trigger
:
"blur"
},
{
required
:
true
,
message
:
"请选择受聘企业名称"
,
trigger
:
"blur"
},
],
],
idCard
:
[
idCard
:
[
{
required
:
true
,
message
:
"请输入身份证号"
,
trigger
:
"blur"
},
{
required
:
true
,
message
:
"请输入身份证号"
,
trigger
:
"blur"
},
{
min
:
0
,
max
:
20
,
message
:
"长度20位"
,
trigger
:
"blur"
},
//
{ min: 0, max: 20, message: "长度20位", trigger: "blur" },
],
],
}
}
};
};
...
...
gassafetyprogress-web/vue.config.js
View file @
b3d696de
...
@@ -34,7 +34,7 @@ module.exports = {
...
@@ -34,7 +34,7 @@ module.exports = {
proxy
:
{
proxy
:
{
// detail: https://cli.vuejs.org/config/#devserver-proxy
// detail: https://cli.vuejs.org/config/#devserver-proxy
[
process
.
env
.
VUE_APP_BASE_API
]:
{
[
process
.
env
.
VUE_APP_BASE_API
]:
{
target
:
`http://
localhost:8903
/gassafety`
,
target
:
`http://
222.223.203.154:8092
/gassafety`
,
changeOrigin
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
[
'^'
+
process
.
env
.
VUE_APP_BASE_API
]:
''
[
'^'
+
process
.
env
.
VUE_APP_BASE_API
]:
''
...
...
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