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

浙江项目特殊处理

上级 fa08f798
......@@ -10,8 +10,8 @@ export const envConfig = {
// baseUrl: 'https://uat-sc.yunqueyi.com/',
// baseUrl: 'http://10.177.15.150:10401/',
// baseUrl: 'http://10.177.15.150:11905/',
// baseUrl: 'https://dev-sc.yunqueyi.com/',
baseUrl: 'https://test1-sc.yunqueyi.com/',
baseUrl: 'https://dev-sc.yunqueyi.com/',
// baseUrl: 'https://test1-sc.yunqueyi.com/',
apiUrl: 'https://dev-api.yunqueyi.com/',
qiniuFileUrl: "https://dev-sc.yunqueyi.com/contents/admin/qiniu/token1",
qiniuResourceUrl: "https://test1-videos.yunqueyi.com",
......@@ -26,8 +26,8 @@ export const envConfig = {
workApiSrc: 'https://dev-work.yunqueyi.com',
// reportUrl: 'http://10.177.15.150:10401/',
// reportUrl: 'http://192.168.140.13:10401/',
// reportUrl: 'https://dev-sc-report.yunqueyi.com/',
reportUrl: 'https://test1-sc-report.yunqueyi.com/',
reportUrl: 'https://dev-sc-report.yunqueyi.com/',
// reportUrl: 'https://test1-sc-report.yunqueyi.com/',
},
dev: {
baseUrl: 'https://dev-sc.yunqueyi.com/',
......
......@@ -54,7 +54,7 @@ service.interceptors.request.use(config => {
}
if( process.env.BUILD_ENV == "development" ){ // 本地开发环境
// console.log('环境变量>>>> ', process.env.BUILD_ENV);
config.headers['token'] = 'E5F82EDD958941C29BCDDDED410ACDB3';
config.headers['token'] = '2CD0420B09584AFAA2B6CFD85252E1AB';
}else{
config.headers['token'] = localStorage.getItem('storageToken')
}
......
......@@ -206,6 +206,7 @@ export default {
dialogVisible: false,
dialogUpdate: false,
displayExam: 2,
flag: 1,
};
},
computed: {
......@@ -221,7 +222,7 @@ export default {
this.projectId = vm.getUrlSearch(window.location.href, "id");
this.curmbThird = vm.getUrlSearch(window.location.href, "projectName");
this.getDisplay();
this.getRegionOption();
// this.getRegionOption();
},
mounted: function() {
commonUtil.resizeHeight();
......@@ -239,6 +240,9 @@ export default {
vm.showOriginal = res.data.status;
vm.roleType = res.data.roleType;
vm.displayExam = res.data.existExam;
vm.flag = res.data.flag;
vm.getRegionOption();
}
});
},
......@@ -354,8 +358,9 @@ export default {
},
//获取地区
getRegionOption() {
// this.optionsRegion = operationData.getRegionOption();
if(vm.flag == 2 && vm.roleType == "L1") {
this.optionsRegion = [{id: 11, provinceId: 330, provinceName: "浙江省",value: 330, label: "浙江省"}]
} else {
let req = {};
openLoading(vm);
vm.GET("basic-data/position/provinces", req).then(res => {
......@@ -367,6 +372,7 @@ export default {
// console.log("this.optionsRegion", this.optionsRegion);
}
});
}
},
getOrganizationList() {
this.organizationList = [
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册