Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rbc-demo
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王衍超
rbc-demo
Commits
8f8421b1
Commit
8f8421b1
authored
2 years ago
by
袁成
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 下拉点击消失
parent
856b1509
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
4 deletions
+48
-4
index.vue
...ms-plugin-billexpand/src/control/baseDataSelect/index.vue
+48
-4
No files found.
develop/@gms/gms-plugin-billexpand/src/control/baseDataSelect/index.vue
View file @
8f8421b1
<
template
>
<div
class=
"rbc-basedata"
>
<el-popover
ref=
"popover"
popper-class=
"rbc-basedata-popover"
placement=
"top"
trigger=
"manual"
v-model=
"dataListShow"
:visible-arrow=
"false"
:width=
"searchPopperMinWidth"
>
<el-popover
ref=
"popover"
popper-class=
"rbc-basedata-popover"
placement=
"top"
trigger=
"manual"
v-model=
"dataListShow"
:visible-arrow=
"false"
:width=
"searchPopperMinWidth"
>
<ul
ref=
"searchList"
class=
"acct-search-list"
:class=
"
{'is-focus': hasFocus}" @mouseleave="onResultList = false" @mouseenter="onResultList = true">
<li
:class=
"['acct-search-item',selectIndex === index ? 'selected' : '',
{active: activeName == item.name}]" v-for="(item,index) in baseDataList" :key="item.code" :value="item.code" @click="handleMainSearchSelectClick(item)">
<li
:class=
"['acct-search-item',selectIndex === index ? 'selected' : '',
{active: activeName == item.name}]"
v-for="(item,index) in baseDataList"
:key="item.code"
:value="item.code"
@click="handleMainSearchSelectClick(item)"
>
<span
class=
"acct-search-label"
>
{{
getLable
(
item
)
}}
</span>
</li>
<li
v-if=
"baseDataList.length === 0"
>
...
...
@@ -29,7 +43,34 @@
</div>
</el-popover>
<!-- 弹框 -->
<EditModal
v-if=
"showModal"
v-model=
"showModal"
:title=
"title"
:selection=
"selection"
:table-name=
"tableName"
:multiple=
"multiple"
:tableKey=
"tableKey"
:treeKey=
"treeKey"
:tableColumns=
"tableColumns"
:searchPlaceholder=
"searchPlaceholder"
:authType=
"authType"
:versionDate=
"versionDate"
:modalWidth=
"modalWidth"
:isLeaf=
"isLeaf"
:hideSelected=
"hideSelected"
:structtype=
"structtype"
:groupTableName=
"groupTableName"
:treeTableName=
"treeTableName"
:filterFormular=
"filterFormular"
:filterFormularSP=
"filterFormularSP"
:billdefineName=
"billdefineName"
:billId=
"billId"
:bill=
"bill"
:isFilter=
"isFilter"
:rowIndex=
"rowIndex"
@
on-ok=
"onSelectOk"
/>
<EditModal
v-if=
"showModal"
v-model=
"showModal"
:title=
"title"
:selection=
"selection"
:table-name=
"tableName"
:multiple=
"multiple"
:tableKey=
"tableKey"
:treeKey=
"treeKey"
:tableColumns=
"tableColumns"
:searchPlaceholder=
"searchPlaceholder"
:authType=
"authType"
:versionDate=
"versionDate"
:modalWidth=
"modalWidth"
:isLeaf=
"isLeaf"
:hideSelected=
"hideSelected"
:structtype=
"structtype"
:groupTableName=
"groupTableName"
:treeTableName=
"treeTableName"
:filterFormular=
"filterFormular"
:filterFormularSP=
"filterFormularSP"
:billdefineName=
"billdefineName"
:billId=
"billId"
:bill=
"bill"
:isFilter=
"isFilter"
:rowIndex=
"rowIndex"
@
on-ok=
"onSelectOk"
/>
</div>
</
template
>
<
script
>
...
...
@@ -211,7 +252,10 @@ export default {
this
.
getBaseDataList
()
},
handleBlur
()
{
this
.
dataListShow
=
false
if
(
!
this
.
onResultList
)
{
this
.
hasFocus
=
false
this
.
dataListShow
=
false
}
},
// 输入查询时
handleChange
()
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment