Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gk
Project
Project
Details
Activity
Releases
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
micro_app
gk
Commits
415faf80
Commit
415faf80
authored
Nov 26, 2025
by
daniel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(road): 线上赛测试
parent
012a9720
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
gpsDeposit.jsp
src/main/webapp/WEB-INF/views/cmpt/gpsDeposit.jsp
+4
-4
road-new.js
src/main/webapp/static/js/road-new.js
+5
-1
No files found.
src/main/webapp/WEB-INF/views/cmpt/gpsDeposit.jsp
View file @
415faf80
...
...
@@ -421,8 +421,8 @@
const
{
useMessage
,
useNotification
,
dateZhCN
,
NButton
,
NTag
,
zhCN
,
NSpace
,
NImageGroup
,
NImage
,
NText
}
=
naive
// 添加全局 loading 指令
const
uploadUrl
=
window
.
location
.
origin
+
'/api-common/v1/upload?folder='
+
'gk/invoice'
+
'&cmptId='
+
getCId
()
//
const BASE_ECC_URL = "https://ecc.geexek.com"
const
BASE_ECC_URL
=
"http://localhost:8081"
const
BASE_ECC_URL
=
"https://ecc.geexek.com"
//
const BASE_ECC_URL = "http://localhost:8081"
// 随机分配名单
const
RANDOM_ASSIGN_URL
=
BASE_ECC_URL
+
'/api-pick/v1/pick-up-batch?cmptId='
+
getCId
()
...
...
@@ -750,6 +750,7 @@
const
editOrderValue
=
reactive
({
id
:
undefined
,
markNo
:
''
,
cmptId
:
getCId
(),
})
// 反馈的校验规则
editOrderRules
=
{
...
...
@@ -772,7 +773,7 @@
const
depositForm
=
ref
({
amount
:
300
,
// 金额
id
:
undefined
,
cmptId
:
getC
mpt
Id
(),
cmptId
:
getCId
(),
notice
:
''
,
// 公告
content
:
''
,
// 富文本
status
:
0
,
// 0 关闭,1开启
...
...
@@ -933,7 +934,6 @@
const
openEditModal
=
(
row
)
=>
{
editOrderValue
.
id
=
row
.
id
editOrderValue
.
markNo
=
row
.
markNo
editOrderFormRef
.
value
?.
resetFields
()
showEditModal
.
value
=
true
}
...
...
src/main/webapp/static/js/road-new.js
View file @
415faf80
...
...
@@ -42,6 +42,7 @@ $(document).ready(function () {
obj
.
distance
=
$
(
e
).
find
(
'input[type=number]'
).
val
();
obj
.
isTime
=
$
(
e
).
find
(
'input[type=checkbox]'
).
get
(
0
).
checked
;
obj
.
name
=
$
(
e
).
find
(
'input[type=text]'
).
val
();
obj
.
pathId
=
$
(
"#pathId"
).
val
();
if
(
obj
.
isTime
)
timerCount
++
;
if
(
obj
.
isTime
&&
!
obj
.
distance
&&
obj
.
distance
<=
0
)
{
flag
=
false
;
...
...
@@ -66,7 +67,7 @@ $(document).ready(function () {
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
layer
.
msg
(
'保存成功'
,
{
icon
:
1
,
time
:
1500
});
getPath
(
$
(
"#roadId"
).
val
(),
$
(
"#pa
ht
Id"
).
val
());
getPath
(
$
(
"#roadId"
).
val
(),
$
(
"#pa
th
Id"
).
val
());
}
},
error
:
function
()
{
layer
.
msg
(
'操作失败'
,
{
icon
:
5
,
time
:
1500
});
...
...
@@ -87,6 +88,7 @@ $(document).ready(function () {
var
parent
=
$
(
this
).
parent
();
var
id
=
parent
.
attr
(
'data-id'
);
var
pathId
=
parent
.
attr
(
'data-path-id'
);
$
(
"#pathId"
).
val
(
pathId
);
var
pathName
=
parent
.
attr
(
'data-path-name'
);
var
fileName
=
parent
.
attr
(
'data-file-name'
);
var
fileSize
=
parent
.
attr
(
'data-file-size'
)
?
Number
(
parent
.
attr
(
'data-file-size'
)).
toFixed
(
2
)
:
0
;
...
...
@@ -310,6 +312,7 @@ function uploadFile(obj) {
loadGps
(
res
.
result
);
// $('.equip-item[data-id='+dataId+']').find('.edit-new').trigger('click');
$
(
'#route-file'
).
val
(
''
);
window
.
location
.
reload
();
}
else
{
console
.
log
(
res
);
}
...
...
@@ -538,6 +541,7 @@ function saveCpDis() {
var
pathId
=
$
(
item
).
attr
(
"path-id"
);
var
disPoint
=
$
(
item
).
find
(
"input"
).
attr
(
'name'
);
var
distance
=
$
(
item
).
find
(
"input"
).
val
()
?
$
(
item
).
find
(
"input"
).
val
()
:
0
;
$
(
"#pathId"
).
val
(
pathId
);
var
obj
=
{
cmptId
:
cmptId
,
roadId
:
roadId
,
pathId
:
pathId
,
disPoint
:
disPoint
,
distance
:
distance
*
1000
};
arr
.
push
(
obj
);
})
...
...
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