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 a99357d7
authored
Dec 26, 2021
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改已知bug
1 parent
30cc90a2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
68 additions
and
86 deletions
linkwe-ui/src/views/application/groupFission.vue
linkwe-ui/src/views/application/taskDetail/editTask.vue
linkwe-ui/src/views/customerManage/customer/infoTab.vue
linkwe-ui/src/views/drainageCode/group/realCode.vue
linkwe-ui/src/views/application/groupFission.vue
View file @
a99357d
<
script
>
<
script
>
import
*
as
api
from
'@/api/task'
import
*
as
api
from
'@/api/task'
export
default
{
export
default
{
name
:
'Group'
,
name
:
'Group'
,
data
()
{
data
()
{
return
{
return
{
query
:
{
query
:
{
pageNum
:
1
,
pageNum
:
1
,
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
loading
:
false
loading
:
false
}
}
},
},
created
()
{
created
()
{
this
.
getList
()
this
.
getList
()
this
.
$store
.
dispatch
(
this
.
$store
.
dispatch
(
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
)
)
},
},
methods
:
{
methods
:
{
setChange
(
e
)
{
setChange
(
e
)
{
if
(
e
)
{
if
(
e
)
{
this
.
query
.
startTime
=
e
[
0
]
this
.
query
.
startTime
=
e
[
0
]
this
.
query
.
overTime
=
e
[
1
]
this
.
query
.
overTime
=
e
[
1
]
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
this
.
query
.
overTime
=
''
this
.
query
.
overTime
=
''
}
}
},
},
resetFn
()
{
resetFn
()
{
this
.
query
=
{
this
.
query
=
{
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
10
,
pageSize
:
10
,
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
this
.
dateRange
=
[]
this
.
dateRange
=
[]
this
.
getList
()
this
.
getList
()
},
},
getList
(
data
)
{
getList
(
data
)
{
this
.
loading
=
true
this
.
loading
=
true
let
params
=
Object
.
assign
({},
this
.
query
,
data
)
let
params
=
Object
.
assign
({},
this
.
query
,
data
)
api
.
getList
(
params
).
then
(({
rows
,
total
})
=>
{
api
.
getList
(
params
).
then
(({
rows
,
total
})
=>
{
...
@@ -60,24 +60,24 @@
...
@@ -60,24 +60,24 @@
this
.
loading
=
false
this
.
loading
=
false
})
})
},
},
resetForm
()
{
},
resetForm
()
{
},
toDetail
(
row
)
{
toDetail
(
row
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
`fissionDetail?id=
${
row
.
id
}
`
path
:
`fissionDetail?id=
${
row
.
id
}
`
})
})
},
},
newAdd
()
{
newAdd
()
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'addFission'
path
:
'addFission'
})
})
},
},
toEdit
(
row
)
{
toEdit
(
row
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
`addFission?id=
${
row
.
id
}
`
path
:
`addFission?id=
${
row
.
id
}
`
})
})
}
}
}
}
}
}
</
script
>
</
script
>
<
template
>
<
template
>
...
@@ -87,12 +87,32 @@
...
@@ -87,12 +87,32 @@
<el-input
v-model=
"query.taskName"
placeholder=
"请输入"
></el-input>
<el-input
v-model=
"query.taskName"
placeholder=
"请输入"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"添加日期"
>
<el-form-item
label=
"添加日期"
>
<el-date-picker
v-model=
"dateRange"
@
change=
"setChange"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
align=
"right"
></el-date-picker>
<el-date-picker
v-model=
"dateRange"
@
change=
"setChange"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
align=
"right"
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
label=
" "
>
<el-form-item
label=
" "
>
<el-button
v-hasPermi=
"['customerManage:customer:query']"
type=
"primary"
@
click=
"getList(
{ pageNum: 1 })" :loading="loading">查询
</el-button>
<el-button
<el-button
@
click=
"resetFn"
>
清空
</el-button>
v-hasPermi=
"['customerManage:customer:query']"
<el-button
v-hasPermi=
"['customerManage:customer:query']"
type=
"primary"
style=
"background: #FA7216;color: #FFFFFF;border-color:#FA7216"
@
click=
"newAdd()"
>
新增任务
</el-button>
type=
"primary"
@
click=
"getList(
{ pageNum: 1 })"
:loading="loading"
>查询
</el-button
>
<el-button
@
click=
"resetFn"
type=
"success"
>
清空
</el-button>
<el-button
v-hasPermi=
"['customerManage:customer:query']"
type=
"primary"
style=
"background: #FA7216;color: #FFFFFF;border-color:#FA7216"
@
click=
"newAdd()"
>
新增任务
</el-button
>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<el-table
:data=
"tableData"
>
<el-table
:data=
"tableData"
>
...
@@ -110,12 +130,32 @@
...
@@ -110,12 +130,32 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
"operation"
label=
"操作"
>
<el-table-column
prop=
"operation"
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
@
click=
"toDetail(scope.row)"
v-hasPermi=
"['enterpriseWechat:view']"
size=
"medium"
type=
"text"
icon=
"el-icon-view"
></el-button>
<el-button
<el-button
v-if=
"scope.row.fissStatus != 2"
@
click=
"toEdit(scope.row)"
v-hasPermi=
"['enterpriseWechat:edit']"
size=
"medium"
type=
"text"
icon=
"el-icon-edit-outline"
style=
"color:#E74E59"
></el-button>
@
click=
"toDetail(scope.row)"
v-hasPermi=
"['enterpriseWechat:view']"
size=
"medium"
type=
"text"
icon=
"el-icon-view"
></el-button>
<el-button
v-if=
"scope.row.fissStatus != 2"
@
click=
"toEdit(scope.row)"
v-hasPermi=
"['enterpriseWechat:edit']"
size=
"medium"
type=
"text"
icon=
"el-icon-edit-outline"
style=
"color:#E74E59"
></el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<pagination
v-show=
"total > 0"
:total=
"total"
:page
.
sync=
"query.pageNum"
:limit
.
sync=
"query.pageSize"
@
pagination=
"getList()"
/>
<pagination
v-show=
"total > 0"
:total=
"total"
:page
.
sync=
"query.pageNum"
:limit
.
sync=
"query.pageSize"
@
pagination=
"getList()"
/>
</div>
</div>
</template>
</template>
...
...
linkwe-ui/src/views/application/taskDetail/editTask.vue
deleted
100644 → 0
View file @
30cc90a
<
script
>
import
*
as
api
from
'@/api/customer/group'
export
default
{
name
:
'editTask'
,
data
()
{
return
{
query
:
{
name
:
""
,
// "客户名称",
beginTime
:
""
,
// "开始时间",
endTime
:
""
// "结束时间"
},
}
},
created
()
{
},
mounted
()
{
},
methods
:
{
}
}
</
script
>
<
template
>
<div
class=
"task-edit-container"
>
<div
class=
"edit-model"
>
<h4
class=
"title"
>
关键数据
</h4>
<el-form
:inline=
"true"
:model=
"query"
label-width=
"100px"
class=
"top-search"
size=
"small"
>
<el-form-item
label=
"任务名"
prop=
"name"
>
<el-input
v-model=
"query.name"
placeholder=
"请输入"
></el-input>
</el-form-item>
</el-form>
</div>
</div>
</
template
>
<
style
lang=
"scss"
scoped
>
.task-edit-container
{
background-color
:
#efeff4
;
height
:
100%
;
.edit-model
{
background
:
#fff
;
margin-bottom
:
20px
;
padding
:
20px
;
}
.title
{
text-align
:
left
;
color
:
#303133
;
}
}
</
style
>
linkwe-ui/src/views/customerManage/customer/infoTab.vue
View file @
a99357d
...
@@ -26,7 +26,7 @@ export default {
...
@@ -26,7 +26,7 @@ export default {
1
:
'信息动态'
,
1
:
'信息动态'
,
2
:
'社交动态'
,
2
:
'社交动态'
,
3
:
'跟进动态'
,
3
:
'跟进动态'
,
4
:
'
待办
动态'
4
:
'
互动
动态'
},
},
recod
:
[],
recod
:
[],
active
:
'0'
,
active
:
'0'
,
...
@@ -243,8 +243,14 @@ export default {
...
@@ -243,8 +243,14 @@ export default {
<el-step
<el-step
v-for=
"(unit, unique) of item.trackStateList"
v-for=
"(unit, unique) of item.trackStateList"
:key=
"unique"
:key=
"unique"
:title=
"dictTrackState[~~unit.trackState + ''].name"
:title=
"
:status=
"dictTrackState[~~unit.trackState + ''].color"
dictTrackState[+unit.trackState + ''] &&
dictTrackState[+unit.trackState + ''].name
"
:status=
"
dictTrackState[+unit.trackState + ''] &&
dictTrackState[+unit.trackState + ''].color
"
:description=
"unit.trackTime"
:description=
"unit.trackTime"
></el-step>
></el-step>
</el-steps>
</el-steps>
...
...
linkwe-ui/src/views/drainageCode/group/realCode.vue
View file @
a99357d
This diff is collapsed.
Click to expand it.
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