From 72b69ef2b69b5717d54f57a4db63ce8089a75314 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Tue, 25 Jul 2023 15:48:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E8=BD=A6=E5=9E=8B=E7=AE=A1?= =?UTF-8?q?=E7=90=86--=E5=85=B3=E8=81=94=E5=85=AC=E5=91=8A=E5=9E=8B?= =?UTF-8?q?=E5=8F=B7=E6=97=B6=E5=A2=9E=E5=8A=A0=E6=96=B0=E5=A2=9E=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../chexing/relation/gongggaoxinghao.vue | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/relation/gongggaoxinghao.vue b/anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/relation/gongggaoxinghao.vue index 1a12684d28..83c8b2ced3 100644 --- a/anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/relation/gongggaoxinghao.vue +++ b/anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/relation/gongggaoxinghao.vue @@ -1,10 +1,11 @@ @@ -82,15 +84,18 @@ import { getList, setRel } from '@/api/cheliang/baseaffichemodel' import Pagination from '@/components/pagination' import pageye from '@/components/pagination/pageye' +import gonggaoAdd from '../../../othermenu/affichetype/gonggaoAdd' export default { name: 'changyongpeizhiguanlian', components: { Pagination, - pageye + pageye, + gonggaoAdd }, data() { return { + viewState: 1, isSearchShow: false, searchxianshitit: '显示查询条件', // 查询 ----------- @@ -186,6 +191,10 @@ export default { this.listQuery.params.announcementmodelName = '' this.getList() }, + handleAdd() { + this.viewState = 2 + this.$refs['divAdd'].showAdd() + }, handleConfirm() { if (this.sids.length === 0) { this.$message({ showClose: true, type: 'error', message: '请选择一条记录进行关联' }) @@ -197,6 +206,9 @@ export default { this.handleReturn('true') } }) + }, + resetState() { + this.viewState = 1 } } }