Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zhengyuan-danger-chemistry-manage
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
耿迪迪
zhengyuan-danger-chemistry-manage
Commits
b3c50f3b
Commit
b3c50f3b
authored
Oct 20, 2022
by
zhangjianqian
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
6549bf78
d2fee209
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
77 additions
and
15 deletions
+77
-15
setting.js
danger-manage-web/src/api/system/setting.js
+23
-14
tnfcSetting.js
danger-manage-web/src/api/system/tnfcSetting.js
+53
-0
index.vue
danger-manage-web/src/views/system/tNfcSetting/index.vue
+1
-1
No files found.
danger-manage-web/src/api/system/setting.js
View file @
b3c50f3b
import
request
from
'@/utils/request'
// 查询
setting
列表
// 查询
系统参数配置
列表
export
function
listSetting
(
query
)
{
return
request
({
url
:
'/system/
inspection
/list'
,
url
:
'/system/
setting
/list'
,
method
:
'get'
,
params
:
query
})
}
// 查询
setting
详细
export
function
getSetting
(
nfc
Id
)
{
// 查询
系统参数配置
详细
export
function
getSetting
(
system
Id
)
{
return
request
({
url
:
'/system/
inspection/'
+
nfc
Id
,
url
:
'/system/
setting/'
+
system
Id
,
method
:
'get'
})
}
// 新增
setting
// 新增
系统参数配置
export
function
addSetting
(
data
)
{
return
request
({
url
:
'/system/
inspection
'
,
url
:
'/system/
setting
'
,
method
:
'post'
,
data
:
data
})
}
// 修改
setting
// 修改
系统参数配置
export
function
updateSetting
(
data
)
{
return
request
({
url
:
'/system/
inspection
'
,
url
:
'/system/
setting
'
,
method
:
'put'
,
data
:
data
})
}
// 删除
setting
export
function
delSetting
(
nfc
Id
)
{
// 删除
系统参数配置
export
function
delSetting
(
system
Id
)
{
return
request
({
url
:
'/system/
inspection/'
+
nfc
Id
,
url
:
'/system/
setting/'
+
system
Id
,
method
:
'delete'
})
}
// 导出
setting
// 导出
系统参数配置
export
function
exportSetting
(
query
)
{
return
request
({
url
:
'/system/inspection/export'
,
url
:
'/system/setting/export'
,
method
:
'get'
,
params
:
query
})
}
// 导出系统参数配置
export
function
refreshSystemSetting
(
query
)
{
return
request
({
url
:
'/system/setting/refreshSystemSetting'
,
method
:
'get'
,
params
:
query
})
...
...
danger-manage-web/src/api/system/tnfcSetting.js
0 → 100644
View file @
b3c50f3b
import
request
from
'@/utils/request'
// 查询setting列表
export
function
listSetting
(
query
)
{
return
request
({
url
:
'/system/inspection/list'
,
method
:
'get'
,
params
:
query
})
}
// 查询setting详细
export
function
getSetting
(
nfcId
)
{
return
request
({
url
:
'/system/inspection/'
+
nfcId
,
method
:
'get'
})
}
// 新增setting
export
function
addSetting
(
data
)
{
return
request
({
url
:
'/system/inspection'
,
method
:
'post'
,
data
:
data
})
}
// 修改setting
export
function
updateSetting
(
data
)
{
return
request
({
url
:
'/system/inspection'
,
method
:
'put'
,
data
:
data
})
}
// 删除setting
export
function
delSetting
(
nfcId
)
{
return
request
({
url
:
'/system/inspection/'
+
nfcId
,
method
:
'delete'
})
}
// 导出setting
export
function
exportSetting
(
query
)
{
return
request
({
url
:
'/system/inspection/export'
,
method
:
'get'
,
params
:
query
})
}
danger-manage-web/src/views/system/tNfcSetting/index.vue
View file @
b3c50f3b
...
...
@@ -292,7 +292,7 @@
</template>
<
script
>
import
{
listSetting
,
getSetting
,
delSetting
,
addSetting
,
updateSetting
,
exportSetting
}
from
"@/api/system/
s
etting"
;
import
{
listSetting
,
getSetting
,
delSetting
,
addSetting
,
updateSetting
,
exportSetting
}
from
"@/api/system/
tnfcS
etting"
;
export
default
{
name
:
"Setting"
,
...
...
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