Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-4
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
office
haoban-4
Commits
82a22339
Commit
82a22339
authored
Dec 23, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 更新loading
parent
dc57f91d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
29 deletions
+31
-29
add-relate.vue
src/components/company/add-relate.vue
+31
-29
No files found.
src/components/company/add-relate.vue
View file @
82a22339
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* @Author : 无尘
* @Author : 无尘
* @Date : 2020-02-13 16:13:59
* @Date : 2020-02-13 16:13:59
* @LastEditors: 无尘
* @LastEditors: 无尘
* @LastEditTime: 2020-1
1-30 17:53:55
* @LastEditTime: 2020-1
2-23 11:31:16
* @FilePath : \haoban-4\src\components\company\add-relate.vue
* @FilePath : \haoban-4\src\components\company\add-relate.vue
-->
-->
<!--
<!--
...
@@ -14,37 +14,39 @@
...
@@ -14,37 +14,39 @@
<
template
>
<
template
>
<el-dialog
width=
"600px"
title=
"新增绑定"
:visible
.
sync=
"departVisible"
append-to-body
:before-close=
"handleClose"
>
<el-dialog
width=
"600px"
title=
"新增绑定"
:visible
.
sync=
"departVisible"
append-to-body
:before-close=
"handleClose"
>
<el-form
:model=
"partForm"
:rules=
"rules"
ref=
"partForm"
label-width=
"0px"
class=
"dialog-form"
@
submit
.
native
.
prevent
>
<div
v-loading=
"loading"
>
<el-form-item
label=
""
prop=
"salerName"
>
<el-form
:model=
"partForm"
:rules=
"rules"
ref=
"partForm"
label-width=
"0px"
class=
"dialog-form"
@
submit
.
native
.
prevent
>
<el-popover
placement=
"bottom"
title=
""
width=
"457"
v-model=
"visible"
>
<el-form-item
label=
""
prop=
"salerName"
>
<div
class=
"daily-store-select"
>
<el-popover
placement=
"bottom"
title=
""
width=
"457"
v-model=
"visible"
>
<div
class=
"el-scrollbar define-search-select"
>
<div
class=
"daily-store-select"
>
<div
class=
"el-select-dropdown__wrap el-scrollbar__wrap"
style=
"overflow: auto;"
>
<div
class=
"el-scrollbar define-search-select"
>
<ul
class=
"el-scrollbar__view el-select-dropdown__list"
>
<div
class=
"el-select-dropdown__wrap el-scrollbar__wrap"
style=
"overflow: auto;"
>
<li
:class=
"['el-select-dropdown__item', item.clerkId == selectId ? 'selected hover' : '']"
v-for=
"item in storeData"
:key=
"item.clerkId"
@
click=
"checkStore(item)"
>
<ul
class=
"el-scrollbar__view el-select-dropdown__list"
>
<div
class=
"flex flex-space-between"
>
<li
:class=
"['el-select-dropdown__item', item.clerkId == selectId ? 'selected hover' : '']"
v-for=
"item in storeData"
:key=
"item.clerkId"
@
click=
"checkStore(item)"
>
<div
style=
"line-height:26px;"
>
<div
class=
"flex flex-space-between"
>
<span
class=
"block text-ellipsis"
>
{{
item
.
clerkName
}}
(
{{
item
.
clerkCode
}}
)
</span>
<div
style=
"line-height:26px;"
>
<div
class=
"text-ellipsis font-12 color-909399"
>
{{
item
.
storeName
||
'--'
}}
</div>
<span
class=
"block text-ellipsis"
>
{{
item
.
clerkName
}}
(
{{
item
.
clerkCode
}}
)
</span>
<div
class=
"text-ellipsis font-12 color-909399"
>
{{
item
.
storeName
||
'--'
}}
</div>
</div>
<span
v-if=
"item.clerkId == selectId"
class=
"font-12 color-2f54eb el-icon-check flex-align-center"
style=
"display:flex;"
></span>
<span
v-if=
"item.bindFlag == 1"
class=
"font-12 color-909399"
>
已添加不能绑定
</span><el-button
v-if=
"item.bindFlag == 1"
class=
"m-l-10"
type=
"text"
@
click
.
stop=
"toUnbind(item)"
>
解绑
</el-button>
</div>
</div>
<span
v-if=
"item.clerkId == selectId"
class=
"font-12 color-2f54eb el-icon-check flex-align-center"
style=
"display:flex;"
></span>
</li>
<span
v-if=
"item.bindFlag == 1"
class=
"font-12 color-909399"
>
已添加不能绑定
</span><el-button
v-if=
"item.bindFlag == 1"
class=
"m-l-10"
type=
"text"
@
click
.
stop=
"toUnbind(item)"
>
解绑
</el-button>
<li
v-if=
"!storeData.length"
class=
"text-center"
><span>
暂无数据
</span></li>
</div>
</ul>
</li>
</div>
<li
v-if=
"!storeData.length"
class=
"text-center"
><span>
暂无数据
</span></li>
</ul>
</div>
</div>
</div>
</div>
</div
>
<div
class=
"show-select-num cursor-pointer w-558"
slot=
"reference"
>
<div
class=
"show-select-num cursor-pointer w-558"
slot=
"reference"
>
<div
class=
"select-search-input"
><span
class=
"el-icon-search"
></span><span
class=
"p-l-5"
>
{{
partForm
.
salerName
}}
</span>
<el-input
placeholder=
"请输入code/手机号搜索进行账号绑定"
maxlength=
"40"
v-model=
"searchSelect"
@
keyup
.
native=
"value => toInput(value)"
@
keyup
.
enter
.
native=
"enterKey"
@
clear=
"clearSearch"
>
</el-input></div
>
<
div
class=
"select-search-input"
><span
class=
"el-icon-search"
></span><span
class=
"p-l-5"
>
{{
partForm
.
salerName
}}
</span>
<el-input
placeholder=
"请输入code/手机号搜索进行账号绑定"
maxlength=
"40"
v-model=
"searchSelect"
@
keyup
.
native=
"value => toInput(value)"
@
keyup
.
enter
.
native=
"enterKey"
@
clear=
"clearSearch"
>
</el-input><
/div>
</div>
</
div
>
</
el-popover
>
</el-
popover
>
</el-
form-item
>
</el-form
-item
>
</el-form>
</el-form
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"cancel"
>
取消
</el-button
>
<el-button
@
click=
"cancel"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"submitForm('partForm')"
>
确定
</el-button>
<
el-button
type=
"primary"
:loading=
"loading"
@
click=
"submitForm('partForm')"
>
确定
</el-button
>
<
/div
>
</div>
</div>
</el-dialog>
</el-dialog>
</
template
>
</
template
>
...
...
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