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
f0efc191
Commit
f0efc191
authored
Dec 21, 2018
by
chenfenglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户列表查看详情新增编辑备注看课情况
parent
78661c04
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
316 additions
and
38 deletions
+316
-38
entrance.vue
src/components/notBuyClass/entrance.vue
+7
-25
index.vue
src/components/notBuyClass/index.vue
+4
-5
index.vue
src/components/userDetail/index.vue
+299
-6
index.vue
src/components/yunji/index.vue
+6
-2
No files found.
src/components/notBuyClass/entrance.vue
View file @
f0efc191
<
template
>
<el-dialog
:title=
"entranceObj.title"
:visible
.
sync=
"entranceObj.show"
center
width=
"80
%
"
>
width=
"80
0px
"
>
<el-tabs
v-model=
"activeName"
type=
"card"
style=
"line-height:1"
>
<el-tab-pane
label=
"商品名称"
name=
"first"
>
...
...
@@ -49,7 +49,7 @@
</el-dialog>
</
template
>
<
script
>
import
{
getConfigListApi
,
getGoodsListApi
,
getPeriodsApi
,
putConfigApi
,
getDefaultPeriodsApi
,
getLinkApi
}
from
"../../service/api"
;
import
{
getConfigListApi
,
getGoodsListApi
,
getPeriodsApi
,
putConfigApi
,
getDefaultPeriodsApi
}
from
"../../service/api"
;
import
{
GOODSTYPE
}
from
'../../util/wordbook'
;
export
default
{
name
:
"entrance"
,
...
...
@@ -73,8 +73,8 @@
value
:
''
,
},
selectedGoods
:[],
link1
:
"
"
,
link2
:
"
"
,
link1
:
"
https://w.url.cn/s/A45jJYk"
,
//商品链接
link2
:
"
https://w.url.cn/s/AJi1QsS"
,
//期数链接
}
},
mounted
(){
...
...
@@ -102,9 +102,7 @@
this
.
searchFrom2
.
value
=
''
;
}
this
.
searchFrom2
.
value
=
''
;
});
this
.
linkContent1
();
this
.
linkContent2
();
})
},
getGoodsList
(){
let
json
=
{
...
...
@@ -173,6 +171,7 @@
oInput
.
value
=
url
;
document
.
body
.
appendChild
(
oInput
);
oInput
.
select
();
// 选择对象;
console
.
log
(
oInput
.
value
)
document
.
execCommand
(
"Copy"
);
// 执行浏览器复制命令
this
.
$message
({
message
:
'已成功复制到剪切板'
,
...
...
@@ -180,30 +179,13 @@
});
oInput
.
remove
()
},
linkContent1
(){
let
json
=
{
}
json
.
url
=
"https://wechat.changchangenglish.com/api/client/login?goods_id=1%26redirect_url=https://wechat.changchangenglish.com"
getLinkApi
(
json
).
then
(
res
=>
{
this
.
link1
=
res
.
url
;
});
},
linkContent2
(){
let
json
=
{
}
json
.
url
=
"https://wechat.changchangenglish.com/api/client/login?goods_id=1%26redirect_url=https://wechat.changchangenglish.com"
getLinkApi
(
json
).
then
(
res
=>
{
this
.
link2
=
res
.
url
;
});
}
},
watch
:{
'entranceObj.show'
:
function
(
a
){
if
(
a
){
this
.
getPeriodsList
();
this
.
initPage
()
this
.
getGoodsList
();
this
.
getPeriodsList
();
}
}
}
...
...
src/components/notBuyClass/index.vue
View file @
f0efc191
...
...
@@ -11,12 +11,11 @@
</
template
>
</el-table-column>
<el-table-column
prop=
"class_
id"
label=
"班级ID
"
>
<el-table-column
prop=
"class_
name"
label=
"班级名称
"
>
</el-table-column>
<el-table-column
label=
"商品ID/期数ID"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
goods_id
}}
/
{{
scope
.
row
.
periods_id
}}
</
template
>
<el-table-column
label=
"期数标题"
prop=
"periods_name"
>
</el-table-column>
<el-table-column
label=
"商品名称"
prop=
"goods_name"
>
</el-table-column>
<el-table-column
prop=
"created_at"
label=
"创建时间"
sortable
>
</el-table-column>
...
...
src/components/userDetail/index.vue
View file @
f0efc191
This diff is collapsed.
Click to expand it.
src/components/yunji/index.vue
View file @
f0efc191
...
...
@@ -74,13 +74,17 @@
</
template
>
</el-table-column>
<el-table-column
prop=
"mobile"
prop=
"receiver_name"
label=
"姓名"
>
</el-table-column>
<el-table-column
prop=
"receiver_phone"
label=
"手机号"
>
</el-table-column>
<el-table-column
label=
"收货地址"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
receiver_
name
}}
{{
scope
.
row
.
receiver_phone
}}
{{
scope
.
row
.
receiver_
province
}}
{{
scope
.
row
.
receiver_city
}}
{{
scope
.
row
.
receiver_area
}}
{{
scope
.
row
.
receiver_address
}}
{{
scope
.
row
.
receiver_province
}}
{{
scope
.
row
.
receiver_city
}}
{{
scope
.
row
.
receiver_area
}}
{{
scope
.
row
.
receiver_address
}}
</
template
>
</el-table-column>
<el-table-column
...
...
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