Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZiBoYingJI
Project
Project
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
Kimber
ZiBoYingJI
Commits
10196312
Commit
10196312
authored
Sep 30, 2024
by
Kimber
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://h.gemho.cn:7099/18963165066/ziboyingji
parents
302712d3
f943c339
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
172 additions
and
9 deletions
+172
-9
building.png
src/assets/images/building.png
+0
-0
index.vue
src/views/kd/c/enterprise/index.vue
+22
-5
building.vue
src/views/newResource/building.vue
+31
-0
alert.vue
src/views/newResource/displace/alert.vue
+3
-1
data.vue
src/views/newResource/displace/data.vue
+26
-0
alert.vue
src/views/newResource/temperature/alert.vue
+3
-1
data.vue
src/views/newResource/temperature/data.vue
+27
-0
alert.vue
src/views/newResource/windspeed/alert.vue
+3
-1
data.vue
src/views/newResource/windspeed/data.vue
+27
-0
alert.vue
src/views/newWater/precipitation/alert.vue
+3
-1
data.vue
src/views/newWater/precipitation/data.vue
+27
-0
No files found.
src/assets/images/building.png
0 → 100644
View file @
10196312
42.4 KB
src/views/kd/c/enterprise/index.vue
View file @
10196312
...
@@ -88,9 +88,10 @@
...
@@ -88,9 +88,10 @@
</el-row>
</el-row>
<el-row
:gutter=
"100"
>
<el-row
:gutter=
"100"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"矿山类别:"
prop=
"dict3"
>
<el-select
v-model=
"mainDataEditing.dict3"
placeholder=
"请选择"
style=
"width: 100%;"
>
<el-form-item
label=
"矿山类别:"
prop=
"category"
>
<el-option
v-for=
"item in dict3List"
:key=
"item.id"
:label=
"item.value"
:value=
"item.id"
/>
<el-select
v-model=
"mainDataEditing.category"
placeholder=
"请选择"
style=
"width: 100%;"
>
<el-option
v-for=
"item in dictNewMine"
:key=
"item.id"
:label=
"item.value"
:value=
"item.id"
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -336,7 +337,7 @@
...
@@ -336,7 +337,7 @@
</el-row>
</el-row>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"矿山类别:"
prop=
"
dict3
"
>
<el-form-item
label=
"矿山类别:"
prop=
"
category
"
>
<span>
{{
dialog1Data
.
dict3Name
}}
</span>
<span>
{{
dialog1Data
.
dict3Name
}}
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -615,6 +616,22 @@ export default {
...
@@ -615,6 +616,22 @@ export default {
dict6List
:
[],
dict6List
:
[],
dict7List
:
[],
dict7List
:
[],
dict41List
:
[],
// 企业类型
dict41List
:
[],
// 企业类型
dictNewMine
:
[{
id
:
1
,
value
:
'
地下矿
'
},{
id
:
2
,
value
:
'
露天矿
'
},{
id
:
3
,
value
:
'
尾矿库
'
},{
id
:
4
,
value
:
'
停产矿
'
},{
id
:
5
,
value
:
'
企业
'
}],
administrativeAreaList
:
[],
administrativeAreaList
:
[],
options4enterpriseIdList
:
[],
options4enterpriseIdList
:
[],
dialog1FormRules
:
{
dialog1FormRules
:
{
...
@@ -627,7 +644,7 @@ export default {
...
@@ -627,7 +644,7 @@ export default {
// address: [{ required: true, message: '请输入' }],
// address: [{ required: true, message: '请输入' }],
// dict1: [{ required: true, message: '请选择' }],
// dict1: [{ required: true, message: '请选择' }],
// dict2: [{ required: true, message: '请选择' }],
// dict2: [{ required: true, message: '请选择' }],
dict3
:
[{
required
:
true
,
message
:
'
请选择
'
}],
category
:
[{
required
:
true
,
message
:
'
请选择
'
}],
// hasRegisteredCapital: [{ required: true, message: '请选择' }],
// hasRegisteredCapital: [{ required: true, message: '请选择' }],
// registeredCapital: [{ required: true, message: '请输入' }],
// registeredCapital: [{ required: true, message: '请输入' }],
// businessScope: [{ required: true, message: '请输入' }],
// businessScope: [{ required: true, message: '请输入' }],
...
...
src/views/newResource/building.vue
0 → 100644
View file @
10196312
<
template
>
<div
class=
"app-container"
>
<div>
<img
src=
"@/assets/images/building.png"
alt=
""
>
</div>
</div>
</
template
>
<
script
>
</
script
>
<
style
rel=
"stylesheet/scss"
lang=
"scss"
scoped
>
.app-container
{
width
:
100%
;
height
:
calc
(
100vh
-
50px
);
background
:
#eeeeee
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
img
{
width
:
320px
;
height
:
200px
;
}
}
</
style
>
\ No newline at end of file
src/views/newResource/displace/alert.vue
View file @
10196312
...
@@ -229,7 +229,9 @@ export default {
...
@@ -229,7 +229,9 @@ export default {
this
.
getData
();
this
.
getData
();
},
},
getsensorList
(){
getsensorList
(){
API
.
sensorList
().
then
(
res
=>
{
API
.
sensorList
({
source
:
'
WARNIING
'
}).
then
(
res
=>
{
this
.
equipnoData
=
res
.
body
;
this
.
equipnoData
=
res
.
body
;
})
})
},
},
...
...
src/views/newResource/displace/data.vue
View file @
10196312
...
@@ -28,6 +28,9 @@
...
@@ -28,6 +28,9 @@
@
click=
"clearSearch"
@
click=
"clearSearch"
>
重置
</el-button
>
重置
</el-button
>
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"按当前查询条件导出"
placement=
"top"
>
<el-button
:loading=
"exporting"
class=
"filter-item"
size=
"mini"
type=
"info"
plain
icon=
"el-icon-download"
@
click=
"exportSubmit"
>
导出
</el-button>
</el-tooltip>
</div>
</div>
</div>
</div>
...
@@ -89,6 +92,8 @@ import API from "@/api/newResource/data.js";
...
@@ -89,6 +92,8 @@ import API from "@/api/newResource/data.js";
import
{
getToken
}
from
"
@/utils/auth
"
;
import
{
getToken
}
from
"
@/utils/auth
"
;
import
{
mapGetters
}
from
"
vuex
"
;
import
{
mapGetters
}
from
"
vuex
"
;
import
DateRangePicker
from
'
@/components/DateRangePicker
'
import
DateRangePicker
from
'
@/components/DateRangePicker
'
import
{
downloadFile
}
from
'
@/utils
'
import
request
from
'
@/utils/request
'
export
default
{
export
default
{
name
:
"
newResourceDisplaceMachine
"
,
// 本页面名
name
:
"
newResourceDisplaceMachine
"
,
// 本页面名
...
@@ -104,6 +109,7 @@ export default {
...
@@ -104,6 +109,7 @@ export default {
size
:
10
,
size
:
10
,
// 当前页码
// 当前页码
page
:
1
,
page
:
1
,
exporting
:
false
};
};
},
},
components
:
{
DateRangePicker
},
components
:
{
DateRangePicker
},
...
@@ -111,6 +117,26 @@ export default {
...
@@ -111,6 +117,26 @@ export default {
this
.
search
()
this
.
search
()
},
},
methods
:
{
methods
:
{
exportSubmit
()
{
if
(
this
.
exporting
){
return
}
this
.
exporting
=
true
request
({
url
:
'
data/mp/download
'
,
method
:
'
get
'
,
params
:
{
time
:
this
.
datarealtime
&&
this
.
datarealtime
.
join
(
'
,
'
)
||
''
,
sensorname
:
this
.
equipname
,
},
responseType
:
'
blob
'
}).
then
(
response
=>
{
downloadFile
(
response
,
'
边坡监测
'
,
'
xlsx
'
)
this
.
exporting
=
false
}).
catch
(()
=>
{
this
.
exporting
=
false
})
},
getData
()
{
getData
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
API
.
getDataList
({
API
.
getDataList
({
...
...
src/views/newResource/temperature/alert.vue
View file @
10196312
...
@@ -230,7 +230,9 @@ export default {
...
@@ -230,7 +230,9 @@ export default {
this
.
getData
();
this
.
getData
();
},
},
getsensorList
(){
getsensorList
(){
API
.
sensorListwen
().
then
(
res
=>
{
API
.
sensorListwen
({
source
:
'
WARNIING
'
}).
then
(
res
=>
{
this
.
equipnoData
=
res
.
body
;
this
.
equipnoData
=
res
.
body
;
})
})
},
},
...
...
src/views/newResource/temperature/data.vue
View file @
10196312
...
@@ -28,6 +28,9 @@
...
@@ -28,6 +28,9 @@
@
click=
"clearSearch"
@
click=
"clearSearch"
>
重置
</el-button
>
重置
</el-button
>
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"按当前查询条件导出"
placement=
"top"
>
<el-button
:loading=
"exporting"
class=
"filter-item"
size=
"mini"
type=
"info"
plain
icon=
"el-icon-download"
@
click=
"exportSubmit"
>
导出
</el-button>
</el-tooltip>
</div>
</div>
</div>
</div>
...
@@ -75,6 +78,8 @@
...
@@ -75,6 +78,8 @@
<
script
>
<
script
>
import
API
from
"
@/api/newResource/data.js
"
;
import
API
from
"
@/api/newResource/data.js
"
;
import
DateRangePicker
from
'
@/components/DateRangePicker
'
import
DateRangePicker
from
'
@/components/DateRangePicker
'
import
{
downloadFile
}
from
'
@/utils
'
import
request
from
'
@/utils/request
'
export
default
{
export
default
{
name
:
"
newResourceDisplaceMachine
"
,
// 本页面名
name
:
"
newResourceDisplaceMachine
"
,
// 本页面名
...
@@ -90,6 +95,7 @@ export default {
...
@@ -90,6 +95,7 @@ export default {
size
:
10
,
size
:
10
,
// 当前页码
// 当前页码
page
:
1
,
page
:
1
,
exporting
:
false
};
};
},
},
components
:
{
DateRangePicker
},
components
:
{
DateRangePicker
},
...
@@ -97,6 +103,27 @@ export default {
...
@@ -97,6 +103,27 @@ export default {
this
.
search
()
this
.
search
()
},
},
methods
:
{
methods
:
{
exportSubmit
()
{
if
(
this
.
exporting
){
return
}
this
.
exporting
=
true
request
({
url
:
'
data/sz/download/wen
'
,
method
:
'
get
'
,
params
:
{
time
:
this
.
datarealtime
&&
this
.
datarealtime
.
join
(
'
,
'
)
||
''
,
sensorname
:
this
.
equipname
,
different
:
'
温度
'
},
responseType
:
'
blob
'
}).
then
(
response
=>
{
downloadFile
(
response
,
'
温度监测
'
,
'
xlsx
'
)
this
.
exporting
=
false
}).
catch
(()
=>
{
this
.
exporting
=
false
})
},
getData
()
{
getData
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
API
.
getDataList4windSpeed
({
API
.
getDataList4windSpeed
({
...
...
src/views/newResource/windspeed/alert.vue
View file @
10196312
...
@@ -230,7 +230,9 @@ export default {
...
@@ -230,7 +230,9 @@ export default {
this
.
getData
();
this
.
getData
();
},
},
getsensorList
(){
getsensorList
(){
API
.
sensorListfeng
().
then
(
res
=>
{
API
.
sensorListfeng
({
source
:
'
WARNIING
'
}).
then
(
res
=>
{
this
.
equipnoData
=
res
.
body
;
this
.
equipnoData
=
res
.
body
;
})
})
},
},
...
...
src/views/newResource/windspeed/data.vue
View file @
10196312
...
@@ -28,6 +28,9 @@
...
@@ -28,6 +28,9 @@
@
click=
"clearSearch"
@
click=
"clearSearch"
>
重置
</el-button
>
重置
</el-button
>
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"按当前查询条件导出"
placement=
"top"
>
<el-button
:loading=
"exporting"
class=
"filter-item"
size=
"mini"
type=
"info"
plain
icon=
"el-icon-download"
@
click=
"exportSubmit"
>
导出
</el-button>
</el-tooltip>
</div>
</div>
</div>
</div>
...
@@ -75,6 +78,8 @@
...
@@ -75,6 +78,8 @@
<
script
>
<
script
>
import
API
from
"
@/api/newResource/data.js
"
;
import
API
from
"
@/api/newResource/data.js
"
;
import
DateRangePicker
from
'
@/components/DateRangePicker
'
import
DateRangePicker
from
'
@/components/DateRangePicker
'
import
{
downloadFile
}
from
'
@/utils
'
import
request
from
'
@/utils/request
'
export
default
{
export
default
{
name
:
"
newResourceDisplaceMachine
"
,
// 本页面名
name
:
"
newResourceDisplaceMachine
"
,
// 本页面名
...
@@ -90,6 +95,7 @@ export default {
...
@@ -90,6 +95,7 @@ export default {
size
:
10
,
size
:
10
,
// 当前页码
// 当前页码
page
:
1
,
page
:
1
,
exporting
:
false
};
};
},
},
components
:
{
DateRangePicker
},
components
:
{
DateRangePicker
},
...
@@ -97,6 +103,27 @@ export default {
...
@@ -97,6 +103,27 @@ export default {
this
.
search
()
this
.
search
()
},
},
methods
:
{
methods
:
{
exportSubmit
()
{
if
(
this
.
exporting
){
return
}
this
.
exporting
=
true
request
({
url
:
'
data/sz/download/feng
'
,
method
:
'
get
'
,
params
:
{
time
:
this
.
datarealtime
&&
this
.
datarealtime
.
join
(
'
,
'
)
||
''
,
sensorname
:
this
.
equipname
,
different
:
'
风速
'
},
responseType
:
'
blob
'
}).
then
(
response
=>
{
downloadFile
(
response
,
'
风速监测
'
,
'
xlsx
'
)
this
.
exporting
=
false
}).
catch
(()
=>
{
this
.
exporting
=
false
})
},
getData
()
{
getData
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
API
.
getDataList4windSpeed
({
API
.
getDataList4windSpeed
({
...
...
src/views/newWater/precipitation/alert.vue
View file @
10196312
...
@@ -229,7 +229,9 @@ export default {
...
@@ -229,7 +229,9 @@ export default {
this
.
getData
();
this
.
getData
();
},
},
getsensorList
(){
getsensorList
(){
API
.
sensorListrg
().
then
(
res
=>
{
API
.
sensorListrg
({
source
:
'
WARNIING
'
}).
then
(
res
=>
{
this
.
equipnoData
=
res
.
body
;
this
.
equipnoData
=
res
.
body
;
})
})
},
},
...
...
src/views/newWater/precipitation/data.vue
View file @
10196312
...
@@ -28,6 +28,9 @@
...
@@ -28,6 +28,9 @@
@
click=
"clearSearch"
@
click=
"clearSearch"
>
重置
</el-button
>
重置
</el-button
>
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"按当前查询条件导出"
placement=
"top"
>
<el-button
:loading=
"exporting"
class=
"filter-item"
size=
"mini"
type=
"info"
plain
icon=
"el-icon-download"
@
click=
"exportSubmit"
>
导出
</el-button>
</el-tooltip>
</div>
</div>
</div>
</div>
...
@@ -81,6 +84,8 @@
...
@@ -81,6 +84,8 @@
<
script
>
<
script
>
import
API
from
"
@/api/newResource/data.js
"
;
import
API
from
"
@/api/newResource/data.js
"
;
import
DateRangePicker
from
'
@/components/DateRangePicker
'
import
DateRangePicker
from
'
@/components/DateRangePicker
'
import
{
downloadFile
}
from
'
@/utils
'
import
request
from
'
@/utils/request
'
export
default
{
export
default
{
name
:
"
waterPrecipitation
"
,
// 本页面名
name
:
"
waterPrecipitation
"
,
// 本页面名
...
@@ -96,6 +101,7 @@ export default {
...
@@ -96,6 +101,7 @@ export default {
size
:
10
,
size
:
10
,
// 当前页码
// 当前页码
page
:
1
,
page
:
1
,
exporting
:
false
};
};
},
},
components
:
{
DateRangePicker
},
components
:
{
DateRangePicker
},
...
@@ -103,6 +109,27 @@ export default {
...
@@ -103,6 +109,27 @@ export default {
this
.
search
()
this
.
search
()
},
},
methods
:
{
methods
:
{
exportSubmit
()
{
if
(
this
.
exporting
){
return
}
this
.
exporting
=
true
request
({
url
:
'
data/rg/download
'
,
method
:
'
get
'
,
params
:
{
time
:
this
.
datarealtime
&&
this
.
datarealtime
.
join
(
'
,
'
)
||
''
,
sensorname
:
this
.
equipname
,
different
:
'
温度
'
},
responseType
:
'
blob
'
}).
then
(
response
=>
{
downloadFile
(
response
,
'
降水监测
'
,
'
xlsx
'
)
this
.
exporting
=
false
}).
catch
(()
=>
{
this
.
exporting
=
false
})
},
getData
()
{
getData
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
API
.
getDataList4waterPrecipitation
({
API
.
getDataList4waterPrecipitation
({
...
...
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