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
d5ad1d17
Commit
d5ad1d17
authored
Apr 02, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
242ca67f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
UeEditor.vue
src/components/editor/UeEditor.vue
+10
-0
erpindex.js
src/utils/erpindex.js
+3
-0
No files found.
src/components/editor/UeEditor.vue
View file @
d5ad1d17
...
...
@@ -123,7 +123,9 @@
else
if
(
this
.
uploadType
==
3
)
{
fileArray
.
forEach
(
item
=>
{
html
+=
this
.
getIconContent
(
item
);
html
+=
this
.
audioIframeStr
(
item
);
})
}
if
(
html
&&
html
!=
''
)
{
this
.
ue
.
execCommand
(
'inserthtml'
,
html
);
...
...
@@ -177,6 +179,14 @@
}
return
obj
;
},
audioIframeStr
(
data
)
{
var
fileUrl
=
encodeURIComponent
(
data
.
fileUrl
);
return
'<p><iframe height="62px" width="auto" frameborder="0" allowtransparency="true" '
+
' style="background-color:transparent;border-radius: 3px;overflow: hidden;z-index: 0;" scrolling="no" '
+
' src="http://192.168.1.36:8140/index.html?fileName='
+
data
.
fileName
+
'&url='
+
fileUrl
+
'" class="ans-insertaudio-module" module="_insertaudio">'
+
' </iframe></p>'
;
},
loadUe
()
{
const
_this
=
this
;
//上传附件
...
...
src/utils/erpindex.js
View file @
d5ad1d17
...
...
@@ -81,6 +81,7 @@ export default {
//域名管理对象
Vue
.
prototype
.
domainManager
=
function
()
{
let
domainUrl
=
'http://192.168.1.13:8083'
;
let
autoUrl
=
'http://192.168.1.36:8140'
;
let
locationName
=
window
.
location
.
hostname
;
if
(
locationName
.
indexOf
(
'testerp.oytour'
)
!==
-
1
)
{
domainUrl
=
"http://testapi.oytour.com"
;
...
...
@@ -98,6 +99,8 @@ export default {
LocalTemplateFileDownLoadUrl
:
domainUrl
,
//本站文件流下载地址
LocalFileStreamDownLoadUrl
:
domainUrl
+
"/api/file/GetFileFromWebApi"
,
autoUrl
:
autoUrl
};
return
obj
;
},
...
...
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