Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-authorize
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 53632eb3
authored
Feb 24, 2023
by
徐忆琳
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'littlexu_dev_v3.5.0' into 'v3.5.0'
修复bug See merge request
!62
2 parents
bf1ec8ec
0073b7cb
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
11 deletions
src/components/SelectEmployees/index.vue
src/mixins/marketingGroup.js
src/views/friendGroup/friendGroupAdd.vue
src/views/wechatGroup/addWechatGroup.vue
src/components/SelectEmployees/index.vue
View file @
53632eb
...
@@ -45,13 +45,13 @@ export default {
...
@@ -45,13 +45,13 @@ export default {
label
:
''
,
label
:
''
,
prop
:
''
,
prop
:
''
,
fixed
:
'left'
,
fixed
:
'left'
,
// width:'12
0',
width
:
'8
0'
,
addHtml
:
'options'
addHtml
:
'options'
},
},
{
{
label
:
'员工姓名'
,
label
:
'员工姓名'
,
prop
:
'staffName'
,
prop
:
'staffName'
,
//
width:'220',
width
:
'220'
,
},
},
{
{
label
:
'企业微信'
,
label
:
'企业微信'
,
...
...
src/mixins/marketingGroup.js
View file @
53632eb
...
@@ -41,7 +41,7 @@ export default {
...
@@ -41,7 +41,7 @@ export default {
},
},
'staffCloudIdListStr'
(
newVal
,
oldVal
)
{
'staffCloudIdListStr'
(
newVal
,
oldVal
)
{
this
.
basicForm
.
customerList
=
newVal
==
oldVal
?
this
.
basicForm
.
customerList
:
[]
this
.
basicForm
.
customerList
=
newVal
==
oldVal
?
this
.
basicForm
.
customerList
:
[]
}
}
,
},
},
methods
:
{
methods
:
{
getCustomerData
(
val
)
{
getCustomerData
(
val
)
{
...
...
src/views/friendGroup/friendGroupAdd.vue
View file @
53632eb
...
@@ -329,8 +329,10 @@ export default {
...
@@ -329,8 +329,10 @@ export default {
this
.
empErrorShow
=
false
this
.
empErrorShow
=
false
},
},
'selectSenderList'
(
val
)
{
'selectSenderList'
(
val
)
{
if
(
val
&&
val
.
length
>
0
)
{
if
(
val
&&
val
.
staffCloudIdList
)
{
this
.
empErrorShowExpediter
=
false
this
.
empErrorShowExpediter
=
false
}
else
{
this
.
basicForm
.
customerList
=
[]
}
}
},
},
'basicForm.customerList'
(
val
)
{
'basicForm.customerList'
(
val
)
{
...
@@ -424,7 +426,7 @@ export default {
...
@@ -424,7 +426,7 @@ export default {
return
return
}
}
}
}
if
(
this
.
basicForm
.
managedType
==
2
&&
!
this
.
selectSender
List
)
{
if
(
this
.
basicForm
.
managedType
==
2
&&
this
.
selectSenderList
&&
!
this
.
selectSenderList
.
staffCloudId
List
)
{
this
.
empErrorShowExpediter
=
true
this
.
empErrorShowExpediter
=
true
return
return
}
}
...
@@ -537,6 +539,7 @@ export default {
...
@@ -537,6 +539,7 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.container
{
.container
{
margin-bottom
:
16px
;
margin-bottom
:
16px
;
background
:
#ffffff
;
background
:
#ffffff
;
...
...
src/views/wechatGroup/addWechatGroup.vue
View file @
53632eb
...
@@ -99,7 +99,7 @@
...
@@ -99,7 +99,7 @@
</el-tag>
</el-tag>
</div>
</div>
</div>
</div>
<div
v-show=
"empErrorShowCustomer"
class=
"el-form-item__error"
>
请选择客户
</div>
<div
v-show=
"empErrorShowCustomer"
class=
"el-form-item__error
customer_err
"
>
请选择客户
</div>
</el-form-item>
</el-form-item>
</
template
>
</
template
>
</el-form>
</el-form>
...
@@ -145,7 +145,6 @@
...
@@ -145,7 +145,6 @@
<el-button
@
click=
"handleCancel('/wechatGroup/index')"
>
取消
</el-button>
<el-button
@
click=
"handleCancel('/wechatGroup/index')"
>
取消
</el-button>
<el-button
type=
"primary"
v-loading=
"addLoading"
@
click=
"handleSubmit"
>
提交
</el-button>
<el-button
type=
"primary"
v-loading=
"addLoading"
@
click=
"handleSubmit"
>
提交
</el-button>
</GLFooter>
</GLFooter>
<SelectLabel
ref=
"selectLabel"
@
tagSelected=
"handleSelect"
:resetMerchantId=
"resetMerchantId"
<SelectLabel
ref=
"selectLabel"
@
tagSelected=
"handleSelect"
:resetMerchantId=
"resetMerchantId"
:dialogVisible=
"dialogVisible"
></SelectLabel>
:dialogVisible=
"dialogVisible"
></SelectLabel>
<SelectCrowd
ref=
"selectCrowd"
@
crowdData=
"getCrowdData"
:resetMerchantId=
"resetMerchantId"
<SelectCrowd
ref=
"selectCrowd"
@
crowdData=
"getCrowdData"
:resetMerchantId=
"resetMerchantId"
...
@@ -156,6 +155,8 @@
...
@@ -156,6 +155,8 @@
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
utils
}
from
"glsx-common"
;
const
combineType
=
{
const
combineType
=
{
label
:
2
,
label
:
2
,
crowd
:
1
crowd
:
1
...
@@ -383,11 +384,17 @@ export default {
...
@@ -383,11 +384,17 @@ export default {
//群发内容
//群发内容
this
.
$refs
.
welcome
.
textValue
=
''
this
.
$refs
.
welcome
.
textValue
=
''
this
.
$refs
.
welcome
.
previewList
=
[]
this
.
$refs
.
welcome
.
previewList
=
[]
this
.
$refs
.
welcome
.
updateList
([{
attType
:
1
,
attContent
:
''
}])
}
}
},
},
'selectSenderList'
(
val
)
{
'selectSenderList'
(
val
)
{
if
(
val
&&
val
.
length
>
0
)
{
if
(
val
&&
val
.
staffCloudIdList
)
{
this
.
empErrorShowExpediter
=
false
this
.
empErrorShowExpediter
=
false
}
else
{
this
.
basicForm
.
customerList
=
[]
}
}
},
},
'basicForm.customerList'
(
val
)
{
'basicForm.customerList'
(
val
)
{
...
@@ -401,7 +408,7 @@ export default {
...
@@ -401,7 +408,7 @@ export default {
handleAddEmp
()
{
handleAddEmp
()
{
this
.
$refs
.
selectEmpForm
.
init
()
this
.
$refs
.
selectEmpForm
.
init
()
},
},
async
handleSubmit
()
{
handleSubmit
:
utils
.
debounce
(
async
function
()
{
this
.
$refs
.
basicForm
.
validate
(
valid
=>
{
this
.
$refs
.
basicForm
.
validate
(
valid
=>
{
if
(
valid
)
{
if
(
valid
)
{
if
(
this
.
basicForm
.
managedType
==
1
)
{
if
(
this
.
basicForm
.
managedType
==
1
)
{
...
@@ -420,7 +427,7 @@ export default {
...
@@ -420,7 +427,7 @@ export default {
return
return
}
}
}
}
if
(
this
.
basicForm
.
managedType
==
2
&&
!
this
.
selectSender
List
)
{
if
(
this
.
basicForm
.
managedType
==
2
&&
this
.
selectSenderList
&&
!
this
.
selectSenderList
.
staffCloudId
List
)
{
this
.
empErrorShowExpediter
=
true
this
.
empErrorShowExpediter
=
true
return
return
}
}
...
@@ -495,11 +502,15 @@ export default {
...
@@ -495,11 +502,15 @@ export default {
})
})
}
}
})
})
},
},
300
)
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.customer_err
{
margin-top
:
45px
;
}
.container
{
.container
{
margin-bottom
:
20px
;
margin-bottom
:
20px
;
background
:
#ffffff
;
background
:
#ffffff
;
...
...
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