Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sample-form-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
sample-form-platform
Commits
b213c415
Commit
b213c415
authored
Apr 26, 2024
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: 修改
parent
543ab0cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
sample-form-client-ui/admin/src/api/index.js
sample-form-client-ui/admin/src/api/index.js
+9
-9
No files found.
sample-form-client-ui/admin/src/api/index.js
View file @
b213c415
...
...
@@ -9,7 +9,7 @@ export const getHomeInfo = (data) => {
let
siteId
=
local
.
getLocal
(
"
siteId
"
);
let
deviceCode
=
local
.
getLocal
(
"
devicenum
"
);
return
request
({
url
:
`
${
baseUrl
}
sampleform/home/info`
,
url
:
`
${
baseUrl
}
basics_api/
sampleform/home/info`
,
method
:
"
post
"
,
data
:
{
siteId
,
...
...
@@ -25,7 +25,7 @@ export const getdeptList = (data) => {
let
siteId
=
local
.
getLocal
(
"
siteId
"
);
// let deviceCode = local.getLocal("devicenum");
return
request
({
url
:
`
${
baseUrl
}
sampleform/home/depts`
,
url
:
`
${
baseUrl
}
basics_api/
sampleform/home/depts`
,
method
:
"
post
"
,
data
:
{
siteId
,
...
...
@@ -40,7 +40,7 @@ export const getSampleformMatterList = (data) => {
let
baseUrl
=
local
.
getLocal
(
"
serverUrl
"
);
let
siteId
=
local
.
getLocal
(
"
siteId
"
);
return
request
({
url
:
`
${
baseUrl
}
sampleform/matter/interlist`
,
url
:
`
${
baseUrl
}
basics_api/
sampleform/matter/interlist`
,
method
:
"
post
"
,
data
:
{
siteId
,
...
...
@@ -55,7 +55,7 @@ export const getDeviceMatterList = (data) => {
let
siteId
=
local
.
getLocal
(
"
siteId
"
);
// let deviceCode = local.getLocal("devicenum");
return
request
({
url
:
`
${
baseUrl
}
sampleform/device/matter/datum/interlist`
,
url
:
`
${
baseUrl
}
basics_api/
sampleform/device/matter/datum/interlist`
,
method
:
"
post
"
,
data
:
{
siteId
,
...
...
@@ -70,7 +70,7 @@ export const getMaterialsList = (data) => {
let
baseUrl
=
local
.
getLocal
(
"
serverUrl
"
);
let
siteId
=
local
.
getLocal
(
"
siteId
"
);
return
request
({
url
:
`
${
baseUrl
}
sampleform/matter/datum/interlist`
,
url
:
`
${
baseUrl
}
basics_api/
sampleform/matter/datum/interlist`
,
method
:
"
post
"
,
data
:
{
siteId
,
...
...
@@ -84,7 +84,7 @@ export const mergeFormToDocx = (data) => {
let
baseUrl
=
local
.
getLocal
(
"
serverUrl
"
);
let
siteId
=
local
.
getLocal
(
"
siteId
"
);
return
request
({
url
:
`
${
baseUrl
}
sampleform/home/mergeFormToDocx`
,
url
:
`
${
baseUrl
}
basics_api/
sampleform/home/mergeFormToDocx`
,
method
:
"
post
"
,
data
:
{
siteId
,
...
...
@@ -98,7 +98,7 @@ export const checkMaterials = (data) => {
let
siteId
=
local
.
getLocal
(
"
siteId
"
);
let
deviceCode
=
local
.
getLocal
(
"
devicenum
"
);
return
request
({
url
:
`
${
baseUrl
}
sampleform/sample/bill/save`
,
url
:
`
${
baseUrl
}
basics_api/
sampleform/sample/bill/save`
,
method
:
"
post
"
,
data
:
{
siteId
,
...
...
@@ -112,7 +112,7 @@ export const getSkinList = (data) => {
let
baseUrl
=
local
.
getLocal
(
"
serverUrl
"
);
// let siteId = local.getLocal("siteId");
return
request
({
url
:
`
${
baseUrl
}
sampleform/skin/interlist`
,
url
:
`
${
baseUrl
}
basics_api/
sampleform/skin/interlist`
,
method
:
"
post
"
,
data
,
});
...
...
@@ -131,7 +131,7 @@ export const getDeviceInfo = (data) => {
let
baseUrl
=
local
.
getLocal
(
"
serverUrl
"
);
let
deviceCode
=
local
.
getLocal
(
"
devicenum
"
);
return
request
({
url
:
`
${
baseUrl
}
sampleform/device/check`
,
url
:
`
${
baseUrl
}
basics_api/
sampleform/device/check`
,
method
:
"
post
"
,
data
:
{
deviceCode
,
...
...
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