Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
a3795bf1
Commit
a3795bf1
authored
Nov 01, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
8311a477
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
+11
-7
alladdsc.vue
src/pages/teacher/components/alladdsc.vue
+7
-3
addimageText.vue
src/pages/teacher/contribution/addimageText.vue
+1
-1
contributeManage.vue
src/pages/teacher/contribution/contributeManage.vue
+3
-3
No files found.
src/pages/teacher/components/alladdsc.vue
View file @
a3795bf1
...
@@ -205,7 +205,7 @@
...
@@ -205,7 +205,7 @@
Isadd
:
true
,
Isadd
:
true
,
addMsg
:
{
addMsg
:
{
Id
:
0
,
Id
:
0
,
MediaGroupId
:
1
,
// 分组ID
MediaGroupId
:
''
,
// 分组ID
MediaName
:
''
,
//标题/名称
MediaName
:
''
,
//标题/名称
Description
:
''
,
//视频介绍
Description
:
''
,
//视频介绍
Type
:
this
.
type
,
//1图片 2 音频 3视频
Type
:
this
.
type
,
//1图片 2 音频 3视频
...
@@ -220,7 +220,7 @@
...
@@ -220,7 +220,7 @@
timevalue
:
0
,
//音频播放到时间点
timevalue
:
0
,
//音频播放到时间点
playRec
:
null
,
playRec
:
null
,
imgPath
:
''
,
imgPath
:
''
,
importFileUrl2
:
this
.
domainManager
().
UploadFileUrl2
,
importFileUrl2
:
''
,
getImgChoice
:
false
,
getImgChoice
:
false
,
ismodify
:
false
,
//是否修改
ismodify
:
false
,
//是否修改
}
}
...
@@ -233,6 +233,8 @@
...
@@ -233,6 +233,8 @@
this
.
imgPath
=
this
.
addMsg
.
ImageUrl
;
this
.
imgPath
=
this
.
addMsg
.
ImageUrl
;
}
}
}
}
let
address
=
process
.
env
.
API
;
this
.
importFileUrl2
=
address
+
'/upload/UploadTemporaryFile'
},
},
mounted
()
{
mounted
()
{
this
.
getPlatForm
();
this
.
getPlatForm
();
...
@@ -269,7 +271,9 @@
...
@@ -269,7 +271,9 @@
},
},
successUpload
(
file
)
{
successUpload
(
file
)
{
if
(
file
.
Code
==
1
)
{
if
(
file
.
Code
==
1
)
{
this
.
imgPath
=
this
.
domainManager
().
DomainUrl
+
file
.
Data
.
HttpPath
;
let
address
=
process
.
env
.
API
;
let
aOne
=
address
.
split
(
'/api'
)[
0
];
this
.
imgPath
=
aOne
+
file
.
Data
.
HttpPath
;
this
.
addMsg
.
Path
=
file
.
Data
.
Path
;
this
.
addMsg
.
Path
=
file
.
Data
.
Path
;
this
.
addMsg
.
MediaName
=
file
.
Data
.
Name
;
this
.
addMsg
.
MediaName
=
file
.
Data
.
Name
;
}
}
...
...
src/pages/teacher/contribution/addimageText.vue
View file @
a3795bf1
...
@@ -300,7 +300,7 @@
...
@@ -300,7 +300,7 @@
isManage
:
false
,
//是否是管理端
isManage
:
false
,
//是否是管理端
IsPreview
:
0
,
//1预览 2群发 0 只保存投稿 不发送
IsPreview
:
0
,
//1预览 2群发 0 只保存投稿 不发送
TagId
:
''
,
//预览 =》 微信号(必传); 群发 =》 标签ID
TagId
:
''
,
//预览 =》 微信号(必传); 群发 =》 标签ID
PlatformId
:
''
,
//发布的平台
PlatformId
:
1
,
//发布的平台
IsShowCover
:
'0'
,
//是否显示封面,1为显示,0为不显示 (图文)
IsShowCover
:
'0'
,
//是否显示封面,1为显示,0为不显示 (图文)
SourceUrl
:
''
,
// 原文地址 (图文)
SourceUrl
:
''
,
// 原文地址 (图文)
IsOpenComment
:
'0'
,
//是否打开评论,0不打开,1打开(图文 + 图片)
IsOpenComment
:
'0'
,
//是否打开评论,0不打开,1打开(图文 + 图片)
...
...
src/pages/teacher/contribution/contributeManage.vue
View file @
a3795bf1
...
@@ -209,7 +209,7 @@
...
@@ -209,7 +209,7 @@
platTypeList
:
[],
//平台列表
platTypeList
:
[],
//平台列表
publishMsg
:
{
publishMsg
:
{
ContributeId
:
0
,
ContributeId
:
0
,
PlatformId
:
''
,
PlatformId
:
1
,
IsPreview
:
0
,
IsPreview
:
0
,
TagId
:
''
TagId
:
''
},
},
...
@@ -290,8 +290,8 @@
...
@@ -290,8 +290,8 @@
release
(
row
)
{
//发布
release
(
row
)
{
//发布
this
.
publishMsg
.
ContributeId
=
row
.
Id
;
this
.
publishMsg
.
ContributeId
=
row
.
Id
;
this
.
publishMsg
.
PlatformId
=
''
;
this
.
publishMsg
.
PlatformId
=
1
;
//默认为微信公众号
this
.
publishMsg
.
IsPreview
=
'
0
'
;
this
.
publishMsg
.
IsPreview
=
'
1
'
;
this
.
publishMsg
.
TagId
=
''
;
this
.
publishMsg
.
TagId
=
''
;
this
.
releasedialog
=
true
this
.
releasedialog
=
true
},
},
...
...
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