Commit 9f47bdf4 by zhangzhen

新功能模块添加

parent 2a197304
...@@ -111,34 +111,3 @@ export const updateSubmitStatus = (data) => { ...@@ -111,34 +111,3 @@ export const updateSubmitStatus = (data) => {
let d = setResultData(data); let d = setResultData(data);
return http.post(url, d) return http.post(url, d)
} }
export const getSubList = (params,pageData) => {
let url = `/service/S_QT_RK_02`
let d = setParamsData(params,pageData)
return http.post(url, d)
}
export const getInventRecord = (params,pageData) => {
let url = `/service/S_QT_RK_03`
let d = setParamsData(params,pageData)
return http.post(url, d)
}
export const getInventInfo = (params,pageData) => {
let url = `/service/S_QT_RK_04`
let d = setParamsData(params,pageData)
return http.post(url, d)
}
export const saveSubList = (data) => {
let url = `/service/S_QT_RK_05`
let d = setResultData(data);
return http.post(url, d)
}
export const deleteSubInfo = (data) => {
let url = `/service/S_QT_RK_09`
let d = setResultData(data);
return http.post(url, d)
}
\ No newline at end of file
...@@ -68,6 +68,21 @@ const setResultData = (data={}) => { ...@@ -68,6 +68,21 @@ const setResultData = (data={}) => {
"__version__": "2.0", "__version__": "2.0",
"__sys__": {}, "__sys__": {},
"__blocks__": { "__blocks__": {
inqu_status:{
attr: {},
meta:{
attr: {},
columns:[
{
name:"purchaseDate",
pos:0
}
]
},
rows:[
[""]
]
},
"result": { "result": {
"attr": {}, "attr": {},
"meta": { "meta": {
...@@ -94,3 +109,22 @@ export const getList = (params,pageData) => { ...@@ -94,3 +109,22 @@ export const getList = (params,pageData) => {
return http.post(url, d) return http.post(url, d)
} }
export const updateInfo = (data) => {
let url = `/service/S_SB_TZ_02`
let d = setResultData(data);
return http.post(url, d)
}
export const deleteInfo = (data) => {
let url = `/service/S_SB_TZ_03`
let d = setResultData(data);
return http.post(url, d)
}
export const updateSubmitStatus = (data) => {
let url = `/service/S_SB_TZ_04`
let d = setResultData(data);
return http.post(url, d)
}
...@@ -122,6 +122,24 @@ export const fileDownLoad = (data) => { ...@@ -122,6 +122,24 @@ export const fileDownLoad = (data) => {
} }
export const getDict = (data) => {
let url = `/service/S_ED_02`;
return http.post(url, data)
}
export const getOrgByCompanyCode = (data) => {
let url = `/service/S_HGMT_SC05_15`;
let d = setParamsData(data)
return http.post(url, d)
}
export const getUserByCompanyCode = (data) => {
let url = `/service/S_HG_XS_002`;
let d = setParamsData(data)
return http.post(url, d)
}
//上传文件 //上传文件
export const uploadFile = (data) => { export const uploadFile = (data) => {
......
...@@ -422,6 +422,28 @@ ...@@ -422,6 +422,28 @@
"navigationStyle": "custom", "navigationStyle": "custom",
"enablePullDownRefresh" : false "enablePullDownRefresh" : false
} }
},
{
"path" : "pages/device-manager/list",
"style" :
{
"navigationBarTitleText" : "设备台账",
"navigationBarBackgroundColor": "#0072fc",
"navigationBarTextStyle": "white",
"navigationStyle": "custom",
"enablePullDownRefresh" : false
}
},
{
"path" : "pages/device-manager/add",
"style" :
{
"navigationBarTitleText" : "新增",
"navigationBarBackgroundColor": "#0072fc",
"navigationBarTextStyle": "white",
"navigationStyle": "custom",
"enablePullDownRefresh" : false
}
} }
], ],
"globalStyle": { "globalStyle": {
......
...@@ -157,7 +157,7 @@ ...@@ -157,7 +157,7 @@
} from "@/api/apply-for-maintenance.js"; } from "@/api/apply-for-maintenance.js";
import { import {
getList as getDeviceList getList as getDeviceList
} from "@/api/device.js"; } from "@/api/device-manager.js";
export default { export default {
data() { data() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment