Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e3bfccdd
authored
Apr 26, 2021
by
jzou
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'front_end_dev' of
https://gitee.com/LinkWeChat/link-wechat
into front_end_dev
2 parents
f9ff47b3
e25abf26
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
82 additions
and
46 deletions
linkwe-ui/src/components/AddTag.vue
linkwe-ui/src/styles/element-ui.scss
linkwe-ui/src/views/appTool/groupFission/list.vue
linkwe-ui/src/views/appTool/selfApp/list.vue
linkwe-ui/src/views/appTool/task/list.vue
linkwe-ui/src/views/contacts/organization.vue
linkwe-ui/src/views/customerManage/customer.vue
linkwe-ui/src/views/customerManage/customerDetail.vue
linkwe-ui/src/views/customerManage/dimission/allocatedStaffDetailList.vue
linkwe-ui/src/views/customerManage/dimission/allocatedStaffList.vue
linkwe-ui/src/views/customerManage/dimission/index.vue
linkwe-ui/src/views/customerManage/group.vue
linkwe-ui/src/views/customerManage/lossRemind.vue
linkwe-ui/src/views/drainageCode/staff/list.vue
linkwe-ui/src/views/groupMessage/record.vue
linkwe-ui/src/components/AddTag.vue
View file @
e3bfccd
...
...
@@ -101,7 +101,7 @@ export default {
<
template
>
<el-dialog
:title=
"(form.groupId ? '修改' : '添加') + '标签'"
:title=
"(form.groupId ? '修改' : '添加') + '标签
/组
'"
:visible
.
sync=
"Pvisible"
width=
"500px"
append-to-body
...
...
linkwe-ui/src/styles/element-ui.scss
View file @
e3bfccd
// cover some element-ui styles
.el-button
{
[
class
^=
"el-icon-"
],
[
class
*=
" el-icon-"
]
{
[
class
^=
'el-icon-'
],
[
class
*=
' el-icon-'
]
{
vertical-align
:
top
;
}
}
...
...
@@ -11,7 +12,6 @@
}
.top-search
{
.el-input
,
.el-select
{
width
:
240px
;
...
...
@@ -22,7 +22,10 @@
}
}
.el-tag
+
.el-tag
{
.el-tag
+
.el-tag
{
margin-right
:
10px
;
}
.el-tag
:nth-of-type
(
2
)
{
margin-left
:
10px
;
}
...
...
@@ -32,7 +35,7 @@
}
.el-upload
{
input
[
type
=
"file"
]
{
input
[
type
=
'file'
]
{
display
:
none
!
important
;
}
}
...
...
@@ -101,4 +104,4 @@
// to fix el-date-picker css style
.el-range-separator
{
box-sizing
:
content-box
;
}
\ No newline at end of file
}
linkwe-ui/src/views/appTool/groupFission/list.vue
View file @
e3bfccd
...
...
@@ -38,7 +38,7 @@ export default {
},
methods
:
{
getList
(
page
)
{
if
(
this
.
dateRange
[
0
]
)
{
if
(
this
.
dateRange
)
{
this
.
query
.
beginTime
=
this
.
dateRange
[
0
]
this
.
query
.
endTime
=
this
.
dateRange
[
1
]
}
else
{
...
...
linkwe-ui/src/views/appTool/selfApp/list.vue
View file @
e3bfccd
...
...
@@ -39,7 +39,7 @@ export default {
},
methods
:
{
getList
(
page
)
{
if
(
this
.
dateRange
[
0
]
)
{
if
(
this
.
dateRange
)
{
this
.
query
.
beginTime
=
this
.
dateRange
[
0
]
this
.
query
.
endTime
=
this
.
dateRange
[
1
]
}
else
{
...
...
linkwe-ui/src/views/appTool/task/list.vue
View file @
e3bfccd
...
...
@@ -38,7 +38,7 @@ export default {
},
methods
:
{
getList
(
page
)
{
if
(
this
.
dateRange
[
0
]
)
{
if
(
this
.
dateRange
)
{
this
.
query
.
beginTime
=
this
.
dateRange
[
0
]
this
.
query
.
endTime
=
this
.
dateRange
[
1
]
}
else
{
...
...
linkwe-ui/src/views/contacts/organization.vue
View file @
e3bfccd
...
...
@@ -121,9 +121,12 @@ export default {
},
getList
(
page
)
{
// console.log(this.dateRange);
if
(
this
.
dateRange
[
0
]
)
{
if
(
this
.
dateRange
)
{
this
.
query
.
beginTime
=
this
.
dateRange
[
0
]
this
.
query
.
endTime
=
this
.
dateRange
[
1
]
}
else
{
this
.
query
.
beginTime
=
''
this
.
query
.
endTime
=
''
}
page
&&
(
this
.
query
.
pageNum
=
page
)
this
.
loading
=
true
...
...
linkwe-ui/src/views/customerManage/customer.vue
View file @
e3bfccd
...
...
@@ -93,7 +93,7 @@ export default {
methods
:
{
getList
(
page
)
{
// console.log(this.dateRange);
if
(
this
.
dateRange
[
0
]
)
{
if
(
this
.
dateRange
)
{
this
.
query
.
beginTime
=
this
.
dateRange
[
0
]
this
.
query
.
endTime
=
this
.
dateRange
[
1
]
}
else
{
...
...
linkwe-ui/src/views/customerManage/customerDetail.vue
View file @
e3bfccd
...
...
@@ -113,7 +113,7 @@ export default {
<
/el-row
>
<
el
-
row
:
gutter
=
"10"
>
<
el
-
col
:
span
=
"10"
>
标签:
<
/el-col
>
<
el
-
col
:
span
=
"1
2
"
>
<
el
-
col
:
span
=
"1
4
"
>
<
div
v
-
for
=
"(item, index) in customer.weFlowerCustomerRels"
:
key
=
"index"
...
...
@@ -195,6 +195,9 @@ export default {
width
:
100
px
;
text
-
align
:
right
;
}
.
el
-
tag
{
margin
-
bottom
:
5
px
;
}
}
.
el
-
icon
-
s
-
custom
{
font
-
size
:
16
px
;
...
...
linkwe-ui/src/views/customerManage/dimission/allocatedStaffDetailList.vue
View file @
e3bfccd
<
script
>
import
{
getAllocateCustomers
}
from
"@/api/customer/dimission"
;
import
{
getAllocateCustomers
}
from
'@/api/customer/dimission'
export
default
{
name
:
"AllocatedStaffDetailList"
,
name
:
'AllocatedStaffDetailList'
,
components
:
{},
props
:
{
dateRange
:
{
...
...
@@ -23,59 +23,78 @@ export default {
loading
:
false
,
total
:
0
,
list
:
[],
}
;
}
},
watch
:
{},
computed
:
{},
created
()
{
this
.
query
.
handoverUserId
=
this
.
$route
.
query
.
userId
;
this
.
getList
()
;
this
.
query
.
handoverUserId
=
this
.
$route
.
query
.
userId
this
.
getList
()
},
mounted
()
{},
methods
:
{
/** 查询 */
getList
(
page
)
{
if
(
this
.
dateRange
[
0
]
)
{
this
.
query
.
beginTime
=
this
.
dateRange
[
0
]
;
this
.
query
.
endTime
=
this
.
dateRange
[
1
]
;
if
(
this
.
dateRange
)
{
this
.
query
.
beginTime
=
this
.
dateRange
[
0
]
this
.
query
.
endTime
=
this
.
dateRange
[
1
]
}
page
&&
(
this
.
query
.
pageNum
=
page
)
;
this
.
loading
=
true
;
page
&&
(
this
.
query
.
pageNum
=
page
)
this
.
loading
=
true
getAllocateCustomers
(
this
.
query
)
.
then
(({
rows
,
total
})
=>
{
this
.
list
=
rows
;
this
.
total
=
+
total
;
this
.
loading
=
false
;
this
.
list
=
rows
this
.
total
=
+
total
this
.
loading
=
false
})
.
catch
(()
=>
{
this
.
loading
=
false
;
})
;
this
.
loading
=
false
})
},
},
}
;
}
</
script
>
<
template
>
<div
class=
"page"
>
<el-table
ref=
"multipleTable"
:data=
"list"
tooltip-effect=
"dark"
style=
"width: 100%"
>
<el-table
ref=
"multipleTable"
:data=
"list"
tooltip-effect=
"dark"
style=
"width: 100%"
>
<el-table-column
prop=
"customerName"
label=
"客户名称"
></el-table-column>
<el-table-column
prop=
"takeUserName"
label=
"接替员工"
></el-table-column>
<el-table-column
prop=
"department"
label=
"接替员工所属部门"
show-overflow-tooltip
></el-table-column>
<el-table-column
prop=
"allocateTime"
label=
"分配时间"
show-overflow-tooltip
></el-table-column>
<el-table-column
prop=
"department"
label=
"接替员工所属部门"
show-overflow-tooltip
></el-table-column>
<el-table-column
prop=
"allocateTime"
label=
"分配时间"
show-overflow-tooltip
></el-table-column>
<el-table-column
label=
"操作"
width=
"100"
>
<template
slot-scope=
"scope"
>
<el-button
v-hasPermi=
"['customerManage:dimission:edit']"
@
click=
"$router.push(
{path: '/customerManage/customerDetail', query: {id: scope.row.id}})"
@
click=
"
$router.push(
{
path: '/customerManage/customerDetail',
query: { id: scope.row.id },
})
"
type="text"
size="small"
>查看
</el-button>
>查看
</el-button
>
</
template
>
</el-table-column>
</el-table>
<pagination
v-show=
"total
>
0"
v-show=
"total
>
0"
:total=
"total"
:page
.
sync=
"query.pageNum"
:limit
.
sync=
"query.pageSize"
...
...
@@ -84,5 +103,4 @@ export default {
</div>
</template>
<
style
lang=
"scss"
scoped
>
</
style
>
<
style
lang=
"scss"
scoped
></
style
>
linkwe-ui/src/views/customerManage/dimission/allocatedStaffList.vue
View file @
e3bfccd
...
...
@@ -66,9 +66,12 @@ export default {
methods
:
{
/** 查询 */
getList
(
page
)
{
if
(
this
.
dateRange
[
0
]
)
{
if
(
this
.
dateRange
)
{
this
.
query
.
beginTime
=
this
.
dateRange
[
0
]
this
.
query
.
endTime
=
this
.
dateRange
[
1
]
}
else
{
this
.
query
.
beginTime
=
''
this
.
query
.
endTime
=
''
}
page
&&
(
this
.
query
.
pageNum
=
page
)
this
.
loading
=
true
...
...
@@ -106,9 +109,10 @@ export default {
<el-form-item
label=
"离职日期"
>
<el-date-picker
v-model=
"dateRange"
value-format=
"yyyy-MM-dd"
type=
"daterange"
:picker-options=
"pickerOptions"
range-separator=
"
至
"
range-separator=
"
-
"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
align=
"right"
...
...
linkwe-ui/src/views/customerManage/dimission/index.vue
View file @
e3bfccd
...
...
@@ -73,9 +73,12 @@ export default {
methods
:
{
/** 查询 */
getList
(
page
)
{
if
(
this
.
dateRange
[
0
]
)
{
if
(
this
.
dateRange
)
{
this
.
query
.
beginTime
=
this
.
dateRange
[
0
]
this
.
query
.
endTime
=
this
.
dateRange
[
1
]
}
else
{
this
.
query
.
beginTime
=
''
this
.
query
.
endTime
=
''
}
page
&&
(
this
.
query
.
pageNum
=
page
)
this
.
loading
=
true
...
...
@@ -139,8 +142,9 @@ export default {
<el-date-picker
v-model=
"dateRange"
type=
"daterange"
value-format=
"yyyy-MM-dd"
:picker-options=
"pickerOptions"
range-separator=
"
至
"
range-separator=
"
-
"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
align=
"right"
...
...
linkwe-ui/src/views/customerManage/group.vue
View file @
e3bfccd
...
...
@@ -68,7 +68,7 @@ export default {
methods
:
{
/** 查询 */
getList
(
page
)
{
if
(
this
.
dateRange
[
0
]
)
{
if
(
this
.
dateRange
)
{
this
.
query
.
beginTime
=
this
.
dateRange
[
0
]
this
.
query
.
endTime
=
this
.
dateRange
[
1
]
}
else
{
...
...
linkwe-ui/src/views/customerManage/lossRemind.vue
View file @
e3bfccd
...
...
@@ -99,7 +99,7 @@ export default {
methods
:
{
getList
(
page
)
{
// console.log(this.dateRange);
if
(
this
.
dateRange
[
0
]
)
{
if
(
this
.
dateRange
)
{
this
.
query
.
beginTime
=
this
.
dateRange
[
0
]
this
.
query
.
endTime
=
this
.
dateRange
[
1
]
}
else
{
...
...
@@ -205,7 +205,7 @@ export default {
class=
"top-search"
size=
"small"
>
<el-form-item
label=
"客户名称"
>
<el-form-item
label=
"客户名称"
prop=
"name"
>
<el-input
v-model=
"query.name"
placeholder=
"请输入"
></el-input>
</el-form-item>
<el-form-item
label=
"添加人"
>
...
...
@@ -225,8 +225,9 @@ export default {
<el-date-picker
v-model=
"dateRange"
type=
"daterange"
value-format=
"yyyy-MM-dd"
:picker-options=
"pickerOptions"
range-separator=
"
至
"
range-separator=
"
-
"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
align=
"right"
...
...
linkwe-ui/src/views/drainageCode/staff/list.vue
View file @
e3bfccd
...
...
@@ -64,7 +64,7 @@ export default {
methods
:
{
getList
(
page
)
{
// console.log(this.dateRange);
if
(
this
.
dateRange
[
0
]
)
{
if
(
this
.
dateRange
)
{
this
.
query
.
beginTime
=
this
.
dateRange
[
0
]
this
.
query
.
endTime
=
this
.
dateRange
[
1
]
}
else
{
...
...
linkwe-ui/src/views/groupMessage/record.vue
View file @
e3bfccd
...
...
@@ -50,7 +50,7 @@ export default {
},
methods
:
{
getList
(
page
)
{
if
(
this
.
dateRange
[
0
]
)
{
if
(
this
.
dateRange
)
{
this
.
query
.
beginTime
=
this
.
dateRange
[
0
]
this
.
query
.
endTime
=
this
.
dateRange
[
1
]
}
else
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment