Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yangpu
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
郭铭瑶
yangpu
Commits
64c847f9
Commit
64c847f9
authored
Dec 04, 2020
by
郭铭瑶
🤘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除不必要的代码
parent
7c1bb500
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
31 deletions
+4
-31
index.html
index.html
+2
-2
api.js
src/server/api.js
+2
-2
grid-management.vue
src/views/components/grid-management.vue
+0
-13
smart-discover.vue
src/views/components/smart-discover.vue
+0
-14
No files found.
index.html
View file @
64c847f9
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<!-- built files will be auto injected -->
<!-- built files will be auto injected -->
</body>
</body>
<script
src=
"./static/hls.js"
></script>
<script
src=
"./static/hls.js"
></script>
<
!-- <script src="./static/SMap.min.js"></script> --
>
<
script
src=
"./static/SMap.min.js"
></script
>
<
script
src=
"./static/esm/SMap.min.js"
></script
>
<
!-- <script src="./static/esm/SMap.min.js"></script> --
>
<script
src=
"./static/Plugins.min.js"
></script>
<script
src=
"./static/Plugins.min.js"
></script>
</html>
</html>
src/server/api.js
View file @
64c847f9
...
@@ -2,8 +2,8 @@ let BASE_URL = ''
...
@@ -2,8 +2,8 @@ let BASE_URL = ''
let
DATA_URL
=
''
let
DATA_URL
=
''
switch
(
process
.
env
.
NODE_ENV
)
{
switch
(
process
.
env
.
NODE_ENV
)
{
case
'production'
:
case
'production'
:
BASE_URL
=
'http://10.89.4.164:18080/api'
//
BASE_URL = 'http://10.89.4.164:18080/api'
//
BASE_URL = 'http://yangpu.hm.omniview.pro/api'
BASE_URL
=
'http://yangpu.hm.omniview.pro/api'
DATA_URL
=
'http://10.89.1.208:10005'
DATA_URL
=
'http://10.89.1.208:10005'
break
break
default
:
default
:
...
...
src/views/components/grid-management.vue
View file @
64c847f9
...
@@ -11,19 +11,6 @@
...
@@ -11,19 +11,6 @@
</p>
</p>
<m-step
class=
"combine-step"
:steps=
"steps"
:current=
"1000"
/>
<m-step
class=
"combine-step"
:steps=
"steps"
:current=
"1000"
/>
</div>
</div>
<!--
<div>
<p>
{{
item
.
name
}}
</p>
<div>
<m-count
class=
"count"
:value=
"item.value[0]"
:decimal=
"0"
/>
<m-count
class=
"count"
:value=
"item.value[1]"
:decimal=
"0"
/>
<m-count
class=
"count"
:value=
"item.value[2]"
:decimal=
"0"
/>
</div>
<div>
<span>
逾期
</span>
<span>
处置中
</span>
<span>
发现
</span>
</div>
</div>
-->
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
...
src/views/components/smart-discover.vue
View file @
64c847f9
...
@@ -9,12 +9,6 @@
...
@@ -9,12 +9,6 @@
</div>
</div>
</div>
</div>
</div>
</div>
<!--
<div
class=
"detail"
>
<div
@
click=
"handleClick(item.types, item.visible)"
:class=
"
{on: item.types === curSmartType, visible: item.visible}" v-for="item in list" :key="item.types">
<p><img
:src=
"require(`@/assets/images/$
{item.img}`)" />
{{
item
.
name
}}
</p>
<m-count
:class=
"
{count: true, yellow: item.value > 0}" :value="item.value" :decimal="0" />
</div>
</div>
-->
<div
class=
"detail"
>
<div
class=
"detail"
>
<img
src=
"@/assets/images/smart.png"
/>
<img
src=
"@/assets/images/smart.png"
/>
<div
<div
...
@@ -95,14 +89,6 @@ export default {
...
@@ -95,14 +89,6 @@ export default {
})
})
}
}
return
result
return
result
// const result = discoverInfo.map((item, i) => ({
// name: this.$com.transType(item.types),
// value: +item.numbers || 0,
// img: `smart${i + 1}.png`,
// types: item.types,
// visible: this.calcVisible(item.types),
// }))
// return result.sort((a, b) => b.visible - a.visible)
}
}
},
},
methods
:
{
methods
:
{
...
...
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