提交 95b43e65 编写于 作者: 张敬贤's avatar 张敬贤

add

上级 0f66088e
......@@ -133,7 +133,7 @@ export default {
checkStatus(res) {
this.yunOrderNo = res.data.yunOrderNo;
this.query.yunOrderNo = res.data.yunOrderNo;
this.status = res.data.status;
this.status = res.data.statusCode;
this.getDetectionName(this.yunOrderNo);
switch (this.status) {
......
......@@ -95,7 +95,7 @@ export default {
const { query } = this.$route;
this.query = query;
this.needDetect = query.needDetect !== '1';
this.needDetect = !(query.needDetect == '1');
console.log('query', this.needDetect);
this.getButtonStatus(query.yunOrderNo);
this.getDetectionName(query.yunOrderNo);
......@@ -126,10 +126,10 @@ export default {
// 去预约
toAppoint() {
if (this.buttonStatus) {
const {projectEquityNo, orderNo, yunOrderNo} = this.query;
const {projectEquityNo, externalOrderNo, yunOrderNo} = this.query;
this.$router.push({
path: '/appoint',
query: {projectEquityNo, orderNo, yunOrderNo},
query: {projectEquityNo, externalOrderNo, yunOrderNo},
});
}
},
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册