Commit ff3d1bc1 authored by 黄奎's avatar 黄奎

页面修改

parent bbbd6146
...@@ -56,8 +56,8 @@ export default { ...@@ -56,8 +56,8 @@ export default {
Vue.prototype.domainManager = function () { Vue.prototype.domainManager = function () {
let domainUrl = ''; let domainUrl = '';
let javaUrl = 'http://192.168.2.65:8018'; let javaUrl = 'http://192.168.2.65:8018';
// domainUrl = "https://localhost:5001"; domainUrl = "http://localhost:5000";
domainUrl = "http://192.168.20.8:8200" //domainUrl = "http://192.168.20.24:8200"
let vtUploadUrl = "http://192.168.20.214:8120"; let vtUploadUrl = "http://192.168.20.214:8120";
let vtViewUrl = "http://192.168.20.214:8130"; let vtViewUrl = "http://192.168.20.214:8130";
...@@ -178,8 +178,8 @@ export default { ...@@ -178,8 +178,8 @@ export default {
Vue.prototype.UploadFileToTencent = function (path, fileObj, callback) { Vue.prototype.UploadFileToTencent = function (path, fileObj, callback) {
// debugger; // debugger;
var upInfo = JSON.parse(localStorage.uploadInfo); var upInfo = JSON.parse(localStorage.uploadInfo);
let maxSize=500*1024 let maxSize = 500 * 1024
if ((fileObj.type == "image/png" || fileObj.type == "image/jpeg") && fileObj.size>maxSize) { if ((fileObj.type == "image/png" || fileObj.type == "image/jpeg") && fileObj.size > maxSize) {
let that = this let that = this
lrz(fileObj, { lrz(fileObj, {
width: 750, width: 750,
...@@ -405,7 +405,7 @@ export default { ...@@ -405,7 +405,7 @@ export default {
TenantId: TenantId, TenantId: TenantId,
EmpId: EmpId, EmpId: EmpId,
SmallShopsId: 0, SmallShopsId: 0,
MiniAppId: "wxacd9f8cc3480d29e", MiniAppId: "wxbb033190e0ffa5db",
OpenId: "ow_7I5cKHQJeQlNJOKoeERRhe6SA", OpenId: "ow_7I5cKHQJeQlNJOKoeERRhe6SA",
UserId: 21382, UserId: 21382,
} }
...@@ -568,6 +568,14 @@ export default { ...@@ -568,6 +568,14 @@ export default {
successCall(res) successCall(res)
} }
}, faildCall) }, faildCall)
},
//新页面打开窗口
Vue.prototype.OpenNewUrl = function (path, queryObj) {
var newUrl = this.$router.resolve({
path: path,
query: queryObj
});
window.open(newUrl.href, '_blank');
} }
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment