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