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 466aba7b
authored
Dec 13, 2021
by
test
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug fixed
1 parent
9f5cb278
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
175 additions
and
68 deletions
linkwe-ui/src/components/SelectMaterial/list.vue
linkwe-ui/src/components/SelectTag.vue
linkwe-ui/src/components/SelectUser.vue
linkwe-ui/src/components/WelcomeContent.vue
linkwe-ui/src/views/drainageCode/highSeas/index.vue
linkwe-ui/src/views/drainageCode/staff/add.vue
linkwe-ui/src/views/drainageCode/staff/detail.vue
linkwe-ui/src/views/drainageCode/staff/list.vue
linkwe-ui/src/views/drainageCode/welcome/components/Tab.vue
linkwe-ui/src/views/groupMessage/record.vue
linkwe-ui/src/components/SelectMaterial/list.vue
View file @
466aba7
...
@@ -133,7 +133,6 @@
...
@@ -133,7 +133,6 @@
<el-table-column
prop=
"materialUrl"
label=
"小程序AppID"
></el-table-column>
<el-table-column
prop=
"materialUrl"
label=
"小程序AppID"
></el-table-column>
</
template
>
</
template
>
<el-table-column
prop=
"num"
label=
"发送次数"
></el-table-column>
<el-table-column
prop=
"updateTime"
label=
"最近更新时间"
></el-table-column>
<el-table-column
prop=
"updateTime"
label=
"最近更新时间"
></el-table-column>
</el-table>
</el-table>
...
...
linkwe-ui/src/components/SelectTag.vue
View file @
466aba7
<
script
>
<
script
>
import
{
getList
}
from
'@/api/customer/tag'
import
{
getList
}
from
'@/api/customer/tag'
export
default
{
export
default
{
name
:
'SelectTag'
,
name
:
'SelectTag'
,
components
:
{},
components
:
{},
props
:
{
props
:
{
...
@@ -29,7 +29,7 @@ export default {
...
@@ -29,7 +29,7 @@ export default {
default
:
()
=>
[]
default
:
()
=>
[]
}
}
},
},
data
()
{
data
()
{
return
{
return
{
list
:
[],
list
:
[],
listOneArray
:
[],
listOneArray
:
[],
...
@@ -39,7 +39,7 @@ export default {
...
@@ -39,7 +39,7 @@ export default {
},
},
watch
:
{
watch
:
{
defaultValues
:
{
defaultValues
:
{
handler
(
val
=
[])
{
handler
(
val
=
[])
{
this
.
selectedList
=
[...
val
]
this
.
selectedList
=
[...
val
]
},
},
immediate
:
true
immediate
:
true
...
@@ -47,23 +47,23 @@ export default {
...
@@ -47,23 +47,23 @@ export default {
},
},
computed
:
{
computed
:
{
Pvisible
:
{
Pvisible
:
{
get
()
{
get
()
{
// this.getTree();
// this.getTree();
return
this
.
visible
return
this
.
visible
},
},
set
(
val
)
{
set
(
val
)
{
this
.
$emit
(
'update:visible'
,
val
)
this
.
$emit
(
'update:visible'
,
val
)
// this.$nextTick(()=> this.selectedList = [])
// this.$nextTick(()=> this.selectedList = [])
}
}
},
},
checkedTagMap
()
{
checkedTagMap
()
{
return
new
Set
(
this
.
selectedList
.
map
((
i
)
=>
i
.
tagId
||
(
typeof
i
==
'string'
&&
i
)))
return
new
Set
(
this
.
selectedList
.
map
((
i
)
=>
i
.
tagId
||
(
typeof
i
==
'string'
&&
i
)))
}
}
},
},
created
()
{
created
()
{
this
.
getList
()
this
.
getList
()
},
},
mounted
()
{
},
mounted
()
{
},
methods
:
{
methods
:
{
// getUserTags() {
// getUserTags() {
// getUserTags(this, this.externalUserid)
// getUserTags(this, this.externalUserid)
...
@@ -73,7 +73,7 @@ export default {
...
@@ -73,7 +73,7 @@ export default {
// }
// }
// })
// })
// },
// },
getList
()
{
getList
()
{
getList
({
groupTagType
:
this
.
type
}).
then
(({
rows
})
=>
{
getList
({
groupTagType
:
this
.
type
}).
then
(({
rows
})
=>
{
// this.list = Object.freeze(rows)
// this.list = Object.freeze(rows)
this
.
list
=
rows
this
.
list
=
rows
...
@@ -85,7 +85,7 @@ export default {
...
@@ -85,7 +85,7 @@ export default {
})
})
})
})
},
},
submit
()
{
submit
()
{
// if (!this.Pselected.length) {
// if (!this.Pselected.length) {
// this.msgError('请至少选择一个标签')
// this.msgError('请至少选择一个标签')
// return
// return
...
@@ -93,7 +93,7 @@ export default {
...
@@ -93,7 +93,7 @@ export default {
this
.
$emit
(
'success'
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
selectedList
)))
this
.
$emit
(
'success'
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
selectedList
)))
this
.
Pvisible
=
false
this
.
Pvisible
=
false
},
},
onSelectTag
(
tag
)
{
onSelectTag
(
tag
)
{
const
existIdx
=
this
.
selectedList
.
findIndex
((
i
)
=>
i
.
tagId
===
tag
.
tagId
)
const
existIdx
=
this
.
selectedList
.
findIndex
((
i
)
=>
i
.
tagId
===
tag
.
tagId
)
if
(
existIdx
>
-
1
)
{
if
(
existIdx
>
-
1
)
{
this
.
selectedList
.
splice
(
existIdx
,
1
)
this
.
selectedList
.
splice
(
existIdx
,
1
)
...
@@ -101,14 +101,14 @@ export default {
...
@@ -101,14 +101,14 @@ export default {
this
.
selectedList
.
push
(
tag
)
this
.
selectedList
.
push
(
tag
)
}
}
},
},
toJson
(
data
)
{
toJson
(
data
)
{
return
JSON
.
stringify
(
data
)
return
JSON
.
stringify
(
data
)
},
},
setTagSelect
(
data
)
{
setTagSelect
(
data
)
{
return
this
.
checkedTagMap
.
has
(
data
.
tagId
)
||
this
.
checkedTagMap
.
has
(
data
.
tagName
)
return
this
.
checkedTagMap
.
has
(
data
.
tagId
)
||
this
.
checkedTagMap
.
has
(
data
.
tagName
)
}
}
}
}
}
}
</
script
>
</
script
>
<
template
>
<
template
>
...
@@ -129,13 +129,7 @@ export default {
...
@@ -129,13 +129,7 @@ export default {
<div
v-for=
"item in list"
:key=
"item.groupId"
class=
"label-group-item"
>
<div
v-for=
"item in list"
:key=
"item.groupId"
class=
"label-group-item"
>
<div
class=
"label-group-item-title"
>
{{
item
.
gourpName
}}
</div>
<div
class=
"label-group-item-title"
>
{{
item
.
gourpName
}}
</div>
<div
v-if=
"item.weTags"
class=
"label-group-item-body"
>
<div
v-if=
"item.weTags"
class=
"label-group-item-body"
>
<el-tag
<el-tag
v-for=
"tag in item.weTags"
:key=
"tag.tagId"
:type=
"setTagSelect(tag) ? '' : 'info'"
@
click=
"onSelectTag(tag)"
>
{{
tag
.
name
}}
</el-tag>
v-for=
"tag in item.weTags"
:key=
"tag.tagId"
:type=
"setTagSelect(tag) ? '' : 'info'"
@
click=
"onSelectTag(tag)"
>
{{
tag
.
name
}}
</el-tag
>
</div>
</div>
</div>
</div>
</section>
</section>
...
@@ -147,17 +141,23 @@ export default {
...
@@ -147,17 +141,23 @@ export default {
</div>
</div>
</el-dialog>
</el-dialog>
</
template
>
</
template
>
<
style
>
.el-tag.el-tag--info
{
background-color
:
#f4f4f5
;
border-color
:
#e9e9eb
;
color
:
#909399
;
}
</
style
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.user-list
{
.user-list
{
.el-row
{
.el-row
{
line-height
:
26px
;
line-height
:
26px
;
}
}
}
}
.mr30
{
.mr30
{
margin-right
:
30px
;
margin-right
:
30px
;
}
}
.label-group
{
.label-group
{
max-height
:
400px
;
max-height
:
400px
;
overflow-x
:
hidden
;
overflow-x
:
hidden
;
overflow-y
:
scroll
;
overflow-y
:
scroll
;
...
@@ -177,5 +177,5 @@ export default {
...
@@ -177,5 +177,5 @@ export default {
cursor
:
pointer
;
cursor
:
pointer
;
}
}
}
}
}
}
</
style
>
</
style
>
linkwe-ui/src/components/SelectUser.vue
View file @
466aba7
...
@@ -86,6 +86,32 @@
...
@@ -86,6 +86,32 @@
created
()
{
},
created
()
{
},
mounted
()
{
},
mounted
()
{
},
methods
:
{
methods
:
{
treeFormat
(
list
)
{
let
dealOptions
=
[]
list
.
forEach
(
one
=>
{
let
findIndex
=
list
.
findIndex
(
item
=>
{
return
item
.
id
===
one
.
parentId
})
if
((
!
one
.
parentId
&&
one
.
parentId
!==
0
&&
one
.
parentId
!==
false
)
||
findIndex
===
-
1
)
{
dealOptions
.
push
(
one
)
}
else
{
if
(
!
list
[
findIndex
].
children
)
{
list
[
findIndex
].
children
=
[]
list
[
findIndex
].
children
.
push
(
one
)
}
else
{
list
[
findIndex
].
children
.
push
(
one
)
}
}
})
return
dealOptions
},
setData
()
{
if
(
this
.
$refs
.
tree
)
this
.
$refs
.
tree
.
setCheckedKeys
([])
this
.
userList
.
forEach
(
dd
=>
{
this
.
$refs
.
tree
.
setCheckedKeys
([
dd
.
userId
])
})
this
.
$forceUpdate
()
},
loadNode
(
node
,
resolve
)
{
loadNode
(
node
,
resolve
)
{
if
(
node
.
level
===
0
)
{
if
(
node
.
level
===
0
)
{
if
(
!
Array
.
isArray
(
this
.
defaultValues
)
||
if
(
!
Array
.
isArray
(
this
.
defaultValues
)
||
...
@@ -98,7 +124,7 @@
...
@@ -98,7 +124,7 @@
// element.key = createUniqueString()
// element.key = createUniqueString()
// })
// })
let
_data
=
this
.
handleTree
(
data
)
let
_data
=
this
.
handleTree
(
data
)
resolve
(
_data
)
resolve
(
this
.
treeFormat
(
_data
)
)
// api.getList({ department: _data[0].id }).then(({ rows, total }) => {
// api.getList({ department: _data[0].id }).then(({ rows, total }) => {
// _data && rows.unshift(..._data);
// _data && rows.unshift(..._data);
// resolve(rows);
// resolve(rows);
...
@@ -112,6 +138,8 @@
...
@@ -112,6 +138,8 @@
// })
// })
node
.
data
.
children
&&
rows
.
push
(...
node
.
data
.
children
)
node
.
data
.
children
&&
rows
.
push
(...
node
.
data
.
children
)
resolve
(
rows
)
resolve
(
rows
)
console
.
log
(
222
)
this
.
setData
()
}
}
)
)
}
}
...
@@ -129,10 +157,10 @@
...
@@ -129,10 +157,10 @@
handleCheckChange
(
data
,
checked
,
indeterminate
)
{
handleCheckChange
(
data
,
checked
,
indeterminate
)
{
// console.log(arguments)
// console.log(arguments)
if
(
checked
)
{
if
(
checked
)
{
if
(
this
.
isSigleSelect
)
{
//
if (this.isSigleSelect) {
// 单选情况
//
// 单选情况
this
.
$refs
.
tree
.
setCheckedKeys
([
data
.
userId
])
//
this.$refs.tree.setCheckedKeys([data.userId])
}
//
}
if
(
this
.
isOnlyLeaf
)
{
if
(
this
.
isOnlyLeaf
)
{
if
(
data
.
userId
&&
!
data
.
isParty
)
{
if
(
data
.
userId
&&
!
data
.
isParty
)
{
this
.
userList
.
push
(
data
)
this
.
userList
.
push
(
data
)
...
@@ -146,6 +174,7 @@
...
@@ -146,6 +174,7 @@
let
index
=
this
.
userList
.
findIndex
(
i
=>
i
.
userId
===
data
.
userId
)
let
index
=
this
.
userList
.
findIndex
(
i
=>
i
.
userId
===
data
.
userId
)
index
>
-
1
&&
this
.
userList
.
splice
(
index
,
1
)
index
>
-
1
&&
this
.
userList
.
splice
(
index
,
1
)
}
}
this
.
setData
()
// console.log(data, checked, indeterminate);
// console.log(data, checked, indeterminate);
},
},
// 确 定
// 确 定
...
@@ -160,6 +189,7 @@
...
@@ -160,6 +189,7 @@
index
>
-
1
&&
this
.
userList
.
splice
(
index
,
1
)
index
>
-
1
&&
this
.
userList
.
splice
(
index
,
1
)
let
order
=
this
.
defaultValues
.
findIndex
(
i
=>
i
.
userId
===
key
)
let
order
=
this
.
defaultValues
.
findIndex
(
i
=>
i
.
userId
===
key
)
order
>
-
1
&&
this
.
defaultValues
.
splice
(
order
,
1
)
order
>
-
1
&&
this
.
defaultValues
.
splice
(
order
,
1
)
this
.
setData
()
},
},
},
},
}
}
...
...
linkwe-ui/src/components/WelcomeContent.vue
View file @
466aba7
...
@@ -265,11 +265,11 @@
...
@@ -265,11 +265,11 @@
onSelectUser
()
{
onSelectUser
()
{
this
.
selectedUserList
=
[]
this
.
selectedUserList
=
[]
let
arr
=
[]
let
arr
=
[]
if
(
this
.
form
.
users
)
{
if
(
this
.
form
.
user
Id
s
)
{
arr
=
this
.
form
.
user
s
.
map
((
dd
)
=>
{
arr
=
this
.
form
.
user
Ids
.
split
(
','
).
map
((
dd
,
index
)
=>
{
return
{
return
{
userId
:
dd
.
useUserId
,
userId
:
dd
,
name
:
dd
.
useUserName
name
:
this
.
form
.
userNames
.
split
(
','
)[
index
]
}
}
})
})
}
}
...
...
linkwe-ui/src/views/drainageCode/highSeas/index.vue
View file @
466aba7
...
@@ -222,7 +222,7 @@
...
@@ -222,7 +222,7 @@
upload
(
this
.
toFormData
(
obj
))
upload
(
this
.
toFormData
(
obj
))
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
this
.
msgSuccess
(
'导入成功!'
)
this
.
msgSuccess
(
res
.
msg
)
this
.
form
=
{
this
.
form
=
{
file
:
{},
file
:
{},
customerSeasTags
:
[],
customerSeasTags
:
[],
...
...
linkwe-ui/src/views/drainageCode/staff/add.vue
View file @
466aba7
...
@@ -246,6 +246,10 @@
...
@@ -246,6 +246,10 @@
},
},
created
()
{
created
()
{
let
id
=
this
.
$route
.
query
.
id
let
id
=
this
.
$route
.
query
.
id
let
groupId
=
this
.
$route
.
query
.
groupId
if
(
groupId
)
{
this
.
baseForm
.
qrGroupId
=
groupId
}
this
.
getCodeCategoryList
()
this
.
getCodeCategoryList
()
if
(
id
)
{
if
(
id
)
{
this
.
title
=
'编辑'
this
.
title
=
'编辑'
...
@@ -463,28 +467,6 @@
...
@@ -463,28 +467,6 @@
}
}
this
.
codeForm
.
qrType
=
base
.
type
this
.
codeForm
.
qrType
=
base
.
type
this
.
codeForm
.
qrRuleType
=
base
.
ruleType
this
.
codeForm
.
qrRuleType
=
base
.
ruleType
// if (this.codeForm.qrRuleType === 1) {
// let obj = {
// type: 1,
// userIds: this.codeForm.weEmpleCodeUseScops.map(dd => dd.businessId)
// }
// this.codeForm.qrUserInfos = [obj]
// } else {
// this.codeForm.qrUserInfos = []
// this.codeForm.empleCodeRosterDto.forEach(fff => {
// let obj = {
// type: fff.type,
// beginTime: fff.startDate,
// endTime: fff.endDate,
// userIds: fff.weEmpleCodeUseScops.map(dd => dd.businessId),
// workCycle: fff.weekday
// }
// this.codeForm.qrUserInfos.push(obj)
// })
// }
if
(
base
.
ruleType
===
1
)
{
if
(
base
.
ruleType
===
1
)
{
let
arr
=
[]
let
arr
=
[]
base
.
qrUserInfos
[
0
].
weQrUserList
.
forEach
(
dd
=>
{
base
.
qrUserInfos
[
0
].
weQrUserList
.
forEach
(
dd
=>
{
...
@@ -508,13 +490,12 @@
...
@@ -508,13 +490,12 @@
weEmpleCodeUseScops
:
dd
.
weQrUserList
.
map
(
ff
=>
{
return
{
businessId
:
ff
.
userId
,
businessName
:
ff
.
userName
}
})
weEmpleCodeUseScops
:
dd
.
weQrUserList
.
map
(
ff
=>
{
return
{
businessId
:
ff
.
userId
,
businessName
:
ff
.
userName
}
})
}
}
arr
.
push
(
obj
)
arr
.
push
(
obj
)
console
.
log
(
obj
)
})
})
this
.
codeForm
.
empleCodeRosterDto
=
arr
this
.
codeForm
.
empleCodeRosterDto
=
arr
}
}
this
.
materialData
=
{
this
.
materialData
=
{
welcomeMsg
:
base
.
qrAttachments
?
base
.
qrAttachments
[
0
].
content
:
''
,
welcomeMsg
:
base
.
qrAttachments
?
base
.
qrAttachments
[
0
].
content
:
''
,
materialMsgList
:
base
.
qrAttachments
?
base
.
qrAttachments
.
slice
(
1
)
:
[]
materialMsgList
:
base
.
qrAttachments
?
this
.
setEditList
(
base
.
qrAttachments
.
slice
(
1
)
)
:
[]
}
}
// this.materialData.materialMsgList.forEach(ddd => {
// this.materialData.materialMsgList.forEach(ddd => {
// ddd.msgType = Number(ddd.msgType)
// ddd.msgType = Number(ddd.msgType)
...
@@ -522,7 +503,37 @@
...
@@ -522,7 +503,37 @@
this
.
loading
=
false
this
.
loading
=
false
})
})
},
},
setEditList
(
list
)
{
let
arr
=
[]
if
(
list
&&
list
.
length
)
{
list
.
forEach
(
dd
=>
{
if
(
dd
.
msgType
===
'image'
)
{
let
obj
=
{
msgType
:
'0'
,
materialUrl
:
dd
.
picUrl
}
arr
.
push
(
obj
)
}
else
if
(
dd
.
msgType
===
'link'
)
{
let
ob
=
{
msgType
:
'7'
,
materialName
:
dd
.
title
,
content
:
dd
.
linkUrl
}
arr
.
push
(
ob
)
}
else
if
(
dd
.
msgType
===
'miniprogram'
)
{
let
ff
=
{
msgType
:
'8'
,
materialUrl
:
dd
.
appId
,
materialName
:
dd
.
title
,
coverUrl
:
dd
.
picUrl
,
content
:
dd
.
linkUrl
}
arr
.
push
(
ff
)
}
})
}
return
arr
},
// 获取活码分组
// 获取活码分组
getCodeCategoryList
()
{
getCodeCategoryList
()
{
getCodeCategoryList
({
mediaType
:
6
}).
then
(
res
=>
{
getCodeCategoryList
({
mediaType
:
6
}).
then
(
res
=>
{
...
@@ -621,14 +632,46 @@
...
@@ -621,14 +632,46 @@
tagName
:
d
.
name
,
tagName
:
d
.
name
,
}))
}))
},
},
resetData
(
list
)
{
let
arr
=
[]
if
(
list
&&
list
.
length
)
{
list
.
forEach
(
dd
=>
{
if
(
dd
.
msgType
===
'0'
)
{
let
obj
=
{
msgType
:
'image'
,
picUrl
:
dd
.
materialUrl
}
arr
.
push
(
obj
)
}
else
if
(
dd
.
msgType
===
'7'
)
{
let
ob
=
{
msgType
:
'link'
,
title
:
dd
.
materialName
,
linkUrl
:
dd
.
content
}
arr
.
push
(
ob
)
}
else
if
(
dd
.
msgType
===
'8'
)
{
let
ff
=
{
msgType
:
'miniprogram'
,
appId
:
dd
.
materialUrl
,
title
:
dd
.
materialName
,
picUrl
:
dd
.
coverUrl
,
linkUrl
:
dd
.
content
}
arr
.
push
(
ff
)
}
})
}
return
arr
},
submit
(
data
)
{
submit
(
data
)
{
let
list
=
this
.
resetData
(
data
.
materialMsgList
)
let
myObj
=
{
let
myObj
=
{
attachments
:
[{
attachments
:
[{
content
:
data
.
welcomeMsg
,
content
:
data
.
welcomeMsg
,
msgType
:
'text'
msgType
:
'text'
}]
}]
}
}
myObj
.
attachments
.
push
(...
data
.
materialMsgL
ist
)
myObj
.
attachments
.
push
(...
l
ist
)
if
(
this
.
codeForm
.
qrRuleType
===
1
)
{
if
(
this
.
codeForm
.
qrRuleType
===
1
)
{
let
obj
=
{
let
obj
=
{
type
:
0
,
type
:
0
,
...
...
linkwe-ui/src/views/drainageCode/staff/detail.vue
View file @
466aba7
...
@@ -243,7 +243,7 @@
...
@@ -243,7 +243,7 @@
this
.
form
=
res
.
data
this
.
form
=
res
.
data
if
(
this
.
form
.
qrAttachments
&&
this
.
form
.
qrAttachments
.
length
)
{
if
(
this
.
form
.
qrAttachments
&&
this
.
form
.
qrAttachments
.
length
)
{
this
.
form
.
welcomeMsg
=
this
.
form
.
qrAttachments
[
0
].
content
this
.
form
.
welcomeMsg
=
this
.
form
.
qrAttachments
[
0
].
content
this
.
form
.
materialMsgList
=
this
.
form
.
qrAttachments
.
slice
(
1
)
this
.
form
.
materialMsgList
=
this
.
setEditList
(
this
.
form
.
qrAttachments
.
slice
(
1
)
)
}
}
this
.
form
.
qrUserInfos
.
forEach
(
dd
=>
{
this
.
form
.
qrUserInfos
.
forEach
(
dd
=>
{
if
(
dd
.
workCycle
)
{
if
(
dd
.
workCycle
)
{
...
@@ -256,6 +256,37 @@
...
@@ -256,6 +256,37 @@
this
.
setTime
(
7
)
this
.
setTime
(
7
)
})
})
},
},
setEditList
(
list
)
{
let
arr
=
[]
if
(
list
&&
list
.
length
)
{
list
.
forEach
(
dd
=>
{
if
(
dd
.
msgType
===
'image'
)
{
let
obj
=
{
msgType
:
'0'
,
materialUrl
:
dd
.
picUrl
}
arr
.
push
(
obj
)
}
else
if
(
dd
.
msgType
===
'link'
)
{
let
ob
=
{
msgType
:
'7'
,
materialName
:
dd
.
title
,
content
:
dd
.
linkUrl
}
arr
.
push
(
ob
)
}
else
if
(
dd
.
msgType
===
'miniprogram'
)
{
let
ff
=
{
msgType
:
'8'
,
materialUrl
:
dd
.
appId
,
materialName
:
dd
.
title
,
coverUrl
:
dd
.
picUrl
,
content
:
dd
.
linkUrl
}
arr
.
push
(
ff
)
}
})
}
return
arr
},
getList
()
{
getList
()
{
this
.
query
.
beginTime
=
this
.
dateRange
[
0
]
this
.
query
.
beginTime
=
this
.
dateRange
[
0
]
this
.
query
.
endTime
=
this
.
dateRange
[
1
]
this
.
query
.
endTime
=
this
.
dateRange
[
1
]
...
...
linkwe-ui/src/views/drainageCode/staff/list.vue
View file @
466aba7
...
@@ -300,7 +300,7 @@
...
@@ -300,7 +300,7 @@
this
.
search
()
this
.
search
()
},
},
goRoute
(
path
,
id
)
{
goRoute
(
path
,
id
)
{
this
.
$router
.
push
({
path
:
path
,
query
:
{
id
}
})
this
.
$router
.
push
({
path
:
path
,
query
:
{
id
,
groupId
:
this
.
query
.
groupId
}
})
},
},
// 多选框选中数据
// 多选框选中数据
handleSelectionChange
(
selection
)
{
handleSelectionChange
(
selection
)
{
...
...
linkwe-ui/src/views/drainageCode/welcome/components/Tab.vue
View file @
466aba7
...
@@ -79,6 +79,8 @@
...
@@ -79,6 +79,8 @@
pageSize
:
10
,
pageSize
:
10
,
welcomeMsg
:
undefined
,
welcomeMsg
:
undefined
,
welcomeMsgTplType
:
1
,
welcomeMsgTplType
:
1
,
orderByColumn
:
'create_time'
,
isAsc
:
'desc'
},
},
loading
:
false
,
loading
:
false
,
total
:
0
,
total
:
0
,
...
...
linkwe-ui/src/views/groupMessage/record.vue
View file @
466aba7
...
@@ -42,6 +42,8 @@
...
@@ -42,6 +42,8 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"发送时间"
align=
"center"
prop=
"sendTime"
width=
"180"
>
<el-table-column
label=
"发送时间"
align=
"center"
prop=
"sendTime"
width=
"180"
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"最近更新时间"
align=
"center"
prop=
"createTime"
width=
"180"
>
</el-table-column>
<el-table-column
label=
"操作"
align=
"center"
width=
"180"
>
<el-table-column
label=
"操作"
align=
"center"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<!-- v-hasPermi="['enterpriseWechat:view']" -->
<!-- v-hasPermi="['enterpriseWechat:view']" -->
...
...
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