Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
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
黄媛媛
ElectricitySheep
Commits
ff3d1bc1
Commit
ff3d1bc1
authored
Sep 02, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
bbbd6146
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
+14
-6
index.js
src/plug/index.js
+14
-6
No files found.
src/plug/index.js
View file @
ff3d1bc1
...
...
@@ -56,8 +56,8 @@ export default {
Vue
.
prototype
.
domainManager
=
function
()
{
let
domainUrl
=
''
;
let
javaUrl
=
'http://192.168.2.65:8018'
;
// domainUrl = "https://localhost:5001
";
domainUrl
=
"http://192.168.20.8
:8200"
domainUrl
=
"http://localhost:5000
"
;
//domainUrl = "http://192.168.20.24
:8200"
let
vtUploadUrl
=
"http://192.168.20.214:8120"
;
let
vtViewUrl
=
"http://192.168.20.214:8130"
;
...
...
@@ -178,8 +178,8 @@ export default {
Vue
.
prototype
.
UploadFileToTencent
=
function
(
path
,
fileObj
,
callback
)
{
// debugger;
var
upInfo
=
JSON
.
parse
(
localStorage
.
uploadInfo
);
let
maxSize
=
500
*
1024
if
((
fileObj
.
type
==
"image/png"
||
fileObj
.
type
==
"image/jpeg"
)
&&
fileObj
.
size
>
maxSize
)
{
let
maxSize
=
500
*
1024
if
((
fileObj
.
type
==
"image/png"
||
fileObj
.
type
==
"image/jpeg"
)
&&
fileObj
.
size
>
maxSize
)
{
let
that
=
this
lrz
(
fileObj
,
{
width
:
750
,
...
...
@@ -405,7 +405,7 @@ export default {
TenantId
:
TenantId
,
EmpId
:
EmpId
,
SmallShopsId
:
0
,
MiniAppId
:
"wx
acd9f8cc3480d29e
"
,
MiniAppId
:
"wx
bb033190e0ffa5db
"
,
OpenId
:
"ow_7I5cKHQJeQlNJOKoeERRhe6SA"
,
UserId
:
21382
,
}
...
...
@@ -568,6 +568,14 @@ export default {
successCall
(
res
)
}
},
faildCall
)
},
//新页面打开窗口
Vue
.
prototype
.
OpenNewUrl
=
function
(
path
,
queryObj
)
{
var
newUrl
=
this
.
$router
.
resolve
({
path
:
path
,
query
:
queryObj
});
window
.
open
(
newUrl
.
href
,
'_blank'
);
}
}
}
\ No newline at end of file
}
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