明树Git Lab
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
J
jt_front
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
Administrator
jt_front
Commits
9ed6ab05
Commit
9ed6ab05
authored
May 28, 2026
by
zhanghan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
c8c3b48a
Pipeline
#112116
passed with stage
in 19 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
4 deletions
+12
-4
https.js
src/data/https.js
+10
-2
useJueceData.js
...iews/projectManage/addProject/composables/useJueceData.js
+1
-1
useLixiangData.js
...ws/projectManage/addProject/composables/useLixiangData.js
+1
-1
No files found.
src/data/https.js
View file @
9ed6ab05
...
...
@@ -35,7 +35,11 @@ export function $get ({ url, params = {}, callback, error }) {
url
:
windowConfig
.
baseUrl
+
url
,
params
}).
then
(
response
=>
{
try
{
callback
&&
callback
(
response
.
data
);
}
catch
(
cbErr
)
{
console
.
error
(
"callback error:"
,
cbErr
);
}
return
response
;
}).
catch
((
err
)
=>
{
console
.
log
(
err
);
...
...
@@ -53,7 +57,11 @@ export function $post ({ url, data = {}, callback, error }) {
const
userStore
=
useUserStore
();
return
axios
.
post
(
windowConfig
.
baseUrl
+
url
,
data
).
then
((
response
)
=>
{
if
(
response
.
code
===
0
)
{
try
{
callback
&&
callback
(
response
.
data
);
}
catch
(
cbErr
)
{
console
.
error
(
"callback error:"
,
cbErr
);
}
}
else
{
ElMessage
.
error
(
response
.
message
);
}
...
...
src/views/projectManage/addProject/composables/useJueceData.js
View file @
9ed6ab05
...
...
@@ -38,7 +38,7 @@ export function useJueceData(jcFormData, gdlxListRef) {
if
(
index
<
jcGdxxData
.
length
-
1
)
{
if
(
!
obj
[
item
.
gdlx
])
{
obj
[
item
.
gdlx
]
=
{
name
:
gdlxListRef
.
filter
((
gdlx
)
=>
gdlx
.
key
==
item
.
gdlx
)[
0
].
value
,
name
:
gdlxListRef
.
filter
((
gdlx
)
=>
gdlx
.
key
==
item
.
gdlx
)[
0
]
?
.
value
,
};
}
obj
[
item
.
gdlx
].
mycgbl
=
new
Decimal
(
...
...
src/views/projectManage/addProject/composables/useLixiangData.js
View file @
9ed6ab05
...
...
@@ -43,7 +43,7 @@ export function useLixiangData(formData, gdlxListRef) {
if
(
!
obj
[
item
.
gdlx
])
{
obj
[
item
.
gdlx
]
=
{
name
:
gdlxListRef
.
filter
((
gdlx
)
=>
gdlx
.
key
==
item
.
gdlx
)[
0
]
.
value
,
?
.
value
,
};
}
obj
[
item
.
gdlx
].
cgbl
=
new
Decimal
(
...
...
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