huangli865118801 4 years ago
parent
commit
8bf8b40e9b
  1. 89
      api/user.js
  2. 3
      pages/stampingRecordList/index.scss

89
api/user.js

@ -188,3 +188,92 @@ export function wjCheckAdd(data) {
data
});
}
/**
* 开线
* @param {Object} data
*/
export function openLine(data) {
console.log(data)
return request({
url: `${functions.getDomain()}/api/open-line`,
method: "post",
data
});
}
/**
* 投入统计
* @param {Object} data
*/
export function trtj(data) {
console.log(data)
return request({
url: `${functions.getDomain()}/api/i-s`,
method: "post",
data
});
}
/**
* 返修报工
* @param {Object} data
*/
export function repair(data) {
console.log(data)
return request({
url: `${functions.getDomain()}/api/repair`,
method: "post",
data
});
}
/**
* 不良原因
* @param {Object} data
*/
export function badReasons(data) {
console.log(data)
return request({
url: `${functions.getDomain()}/api/bad-reasons`,
method: "post",
data
});
}
/**
* 下线记录
* @param {Object} data
*/
export function offline(data) {
console.log(data)
return request({
url: `${functions.getDomain()}/api/offline`,
method: "post",
data
});
}
/**
* 停线原因
* @param {Object} data
*/
export function stopLineReason(data) {
console.log(data)
return request({
url: `${functions.getDomain()}/api/stop-line-reason`,
method: "get",
data
});
}
/**
* 停线记录
* @param {Object} data
*/
export function stopRecord(data) {
console.log(data)
return request({
url: `${functions.getDomain()}/api/stop-record`,
method: "post",
data
});
}

3
pages/stampingRecordList/index.scss

@ -61,7 +61,7 @@
.btn-grounp{
@include wh(690upx,auto);
margin-top: 30upx;
@include flex(center,space-around);
@include flex(center,flex-start);
border-top: 1upx solid #F1F1F1;
padding-top: 30upx;
@ -71,6 +71,7 @@
font-size: 24upx;
color: white;
background: #4CAF4D;
margin-left: 20upx;
//margin-left:30upx;
flex-shrink: 0;
}

Loading…
Cancel
Save