Commit 984dc955 authored by xinzhedeai's avatar xinzhedeai

保存测量记录

parent c5661756
...@@ -8,7 +8,7 @@ export function getSelectList(data) { // 获取下拉列表数据 ...@@ -8,7 +8,7 @@ export function getSelectList(data) { // 获取下拉列表数据
}) })
} }
export function getDetailInfo(data) { // 获取下拉列表数据 export function getDetailInfo(data) { // 获取测量记录详情
console.log('data', data) console.log('data', data)
return request({ return request({
url: '/product/getExpectedDepth', url: '/product/getExpectedDepth',
...@@ -17,15 +17,15 @@ console.log('data', data) ...@@ -17,15 +17,15 @@ console.log('data', data)
}) })
} }
export function saveData(data) { // 获取下拉列表数据 export function saveData(data) { // 保存测量记录
return request({ return request({
url: '/product/getList', url: '/records/add',
method: 'post', method: 'post',
data data
}) })
} }
export function getDict(data) { // 获取下拉列表数据 export function getDict(data) { // 获取装药字典
return request({ return request({
url: '/system/dict/data/type/'+data.type, url: '/system/dict/data/type/'+data.type,
method: 'get', method: 'get',
......
...@@ -51,6 +51,7 @@ uni.addInterceptor("request", { ...@@ -51,6 +51,7 @@ uni.addInterceptor("request", {
}) })
} }
}); });
return
} }
if (code !== 200) { if (code !== 200) {
showCustomModal({ showCustomModal({
......
This diff is collapsed.
...@@ -130,11 +130,12 @@ ...@@ -130,11 +130,12 @@
}, },
"mp-weixin" : { "mp-weixin" : {
// "appid" : "wx6238adc0d70b28d6", // 比萨列 // "appid" : "wx6238adc0d70b28d6", // 比萨列
"aGETDATAppid" : "wx41f6d06aca0687c3", // 矿山智行 "aGETDATAppid" : "wx41f6d06aca0687c3", // 矿山智行
"setting" : { "setting" : {
"urlCheck" : false, "urlCheck" : false,
"es6" : true "es6" : true,
"minified" : true,
"postcss" : true
}, },
"usingComponents" : true, "usingComponents" : true,
"permission" : {}, "permission" : {},
......
...@@ -34,13 +34,6 @@ ...@@ -34,13 +34,6 @@
"navigationBarTitleText" : "导入文件数据预览" "navigationBarTitleText" : "导入文件数据预览"
} }
}, },
{
"path" : "pages/home/blueTest",
"style" :
{
"navigationBarTitleText" : "设备测试"
}
},
{ {
"path" : "pages/home/blueSearch", "path" : "pages/home/blueSearch",
"style" : "style" :
...@@ -140,24 +133,7 @@ ...@@ -140,24 +133,7 @@
"iconPath": "static/template.png", "iconPath": "static/template.png",
"selectedIconPath": "static/templateHL.png", "selectedIconPath": "static/templateHL.png",
"text": "模板" "text": "模板"
}/*, }
{
"pagePath": "pages/home/home",
"iconPath": "static/api.png",
"selectedIconPath": "static/apiHL.png",
"text": "首页"
} ,
{
"pagePath": "pages/home/home",
"iconPath": "static/api.png",
"selectedIconPath": "static/apiHL.png",
"text": "首页"
} *//* , {
"pagePath": "pages/tabBar/extUI/extUI",
"iconPath": "static/extui.png",
"selectedIconPath": "static/extuiHL.png",
"text": "扩展组件"
} */
] ]
} }
} }
This diff is collapsed.
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