Merge remote-tracking branch 'origin/master' into master
| | |
| | | // IMG_API: '"http://220.171.99.118:4100/upload/"', |
| | | // BASE_API: '"http://192.168.0.35:8006"', |
| | | // // IMG_API: '"http://192.168.0.35:8006/upload/"', |
| | | // BASE_API: '"http://192.168.0.35:8006"', |
| | | // IMG_API: '"http://192.168.0.35:8006/upload/"', |
| | | BASE_API: '"http://192.168.0.35:8006"', |
| | | IMG_API: '"http://192.168.0.35:8006/upload/"', |
| | | // BASE_API: '"http://192.168.0.62:8006"', |
| | | // IMG_API: '"http://192.168.0.62:8006/upload/"', |
| | | BASE_API: '"http://222.92.213.22:8006/zhongtai"', |
| | | IMG_API: '"http://222.92.213.22:8006/zhongtai/upload/"', |
| | | // BASE_API: '"http://222.92.213.22:8006/zhongtai"', |
| | | // IMG_API: '"http://222.92.213.22:8006/zhongtai/upload/"', |
| | | NANO_API: '"http://222.92.213.22:8006/nanoweb"', |
| | | ZT_API:'"http://123.56.127.115:8011"' |
| | | // BASE_API: '"http://localhost:8006"', |
| | |
| | | }, o.ScreenSpaceEventType.LEFT_DOUBLE_CLICK) |
| | | }, |
| | | endDraw: function () { |
| | | debugger |
| | | if (!this._enabled) return this; |
| | | this._positions_draw.length < this._minPointNum || (this.updateAttrForDrawing(), this.disable()) |
| | | }, |
| | | finish: function () { |
| | | debugger |
| | | var e = this.entity; |
| | | e.editing = this.getEditClass(e), e._positions_draw = this.getDrawPosition(), e.polyline.positions = new o.CallbackProperty(function (t) { |
| | | return e._positions_draw |
| | |
| | | }]), e |
| | | }() |
| | | }]) |
| | | }); |
| | | }); |
| | |
| | | }, |
| | | removeHandle(label) { |
| | | if (!global.map) return; |
| | | debugger |
| | | for(let i in this.colorMapList){ |
| | | if(JSON.parse(this.colorMapList[i].properties).attr.id === label.attr.id){ |
| | | deleteColorMap({id:this.colorMapList[i].id}).then(res =>{ |
| | |
| | | this.dialogVisible = true; |
| | | }, |
| | | handleRemove(file){ |
| | | debugger |
| | | return this.$confirm(`确定移除 ${ file.name }?`,'提示',{ |
| | | confirmButtonText:'确定', |
| | | cancelButtonText:'取消', |
| | |
| | | } |
| | | }, |
| | | downloadFile(value){ |
| | | debugger |
| | | if(value.problem.imageInfoList === null){ |
| | | this.$message({ |
| | | type:'warning', |
| | |
| | | this.controlActionVisible = false |
| | | if(this.title === '新建巡检计划设定'){ |
| | | if(value){ |
| | | debugger |
| | | this.inspectionPointData = JSON.parse(JSON.stringify(value.map( item => { |
| | | return { |
| | | id:item.id, |
| | |
| | | this.inspectionPointData = res.data.result.checkContents |
| | | }, |
| | | keepValue(value){ |
| | | debugger |
| | | this.keepValueList = value |
| | | } |
| | | } |
| | |
| | | }else{ |
| | | this.ifShow = true |
| | | this.title = '编辑巡检计划设定' |
| | | debugger |
| | | // this.noticeDepartment = this.handleDepartment(JSON.parse(JSON.stringify(value)).noticeUid) |
| | | // this.changeNotice() |
| | | this.execDepartment = this.handleDepartment(JSON.parse(JSON.stringify(value)).execUid) |
| | |
| | | } |
| | | }, |
| | | handleDepartment(value){ |
| | | debugger |
| | | let department = '' |
| | | for(let i in this.userList){ |
| | | if(this.userList[i].id === value){ |
| | |
| | | async getChart() { |
| | | let res = await getDepartmentChart() |
| | | if(res.data.code === '200') { |
| | | debugger |
| | | this.numData = res.data.result.map(item =>{ |
| | | return item["count"] |
| | | }) |
| | |
| | | submitSafetyRiskSpace(){ |
| | | this.$refs["safetyRiskSpaceForm"].validate((valid) =>{ |
| | | if(valid){ |
| | | debugger |
| | | addSafetyRiskSpace(this.safetyRiskSpaceForm).then((res)=>{ |
| | | if(res.data.code === '200'){ |
| | | this.safetyRiskSpaceVisible = false |
| | |
| | | }, |
| | | onFileSuccess(response){ |
| | | if(response.code === '200'){ |
| | | debugger |
| | | this.safetyRiskSpaceForm.img = response.result.path |
| | | this.fileList = [] |
| | | this.fileList.push({url:process.env.IMG_API + response.result.path}) |
| | |
| | | } |
| | | }, |
| | | handleFile(file){ |
| | | debugger |
| | | this.dialogImageUrl = file.url; |
| | | this.dialogVisible = true; |
| | | }, |
| | |
| | | .login-container { |
| | | min-height: 100%; |
| | | width: 100%; |
| | | background: url("../../assets/bg_login.png") center no-repeat; |
| | | background: url("../../assets/bg.jpg") center no-repeat; |
| | | //background-size: auto 100%; |
| | | // background-color: #2d3a4b; |
| | | overflow: hidden; |
| | |
| | | methods:{ |
| | | openReviewInfo(value){ |
| | | this.reviewInfoDialog = true |
| | | debugger |
| | | this.activities = JSON.parse(JSON.stringify(value.taskReviews)) |
| | | for(let i in this.activities){ |
| | | if(this.activities[i].pictures !== null && this.activities[i].pictures.length !== 0){ |
| | |
| | | }, |
| | | methods: { |
| | | async getTaskData(){ |
| | | debugger |
| | | this.loginForm = JSON.parse(Cookies.get('loginForm')) |
| | | this.listLoading = true |
| | | let params = {} |
| | |
| | | methods:{ |
| | | openReviewInfo(value){ |
| | | this.reviewInfoDialog = true |
| | | debugger |
| | | this.activities = JSON.parse(JSON.stringify(value.taskReviews)) |
| | | for(let i in this.activities){ |
| | | if(this.activities[i].pictures !== null && this.activities[i].pictures.length !== 0){ |