成润页面bug修复 -02
This commit is contained in:
parent
5421cb3a94
commit
0f6b5c0c11
@ -22,3 +22,4 @@ export const aiAnalyseHardWareRecordList = data => post('xmgl/aiAnalyseHardWareR
|
|||||||
|
|
||||||
//分页列表查询AI分析硬件设备报警记录信息
|
//分页列表查询AI分析硬件设备报警记录信息
|
||||||
export const aiAnalyseHardWareAlarmRecordApi = data => post('xmgl/aiAnalyseHardWareAlarmRecord/selectPageList', data);
|
export const aiAnalyseHardWareAlarmRecordApi = data => post('xmgl/aiAnalyseHardWareAlarmRecord/selectPageList', data);
|
||||||
|
export const getCrewListDataApi = data => post('xmgl/systemUser/getProjectChilderSystemUserList', data); // 查询 所有整改人员
|
||||||
|
|||||||
@ -87,7 +87,7 @@ if (process.env.NODE_ENV == 'development') {
|
|||||||
// axios.defaults.baseURL = 'http://121.196.214.246/api/'//金林湾线上新
|
// axios.defaults.baseURL = 'http://121.196.214.246/api/'//金林湾线上新
|
||||||
// axios.defaults.baseURL = 'http://42.194.144.62:8088/'//中建四局线上(新)地址
|
// axios.defaults.baseURL = 'http://42.194.144.62:8088/'//中建四局线上(新)地址
|
||||||
// axios.defaults.baseURL = 'http://101.43.164.214:12350'//中建五局线上
|
// axios.defaults.baseURL = 'http://101.43.164.214:12350'//中建五局线上
|
||||||
axios.defaults.baseURL = 'http://182.90.224.147:15551'//港投(成润)项目线上
|
axios.defaults.baseURL = 'http://182.90.224.147:15551/'//港投(成润)项目线上
|
||||||
} else if (process.env.NODE_ENV == 'debug') {
|
} else if (process.env.NODE_ENV == 'debug') {
|
||||||
axios.defaults.baseURL = 'https://www.ceshi.com'
|
axios.defaults.baseURL = 'https://www.ceshi.com'
|
||||||
} else if (process.env.NODE_ENV == 'production') {
|
} else if (process.env.NODE_ENV == 'production') {
|
||||||
@ -96,7 +96,7 @@ if (process.env.NODE_ENV == 'development') {
|
|||||||
axios.defaults.baseURL = window.location.protocol + '//' + host + '/'
|
axios.defaults.baseURL = window.location.protocol + '//' + host + '/'
|
||||||
// axios.defaults.baseURL ='http://192.168.34.216:6023/'
|
// axios.defaults.baseURL ='http://192.168.34.216:6023/'
|
||||||
// axios.defaults.baseURL = window.location.protocol + "//" + host.split(":")[0] + ":6023" + "/"
|
// axios.defaults.baseURL = window.location.protocol + "//" + host.split(":")[0] + ":6023" + "/"
|
||||||
// axios.defaults.baseURL = 'http://zhgd.loganwy.com/'
|
// axios.defaults.baseURL = 'http://zhgd.loganwy.com/`'
|
||||||
}
|
}
|
||||||
|
|
||||||
// tag: 河南
|
// tag: 河南
|
||||||
|
|||||||
@ -168,9 +168,9 @@
|
|||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in options"
|
v-for="item in options"
|
||||||
:key="item.id"
|
:key="item.userId"
|
||||||
:label="item.workerName"
|
:label="item.workerName"
|
||||||
:value="item.id"
|
:value="item.userId"
|
||||||
>
|
>
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
@ -202,7 +202,8 @@ import {
|
|||||||
electricalDevEdit,
|
electricalDevEdit,
|
||||||
electricalDevDelete,
|
electricalDevDelete,
|
||||||
electricalDevList,
|
electricalDevList,
|
||||||
getLaborManagementInfoList
|
getLaborManagementInfoList,
|
||||||
|
getCrewListDataApi
|
||||||
} from '../../../assets/js/api/equipmentCenter/electricBox'
|
} from '../../../assets/js/api/equipmentCenter/electricBox'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@ -332,7 +333,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
getLaborManagementList() {
|
getLaborManagementList() {
|
||||||
getLaborManagementInfoList({ projectSn: this.$store.state.projectSn, workerName: '' }).then(result => {
|
getCrewListDataApi({ projectSn: this.$store.state.projectSn, workerName: '' }).then(result => {
|
||||||
if (result.success) {
|
if (result.success) {
|
||||||
console.log('劳务人员', result);
|
console.log('劳务人员', result);
|
||||||
this.options = result.result;
|
this.options = result.result;
|
||||||
|
|||||||
@ -39,7 +39,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import LeftOne from './leftOne'
|
import LeftOne from './leftOne'
|
||||||
import LeftTwo from './leftTwo'
|
import LeftTwo from './leftTwo'
|
||||||
import LeftThree from './leftThree'
|
import LeftThree from './LeftThree'
|
||||||
import LeftFour from './leftFour'
|
import LeftFour from './leftFour'
|
||||||
import Center from './center'
|
import Center from './center'
|
||||||
import CenterBOne from './centerBOne'
|
import CenterBOne from './centerBOne'
|
||||||
|
|||||||
@ -293,7 +293,9 @@ export default {
|
|||||||
//获取角色配置的菜单
|
//获取角色配置的菜单
|
||||||
getRoleMenu() {
|
getRoleMenu() {
|
||||||
console.log(this.addEditForm.roleId);
|
console.log(this.addEditForm.roleId);
|
||||||
getRoleBaseMenuListApi({ roleId: this.addEditForm.roleId }).then(res => {
|
getRoleBaseMenuListApi({ roleId: this.addEditForm.roleId,
|
||||||
|
|
||||||
|
}).then(res => {
|
||||||
var arr = res.result;
|
var arr = res.result;
|
||||||
// var arr2 = [];
|
// var arr2 = [];
|
||||||
console.log(arr);
|
console.log(arr);
|
||||||
@ -344,7 +346,8 @@ export default {
|
|||||||
//获取项目下模块及菜单
|
//获取项目下模块及菜单
|
||||||
getProjectMenu() {
|
getProjectMenu() {
|
||||||
getProjectModuleGroupMenuListApi({
|
getProjectModuleGroupMenuListApi({
|
||||||
projectSn: this.$store.state.projectSn
|
projectSn: this.$store.state.projectSn,
|
||||||
|
moduleTypes:'2,4',
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
var DATA = res.result;
|
var DATA = res.result;
|
||||||
// DATA.forEach((element,i) => {
|
// DATA.forEach((element,i) => {
|
||||||
|
|||||||
@ -305,7 +305,7 @@ import {
|
|||||||
console.log('编辑', obj);
|
console.log('编辑', obj);
|
||||||
this.addEditForm = JSON.parse(JSON.stringify(obj));
|
this.addEditForm = JSON.parse(JSON.stringify(obj));
|
||||||
if (typeof obj.alarmPushWorkerId === 'string' && obj.alarmPushWorkerId != '') {
|
if (typeof obj.alarmPushWorkerId === 'string' && obj.alarmPushWorkerId != '') {
|
||||||
this.addEditForm.alarmPushWorkerId = obj.alarmPushWorkerId.split(',').map(Number);
|
this.addEditForm.alarmPushWorkerId = obj.alarmPushWorkerId.split(',')
|
||||||
}
|
}
|
||||||
this.handle('edit', true);
|
this.handle('edit', true);
|
||||||
},
|
},
|
||||||
|
|||||||
@ -36,14 +36,15 @@
|
|||||||
</el-checkbox-group>
|
</el-checkbox-group>
|
||||||
|
|
||||||
<!-- 单选 -->
|
<!-- 单选 -->
|
||||||
<el-radio-group oup class="optionsBox" v-model="radio" v-else>
|
<el-radio-group v-for="(data, index2) in item.optionList" v-model="index2" class="optionsBox">
|
||||||
<el-radio
|
<el-radio
|
||||||
|
|
||||||
@change="
|
@change="
|
||||||
(e) => {
|
(e) => {
|
||||||
changeChecked(e, item.questionId, index)
|
changeChecked(e, item.questionId, index)
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
v-for="(data, index2) in item.optionList"
|
|
||||||
:key="data.optionId"
|
:key="data.optionId"
|
||||||
:label="data.optionId"
|
:label="data.optionId"
|
||||||
>{{ indexList[index2] }}、{{ data.optionName }}</el-radio
|
>{{ indexList[index2] }}、{{ data.optionName }}</el-radio
|
||||||
|
|||||||
@ -348,7 +348,7 @@ export default {
|
|||||||
projectSn: this.projectSn,
|
projectSn: this.projectSn,
|
||||||
pageNo: this.pageNo,
|
pageNo: this.pageNo,
|
||||||
pageSize: this.pageSize,
|
pageSize: this.pageSize,
|
||||||
bidSectionId:this.alarmType
|
bidSectionId:this.alarmType,
|
||||||
}
|
}
|
||||||
queryPanoramaNodePlan(data).then(res=>{
|
queryPanoramaNodePlan(data).then(res=>{
|
||||||
if(res.code == 200){
|
if(res.code == 200){
|
||||||
|
|||||||
@ -354,6 +354,9 @@ export default {
|
|||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getListData();
|
this.getListData();
|
||||||
|
this.loadBuildData();
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
editTinfo() {
|
editTinfo() {
|
||||||
@ -365,6 +368,7 @@ export default {
|
|||||||
this.buildList.forEach((element) => {
|
this.buildList.forEach((element) => {
|
||||||
if (element.id == this.editForm.buildId) {
|
if (element.id == this.editForm.buildId) {
|
||||||
this.floorList = element.floorList;
|
this.floorList = element.floorList;
|
||||||
|
console.log('this.floorList------',this.floorList);
|
||||||
this.editForm.floorId = "";
|
this.editForm.floorId = "";
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -393,9 +397,16 @@ export default {
|
|||||||
this.editDialog = true;
|
this.editDialog = true;
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs["editForm"].resetFields();
|
this.$refs["editForm"].resetFields();
|
||||||
this.editForm = {}
|
// this.editForm = {}
|
||||||
|
this.editForm.buildId=''
|
||||||
|
this.editForm.floorId=''
|
||||||
|
this.editForm.concreteTab=''
|
||||||
|
this.editForm.subpackage=''
|
||||||
|
this.editForm.mixingPlant=''
|
||||||
|
this.editForm.designStrength=''
|
||||||
|
this.editForm.pourTime=''
|
||||||
|
this.editForm.planVolume=''
|
||||||
});
|
});
|
||||||
this.loadBuildData();
|
|
||||||
},
|
},
|
||||||
deleteFn(item) {
|
deleteFn(item) {
|
||||||
this.$confirm(
|
this.$confirm(
|
||||||
@ -445,7 +456,7 @@ export default {
|
|||||||
});
|
});
|
||||||
if(item.designStrength){
|
if(item.designStrength){
|
||||||
if(item.designStrength.indexOf(',')){
|
if(item.designStrength.indexOf(',')){
|
||||||
this.editForm.designStrength=item.designStrength.split(',')
|
this.editForm.designStrength=item.designStrength?item.designStrength.split(','):''
|
||||||
}else{
|
}else{
|
||||||
this.editForm.designStrength=[item.designStrength]
|
this.editForm.designStrength=[item.designStrength]
|
||||||
}
|
}
|
||||||
@ -456,7 +467,7 @@ export default {
|
|||||||
if (valid) {
|
if (valid) {
|
||||||
var json = JSON.parse(JSON.stringify(this.editForm))
|
var json = JSON.parse(JSON.stringify(this.editForm))
|
||||||
console.log(this.editForm)
|
console.log(this.editForm)
|
||||||
json.designStrength=this.editForm.designStrength.join(',')
|
json.designStrength=this.editForm.designStrength?this.editForm.designStrength.join(','):''
|
||||||
if (this.isAdd) {
|
if (this.isAdd) {
|
||||||
addElectronPourOrderApi(json).then((res) => {
|
addElectronPourOrderApi(json).then((res) => {
|
||||||
this.editDialog = false;
|
this.editDialog = false;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user