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
fadf224c
Commit
fadf224c
authored
Nov 30, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改加载
parent
c16363eb
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
48 deletions
+53
-48
new-depart-member.vue
src/components/company/new-depart-member.vue
+3
-3
related-table.vue
src/components/company/related-table.vue
+50
-45
sync-log.vue
src/views/business/sync-log.vue
+0
-0
No files found.
src/components/company/new-depart-member.vue
View file @
fadf224c
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Author: 无尘
* @Date: 2020-08-27 09:14:54
* @Date: 2020-08-27 09:14:54
* @LastEditors: 无尘
* @LastEditors: 无尘
* @LastEditTime: 2020-1
0-12 16:15:52
* @LastEditTime: 2020-1
1-30 11:19:07
-->
-->
<!--
<!--
部门成员
部门成员
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
<div
class=
"flex flex-align-center flex-pack-center font-12 color-909399 cursor-pointer hover-303133 use-help-tip"
@
click=
"toShowTip"
>
使用帮助
</div>
<div
class=
"flex flex-align-center flex-pack-center font-12 color-909399 cursor-pointer hover-303133 use-help-tip"
@
click=
"toShowTip"
>
使用帮助
</div>
</div>
</div>
</div>
</div>
<div
class=
"m-t-20"
>
<div
class=
"m-t-20"
v-loading=
"loading"
>
<div
class=
"depart-condition-wrap flex flex-space-between "
>
<div
class=
"depart-condition-wrap flex flex-space-between "
>
<div>
<div>
<el-input
placeholder=
"搜索姓名/手机号码"
maxlength=
"50"
v-model=
"searchInput"
class=
"w-274"
@
keyup
.
native=
"value => toInput(value, searchInput)"
clearable
@
clear=
"clearInput"
></el-input>
<el-input
placeholder=
"搜索姓名/手机号码"
maxlength=
"50"
v-model=
"searchInput"
class=
"w-274"
@
keyup
.
native=
"value => toInput(value, searchInput)"
clearable
@
clear=
"clearInput"
></el-input>
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
</div>
</div>
<div
class=
"m-t-20"
>
<div
class=
"m-t-20"
>
<el-table
class=
"select-table"
ref=
"multipleTable"
v-loading=
"loading"
:data=
"tableData"
tooltip-effect=
"dark"
:style=
"
{ width: '100%', minHeight: tableH }">
<el-table
class=
"select-table"
ref=
"multipleTable"
:data=
"tableData"
tooltip-effect=
"dark"
:style=
"
{ width: '100%', minHeight: tableH }">
<!--
<el-table-column
type=
"selection"
width=
"55"
>
</el-table-column>
@selection-change="handleSelectionChange" -->
<!--
<el-table-column
type=
"selection"
width=
"55"
>
</el-table-column>
@selection-change="handleSelectionChange" -->
<el-table-column
label=
"姓名"
show-overflow-tooltip
>
<el-table-column
label=
"姓名"
show-overflow-tooltip
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
staffName
||
'--'
}}
</
template
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
staffName
||
'--'
}}
</
template
>
...
...
src/components/company/related-table.vue
View file @
fadf224c
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Author: 无尘
* @Date: 2020-08-27 09:14:54
* @Date: 2020-08-27 09:14:54
* @LastEditors: 无尘
* @LastEditors: 无尘
* @LastEditTime: 2020-
09-09 15:47:35
* @LastEditTime: 2020-
11-30 11:22:13
-->
-->
<!--
<!--
...
@@ -14,49 +14,51 @@
...
@@ -14,49 +14,51 @@
-->
-->
<
template
>
<
template
>
<el-dialog
title=
"绑定详情"
:visible
.
sync=
"dialogVisible"
width=
"995px"
:before-close=
"handleClose"
>
<el-dialog
title=
"绑定详情"
:visible
.
sync=
"dialogVisible"
width=
"995px"
:before-close=
"handleClose"
>
<div
class=
"overstore-tip"
>
<div
v-loading=
"loading"
>
<div
class=
"flex flex-space-between"
>
<div
class=
"overstore-tip"
>
<div></div>
<div
class=
"flex flex-space-between"
>
<el-button
type=
"primary"
@
click=
"toAddRelate"
>
新建绑定
</el-button>
<div></div>
<el-button
type=
"primary"
@
click=
"toAddRelate"
>
新建绑定
</el-button>
</div>
</div>
<div
class=
"m-t-20"
>
<el-table
class=
"select-table"
ref=
"multipleTable"
height=
"500"
:data=
"tableData"
tooltip-effect=
"dark"
:style=
"
{ width: '100%' }">
<el-table-column
label=
"导购code"
show-overflow-tooltip
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
clerkCode
||
'--'
}}
</
template
>
</el-table-column>
<el-table-column
prop=
""
label=
"导购姓名"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
clerkName
||
'--'
}}
</
template
>
</el-table-column>
<el-table-column
prop=
""
label=
"导购手机号"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
nationCode
||
'--'
}}
-
{{
scope
.
row
.
clerkPhoneNumber
||
'--'
}}
</
template
>
</el-table-column>
<el-table-column
prop=
""
label=
"绑定商户"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
enterpriseName
||
'--'
}}
</
template
>
</el-table-column>
<el-table-column
prop=
""
label=
"绑定门店"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
storeName
||
'--'
}}
</
template
>
</el-table-column>
<el-table-column
prop=
""
label=
"绑定时间"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<div
class=
"color-606266 line-18"
>
{{
scope
.
row
.
createTime
|
timeStampToYmd
}}
</div>
<div
class=
"color-606266 line-18"
>
{{
scope
.
row
.
createTime
|
timeStampToHms
}}
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
""
label=
"操作"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"toUnbind(scope.row)"
>
解绑
</el-button>
</
template
>
</el-table-column>
</el-table>
</div>
</div>
</div>
<div
class=
"m-t-20"
>
<el-table
class=
"select-table"
ref=
"multipleTable"
height=
"500"
:data=
"tableData"
tooltip-effect=
"dark"
:style=
"
{ width: '100%' }">
<el-table-column
label=
"导购code"
show-overflow-tooltip
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
clerkCode
||
'--'
}}
</
template
>
</el-table-column>
<el-table-column
prop=
""
label=
"导购姓名"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
clerkName
||
'--'
}}
</
template
>
</el-table-column>
<el-table-column
prop=
""
label=
"导购手机号"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
nationCode
||
'--'
}}
-
{{
scope
.
row
.
clerkPhoneNumber
||
'--'
}}
</
template
>
</el-table-column>
<el-table-column
prop=
""
label=
"绑定商户"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
enterpriseName
||
'--'
}}
</
template
>
</el-table-column>
<el-table-column
prop=
""
label=
"绑定门店"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
storeName
||
'--'
}}
</
template
>
</el-table-column>
<el-table-column
prop=
""
label=
"绑定时间"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<div
class=
"color-606266 line-18"
>
{{
scope
.
row
.
createTime
|
timeStampToYmd
}}
</div>
<div
class=
"color-606266 line-18"
>
{{
scope
.
row
.
createTime
|
timeStampToHms
}}
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
""
label=
"操作"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"toUnbind(scope.row)"
>
解绑
</el-button>
</
template
>
</el-table-column>
</el-table>
</div>
</div>
<add-relate
v-if=
"addShow"
:depart-obj=
"relateRow"
@
refreshData=
"refreshData"
></add-relate>
<add-relate
v-if=
"addShow"
:depart-obj=
"relateRow"
@
refreshData=
"refreshData"
></add-relate>
</el-dialog>
</el-dialog>
...
@@ -88,7 +90,8 @@ export default {
...
@@ -88,7 +90,8 @@ export default {
pageSize
:
20
,
pageSize
:
20
,
total
:
0
,
total
:
0
,
tableData
:
[],
tableData
:
[],
addShow
:
false
addShow
:
false
,
loading
:
false
};
};
},
},
mounted
()
{
mounted
()
{
...
@@ -206,15 +209,17 @@ export default {
...
@@ -206,15 +209,17 @@ export default {
*/
*/
getTableList
()
{
getTableList
()
{
const
that
=
this
;
const
that
=
this
;
that
.
loading
=
true
;
let
para
=
{
let
para
=
{
staffId
:
that
.
relateRow
.
staffId
staffId
:
that
.
relateRow
.
staffId
};
};
getStaffRelation
(
para
)
getStaffRelation
(
para
)
.
then
(
res
=>
{
.
then
(
res
=>
{
that
.
loading
=
false
;
that
.
tableData
=
res
.
result
||
[];
that
.
tableData
=
res
.
result
||
[];
})
})
.
catch
(
function
(
error
)
{
.
catch
(
function
(
error
)
{
that
.
loading
=
false
;
});
});
}
}
},
},
...
...
src/views/business/sync-log.vue
View file @
fadf224c
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