|
@@ -99,7 +99,7 @@ export default {
|
|
{
|
|
{
|
|
name: '工单状态',
|
|
name: '工单状态',
|
|
key: 'orderStatus',
|
|
key: 'orderStatus',
|
|
- value: this.$route.query.orderStatus || "",
|
|
|
|
|
|
+ value: this.pageType == "orderStatus" && this.pageCode ? this.pageCode : "",
|
|
conditions: [{
|
|
conditions: [{
|
|
label: "全部",
|
|
label: "全部",
|
|
value: ""
|
|
value: ""
|
|
@@ -204,23 +204,23 @@ export default {
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
initFun() {
|
|
initFun() {
|
|
- if(this.pageType == "detail"){
|
|
|
|
|
|
+ if (this.pageType == "detail") {
|
|
this.id = this.pageCode
|
|
this.id = this.pageCode
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
this.detailFormBool = true
|
|
this.detailFormBool = true
|
|
})
|
|
})
|
|
}
|
|
}
|
|
-
|
|
|
|
- if(this.pageType == "saleOrderId"){
|
|
|
|
|
|
+
|
|
|
|
+ if (this.pageType == "saleOrderId") {
|
|
this.defaultSearchData = [{ "param": "a.sale_order_id", "compare": "=", "value": this.pageCode, label: "销售订单号" }]
|
|
this.defaultSearchData = [{ "param": "a.sale_order_id", "compare": "=", "value": this.pageCode, label: "销售订单号" }]
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
- if(this.pageType == "pgIncreItemId"){
|
|
|
|
|
|
+ if (this.pageType == "pgIncreItemId") {
|
|
this.defaultSearchData = [{ "param": "a.pg_incre_order_id", "compare": "=", "value": this.pageCode, label: "增置服务明细ID" }]
|
|
this.defaultSearchData = [{ "param": "a.pg_incre_order_id", "compare": "=", "value": this.pageCode, label: "增置服务明细ID" }]
|
|
}
|
|
}
|
|
|
|
|
|
- if(this.pageType == "rpProjectRepairId"){
|
|
|
|
|
|
+ if (this.pageType == "rpProjectRepairId") {
|
|
this.defaultSearchData = [{ "param": "a.rp_project_repair_id", "compare": "=", "value": this.pageCode, label: "维保配置ID" }]
|
|
this.defaultSearchData = [{ "param": "a.rp_project_repair_id", "compare": "=", "value": this.pageCode, label: "维保配置ID" }]
|
|
}
|
|
}
|
|
},
|
|
},
|