提交 206c9858 编写于 作者: zhentian.jia's avatar zhentian.jia

baseUrl

上级 bad63d05
...@@ -9,7 +9,7 @@ export const envConfig = { ...@@ -9,7 +9,7 @@ export const envConfig = {
// baseUrl: 'https://test1-sc.yunqueyi.com/', // baseUrl: 'https://test1-sc.yunqueyi.com/',
//baseUrl: 'https://uat-sc.yunqueyi.com/', //baseUrl: 'https://uat-sc.yunqueyi.com/',
baseUrl: 'https://dev-sc.yunqueyi.com/portal/', baseUrl: 'https://dev-sc.yunqueyi.com/',
qiniuFileUrl: "http://localhost:10201/contents/admin/qiniu/token1", qiniuFileUrl: "http://localhost:10201/contents/admin/qiniu/token1",
qiniuResourceUrl: "https://test1-videos.yunqueyi.com", qiniuResourceUrl: "https://test1-videos.yunqueyi.com",
qiniuImgUrl: "https://test1-file.yunqueyi.com", qiniuImgUrl: "https://test1-file.yunqueyi.com",
...@@ -18,7 +18,7 @@ export const envConfig = { ...@@ -18,7 +18,7 @@ export const envConfig = {
yuequeyiIndexUrl: 'https://dev-saas.yunqueyi.com/pica_index.html' yuequeyiIndexUrl: 'https://dev-saas.yunqueyi.com/pica_index.html'
}, },
dev: { dev: {
baseUrl: 'https://dev-sc.yunqueyi.com/portal/', baseUrl: 'https://dev-sc.yunqueyi.com/',
qiniuFileUrl: "https://dev-sc.yunqueyi.com/contents/admin/qiniu/token1", qiniuFileUrl: "https://dev-sc.yunqueyi.com/contents/admin/qiniu/token1",
qiniuResourceUrl: "https://test1-videos.yunqueyi.com", qiniuResourceUrl: "https://test1-videos.yunqueyi.com",
qiniuImgUrl: "https://test1-file.yunqueyi.com", qiniuImgUrl: "https://test1-file.yunqueyi.com",
......
...@@ -765,7 +765,7 @@ export default { ...@@ -765,7 +765,7 @@ export default {
let req = {}; let req = {};
let projectId = vm.getUrlSearch(window.location.href, "projectId"); let projectId = vm.getUrlSearch(window.location.href, "projectId");
if (projectId != null && projectId != "") { if (projectId != null && projectId != "") {
vm.GET("portalInfo/getProjectInfo/" + projectId, req).then(res => { vm.GET("portal/portalInfo/getProjectInfo/" + projectId, req).then(res => {
if (res.code == "000000" && res.data.projectData != null) { if (res.code == "000000" && res.data.projectData != null) {
let editData = res.data; let editData = res.data;
this.setEditData(editData); this.setEditData(editData);
...@@ -837,7 +837,7 @@ export default { ...@@ -837,7 +837,7 @@ export default {
attachmentPDFModel: JSON.stringify(attachmentPDFModel) attachmentPDFModel: JSON.stringify(attachmentPDFModel)
}; };
//console.log(postData); //console.log(postData);
vm.POST("portalInfo/insertOrUpdate", postData).then(res => { vm.POST("portal/portalInfo/insertOrUpdate", postData).then(res => {
if (res.code == "000000") { if (res.code == "000000") {
console.log(res); console.log(res);
this.active++; this.active++;
...@@ -853,7 +853,7 @@ export default { ...@@ -853,7 +853,7 @@ export default {
//查询组件证书信息 //查询组件证书信息
getComponentInfo() { getComponentInfo() {
let param = {}; let param = {};
vm.GET("portalInfo/getComponentInfo", param).then(res => { vm.GET("portal/portalInfo/getComponentInfo", param).then(res => {
if (res.code == "000000") { if (res.code == "000000") {
//console.log(res); //console.log(res);
let componentList = res.data.componentList; let componentList = res.data.componentList;
...@@ -886,7 +886,7 @@ export default { ...@@ -886,7 +886,7 @@ export default {
type: type, type: type,
status: this.projectStatus status: this.projectStatus
}; };
vm.POST("portalInfo/componentDraft", param).then(res => { vm.POST("portal/portalInfo/componentDraft", param).then(res => {
console.log(res); console.log(res);
if (res.code == "000000") { if (res.code == "000000") {
//notify //notify
...@@ -955,7 +955,7 @@ export default { ...@@ -955,7 +955,7 @@ export default {
if (req.setKindOfPeople == 2 || req.setKindOfPeople == 3) { if (req.setKindOfPeople == 2 || req.setKindOfPeople == 3) {
req.scopeOfPeople = this.getScopePeople(req.setKindOfPeople); req.scopeOfPeople = this.getScopePeople(req.setKindOfPeople);
} }
vm.POST("scope", req).then(res => { vm.POST("portal/scope", req).then(res => {
//暂存范围 //暂存范围
console.log(res); console.log(res);
vm.$message({ vm.$message({
...@@ -995,7 +995,7 @@ export default { ...@@ -995,7 +995,7 @@ export default {
let param = { let param = {
projectName: this.formData.projectName projectName: this.formData.projectName
}; };
vm.GET("portalInfo/checkProjectName", param).then(res => { vm.GET("portal/portalInfo/checkProjectName", param).then(res => {
if (res.code == "000000") { if (res.code == "000000") {
//移动到第二页 选择范围 //移动到第二页 选择范围
this.insertOrUpdate("add"); this.insertOrUpdate("add");
...@@ -1048,7 +1048,7 @@ export default { ...@@ -1048,7 +1048,7 @@ export default {
if (req.setKindOfPeople == 2 || req.setKindOfPeople == 3) { if (req.setKindOfPeople == 2 || req.setKindOfPeople == 3) {
req.scopeOfPeople = this.getScopePeople(req.setKindOfPeople); req.scopeOfPeople = this.getScopePeople(req.setKindOfPeople);
} }
vm.POST("scope", req).then(res => { vm.POST("portal/scope", req).then(res => {
if (res.code == "000000") { if (res.code == "000000") {
//移动到选择项目组件 //移动到选择项目组件
console.log(res); console.log(res);
...@@ -1092,7 +1092,7 @@ export default { ...@@ -1092,7 +1092,7 @@ export default {
if (req.setKindOfPeople == 2 || req.setKindOfPeople == 3) { if (req.setKindOfPeople == 2 || req.setKindOfPeople == 3) {
req.scopeOfPeople = this.getScopePeople(req.setKindOfPeople); req.scopeOfPeople = this.getScopePeople(req.setKindOfPeople);
} }
vm.POST("scope", req).then(res => { vm.POST("portal/scope", req).then(res => {
if (res.code == "000000") { if (res.code == "000000") {
//移动到选择项目组件 //移动到选择项目组件
console.log(res); console.log(res);
...@@ -1326,7 +1326,7 @@ export default { ...@@ -1326,7 +1326,7 @@ export default {
projectId: this.projectId projectId: this.projectId
}; };
openLoading(vm); openLoading(vm);
vm.GET("scope/v1/administrative", req).then(res => { vm.GET("portal/scope/v1/administrative", req).then(res => {
closeLoading(vm); closeLoading(vm);
if (res.code == "000000") { if (res.code == "000000") {
//console.log(res.data); //console.log(res.data);
...@@ -1375,7 +1375,7 @@ export default { ...@@ -1375,7 +1375,7 @@ export default {
let req = { let req = {
id: data.id id: data.id
}; };
vm.GET("scope/v1/administrative/children", req).then(res => { vm.GET("portal/scope/v1/administrative/children", req).then(res => {
if (res.code == "000000") { if (res.code == "000000") {
let administrative = res.data.administrative; let administrative = res.data.administrative;
console.log(administrative); console.log(administrative);
...@@ -1395,7 +1395,7 @@ export default { ...@@ -1395,7 +1395,7 @@ export default {
//projectId: vm.getUrlSearch(window.location.href, "projectId"), //projectId: vm.getUrlSearch(window.location.href, "projectId"),
projectId: 54 projectId: 54
}; };
vm.GET("scope/v1/administrative", req).then(res => { vm.GET("portal/scope/v1/administrative", req).then(res => {
if (res.code == "000000") { if (res.code == "000000") {
let administrativeAll = res.data.administrativeAll; let administrativeAll = res.data.administrativeAll;
let administrative = res.data.administrative; let administrative = res.data.administrative;
...@@ -1409,7 +1409,7 @@ export default { ...@@ -1409,7 +1409,7 @@ export default {
let req = { let req = {
id: node.data.id id: node.data.id
}; };
vm.GET("scope/v1/administrative/children", req).then(res => { vm.GET("portal/scope/v1/administrative/children", req).then(res => {
if (res.code == "000000") { if (res.code == "000000") {
let administrative = res.data.administrative; let administrative = res.data.administrative;
return resolve(administrative); return resolve(administrative);
...@@ -1706,7 +1706,7 @@ export default { ...@@ -1706,7 +1706,7 @@ export default {
req.scope = this.getScope("administrative"); req.scope = this.getScope("administrative");
} }
openLoading(vm); openLoading(vm);
vm.POST("scope/v1/organization", req).then(res => { vm.POST("portal/scope/v1/organization", req).then(res => {
closeLoading(vm); closeLoading(vm);
if (res.code == "000000") { if (res.code == "000000") {
//console.log(res.data); //console.log(res.data);
...@@ -1774,7 +1774,7 @@ export default { ...@@ -1774,7 +1774,7 @@ export default {
let req = { let req = {
projectId: this.projectId projectId: this.projectId
}; };
vm.GET("scope/v1/department", req).then(res => { vm.GET("portal/scope/v1/department", req).then(res => {
if (res.code == "000000") { if (res.code == "000000") {
this.tableDepartment = res.data.department; this.tableDepartment = res.data.department;
...@@ -1869,7 +1869,7 @@ export default { ...@@ -1869,7 +1869,7 @@ export default {
req.scopeOfDepartment = this.getScopeDepartment(); req.scopeOfDepartment = this.getScopeDepartment();
} }
openLoading(vm); openLoading(vm);
vm.POST("scope/v1/people", req).then(res => { vm.POST("portal/scope/v1/people", req).then(res => {
closeLoading(vm); closeLoading(vm);
if (res.code == "000000") { if (res.code == "000000") {
console.log(res); console.log(res);
......
...@@ -269,7 +269,7 @@ export default { ...@@ -269,7 +269,7 @@ export default {
let req = {}; let req = {};
req = this.formInline; req = this.formInline;
openLoading(vm); openLoading(vm);
vm.GET("portalInfo/getProjectList", req).then(res => { vm.GET("portal/portalInfo/getProjectList", req).then(res => {
closeLoading(vm); closeLoading(vm);
if (res.code == "000000") { if (res.code == "000000") {
vm.tableData = res.data.data; vm.tableData = res.data.data;
...@@ -321,7 +321,7 @@ export default { ...@@ -321,7 +321,7 @@ export default {
portalProjectId: projectId, portalProjectId: projectId,
warnType: 1 warnType: 1
}; };
vm.GET("portalCheck/remindPortalCheck", req).then(res => { vm.GET("portal/portalCheck/remindPortalCheck", req).then(res => {
if (res.code == "000000") { if (res.code == "000000") {
console.log(res); console.log(res);
vm.$message.info(res.message); vm.$message.info(res.message);
...@@ -344,7 +344,7 @@ export default { ...@@ -344,7 +344,7 @@ export default {
portalProjectId: projectId, portalProjectId: projectId,
warnType: warnType warnType: warnType
}; };
vm.GET("portalCheck/remindPortalCheck", req).then(res => { vm.GET("portal/portalCheck/remindPortalCheck", req).then(res => {
if (res.code == "000000") { if (res.code == "000000") {
console.log(res); console.log(res);
vm.$message.info(res.message); vm.$message.info(res.message);
...@@ -355,7 +355,7 @@ export default { ...@@ -355,7 +355,7 @@ export default {
projectId: projectId, projectId: projectId,
changeStatus: type changeStatus: type
}; };
vm.POST("portalInfo/changeStatus", req).then(res => { vm.POST("portal/portalInfo/changeStatus", req).then(res => {
if (res.code == "000000") { if (res.code == "000000") {
console.log(res); console.log(res);
vm.$message.info(res.message); vm.$message.info(res.message);
...@@ -368,7 +368,7 @@ export default { ...@@ -368,7 +368,7 @@ export default {
delItem(row) { delItem(row) {
let req = {}; let req = {};
console.log(row); console.log(row);
vm.DELETE("portalInfo/delete/" + row.id, req).then(res => { vm.DELETE("portal/portalInfo/delete/" + row.id, req).then(res => {
if (res.code == "000000") { if (res.code == "000000") {
console.log(res); console.log(res);
vm.$message({ vm.$message({
......
...@@ -221,7 +221,7 @@ export default { ...@@ -221,7 +221,7 @@ export default {
let req = {}; let req = {};
req = this.formInline; req = this.formInline;
openLoading(vm); openLoading(vm);
vm.GET("portalProjectOrRole/queryRoleList", req).then(res => { vm.GET("portal/portalProjectOrRole/queryRoleList", req).then(res => {
closeLoading(vm); closeLoading(vm);
if (res.code == "000000") { if (res.code == "000000") {
vm.tableData = res.data.projectRoleInfoModels; vm.tableData = res.data.projectRoleInfoModels;
...@@ -243,7 +243,7 @@ export default { ...@@ -243,7 +243,7 @@ export default {
numL2: this.numL2, numL2: this.numL2,
nowL: this.scopeRow.projeceRole nowL: this.scopeRow.projeceRole
}; };
vm.GET("portalProjectOrRole/roleLevelUpdate", req).then(res => { vm.GET("portal/portalProjectOrRole/roleLevelUpdate", req).then(res => {
this.dialog.show = false; this.dialog.show = false;
if (res.code == "000000") { if (res.code == "000000") {
console.log(res); console.log(res);
......
...@@ -142,7 +142,7 @@ export default { ...@@ -142,7 +142,7 @@ export default {
//console.log(this.formInline); //console.log(this.formInline);
req = this.formInline; req = this.formInline;
openLoading(vm); openLoading(vm);
vm.GET("portalInfo/getProjectList", req).then(res => { vm.GET("portal/portalInfo/getProjectList", req).then(res => {
closeLoading(vm); closeLoading(vm);
if (res.code == "000000") { if (res.code == "000000") {
vm.tableData = res.data.data; vm.tableData = res.data.data;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册