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