Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
甘
甘肃陇南
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
xinzhedeai
甘肃陇南
Commits
685642c0
Commit
685642c0
authored
Sep 19, 2024
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
内蒙突泉首页图片处理
parent
373b51df
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
47 deletions
+17
-47
index.js
build/index.js
+0
-35
index.png
public/img/index.png
+0
-0
index.vue
src/views/environmentMonitor/historyData/index.vue
+2
-2
index.vue
src/views/index.vue
+10
-9
vue.config.js
vue.config.js
+5
-1
No files found.
build/index.js
deleted
100644 → 0
View file @
373b51df
const
{
run
}
=
require
(
'
runjs
'
)
const
chalk
=
require
(
'
chalk
'
)
const
config
=
require
(
'
../vue.config.js
'
)
const
rawArgv
=
process
.
argv
.
slice
(
2
)
const
args
=
rawArgv
.
join
(
'
'
)
if
(
process
.
env
.
npm_config_preview
||
rawArgv
.
includes
(
'
--preview
'
))
{
const
report
=
rawArgv
.
includes
(
'
--report
'
)
run
(
`vue-cli-service build
${
args
}
`
)
const
port
=
9526
const
publicPath
=
config
.
publicPath
var
connect
=
require
(
'
connect
'
)
var
serveStatic
=
require
(
'
serve-static
'
)
const
app
=
connect
()
app
.
use
(
publicPath
,
serveStatic
(
'
./dist
'
,
{
index
:
[
'
index.html
'
,
'
/
'
]
})
)
app
.
listen
(
port
,
function
()
{
console
.
log
(
chalk
.
green
(
`> Preview at http://localhost:
${
port
}${
publicPath
}
`
))
if
(
report
)
{
console
.
log
(
chalk
.
green
(
`> Report at http://localhost:
${
port
}${
publicPath
}
report.html`
))
}
})
}
else
{
run
(
`vue-cli-service build
${
args
}
`
)
}
public/img/index.png
0 → 100644
View file @
685642c0
239 KB
src/views/environmentMonitor/historyData/index.vue
View file @
685642c0
...
...
@@ -2,8 +2,8 @@
<div
class=
"app-container"
>
<div
class=
"box-card"
>
<div
class=
"top-title"
>
<span
class=
"title-text"
>
历史数据
</span>
</div>
<span
class=
"title-text"
>
历史数据
</span>
</div>
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
v-show=
"showSearch"
label-width=
"68px"
>
<el-form-item
label=
""
prop=
"sensorid"
>
<el-input
...
...
src/views/index.vue
View file @
685642c0
<
template
>
<div
class=
"app-container"
>
<div
class=
"tab-nav"
>
<div
class=
"app-container"
style=
"padding:0"
>
<img
src=
"/img/index.png"
style=
"width: 100%;height: 800px;"
>
<!--
<div
class=
"tab-nav"
>
<ul
class=
"tab-lits"
>
<li
v-for=
"(item, index) in tabs"
:key=
"index"
:class=
"
{ active: activeTab === index }"
@click="handtabclick(index,item)">
...
...
@@ -13,9 +14,9 @@
value-format=
"yyyy-MM-dd HH:mm:ss"
@
change=
"handleTimeRangeChange"
/>
</ul>
</div>
<iframe
src=
"/sjzGwz"
id=
"target-iframe"
scrolling=
"no"
></iframe>
<iframe
src=
"/sjzGwz"
id=
"target-iframe"
scrolling=
"no"
></iframe>
-->
<!-- 钻孔应力弹窗 -->
<el-dialog
:title=
"zktitle"
:visible.sync=
"zkDialog"
append-to-body
>
<
!--
<
el-dialog
:title=
"zktitle"
:visible.sync=
"zkDialog"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"120px"
style=
"width:100%;height: 100%;display: flex;"
>
<div
class=
"tableline"
>
<el-form-item
label=
"设备名称"
prop=
"pointcode"
>
...
...
@@ -54,9 +55,9 @@
</div>
</el-form>
</el-dialog>
</el-dialog>
-->
<!-- 巷道位移弹窗 -->
<el-dialog
:title=
"xdtitle"
:visible.sync=
"xdDialog"
append-to-body
>
<
!--
<
el-dialog
:title=
"xdtitle"
:visible.sync=
"xdDialog"
append-to-body
>
<el-form
ref=
"xdform"
:model=
"xdform"
label-width=
"200px"
style=
"width:100%;height: 100%;display: flex;"
>
<div
class=
"tableline"
>
<el-form-item
label=
"设备名称"
prop=
"devicename"
>
...
...
@@ -95,9 +96,9 @@
</div>
</div>
</el-form>
</el-dialog>
</el-dialog>
-->
<!-- 微震监测弹窗 -->
<el-dialog
:title=
"wztitle"
:visible.sync=
"wzopen"
>
<
!--
<
el-dialog
:title=
"wztitle"
:visible.sync=
"wzopen"
>
<el-tabs
v-model=
"activeName"
type=
"card"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"波形"
name=
"first"
>
<div
class=
"wrapper"
v-for=
"(item,index) in this.chartData"
:key=
"index"
>
...
...
@@ -160,7 +161,7 @@
</el-form>
</el-tab-pane>
</el-tabs>
</el-dialog>
</el-dialog>
-->
</div>
</
template
>
...
...
vue.config.js
View file @
685642c0
...
...
@@ -34,8 +34,12 @@ module.exports = {
open
:
true
,
proxy
:
{
[
process
.
env
.
VUE_APP_BASE_API
]:
{
target
:
`http://192.168.0.103:8085/lswz`
,
// 线上内网
// target: `http://192.168.0.103:8085/lswz`, // 线上内网
// target: `http://192.168.1.79:8085/lswz`, // 广建薪给内网
// target: `http://192.168.3.188:8085/lswz`,
target
:
`http://192.168.3.166:8085/lswz`
,
// 广建本地新
//target: `http://192.168.3.37:8085/lswz`,
// target: `http://10.50.70.100:8085/lswz`,
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