Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
e-shield-h5
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c8a82251
authored
Jul 20, 2022
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
76521e20
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
225 additions
and
364 deletions
package-lock.json
package.json
src/router/index.js
src/views/resident.vue
vue.config.js
package-lock.json
View file @
c8a8225
This diff could not be displayed because it is too large.
package.json
View file @
c8a8225
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
"vant"
:
"^3.5.2"
,
"vant"
:
"^3.5.2"
,
"vue"
:
"^3.2.13"
,
"vue"
:
"^3.2.13"
,
"vue-router"
:
"^4.0.3"
,
"vue-router"
:
"^4.0.3"
,
"unplugin-vue-components"
:
"^0.19.3"
,
"vuex"
:
"^4.0.0"
"vuex"
:
"^4.0.0"
},
},
"devDependencies"
:
{
"devDependencies"
:
{
...
@@ -36,7 +37,6 @@
...
@@ -36,7 +37,6 @@
"prettier"
:
"^2.4.1"
,
"prettier"
:
"^2.4.1"
,
"sass"
:
"1.26.8"
,
"sass"
:
"1.26.8"
,
"sass-loader"
:
"^10.0.3"
,
"sass-loader"
:
"^10.0.3"
,
"unplugin-vue-components"
:
"^0.20.1"
,
"webpack-spritesmith"
:
"^0.5.2"
"webpack-spritesmith"
:
"^0.5.2"
},
},
"eslintConfig"
:
{
"eslintConfig"
:
{
...
...
src/router/index.js
View file @
c8a8225
...
@@ -2,7 +2,7 @@ import { createRouter, createWebHistory } from "vue-router";
...
@@ -2,7 +2,7 @@ import { createRouter, createWebHistory } from "vue-router";
import
routes
from
"./routes"
;
import
routes
from
"./routes"
;
const
router
=
createRouter
({
const
router
=
createRouter
({
history
:
createWebHistory
(
"/miniapp
server
/"
),
history
:
createWebHistory
(
"/miniapp/"
),
routes
:
routes
.
baseRoutes
,
routes
:
routes
.
baseRoutes
,
});
});
...
...
src/views/resident.vue
View file @
c8a8225
...
@@ -228,57 +228,6 @@ export default defineComponent({
...
@@ -228,57 +228,6 @@ export default defineComponent({
// 获取数据
// 获取数据
const
getData
=
(
map
)
=>
{
const
getData
=
(
map
)
=>
{
currentMap
=
map
?
map
:
currentMap
;
currentMap
=
map
?
map
:
currentMap
;
let
data
=
[
{
workOrderNo
:
null
,
ownerName
:
"1111"
,
sn
:
"60907150063"
,
vin
:
"qwertyu1234567890"
,
shopName
:
null
,
totalDurationString
:
"92 时 20 分 49 秒"
,
totalTimes
:
1
,
longitude
:
"114.044136"
,
latitude
:
"22.6422"
,
blat
:
"0.0"
,
blng
:
"0.0"
,
elat
:
"22.63946806924843"
,
elng
:
"114.04923654997195"
,
address
:
"广东省深圳市龙岗区利金城科技工业园"
,
},
{
workOrderNo
:
null
,
ownerName
:
"1111"
,
sn
:
"60907150063"
,
vin
:
"qwertyu1234567890"
,
shopName
:
null
,
totalDurationString
:
"23 时 25 分 28 秒"
,
totalTimes
:
1
,
longitude
:
"115.342248"
,
latitude
:
"23.698066"
,
blat
:
"0.0"
,
blng
:
"0.0"
,
elat
:
"23.695595542569368"
,
elng
:
"115.34719562698024"
,
address
:
"广东省河源市紫金县南山下"
,
},
{
workOrderNo
:
null
,
ownerName
:
"1111"
,
sn
:
"60907150063"
,
vin
:
"qwertyu1234567890"
,
shopName
:
null
,
totalDurationString
:
"21 时 53 分 36 秒"
,
totalTimes
:
1
,
longitude
:
"115.342248"
,
latitude
:
"23.69805"
,
blat
:
"0.0"
,
blng
:
"0.0"
,
elat
:
"23.69557954590615"
,
elng
:
"115.34719562590121"
,
address
:
"广东省河源市紫金县南山下"
,
},
];
init
(
currentMap
,
data
);
GET_RESIDENT_DATA
({
GET_RESIDENT_DATA
({
startTime
:
searchTime
.
value
[
0
],
startTime
:
searchTime
.
value
[
0
],
endTime
:
searchTime
.
value
[
1
],
endTime
:
searchTime
.
value
[
1
],
...
...
vue.config.js
View file @
c8a8225
...
@@ -11,7 +11,7 @@ function resolve(dir) {
...
@@ -11,7 +11,7 @@ function resolve(dir) {
return
path
.
join
(
__dirname
,
"."
,
dir
);
return
path
.
join
(
__dirname
,
"."
,
dir
);
}
}
module
.
exports
=
defineConfig
({
module
.
exports
=
defineConfig
({
publicPath
:
"/miniapp
server
/"
,
publicPath
:
"/miniapp/"
,
transpileDependencies
:
true
,
transpileDependencies
:
true
,
devServer
:
{
devServer
:
{
port
:
9527
,
port
:
9527
,
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment