Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dd_school
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangqi
dd_school
Commits
e326d288
Commit
e326d288
authored
Aug 11, 2023
by
duxingshan
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
64ff9f81
59b67023
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
22 deletions
+22
-22
ruoyi-ui/src/api/smartSchool/schoolProperty/repairApplicant.js
+22
-22
ruoyi-ui/src/views/smartSchool/schoolProperty/repairApplicant/index.vue
+0
-0
No files found.
ruoyi-ui/src/api/smartSchool/schoolProperty/repairApplicant.js
View file @
e326d288
import
request
from
"@/utils/request"
;
import
request
from
"@/utils/request"
;
//查看设备报修列表
//查看设备报修列表
export
function
get
Product
(
query
)
{
export
function
get
Repair
(
query
)
{
return
request
({
return
request
({
url
:
"/equipmentRepair/list"
,
url
:
"/equipmentRepair/list"
,
method
:
"get"
,
method
:
"get"
,
params
:
query
,
params
:
query
,
});
});
}
}
//查看产品分类详细信息
//新增设备报修
export
function
queryProduct
(
id
)
{
export
function
addRepair
(
data
)
{
return
request
({
url
:
"/equipmentRepair/"
+
id
,
method
:
"get"
,
});
}
//新增产品分类
export
function
addProduct
(
data
)
{
return
request
({
return
request
({
url
:
"/equipmentRepair/add"
,
url
:
"/equipmentRepair/add"
,
method
:
"post"
,
method
:
"post"
,
data
,
data
,
});
});
}
}
//修改
产品分类信息
//修改
设备报修
export
function
edit
Product
(
data
)
{
export
function
edit
Repair
(
data
)
{
return
request
({
return
request
({
url
:
"/equipmentRepair/edit"
,
url
:
"/equipmentRepair/edit"
,
method
:
"put"
,
method
:
"put"
,
data
:
data
,
data
:
data
,
});
});
}
}
//删除产品分类信息;
//查看设备报修详细信息
export
function
deleteProduct
(
id
)
{
export
function
queryRepair
(
id
)
{
return
request
({
url
:
"/equipmentRepair/"
+
id
,
method
:
"get"
,
});
}
//删除设备报修
export
function
deleteRepair
(
id
)
{
return
request
({
return
request
({
url
:
"/equipmentRepair/delete/"
+
id
,
url
:
"/equipmentRepair/delete/"
+
id
,
method
:
"post"
,
method
:
"post"
,
});
});
}
}
//
获取设备分类下拉框
//
根据自编码获取设备信息
export
function
get
ProductCategory
(
query
)
{
export
function
get
Repairencode
(
encode
)
{
return
request
({
return
request
({
url
:
"/equipmentRepair/getEquipment
"
,
url
:
"/equipmentRepair/getEquipment
/"
+
encode
,
method
:
"get"
,
method
:
"get"
,
params
:
query
,
});
});
}
}
//获取管理员
export
function
getAdmin
(
query
)
{
//获取修理人下拉框
export
function
getRepairname
()
{
return
request
({
return
request
({
url
:
"/
productCategory/getAdmin
"
,
url
:
"/
equipmentRepair/getRepair
"
,
method
:
"get"
,
method
:
"get"
,
params
:
query
,
});
});
}
}
ruoyi-ui/src/views/smartSchool/schoolProperty/repairApplicant/index.vue
View file @
e326d288
This diff is collapsed.
Click to expand it.
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