Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
Project
Project
Details
Activity
Releases
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
new-sing
admin-base
Commits
2ce75210
Commit
2ce75210
authored
Sep 26, 2018
by
王
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
公众号菜单添加发送消息
parent
a5defc82
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
553 additions
and
8 deletions
+553
-8
newDialog.vue
src/components/periods/newDialog.vue
+2
-0
autoReplyDialog.vue
src/components/weChat/autoReplyDialog.vue
+1
-1
focusReplyDialog.vue
src/components/weChat/focusReplyDialog.vue
+0
-3
index.vue
src/components/weChat/index.vue
+545
-4
api.js
src/service/api.js
+5
-0
No files found.
src/components/periods/newDialog.vue
View file @
2ce75210
...
...
@@ -254,6 +254,8 @@
}
},
onOptionChange
(
id
){
console
.
log
(
'onOptionChange'
,
id
)
this
.
form
.
goods_id
=
id
;
let
index
=
this
.
goodList
.
findIndex
((
val
)
=>
{
return
val
.
id
=
id
});
if
(
index
>-
1
){
this
.
getLessonDetail
(
this
.
goodList
[
index
].
course_id
);
...
...
src/components/weChat/autoReplyDialog.vue
View file @
2ce75210
...
...
@@ -546,7 +546,7 @@
let
json
=
{
type
:
type
,
page
:
this
.
nowPage
,
limit
:
t
ype
===
'news'
?
2
:
t
his
.
limit
limit
:
this
.
limit
};
this
.
loading
=
true
;
this
.
showMedia
=
true
;
...
...
src/components/weChat/focusReplyDialog.vue
View file @
2ce75210
...
...
@@ -230,9 +230,6 @@
<div
class=
"tool_bar"
>
<el-button
@
click=
"close"
>
取 消
</el-button>
<el-button
class=
"weui-desktop-btn weui-desktop-btn_primary"
@
click=
"save"
>
保存
</el-button>
<!--<div class="weui-desktop-popover__wrp">-->
<!--<span class="weui-desktop-popover__target"><button class="weui-desktop-btn weui-desktop-btn_default">删除回复</button></span>-->
<!--</div>-->
</div>
</div>
</div>
...
...
src/components/weChat/index.vue
View file @
2ce75210
This diff is collapsed.
Click to expand it.
src/service/api.js
View file @
2ce75210
...
...
@@ -509,3 +509,8 @@ const copyShopUrl = `/api/admin/goods/copy/`;
export
const
copyShopApi
=
function
(
id
)
{
return
Vue
.
prototype
.
$post
(
`
${
copyShopUrl
}${
id
}
`
)
}
// 获取media详情
const
getMediaUrl
=
`/api/admin/open/media/info`
export
const
getMediaApi
=
function
(
id
)
{
return
Vue
.
prototype
.
$fetch
(
`
${
getMediaUrl
}
?media_id=
${
id
}
`
)
}
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