沧州矿石人员定位

5_7_地图同步
zhaoyu 2024-06-11 19:15:59 +08:00
parent 7f0caa34bd
commit e55be0c89f
3 changed files with 73 additions and 9 deletions

View File

@ -49,7 +49,7 @@
<breakgroundCfdD v-if="type === 'BREAKGROUND' && gangkou === '00004'" :id="id" :type="type"/> <breakgroundCfdD v-if="type === 'BREAKGROUND' && gangkou === '00004'" :id="id" :type="type"/>
<hoistingCfdD v-if="type === 'HOISTING' && gangkou === '00004'" :id="id" :type="type"/> <hoistingCfdD v-if="type === 'HOISTING' && gangkou === '00004'" :id="id" :type="type"/>
<peoplePositionCfdD v-if="type === 'peoplePosition'" :id="id" :type="type" :infoname="infoname"/> <peoplePositionCfdD v-if="type === 'peoplePosition'" :id="id" :type="type" :infoname="infoname"/>
<peoplePositionCzks v-if="type === 'peoplePositionCzks'" :id="id" :type="type" /> <peoplePositionCzks v-if="type === 'peoplePositionCzks'" :id="id" :type="type" :ry-dept-name="RyDeptName" :ry-post-name="RyPostName" :ry-real-name="RyRealName" :person-type-name="personTypeName" />
<peoplePositionCmt v-if="type === 'peoplePositionCmt'" :id="id" :type="type" :infoname="infoname"/> <peoplePositionCmt v-if="type === 'peoplePositionCmt'" :id="id" :type="type" :infoname="infoname"/>
<carPositionCfdD v-if="type === 'carPosition'" :id="id" :type="type" :infoname="infoname"/> <carPositionCfdD v-if="type === 'carPosition'" :id="id" :type="type" :infoname="infoname"/>
<!--曹妃甸东 八项作业 曹实业详细页面 end--> <!--曹妃甸东 八项作业 曹实业详细页面 end-->
@ -196,6 +196,26 @@ export default {
name: { name: {
type: String, type: String,
default: '' default: ''
},
personPhoto: {
type: String,
default: ''
},
RyDeptName: {
type: String,
default: ''
},
RyPostName: {
type: String,
default: ''
},
RyRealName: {
type: String,
default: ''
},
personTypeName: {
type: String,
default: ''
} }
}, },
methods: { methods: {

View File

@ -9,19 +9,19 @@
<td><img :src="'http://172.16.130.86/gateway-service/fileStatic/'+personPhoto" alt="" width="50" height="50"> <td><img :src="'http://172.16.130.86/gateway-service/fileStatic/'+personPhoto" alt="" width="50" height="50">
</td> </td>
<td class="bbg-transparent">姓名</td> <td class="bbg-transparent">姓名</td>
<td>{{ info ? info.NAME : '' }}</td> <td >{{ info?info.NAME:RyRealName }}</td>
</tr> </tr>
<tr> <tr>
<td class="bbg-transparent">部门</td> <td class="bbg-transparent">部门</td>
<td>{{ info ? info.DEPARTMENT_NAME : '' }}</td> <td >{{ info?info.DEPARTMENT_NAME:RyDeptName }}</td>
<td class="bbg-transparent">岗位</td> <td class="bbg-transparent">岗位</td>
<td>{{ info ? info.POST_NAME : '' }}</td> <td >{{ info?info.POST_NAME:RyPostName }}</td>
</tr> </tr>
<tr> <tr>
<td class="bbg-transparent">人员类型</td> <td class="bbg-transparent">人员类型</td>
<td>{{ info ? info.PERSON_TYPE : '' }}</td> <td >{{ info?info.PERSON_TYPE:personTypeName }}</td>
<td class="bbg-transparent">是否为隐患确认人</td> <td class="bbg-transparent">是否为隐患确认人</td>
<td>{{ info.IS_HAZARDCONFIRMER == 0 ? '否' : '是' }}</td> <td >{{ info?info.IS_HAZARDCONFIRMER == 1 ?'是':'否' :'否' }}</td>
</tr> </tr>
</table> </table>
</div> </div>
@ -49,6 +49,30 @@ export default {
default() { default() {
return '' return ''
} }
},
RyDeptName: {
type: String,
default() {
return ''
}
},
RyPostName: {
type: String,
default() {
return ''
}
},
RyRealName: {
type: String,
default() {
return ''
}
},
personTypeName: {
type: String,
default() {
return ''
}
} }
}, },
data() { data() {

View File

@ -254,6 +254,11 @@
:gangkou="gangkouActive" :gangkou="gangkouActive"
:infoname="dialog.infoname" :infoname="dialog.infoname"
:name="dialog.name" :name="dialog.name"
:person-photo="dialog.personPhoto"
:ry-dept-name="dialog.RyDeptName"
:ry-post-name="dialog.RyPostName"
:ry-real-name="dialog.RyRealName"
:person-type-name="dialog.personTypeName"
/> />
</div> </div>
</template> </template>
@ -899,7 +904,12 @@ export default {
id: '', id: '',
corpInfoId: '', corpInfoId: '',
width: '', width: '',
infoname: '' infoname: '',
personPhoto: '',
RyDeptName: '',
RyPostName: '',
RyRealName: '',
personTypeName: ''
}, },
/* 曹妃甸使用参数开始*/ /* 曹妃甸使用参数开始*/
// //
@ -1504,7 +1514,7 @@ export default {
this.bubble(id) this.bubble(id)
} }
if (this.gangkouActive === '00002' && point_type === 'peoplePositionCzks') { if (this.gangkouActive === '00002' && point_type === 'peoplePositionCzks') {
const { label, point_type, id, corpInfoId, name, infoname } = pick.id._monitoItems.data const { label, point_type, id, corpInfoId, name, infoname, personPhoto, RyDeptName, RyPostName, RyRealName, personTypeName } = pick.id._monitoItems.data
this.dialog.visible = true this.dialog.visible = true
this.dialog.title = label this.dialog.title = label
this.dialog.type = point_type this.dialog.type = point_type
@ -1512,6 +1522,11 @@ export default {
this.dialog.name = name this.dialog.name = name
this.dialog.infoname = infoname this.dialog.infoname = infoname
this.dialog.corpInfoId = corpInfoId this.dialog.corpInfoId = corpInfoId
this.dialog.personPhoto = personPhoto
this.dialog.RyDeptName = RyDeptName
this.dialog.RyPostName = RyPostName
this.dialog.RyRealName = RyRealName
this.dialog.personTypeName = personTypeName
} }
if (this.gangkouActive === '00004' && point_type.indexOf('标记点') !== -1 && (point_id.substring(0, 1) === '0' || point_id.substring(0, 1) === '3' || point_id.substring(0, 3) === '1_2' || point_id.substring(0, 3) === '2_8')) { if (this.gangkouActive === '00004' && point_type.indexOf('标记点') !== -1 && (point_id.substring(0, 1) === '0' || point_id.substring(0, 1) === '3' || point_id.substring(0, 3) === '1_2' || point_id.substring(0, 3) === '2_8')) {
// if (this.gangkouActive === '00004' && point_type.indexOf('') !== -1 && point_id.substring(0, 1) === '0' || point_id.substring(0, 1) === '5') { // if (this.gangkouActive === '00004' && point_type.indexOf('') !== -1 && point_id.substring(0, 1) === '0' || point_id.substring(0, 1) === '5') {
@ -2676,9 +2691,14 @@ export default {
icon_type: 'img4_0_1', icon_type: 'img4_0_1',
infoname: item.realName, infoname: item.realName,
personPhoto: item.personPhoto, personPhoto: item.personPhoto,
RyDeptName: item.deptName,
RyPostName: item.postName,
RyRealName: item.realName,
personTypeName: item.personTypeName,
data_id: item.cardId + '', data_id: item.cardId + '',
point_type: 'peoplePositionCzks', point_type: 'peoplePositionCzks',
label: item.realName label: item.realName,
} }
czksPerLoc.push(perLoc) czksPerLoc.push(perLoc)
ry_drag.addEntity(perLoc) ry_drag.addEntity(perLoc)