From 98277f07107ed5229bfdddafefc1cac896758f1d Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期一, 28 十一月 2022 16:58:12 +0800 Subject: [PATCH] Merge branch 'master' of http://42.193.1.25:9521/r/sccg_ui --- src/views/systemSetting/device/bayonet/index.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/systemSetting/device/bayonet/index.vue b/src/views/systemSetting/device/bayonet/index.vue index e9c4a90..6781e1b 100644 --- a/src/views/systemSetting/device/bayonet/index.vue +++ b/src/views/systemSetting/device/bayonet/index.vue @@ -49,7 +49,7 @@ data() { return { isShowDialog: false, - context: 0, + context: null, options: [ { value: 0, @@ -117,7 +117,7 @@ }, methods: { getBayonetListData() { - bayonet.getBayonetList({ bayonetName: '', current: this.current, size: this.size }) + bayonet.getBayonetList({ bayonetName: this.context, current: this.current, size: this.size }) .then(({ records }) => { this.list = records; }) @@ -135,6 +135,7 @@ closeDialog() { this.isShowDialog = false; + this.getBayonetListData(); }, handleExport() { @@ -150,7 +151,7 @@ showDialog(isEdit, data) { this.isShowDialog = true; this.isEdit = isEdit; - this.originalBayonet = data; + this.originalBayonet = data.info.row; } } } -- Gitblit v1.8.0