木垒需求部分同步标准版
This commit is contained in:
parent
56e1e522b3
commit
ed2bb6757f
@ -180,12 +180,12 @@ if (process.env.NODE_ENV == "development") {
|
|||||||
// axios.defaults.baseURL = 'http://192.168.34.221:28890/' //郭圣雄本地
|
// axios.defaults.baseURL = 'http://192.168.34.221:28890/' //郭圣雄本地
|
||||||
// axios.defaults.baseURL = "http://192.168.34.221:9111/"; //郭圣雄本地
|
// axios.defaults.baseURL = "http://192.168.34.221:9111/"; //郭圣雄本地
|
||||||
// axios.defaults.baseURL = "http://192.168.34.221:19112/"; //郭圣雄本地
|
// axios.defaults.baseURL = "http://192.168.34.221:19112/"; //郭圣雄本地
|
||||||
axios.defaults.baseURL = 'http://192.168.34.155:19111/' //彭洁本地
|
// axios.defaults.baseURL = 'http://192.168.34.155:19111/' //彭洁本地
|
||||||
// axios.defaults.baseURL = 'http://182.90.224.237:51234/' //郭圣雄远程
|
// axios.defaults.baseURL = 'http://182.90.224.237:51234/' //郭圣雄远程
|
||||||
// axios.defaults.baseURL = 'http://jxj.zhgdyun.com:61212/' //彭洁远程
|
// axios.defaults.baseURL = 'http://jxj.zhgdyun.com:61212/' //彭洁远程
|
||||||
// axios.defaults.baseURL ='http://101.43.164.214:45020/' //沈阳和盈
|
// axios.defaults.baseURL ='http://101.43.164.214:45020/' //沈阳和盈
|
||||||
// axios.defaults.baseURL ='http://183.249.224.118:9000/' //嘉兴王江泾公用码头
|
// axios.defaults.baseURL ='http://183.249.224.118:9000/' //嘉兴王江泾公用码头
|
||||||
// axios.defaults.baseURL = 'http://101.43.164.214:11111/' // 百色三标段项目
|
axios.defaults.baseURL = 'http://101.43.164.214:11111/' // 百色三标段项目
|
||||||
// axios.defaults.baseURL = 'http://125.88.207.86:8088/'//中建四局线上(最新)地址
|
// axios.defaults.baseURL = 'http://125.88.207.86:8088/'//中建四局线上(最新)地址
|
||||||
// axios.defaults.baseURL = 'http://125.88.207.86:8099/'//中建四局(沙湖)线上(最新)地址
|
// axios.defaults.baseURL = 'http://125.88.207.86:8099/'//中建四局(沙湖)线上(最新)地址
|
||||||
// axios.defaults.baseURL = 'http://jxj.zhgdyun.com:15551/'//测试地址
|
// axios.defaults.baseURL = 'http://jxj.zhgdyun.com:15551/'//测试地址
|
||||||
|
|||||||
@ -154,7 +154,7 @@
|
|||||||
</p>
|
</p>
|
||||||
<p
|
<p
|
||||||
v-show="
|
v-show="
|
||||||
$route.path.indexOf('projectIndex') != -1 &&
|
($route.path.indexOf('projectIndex') != -1 || $route.path.indexOf('equipmentCenter') != -1) &&
|
||||||
$store.state.userInfo.projectKanban == 0 &&
|
$store.state.userInfo.projectKanban == 0 &&
|
||||||
company != 'agjt'
|
company != 'agjt'
|
||||||
"
|
"
|
||||||
|
|||||||
@ -360,14 +360,18 @@ export default {
|
|||||||
// 收起popover
|
// 收起popover
|
||||||
this.visible = false;
|
this.visible = false;
|
||||||
}
|
}
|
||||||
|
const isEquipmentCenter = this.$route.path.indexOf("equipmentCenter") == -1
|
||||||
if (this.workSpaceShow) {
|
if (this.workSpaceShow) {
|
||||||
if (this.$route.path.indexOf("supplier") == -1) {
|
if (this.$route.path.indexOf("supplier") == -1) {
|
||||||
this.$router.push("/workSpace");
|
isEquipmentCenter ? this.$router.push("/workSpace") : window.open("/#/workSpace", "_self");
|
||||||
|
// this.$router.push("/workSpace")
|
||||||
} else {
|
} else {
|
||||||
this.$router.push("/supplierIndex");
|
isEquipmentCenter ? this.$router.push("/supplierIndex") : window.open("/#/supplierIndex", "_self");
|
||||||
|
// this.$router.push("/supplierIndex");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.$router.push("/projectIndex");
|
isEquipmentCenter ? this.$router.push("/projectIndex") : window.open("/#/projectIndex", "_self");
|
||||||
|
// this.$router.push("/projectIndex");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
filterNode(value, data) {
|
filterNode(value, data) {
|
||||||
|
|||||||
@ -56,13 +56,13 @@ export default new Vuex.Store({
|
|||||||
// FILEURL: 'http://1.13.185.209:9820/image/', // 中科佳成
|
// FILEURL: 'http://1.13.185.209:9820/image/', // 中科佳成
|
||||||
// UPLOADURL: 'http://8.136.222.164:8808/upload/image/', // 中科安信
|
// UPLOADURL: 'http://8.136.222.164:8808/upload/image/', // 中科安信
|
||||||
// FILEURL: 'http://8.136.222.164:8808/image/', // 中科安信
|
// FILEURL: 'http://8.136.222.164:8808/image/', // 中科安信
|
||||||
// UPLOADURL: 'http://101.43.164.214:11111/upload/image/', // 百色
|
UPLOADURL: 'http://101.43.164.214:11111/upload/image/', // 百色
|
||||||
// FILEURL: 'http://101.43.164.214:11111/image/', // 百色
|
FILEURL: 'http://101.43.164.214:11111/image/', // 百色
|
||||||
WORKFLOWURL: "http://101.43.164.214:11129/#/workspace/forms", // 百色
|
WORKFLOWURL: "http://101.43.164.214:11129/#/workspace/forms", // 百色
|
||||||
// UPLOADURL:'http://182.90.224.237:51234/upload/image/',
|
// UPLOADURL:'http://182.90.224.237:51234/upload/image/',
|
||||||
// FILEURL:'http://182.90.224.237:51234/image/',
|
// FILEURL:'http://182.90.224.237:51234/image/',
|
||||||
UPLOADURL: "http://http://192.168.34.155:19111/upload/image/", // 洁本地
|
// UPLOADURL: "http://http://192.168.34.155:19111/upload/image/", // 洁本地
|
||||||
FILEURL: "http://http://192.168.34.155:19111/image/", //洁本地
|
// FILEURL: "http://http://192.168.34.155:19111/image/", //洁本地
|
||||||
// UPLOADURL: 'http://192.168.34.221:9111/upload/image/', // 郭圣雄本地
|
// UPLOADURL: 'http://192.168.34.221:9111/upload/image/', // 郭圣雄本地
|
||||||
// FILEURL: 'http://192.168.34.221:9111/image/', //郭圣雄本地
|
// FILEURL: 'http://192.168.34.221:9111/image/', //郭圣雄本地
|
||||||
// WORKFLOWURL: "http://192.168.34.216:88/#/workspace/forms", //jiayu工作流地址(本地)
|
// WORKFLOWURL: "http://192.168.34.216:88/#/workspace/forms", //jiayu工作流地址(本地)
|
||||||
|
|||||||
@ -143,7 +143,7 @@ export default {
|
|||||||
if (localStorage.getItem("systemInfo")) {
|
if (localStorage.getItem("systemInfo")) {
|
||||||
this.systemInfo = JSON.parse(localStorage.getItem("systemInfo"));
|
this.systemInfo = JSON.parse(localStorage.getItem("systemInfo"));
|
||||||
}
|
}
|
||||||
document.title = "企业后台";
|
// document.title = "企业后台";
|
||||||
console.log("mounted", this.$route.path);
|
console.log("mounted", this.$route.path);
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
let timer = setTimeout(() => {
|
let timer = setTimeout(() => {
|
||||||
|
|||||||
@ -343,6 +343,7 @@ var arr = this.$store.state.userInfo.menuAuthority.moduleList
|
|||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
this.projectName = res.result.projectName;
|
this.projectName = res.result.projectName;
|
||||||
this.headerName += ' - ' + res.result.projectName
|
this.headerName += ' - ' + res.result.projectName
|
||||||
|
document.title = this.projectName;
|
||||||
this.$store.commit('setProDetail',res.result)
|
this.$store.commit('setProDetail',res.result)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@ -122,7 +122,7 @@ export default {
|
|||||||
if(localStorage.getItem('systemInfo')){
|
if(localStorage.getItem('systemInfo')){
|
||||||
this.systemInfo=JSON.parse(localStorage.getItem('systemInfo'))
|
this.systemInfo=JSON.parse(localStorage.getItem('systemInfo'))
|
||||||
}
|
}
|
||||||
document.title='企业后台'
|
// document.title='企业后台'
|
||||||
console.log('mounted',this.$route.path)
|
console.log('mounted',this.$route.path)
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
@ -191,7 +191,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
document.title = '消息中心'
|
// document.title = '消息中心'
|
||||||
this.selectNowDate()
|
this.selectNowDate()
|
||||||
this.getListData()
|
this.getListData()
|
||||||
},
|
},
|
||||||
|
|||||||
@ -177,7 +177,7 @@ export default {
|
|||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
// '消息中心'
|
// '消息中心'
|
||||||
document.title = this.$t('message.messageCenter.msgCenter')
|
// document.title = this.$t('message.messageCenter.msgCenter')
|
||||||
this.selectNowDate()
|
this.selectNowDate()
|
||||||
this.getListData()
|
this.getListData()
|
||||||
},
|
},
|
||||||
|
|||||||
@ -147,7 +147,7 @@ export default {
|
|||||||
this.loadWeather()
|
this.loadWeather()
|
||||||
this.enabledProjectV2 = enabledProjectV2
|
this.enabledProjectV2 = enabledProjectV2
|
||||||
// document.title = this.$store.state.currentProDetail.projectName + this.$t('message.dataBoard.dataBoard')
|
// document.title = this.$store.state.currentProDetail.projectName + this.$t('message.dataBoard.dataBoard')
|
||||||
document.title = this.currentProDetail.projectName + this.$t('message.dataBoard.dataBoard')
|
// document.title = this.currentProDetail.projectName + this.$t('message.dataBoard.dataBoard')
|
||||||
this.getAllModule()
|
this.getAllModule()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
@ -96,7 +96,7 @@ export default {
|
|||||||
this.getTime()
|
this.getTime()
|
||||||
this.loadWeather()
|
this.loadWeather()
|
||||||
this.enabledProjectV2=enabledProjectV2
|
this.enabledProjectV2=enabledProjectV2
|
||||||
document.title=this.$store.state.currentProDetail.projectName+this.$t('message.dataBoard.dataBoard')
|
// document.title=this.$store.state.currentProDetail.projectName+this.$t('message.dataBoard.dataBoard')
|
||||||
this.getAllModule()
|
this.getAllModule()
|
||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
|
|||||||
@ -188,7 +188,7 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
document.title='项目总览'
|
// document.title='项目总览'
|
||||||
this.userInfo = this.$store.state.userInfo;
|
this.userInfo = this.$store.state.userInfo;
|
||||||
this.getLayerCompany();
|
this.getLayerCompany();
|
||||||
},
|
},
|
||||||
|
|||||||
@ -152,7 +152,7 @@ export default {
|
|||||||
if(localStorage.getItem('systemInfo')){
|
if(localStorage.getItem('systemInfo')){
|
||||||
this.systemInfo=JSON.parse(localStorage.getItem('systemInfo'))
|
this.systemInfo=JSON.parse(localStorage.getItem('systemInfo'))
|
||||||
}
|
}
|
||||||
document.title='企业后台'
|
// document.title='企业后台'
|
||||||
console.log('mounted',this.$route.path)
|
console.log('mounted',this.$route.path)
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
@ -120,7 +120,7 @@ export default {
|
|||||||
if(localStorage.getItem('systemInfo')){
|
if(localStorage.getItem('systemInfo')){
|
||||||
this.systemInfo=JSON.parse(localStorage.getItem('systemInfo'))
|
this.systemInfo=JSON.parse(localStorage.getItem('systemInfo'))
|
||||||
}
|
}
|
||||||
document.title='企业后台'
|
// document.title='企业后台'
|
||||||
console.log('mounted',this.$route.path)
|
console.log('mounted',this.$route.path)
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user