Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
glsx-oss-task
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 e034fd3d
authored
Feb 21, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复编辑任务机器人显示不全问题
1 parent
159cd230
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
10 deletions
src/views/task/addTask/components/selectMembers.vue
src/views/task/addTask/index.vue
src/views/task/addTask/components/selectMembers.vue
View file @
e034fd3
...
@@ -195,16 +195,19 @@ export default {
...
@@ -195,16 +195,19 @@ export default {
},
},
mounted
()
{
mounted
()
{
console
.
log
(
this
.
type
,
this
.
errorType
,
this
.
robotNo
,
this
.
selectRobot
)
console
.
log
(
this
.
type
,
this
.
errorType
,
this
.
robotNo
,
this
.
selectRobot
)
if
(
this
.
type
&&
this
.
robotNo
)
this
.
getlistDepartmentTree
(
this
.
robotNo
)
if
(
this
.
type
&&
this
.
robotNo
&&
this
.
selectRobot
)
this
.
getlistDepartmentTree
(
this
.
robotNo
)
if
(
this
.
errorType
&&
this
.
robotNo
)
this
.
getlistDepartmentTree
(
this
.
robotNo
)
if
(
this
.
errorType
&&
this
.
robotNo
)
this
.
getlistDepartmentTree
(
this
.
robotNo
)
},
},
methods
:
{
methods
:
{
getlistDepartmentTree
(
merchantId
)
{
getlistDepartmentTree
(
merchantId
)
{
console
.
log
(
222
)
let
params
=
{
addChildrensFlag
:
true
,
queryMerchantId
:
merchantId
}
let
params
=
{
addChildrensFlag
:
true
,
queryMerchantId
:
merchantId
}
taskApi
.
getlistDepartmentTree
(
params
).
then
(
async
(
res
)
=>
{
taskApi
.
getlistDepartmentTree
(
params
).
then
(
async
(
res
)
=>
{
if
(
res
)
{
if
(
res
)
{
this
.
robotListTree
=
res
.
data
.
data
this
.
robotListTree
=
res
.
data
.
data
await
this
.
initData
(
this
.
robotListTree
)
await
this
.
initData
(
this
.
robotListTree
)
console
.
log
(
this
.
robotListTree
)
if
(
this
.
selectRobot
&&
this
.
selectRobot
.
length
)
{
if
(
this
.
selectRobot
&&
this
.
selectRobot
.
length
)
{
if
(
this
.
errorType
)
{
if
(
this
.
errorType
)
{
this
.
$refs
[
this
.
memberRef
].
setCheckedKeys
([
this
.
selectRobot
])
this
.
$refs
[
this
.
memberRef
].
setCheckedKeys
([
this
.
selectRobot
])
...
@@ -351,10 +354,10 @@ export default {
...
@@ -351,10 +354,10 @@ export default {
return
data
.
label
.
indexOf
(
value
)
!==
-
1
return
data
.
label
.
indexOf
(
value
)
!==
-
1
},
},
// 显示隐藏
// 显示隐藏
//
switchBrand() {
switchBrand
()
{
//
this.brandTree = !this.brandTree
this
.
brandTree
=
!
this
.
brandTree
//
this.$emit('clickBrand', this.brandTree)
this
.
$emit
(
'clickBrand'
,
this
.
brandTree
)
//
},
},
},
},
}
}
</
script
>
</
script
>
...
...
src/views/task/addTask/index.vue
View file @
e034fd3
...
@@ -314,11 +314,12 @@
...
@@ -314,11 +314,12 @@
v-model=
"itm.robotMerchantNo"
v-model=
"itm.robotMerchantNo"
@
change=
"robotMerchantChange(itm)"
@
change=
"robotMerchantChange(itm)"
>
>
<template
v-for=
"(item, index) in entmicroList"
>
<el-radio
<el-radio
:key=
"index"
:label=
"item.merchantNo"
>
{{
v-for=
"item in entmicroList"
item
.
entmicroName
:key=
"item.merchantNo"
}}
</el-radio>
:label=
"item.merchantNo"
</
template
>
>
{{
item
.
entmicroName
}}
</el-radio
>
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
<el-form-item
<el-form-item
...
...
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