From ebddc02611b0373c1d5bfa342bd781fb5eb82009 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期二, 01 八月 2023 14:23:31 +0800 Subject: [PATCH] 侧边栏样式机销售明细单增加销售机会选择弹窗 --- src/components/makepager/SearchCommonView.vue | 19 ++++++++++++++++++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/src/components/makepager/SearchCommonView.vue b/src/components/makepager/SearchCommonView.vue index 768342a..c53477c 100644 --- a/src/components/makepager/SearchCommonView.vue +++ b/src/components/makepager/SearchCommonView.vue @@ -7,7 +7,7 @@ <el-option v-for="item in queryClassOptions" :key="item.value" :label="item.label" :value="item.value"> </el-option> </el-select> - <div class="query-class-btn"> + <div class="query-class-btn" @click="queryClassClick"> <i class="el-icon-setting"></i> </div> </div> @@ -83,12 +83,17 @@ </div> </div> </div> + <!-- 鏌ヨ鍒嗙被寮圭獥 --> + <QueryClassSettingDialog v-if="queryClassSetConfig.visible" :editCommonConfig="queryClassSetConfig" /> </div> </template> <script> +import QueryClassSettingDialog from "@/views/other/commonDialog/QueryClassSettingDialog" + export default { name: "SearchCommonView", + components: { QueryClassSettingDialog }, props: { queryClass: { type: String, @@ -113,6 +118,10 @@ }, data() { return { + queryClassSetConfig: { + visible: false, + infomation: {} + }, queryClassValue: this.queryClass, searchInput: "", searchSelValue: this.searchSel, @@ -144,6 +153,11 @@ } }, methods: { + queryClassClick() { + this.queryClassSetConfig = { + visible: true + } + }, searchClick() { console.log("sssssssssss") }, @@ -195,6 +209,7 @@ font-size: 16px; margin-left: 10px; color: #bebebe; + cursor: pointer; } } .search { @@ -212,6 +227,7 @@ margin-left: 20px; .other-search-high { display: flex; + cursor: pointer; .high-icon { font-size: 18px; } @@ -219,6 +235,7 @@ .other-search-tile, .other-search-label { display: flex; + cursor: pointer; margin-left: 20px; .high-icon { font-size: 18px; -- Gitblit v1.8.0