Commit ff3d1bc1 authored by 黄奎's avatar 黄奎

页面修改

parent bbbd6146
......@@ -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: "wxacd9f8cc3480d29e",
MiniAppId: "wxbb033190e0ffa5db",
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
}
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