Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
haoban-3
Commits
62479775
Commit
62479775
authored
Aug 04, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: dist
parent
93e07830
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
31 additions
and
29 deletions
+31
-29
api.js
src/api/api.js
+0
-1
selectShop.vue
src/components/common/selectShop.vue
+6
-1
directives.js
src/components/utils/directives.js
+6
-2
detail.vue
...views/salesleads/actCodeManage/attractFlowLink/detail.vue
+13
-19
index.vue
src/views/salesleads/actCodeManage/attractFlowLink/index.vue
+1
-1
info.vue
src/views/salesleads/actCodeManage/attractFlowLink/info.vue
+2
-2
actCodeDetailStatistics.vue
...ds/actCodeManage/staffActCode/actCodeDetailStatistics.vue
+2
-2
index.vue
src/views/salesleads/actCodeManage/staffActCode/index.vue
+1
-1
No files found.
src/api/api.js
View file @
62479775
...
...
@@ -86,7 +86,6 @@ Vue.axios.interceptors.response.use(
if
(
data
.
data
.
errorCode
==
10
||
data
.
data
.
errorCode
==
7
)
{
window
.
location
.
href
=
gicHost
+
'/haoban-3/#/index'
;
}
Message
.
error
({
message
:
data
.
data
.
message
});
return
data
;
}
return
data
;
...
...
src/components/common/selectShop.vue
View file @
62479775
<
template
>
<el-popover
placement=
"bottom"
v-model=
"departmentVisible"
>
<dm-simple-transfer
v-model=
"selected"
:busy=
"busy"
:canSelectAll=
"canSelectAll"
:props=
"props"
:max=
"max"
:data=
"data"
:bodyH=
"62"
:item-size=
"66"
:titles=
"['选择门店', '已选门店']"
filterable
filter-placeholder=
"请输入门店名称/code"
@
change=
"change"
@
loadMore=
"loadMore"
>
<dm-simple-transfer
:key=
"key"
v-model=
"selected"
:busy=
"busy"
:canSelectAll=
"canSelectAll"
:props=
"props"
:max=
"max"
:data=
"data"
:bodyH=
"62"
:item-size=
"66"
:titles=
"['选择门店', '已选门店']"
filterable
filter-placeholder=
"请输入门店名称/code"
@
change=
"change"
@
loadMore=
"loadMore"
>
<div
slot-scope=
"
{ option }">
<el-tooltip
:content=
"option.storeName"
:disabled=
"option.storeName.length
<
10
"
>
<p
class=
"storeName"
>
{{
option
.
storeName
}}
</p>
...
...
@@ -41,11 +41,16 @@ export default {
canSelectAll
:
{
type
:
Boolean
,
default
:
false
},
key
:
{
type
:
Boolean
,
default
:
false
}
},
data
()
{
return
{
departmentVisible
:
false
,
props
:
{
key
:
'storeId'
,
label
:
'storeName'
,
...
...
src/components/utils/directives.js
View file @
62479775
...
...
@@ -25,8 +25,12 @@ const clipboard = {
}
};
const
linkMap
=
{
code
:
'https://www.yuque.com/exnmlu/oo64hg/thm172#w4sOg'
,
link
:
'https://www.yuque.com/exnmlu/oo64hg/lggf7q#eV2NM'
codeList
:
'https://www.yuque.com/exnmlu/oo64hg/thm172#WRdju'
,
codeGl
:
'https://www.yuque.com/exnmlu/oo64hg/thm172#ADEzt'
,
codeCkmx
:
'https://www.yuque.com/exnmlu/oo64hg/thm172#mDlza'
,
linkList
:
'https://www.yuque.com/exnmlu/oo64hg/lggf7q#WRdju'
,
linkGl
:
'https://www.yuque.com/exnmlu/oo64hg/lggf7q#ADEzt'
,
linkCkmx
:
'https://www.yuque.com/exnmlu/oo64hg/lggf7q#mDlza'
};
const
jumpLink
=
{
bind
(
el
,
binding
)
{
...
...
src/views/salesleads/actCodeManage/attractFlowLink/detail.vue
View file @
62479775
...
...
@@ -73,7 +73,7 @@
<div
class=
"level3-2"
v-if=
"form.customRuleJson.open"
>
<div
class=
"level3-2-content"
v-if=
"form.customRuleJson.store_type == 1"
>
<el-form-item
label=
"选择门店"
label-width=
"92px"
prop=
"storeList"
>
<selectShop
@
change=
"handleTransferChange"
:data=
"storeData"
:max=
"20"
:selected=
"form.storeList"
:canSelectAll=
"false"
/>
<selectShop
@
change=
"handleTransferChange"
:data=
"storeData"
:max=
"20"
:
key=
"shopKey"
:
selected=
"form.storeList"
:canSelectAll=
"false"
/>
</el-form-item>
<el-checkbox
v-model=
"form.customRuleJson.store.dz"
:true-label=
"1"
:false-label=
"0"
:disabled=
"disabledProperty(form.customRuleJson.store.dz, form.customRuleJson.store.dy) && form.customRuleJson.store.dz"
>
店长
</el-checkbox>
<el-checkbox
v-model=
"form.customRuleJson.store.dy"
:true-label=
"1"
:false-label=
"0"
:disabled=
"disabledProperty(form.customRuleJson.store.dz, form.customRuleJson.store.dy) && form.customRuleJson.store.dy"
>
导购
</el-checkbox>
...
...
@@ -86,7 +86,7 @@
</div>
<p
class=
"content-tips m-b-10"
>
客户拒绝授权当前定位信息,可在下方指定的门店范围中(最多20家)自主选择要添加的门店好友
</p>
<el-form-item
label=
"选择门店"
label-width=
"92px"
prop=
"storeList"
>
<selectShop
@
change=
"handleTransferChange"
:data=
"storeData"
:max=
"20"
:selected=
"form.storeList"
:canSelectAll=
"false"
/>
<selectShop
@
change=
"handleTransferChange"
:data=
"storeData"
:max=
"20"
:
key=
"shopKey"
:
selected=
"form.storeList"
:canSelectAll=
"false"
/>
</el-form-item>
<el-checkbox
v-model=
"form.customRuleJson.store.ndz"
:true-label=
"1"
:false-label=
"0"
:disabled=
"disabledProperty(form.customRuleJson.store.ndz, form.customRuleJson.store.ndy) && form.customRuleJson.store.ndz"
>
店长
</el-checkbox>
<el-checkbox
v-model=
"form.customRuleJson.store.ndy"
:true-label=
"1"
:false-label=
"0"
:disabled=
"disabledProperty(form.customRuleJson.store.ndz, form.customRuleJson.store.ndy) && form.customRuleJson.store.ndy"
>
导购
</el-checkbox>
...
...
@@ -225,8 +225,7 @@ export default {
btnLoading
:
false
,
storePageNum
:
0
,
totalCount
:
1
,
busy
:
false
,
busy2
:
false
shopKey
:
false
};
},
components
:
{
...
...
@@ -260,15 +259,14 @@ export default {
storeListApi
({
pageSize
:
999999
})
.
then
(
res
=>
{
const
{
result
,
totalCount
}
=
res
.
data
.
result
;
this
.
storeData
=
this
.
storeData
.
concat
(
result
||
[])
;
this
.
storeData
=
result
;
this
.
totalCount
=
totalCount
;
this
.
busy
=
false
;
// if (this.form.storeList && this.form.storeList.length) {
// this.storeData.map(el => {
// el.checked = this.form.storeList.some(item => item.storeId == el.storeId);
// return el;
// });
// }
if
(
this
.
form
.
storeList
&&
this
.
form
.
storeList
.
length
)
{
this
.
storeData
.
map
(
el
=>
{
el
.
checked
=
this
.
form
.
storeList
.
some
(
item
=>
item
.
storeId
==
el
.
storeId
);
return
el
;
});
}
})
.
finally
(
_
=>
{
this
.
busy
=
false
;
...
...
@@ -313,14 +311,10 @@ export default {
handleTransferChange
(
val
)
{
this
.
form
.
storeList
=
val
;
this
.
$refs
.
form
.
validateField
(
'storeList'
);
if
(
val
&&
!
val
.
length
)
{
this
.
storeData
=
this
.
storeData
.
splice
(
0
);
}
},
// loadMore() {
// if (this.storeData.length
<
this
.
totalCount
)
{
// this.busy = false;
// this.storePageNum++;
// this.getStoreList();
// }
// },
getList
()
{
this
.
landingLoading
=
true
;
guidePageList
(
this
.
landingPage
)
...
...
src/views/salesleads/actCodeManage/attractFlowLink/index.vue
View file @
62479775
...
...
@@ -3,7 +3,7 @@
<dm-sub-title
class=
"m-b-10"
>
<div
class=
"title"
>
<span>
引流加入
</span>
<el-button
type=
"text"
v-jumpLink:link
><i
class=
"iconfont-hb3 iconzhibiaoshuoming m-r-6"
></i>
指标说明
</el-button>
<el-button
type=
"text"
v-jumpLink:link
List
><i
class=
"iconfont-hb3 iconzhibiaoshuoming m-r-6"
></i>
指标说明
</el-button>
</div>
</dm-sub-title>
<!--
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
>
...
...
src/views/salesleads/actCodeManage/attractFlowLink/info.vue
View file @
62479775
...
...
@@ -63,7 +63,7 @@
<dm-sub-title>
<div
class=
"title"
>
<span>
概览
</span>
<el-button
type=
"text"
v-jumpLink:link
><i
class=
"iconfont-hb3 iconzhibiaoshuoming m-r-6"
></i>
指标说明
</el-button>
<el-button
type=
"text"
v-jumpLink:link
Gl
><i
class=
"iconfont-hb3 iconzhibiaoshuoming m-r-6"
></i>
指标说明
</el-button>
</div>
</dm-sub-title>
<el-row
:gutter=
"20"
>
...
...
@@ -83,7 +83,7 @@
<dm-sub-title>
<div
class=
"title"
>
<span>
查看明细
</span>
<el-button
type=
"text"
v-jumpLink:link
><i
class=
"iconfont-hb3 iconzhibiaoshuoming m-r-6"
></i>
指标说明
</el-button>
<el-button
type=
"text"
v-jumpLink:link
Ckmx
><i
class=
"iconfont-hb3 iconzhibiaoshuoming m-r-6"
></i>
指标说明
</el-button>
</div>
</dm-sub-title>
<data-detail
:id=
"linkId"
typeT=
"link"
:api=
"statisticsClerk"
class=
"m-t-15"
></data-detail>
...
...
src/views/salesleads/actCodeManage/staffActCode/actCodeDetailStatistics.vue
View file @
62479775
...
...
@@ -7,7 +7,7 @@
<span
class=
"font-w-500 color-303133"
>
概览
</span>
</div>
<div
class=
"flex"
>
<el-button
type=
"text"
v-jumpLink:code
><i
class=
"iconfont-hb3 iconzhibiaoshuoming m-r-6"
></i>
指标说明
</el-button>
<el-button
type=
"text"
v-jumpLink:code
Gl
><i
class=
"iconfont-hb3 iconzhibiaoshuoming m-r-6"
></i>
指标说明
</el-button>
</div>
</div>
<ul
class=
"flex"
>
...
...
@@ -51,7 +51,7 @@
<span
class=
"font-w-500 color-303133"
>
查看明细
</span>
</div>
<div
class=
"flex"
>
<el-button
type=
"text"
v-jumpLink:code
><i
class=
"iconfont-hb3 iconzhibiaoshuoming m-r-6"
></i>
指标说明
</el-button>
<el-button
type=
"text"
v-jumpLink:code
Ckmx
><i
class=
"iconfont-hb3 iconzhibiaoshuoming m-r-6"
></i>
指标说明
</el-button>
</div>
</div>
<data-detail
:id=
"hmId"
></data-detail>
...
...
src/views/salesleads/actCodeManage/staffActCode/index.vue
View file @
62479775
...
...
@@ -9,7 +9,7 @@
<dm-sub-title
text=
"配置标签"
class=
"m-b-10"
>
<div
class=
"title"
>
<span>
员工活码
</span>
<el-button
type=
"text"
v-jumpLink:code
><i
class=
"iconfont-hb3 iconzhibiaoshuoming m-r-6"
></i>
指标说明
</el-button>
<el-button
type=
"text"
v-jumpLink:code
List
><i
class=
"iconfont-hb3 iconzhibiaoshuoming m-r-6"
></i>
指标说明
</el-button>
</div>
</dm-sub-title>
<act-code-table
:currentGroupId=
"currentGroupId"
></act-code-table>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment