添加重新校验,修改缓存存储用户名以及ID
parent
0dbef950fd
commit
40ee74ed78
|
@ -213,3 +213,12 @@ export function getProjPos(options) {
|
|||
data: options
|
||||
});
|
||||
}
|
||||
|
||||
// 重新检验
|
||||
export function resetCheck(data) {
|
||||
return request({
|
||||
url: "validation/validation/restartInspection",
|
||||
method: "post",
|
||||
data
|
||||
});
|
||||
}
|
|
@ -395,7 +395,7 @@ export default {
|
|||
}
|
||||
});
|
||||
} else {
|
||||
console.log("111111", st);
|
||||
// console.log("111111", st);
|
||||
const spFrom = new FormData();
|
||||
spFrom.append("sampleFun", Number(ssf[0])); //抽样方法
|
||||
spFrom.append("minNum", 0);
|
||||
|
@ -431,7 +431,7 @@ export default {
|
|||
this.ckPoint = false;
|
||||
const cus = this.configration.urlprefix.samePoiImgsUrl;
|
||||
if (row.collectPointSignPic !== null) {
|
||||
console.log("111111", row.collectPointSignPic);
|
||||
// console.log("111111", row.collectPointSignPic);
|
||||
this.collectPointSignPic = row.collectPointSignPic;
|
||||
var alImgDom = document.getElementById("alImg");
|
||||
alImgDom.src = this.collectPointSignPic;
|
||||
|
@ -494,7 +494,7 @@ export default {
|
|||
},
|
||||
getSqlData() {
|
||||
getSamplesList(this.orderId).then((res) => {
|
||||
console.log("111111111", res);
|
||||
// console.log("111111111", res);
|
||||
if (res.code == 200) {
|
||||
this.multipleSelection =
|
||||
this.allSampleData =
|
||||
|
|
|
@ -188,6 +188,7 @@ import {
|
|||
downloadPdf,
|
||||
updateOrderStage,
|
||||
exportWord,
|
||||
resetCheck
|
||||
} from "@/api/lang/pendingOrder";
|
||||
|
||||
import { productSubTypeVal, truthFunVal } from "@/lib/contract.js";
|
||||
|
@ -302,6 +303,8 @@ export default {
|
|||
init() {
|
||||
const self = this;
|
||||
const rpm = (self.reportMsg = this.queryParams);
|
||||
console.log('1111111',rpm);
|
||||
|
||||
self.realRes = rpm.reportResult;
|
||||
self.pdSubType = rpm.pdSubType;
|
||||
const rsl = (self.sampleData = rpm.sampleList);
|
||||
|
@ -341,7 +344,6 @@ export default {
|
|||
},
|
||||
// 生产报告
|
||||
exportPdf(rpm) {
|
||||
console.log("11111111", rpm);
|
||||
const self = this;
|
||||
const asmo = rpm.orderMsg;
|
||||
const asmp = rpm.productMsg;
|
||||
|
@ -512,7 +514,11 @@ export default {
|
|||
reExamine() {
|
||||
const os = 0;
|
||||
this.updateOrder(os);
|
||||
resetCheck({orderId:this.reportMsg.orderId}).then(res=>{
|
||||
if(res.code === 200){
|
||||
window.location.href =`${DAICHULI_URL}?orderid=${this.reportMsg.orderId}&token=${this.reportMsg.token}`;
|
||||
}
|
||||
})
|
||||
},
|
||||
// 更新订单状态
|
||||
updateOrder(orderStatus) {
|
||||
|
|
|
@ -339,6 +339,7 @@ import {
|
|||
delSampleData,
|
||||
upDateAnalyseMethod,
|
||||
checkReality,
|
||||
resetCheck
|
||||
} from "@/api/lang/pendingOrder";
|
||||
import qs from "qs";
|
||||
|
||||
|
@ -489,7 +490,11 @@ export default {
|
|||
}
|
||||
},
|
||||
todaichuli() {
|
||||
resetCheck({orderId:this.orderId}).then(res=>{
|
||||
if(res.code === 200){
|
||||
window.location.href =`${DAICHULI_URL}?orderid=${this.orderId}&token=${this.token}`;
|
||||
}
|
||||
})
|
||||
},
|
||||
changepage() {
|
||||
if (this.hasPixelFun && this.pixelFun === "") {
|
||||
|
|
|
@ -277,6 +277,8 @@ export default {
|
|||
if (userMsg.code === 200) {
|
||||
self.userId = userMsg.data.userid;
|
||||
self.userName = userMsg.data.username;
|
||||
localStorage.setItem("userId",self.userId);
|
||||
localStorage.setItem("userName",self.userName);
|
||||
}
|
||||
const orderId = (self.orderId = this.$route.query.orderId);
|
||||
getOrderMsg(orderId).then((res) => {
|
||||
|
|
|
@ -160,7 +160,7 @@ export default {
|
|||
},
|
||||
changePage(orderMsg) {
|
||||
// 正射:150424 土水:150208 地表覆盖:150166
|
||||
this.$router.push("/orderUnprocessed?orderId=150208&token=WEB*1673425993482@L3W7_ZZX-yg000087_06848633de364ec7b63c8f53f9e43b19");
|
||||
this.$router.push("/orderUnprocessed?orderId=150208&token=WEB*1675826560592@VBSA_ZZX-yg000087_903ced0b26f74d5abcbbb70a4458de72");
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue