This commit is contained in:
骆乐 2022-07-18 16:57:42 +08:00
parent ef3f315905
commit f58a8d1a44
6 changed files with 14 additions and 10 deletions

BIN
dist.zip

Binary file not shown.

View File

@ -45,16 +45,16 @@ export default new Vuex.Store({
// UPLOADURL:'http://10.0.1.43:6023/upload/image',//测试
// FILEURL:'http://10.0.1.43:6023/image/',//测试
BASEURL: baseUrl?baseUrl:window.location.protocol + '//' + window.location.host + '/', //
// UPLOADURL: window.location.protocol + '//' + window.location.host + '/upload/image', //
// FILEURL: window.location.protocol + '//' + window.location.host + '/image/',//测试
UPLOADURL: window.location.protocol + '//' + window.location.host + '/upload/image', //
FILEURL: window.location.protocol + '//' + window.location.host + '/image/',//测试
/* 2022-05-16 */
// tag: 部署河南项目时,需要打开这两行代码
// UPLOADURL: 'http://124.71.178.44:100/upload/image',
// FILEURL: 'http://124.71.178.44:100/image/',
/* 2022-06-06 */ // tag: 本地测试接口
UPLOADURL: 'http://192.168.34.125:6023/upload/image',
FILEURL: 'http://192.168.34.125:6023/image/',
// UPLOADURL: 'http://192.168.34.125:6023/upload/image',
// FILEURL: 'http://192.168.34.125:6023/image/',
// UPLOADURL:'http://'+"61.190.32.219:9050"+'/upload/image',//正式
// FILEURL:'http://'+"61.190.32.219:9050"+'/image/',//正式
ACCOUNTTYPE: ['系统管理员', '企业一级管理员', '企业二级管理员', '企业三级管理员', '项目管理员'], //1系统管理员2企业管理员账号3企业区账号4企业市账号5项目账号

View File

@ -361,7 +361,13 @@ export default {
},
//
goProjectQu(value){
console.log('value',value)
console.log('进去衢州',value)
this.$store.commit("setProjectSn", value.projectSn);
this.$store.commit("setProDetail", value);
this.$store.commit("changeMouduleIndex", 0);
this.$store.commit("changeSecondMenuIndex", 0);
this.$store.commit("changeThirdMenuIndex", 0);
this.$store.commit("changeFourMenuIndex", 0);
let routeUrl = this.$router.resolve({
path: '/projectV3/taskList'
});

View File

@ -299,7 +299,7 @@
>
<img v-if="cardForm[`edu${i === 1 ? 'Before': i === 2 ? 'In' : 'After'}Photo`]"
:src="$store.state.FILEURL + cardForm[`edu${i === 1 ? 'Before': i === 2 ? 'In' : 'After'}Photo`]"
class="photo">
class="photo" />
<template v-else>
<i class="el-icon-plus avatar-uploader-icon"></i>
<span>培训{{i === 1 ? '前' : i === 2 ? '中' : '后'}}</span>

View File

@ -56,8 +56,7 @@ export default {
projectSn: this.$store.state.projectSn,
};
getProjectDetail(data).then((res) => {
// console.log(res);
console.log('找数据',res)
if (res.code == 200) {
this.projectName = res.result.projectName;
document.title = this.projectName;

View File

@ -174,8 +174,7 @@ export default {
projectSn: this.$store.state.projectSn,
};
getProjectDetail(data).then((res) => {
// console.log(res);
console.log('找数据',res);
this.projectDetail=res.result
document.title = res.result.projectName;
this.$store.commit("setProDetail", res.result);