Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
integral-mall
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
integralMall
integral-mall
Commits
bf1c1933
Commit
bf1c1933
authored
Oct 31, 2019
by
damodmg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新门店组件
parent
c5d4c7ea
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
4 deletions
+14
-4
index.html
index.html
+1
-1
index.js
src/router/index.js
+2
-2
info.vue
src/views/goods/coupon/info.vue
+1
-0
info.vue
src/views/goods/gift/info.vue
+10
-1
No files found.
index.html
View file @
bf1c1933
...
...
@@ -29,7 +29,7 @@
<script
src=
"//web-1251519181.file.myqcloud.com/components/header.2.0.30.js"
></script>
<script
src=
"//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.11.js"
></script>
<script
src=
"//web-1251519181.file.myqcloud.com/components/footer.2.0.02.js"
></script>
<script
src=
'//web-1251519181.file.myqcloud.com/components/store-linkage.2.0.
20
.js'
></script>
<script
src=
'//web-1251519181.file.myqcloud.com/components/store-linkage.2.0.
32
.js'
></script>
<script
src=
"//web-1251519181.file.myqcloud.com/components/store-new.2.0.11.js"
></script>
<!-- <script src="//web-1251519181.file.myqcloud.com/components/member-info.1.0.01.js"></script> -->
<script
src=
"//web-1251519181.file.myqcloud.com/components/card.2.0.06.js"
></script>
...
...
src/router/index.js
View file @
bf1c1933
...
...
@@ -15,8 +15,8 @@ import orderDetail from '../views/order/orderDetail';
Vue
.
use
(
VueClipboard
);
const
router
=
new
Router
({
mode
:
'history'
,
base
:
'/integral-mall'
,
//
mode: 'history',
//
base: '/integral-mall',
routes
:
[
{
path
:
'/'
,
...
...
src/views/goods/coupon/info.vue
View file @
bf1c1933
...
...
@@ -547,6 +547,7 @@ export default {
},
//门店分类回执方法
getSelectGroupData
(
val
)
{
console
.
log
(
123
,
val
);
this
.
sendChildData
=
{
storeType
:
val
.
storeType
||
0
,
storeGroupIds
:
val
.
storeGroupIds
||
''
,
...
...
src/views/goods/gift/info.vue
View file @
bf1c1933
...
...
@@ -126,6 +126,7 @@
</div>
</div>
</el-form-item>
-->
{{
sendChildData
}}
---
{{
openFlag
}}
<el-form-item
label=
"展现门店"
required
style=
"position:relative"
>
<vue-gic-store-linkage
:disabled=
"isInfo"
@
getDisGroupList=
"getDisGroupList"
:msg=
"sendChildData"
:openFlag=
"openFlag"
ref=
"selectTree"
@
sendSelectGroupData=
"getSelectGroupData"
></vue-gic-store-linkage>
<span
v-if=
"sendChildData.storeType === 1"
class=
"store-tip"
>
若选中的门店分组下有新增的门店,系统不会默认选中此新增门店,请重新确认选择并保存礼品
</span>
...
...
@@ -447,6 +448,14 @@ export default {
// responseParams: [] //回显的数据
};
},
watch
:
{
openFlag
:
{
immediate
:
true
,
handler
(
newval
)
{
console
.
log
(
newval
);
}
}
},
mounted
()
{
this
.
getOpenStatus
();
window
.
onbeforeunload
=
function
(
e
)
{
...
...
@@ -510,7 +519,7 @@ export default {
// },
methods
:
{
getOpenStatus
()
{
request
.
post
(
'/api-integral-mall/is-show-self
'
).
then
(
res
=>
{
request
.
post
(
'/api-integral-mall/is-show-self'
).
then
(
res
=>
{
if
(
res
.
data
.
errorCode
===
0
)
{
this
.
openFlag
=
res
.
data
.
result
.
openFlag
;
if
(
this
.
openFlag
)
{
...
...
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