fix: BUG修改

This commit is contained in:
kun 2024-02-28 18:16:01 +08:00
parent 1887b53e01
commit 2d1b3892ac
13 changed files with 283 additions and 260 deletions

View File

@ -69,7 +69,7 @@ const routes = [{
}, },
{ {
path: 'towerCraneList', //塔吊管理 基本信息 path: 'towerCraneList', //塔吊管理 基本信息
name: '塔吊管理_设备管理', name: '塔吊管理_设备管理1',
component: resolve => require(['../views/projectFront/towerCrane/basicInfo.vue'], resolve) component: resolve => require(['../views/projectFront/towerCrane/basicInfo.vue'], resolve)
}, },
// { // {
@ -84,7 +84,7 @@ const routes = [{
// }, // },
{ {
path: 'lifterBasicInfo', //升降机管理 基本信息 path: 'lifterBasicInfo', //升降机管理 基本信息
name: '升降机管理_设备管理', name: '升降机管理_设备管理1',
component: resolve => require(['../views/projectFront/lifter/basicInfo.vue'], resolve) component: resolve => require(['../views/projectFront/lifter/basicInfo.vue'], resolve)
}, { }, {
path: 'waterDevManage', // path: 'waterDevManage', //

View File

@ -83,11 +83,11 @@ if (process.env.NODE_ENV == 'development') {
// axios.defaults.baseURL ='http://101.43.164.214:45001/' //上海张江 // axios.defaults.baseURL ='http://101.43.164.214:45001/' //上海张江
// axios.defaults.baseURL ='http://101.43.164.214:45011/' //上海优益(上海建工) // axios.defaults.baseURL ='http://101.43.164.214:45011/' //上海优益(上海建工)
// axios.defaults.baseURL = 'http://192.168.34.221:28889/' //郭圣雄本地 // axios.defaults.baseURL = 'http://192.168.34.221:28889/' //郭圣雄本地
axios.defaults.baseURL ='http://192.168.34.221:9111/' //郭圣雄本地 // axios.defaults.baseURL ='http://192.168.34.221:9111/' //郭圣雄本地
// axios.defaults.baseURL = 'http://182.90.224.237:51234' //郭圣雄远程 // axios.defaults.baseURL = 'http://182.90.224.237:51234' //郭圣雄远程
// 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/'//中建四局(沙湖)线上(最新)地址

View File

@ -208,6 +208,8 @@ function handler(data, sn) {
router.push('/projectIndex') router.push('/projectIndex')
} else if (data.styleType == 2) { } else if (data.styleType == 2) {
router.push('/projectV2/taskList') router.push('/projectV2/taskList')
} else if (data.styleType == 7) {
router.push('/projectIndex')
} else { } else {
router.push('/projectV3/taskList') router.push('/projectV3/taskList')
} }

View File

@ -69,7 +69,7 @@ const routes = [{
}, },
{ {
path: 'towerCraneList', //塔吊管理 基本信息 path: 'towerCraneList', //塔吊管理 基本信息
name: '塔吊管理_设备管理', name: '塔吊管理_设备管理2',
component: resolve => require(['../views/projectFront/towerCrane/basicInfo.vue'], resolve) component: resolve => require(['../views/projectFront/towerCrane/basicInfo.vue'], resolve)
}, },
// { // {

File diff suppressed because it is too large Load Diff

View File

@ -5,7 +5,7 @@ export default {
//中建四局项目 //中建四局项目
{ {
path: 'command', path: 'command',
name: '指挥中心', name: '指挥中心2',
component: () => import('@/views/projectAdmin/fourEngin/command') component: () => import('@/views/projectAdmin/fourEngin/command')
}, },
{ {
@ -15,42 +15,42 @@ export default {
}, },
{ {
path: 'sourse', path: 'sourse',
name: '资源管理', name: '资源管理1',
component: () => import('@/views/projectAdmin/fourEngin/sourse') component: () => import('@/views/projectAdmin/fourEngin/sourse')
}, },
{ {
path: 'progress', path: 'progress',
name: '进度管理', name: '进度管理1',
component: () => import('@/views/projectAdmin/fourEngin/progress') component: () => import('@/views/projectAdmin/fourEngin/progress')
}, },
{ {
path: 'security', path: 'security',
name: '安全管理', name: '安全管理1',
component: () => import('@/views/projectAdmin/fourEngin/security') component: () => import('@/views/projectAdmin/fourEngin/security')
}, },
{ {
path: 'quality', path: 'quality',
name: '质量管理', name: '质量管理1',
component: () => import('@/views/projectAdmin/fourEngin/quality') component: () => import('@/views/projectAdmin/fourEngin/quality')
}, },
{ {
path: 'carbon', path: 'carbon',
name: '双碳管理', name: '双碳管理1',
component: () => import('@/views/projectAdmin/fourEngin/carbon') component: () => import('@/views/projectAdmin/fourEngin/carbon')
}, },
{ {
path: 'monitor', path: 'monitor',
name: '监控大屏', name: '监控大屏1',
component: () => import('@/views/projectAdmin/fourEngin/monitor') component: () => import('@/views/projectAdmin/fourEngin/monitor')
}, },
{ {
path: 'govComp', path: 'govComp',
name: '政企联合', name: '政企联合1',
component: () => import('@/views/projectAdmin/fourEngin/govComp') component: () => import('@/views/projectAdmin/fourEngin/govComp')
}, },
{ {
path: 'cloudBased', path: 'cloudBased',
name: '云端建造', name: '云端建造1',
component: () => import('@/views/projectAdmin/fourEngin/cloudBased') component: () => import('@/views/projectAdmin/fourEngin/cloudBased')
}, },

View File

@ -4,7 +4,7 @@ export default {
children:[ children:[
{ {
path: 'command', path: 'command',
name: '指挥中心', name: '指挥中心1',
component: () => import('@/views/projectAdmin/zjsj/command') component: () => import('@/views/projectAdmin/zjsj/command')
}, },
{ {
@ -14,12 +14,12 @@ export default {
}, },
{ {
path: 'sourse', path: 'sourse',
name: '资源管理', name: '资源管理2',
component: () => import('@/views/projectAdmin/zjsj/sourse') component: () => import('@/views/projectAdmin/zjsj/sourse')
}, },
{ {
path: 'progress', path: 'progress',
name: '进度管理', name: '进度管理2',
component: () => import('@/views/projectAdmin/zjsj/progress') component: () => import('@/views/projectAdmin/zjsj/progress')
}, },
{ {

View File

@ -46,19 +46,19 @@ export default new Vuex.Store({
PAGESIZRS: [10, 20, 30, 50], PAGESIZRS: [10, 20, 30, 50],
// 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/',// 百色
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/',//郭圣雄
// UPLOADURL:'http://10.0.1.43:6023/upload/image',//测试 // UPLOADURL:'http://10.0.1.43:6023/upload/image',//测试
// FILEURL:'http://10.0.1.43:6023/image/',//测试 // FILEURL:'http://10.0.1.43:6023/image/',//测试
BASEURL: baseUrl BASEURL: baseUrl
? baseUrl ? baseUrl
: window.location.protocol + "//" + window.location.host + "/", //正式环境 : window.location.protocol + "//" + window.location.host + "/", //正式环境
// UPLOADURL: UPLOADURL:
// window.location.protocol + window.location.protocol +
// "//" + "//" +
// window.location.host + window.location.host +
// "/upload/image", //正式环境 "/upload/image", //正式环境
// FILEURL: window.location.protocol + "//" + window.location.host + "/image/", //正式环境 FILEURL: window.location.protocol + "//" + window.location.host + "/image/", //正式环境
//--------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------
// BASEURL: baseUrl // BASEURL: baseUrl
// ? baseUrl // ? baseUrl

View File

@ -844,6 +844,8 @@ export default {
this.$router.push('/projectIndex') this.$router.push('/projectIndex')
} else if (data.styleType == 2) { } else if (data.styleType == 2) {
this.$router.push('/projectV2/taskList') this.$router.push('/projectV2/taskList')
} else if (data.styleType == 7) {
this.$router.push('/projectIndex')
} else { } else {
this.$router.push('/projectV3/taskList') this.$router.push('/projectV3/taskList')
} }

View File

@ -44,6 +44,24 @@ export default {
data() { data() {
return { return {
contentList: [ contentList: [
{
time: '2024-02-27',
question: 1,
utils: '广州市建设工程安全监督站',
safe: '卢位昌、王章浩',
type: '安全',
position: '地上结构',
change: '是'
},
{
time: '2024-02-19',
question: 1,
utils: '广州市建设工程安全监督站',
safe: '卢位昌、王章浩',
type: '安全',
position: '地上结构',
change: '是'
},
{ {
time: '2023-01-25', time: '2023-01-25',
question: 1, question: 1,

View File

@ -106,15 +106,16 @@ export default {
this.typeId = res.result[0].id; this.typeId = res.result[0].id;
} else { } else {
res.result.forEach((element) => { res.result.forEach((element) => {
if (element.name === "幕墙(㎡)") { if (element.name === "混凝土(m³)") {
this.typeId = element.id; this.typeId = element.id;
} }
}); });
} }
const currentDate = new Date(); // // const currentDate = new Date(); //
// 11 // // 11
currentDate.setMonth(0); // currentDate.setMonth(0);
this.checkDate = moment(currentDate).format("YYYY-MM"); // this.checkDate = moment(currentDate).format("YYYY-MM");
this.checkDate = "2023-01"
this.getData(); this.getData();
} }

View File

@ -379,13 +379,14 @@ export default {
this.typeId = res.result[0].id this.typeId = res.result[0].id
} else { } else {
res.result.forEach(element => { res.result.forEach(element => {
if (element.name === '幕墙(㎡)') { if (element.name === '混凝土(m³)') {
this.typeId = element.id this.typeId = element.id
} }
}) })
} }
const currentDate = new Date(); // // const currentDate = new Date(); //
this.checkDate = moment(currentDate).format("YYYY"); // this.checkDate = moment(currentDate).format("YYYY");
this.checkDate = "2023"
this.getgetPassConsumeRatioList() this.getgetPassConsumeRatioList()
this.isblock = true this.isblock = true
} }

View File

@ -328,7 +328,7 @@ export default {
}, },
// //
getAllModule(half) { getAllModule(half) {
getAllModuleApi({ moduleType: 2 }).then((res) => { getAllModuleApi({ moduleType: 2, styleType: this.$store.state.userInfo.styleType }).then((res) => {
if (res.success) { if (res.success) {
var all = res.result; var all = res.result;
console.log("all", all); console.log("all", all);
@ -342,7 +342,6 @@ export default {
}); });
}); });
this.list = all; this.list = all;
console.log(this.list);
this.$nextTick(() => { this.$nextTick(() => {
var projectIndex = document.getElementById("projectIndex"); var projectIndex = document.getElementById("projectIndex");