From 4971b8fecd0c82f9a5e0a9301644653e99dfe66f Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期三, 27 十一月 2024 16:27:18 +0800 Subject: [PATCH] 修改首页及跳转 --- src/components/view/b1-inspection-order.vue | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/src/components/view/b1-inspection-order.vue b/src/components/view/b1-inspection-order.vue index d320c71..79b0741 100644 --- a/src/components/view/b1-inspection-order.vue +++ b/src/components/view/b1-inspection-order.vue @@ -506,6 +506,12 @@ Add, vueQr }, + props:{ + param: { + type: Object, + default: () => {} + } + }, data() { return { deleteTilte:'鎾ら攢', @@ -556,6 +562,7 @@ // order: '' // } }, + init:false, isIndex: true, showSelect: true, select: true, @@ -825,6 +832,14 @@ this.checkDataList = [] this.isIndeterminate = true; } + }, + param(val){ + if(val&&val.text){ + this.componentData.entity.entrustCode = this.param.text + this.componentData.entity.state = 1; + this.tabIndex = 1; + this.refreshTable() + } } }, created() { @@ -832,6 +847,14 @@ }, mounted() { this.entityCopy = this.HaveJson(this.componentData.entity) + if(this.param&&this.param.text){ + this.componentData.entity.entrustCode = this.param.text + this.componentData.entity.state = 1; + this.tabIndex = 1; + this.refreshTable() + }else{ + this.refreshTable() + } this.getPower() this.getUserMenu() this.getAuthorizedPerson() -- Gitblit v1.9.3