From 260ddcd0a9a78e5b87dbf592734af370da1e695f Mon Sep 17 00:00:00 2001 From: jiangyy Date: Thu, 30 Sep 2021 13:45:31 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/components/CTreeDialogCheckBox.vue | 6 ++-- .../views/modules/dataExport/operStatic.vue | 32 ++++--------------- 2 files changed, 10 insertions(+), 28 deletions(-) diff --git a/epmet-oper-web/src/views/components/CTreeDialogCheckBox.vue b/epmet-oper-web/src/views/components/CTreeDialogCheckBox.vue index 4918681..e5c3dc9 100644 --- a/epmet-oper-web/src/views/components/CTreeDialogCheckBox.vue +++ b/epmet-oper-web/src/views/components/CTreeDialogCheckBox.vue @@ -20,9 +20,9 @@ - + 选择 - - - - -
@@ -135,18 +117,18 @@ export default { //查询条件标题宽度 labelWidth: '70px', - options: [], + casOptions: [], agencyIdArray: [], customerList: [], iscascaderShow: 0, optionProps: { - multiple: true, + multiple: false, value: 'agencyId', label: 'agencyName', children: 'subAgencyList', - // checkStrictly: true + checkStrictly: true }, //组织树 @@ -263,7 +245,7 @@ export default { handelChangeCustomer (index) { this.customerName = this.customerList[index].customerName this.getAgencylist()//获取组织级别 - + // debugger this.treeParams.customerId = this.customerList[index].customerId this.selBtnDisabled = false this.$refs['agencyCTreeDialog'].loadData() @@ -310,11 +292,11 @@ export default { const { data, code, msg } = await requestPost(url, params) if (code === 0) { ++this.iscascaderShow - this.options = [] + this.casOptions = [] this.agencyIdArray.length = [] this.tableParams.agencyId = '' if (data) { - this.options.push(data) + this.casOptions.push(data) } } else {