Compare commits

...

3 Commits

4 changed files with 11 additions and 6 deletions

View File

@ -544,8 +544,13 @@ export default {
}, },
toCenter(center = this.center) { toCenter(center = this.center) {
console.log('toCenter', center) console.log('toCenter', center)
this.center.longitude = center.longitude if (this.FIRE_POINT_ID && this.LONGTITUDE && this.LATITUDE && this.LONGTITUDE.trim() != '' && this.LATITUDE.trim() != '') {
this.center.latitude = center.latitude this.center.longitude = this.LONGTITUDE
this.center.latitude = this.LATITUDE
} else {
this.center.longitude = center.longitude
this.center.latitude = center.latitude
}
this.center.height = center.height this.center.height = center.height
viewer.camera.flyTo({ viewer.camera.flyTo({
// ,x,y, // ,x,y,

View File

@ -114,8 +114,8 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="2">时间{{ pd.HOT_WORK_PERSON_PRINCIPAL_TIME }}</td> <td v-if="pd.HOT_WORK_PERSON_PRINCIPAL" colspan="2">{{ pd.HOT_WORK_PERSON_PRINCIPAL_TIME }}</td>
<td colspan="2">时间{{ pd.HOT_WORK_AFTER_PRINCIPAL_TIME }}</td> <td v-if="pd.HOT_WORK_AFTER_PRINCIPAL" colspan="2">{{ pd.HOT_WORK_AFTER_PRINCIPAL_TIME }}</td>
</tr> </tr>
<tr> <tr>
<td class="tbg">延时监火记录</td> <td class="tbg">延时监火记录</td>

View File

@ -193,7 +193,7 @@
</div> </div>
<div class="level-line" /> <div class="level-line" />
<div class="level-title"> <div class="level-title">
<h1>处罚相关</h1> <h1>处罚相关</h1><span style="color: gray; font-size: 12px;">(AI报警的处罚人员为AI报警的处置人)</span>
</div> </div>
<el-divider content-position="left">处罚人员 <el-button type="primary" size="mini" @click="addInspector"></el-button></el-divider> <el-divider content-position="left">处罚人员 <el-button type="primary" size="mini" @click="addInspector"></el-button></el-divider>
<el-form-item v-for="(item,index) in inspectorList" :key="index + (Math.random() + '').replace('.', '')" :label="(index+1)+'.'"> <el-form-item v-for="(item,index) in inspectorList" :key="index + (Math.random() + '').replace('.', '')" :label="(index+1)+'.'">

View File

@ -150,7 +150,7 @@
<div class="level-line" /> <div class="level-line" />
<div class="level-title"> <div class="level-title">
<h1>处罚相关</h1> <h1>处罚相关</h1><span style="color: gray; font-size: 12px;">(AI报警的处罚人员为AI报警的处置人)</span>
</div> </div>
<tr v-for="(item,index) in punishThePerson" :key="index"> <tr v-for="(item,index) in punishThePerson" :key="index">
<td class="tbg">处罚人员部门</td> <td class="tbg">处罚人员部门</td>