| | |
| | | }, |
| | | mutations: { |
| | | ADD_TAG: (state, action) => { |
| | | if (typeof action.name == 'function') action.name = action.name(action.query) |
| | | if (typeof action.name === 'function') action.name = action.name(action.query) |
| | | state.tag = action |
| | | setStore({ name: 'tag', content: state.tag }) |
| | | if (state.tagList.some(ele => ele.fullPath == action.fullPath)) return |
| | | if (state.tagList.some(ele => ele.fullPath === action.fullPath)) return |
| | | state.tagList.push(action) |
| | | setStore({ name: 'tagList', content: state.tagList }) |
| | | }, |
| | |
| | | <template #default="scope"> |
| | | <span |
| | | :class=" |
| | | scope.row.status == 1 |
| | | scope.row.status === 1 |
| | | ? 'pending ' |
| | | : scope.row.status == 2 |
| | | : scope.row.status === 2 |
| | | ? 'distributed' |
| | | : scope.row.status == 3 |
| | | : scope.row.status === 3 |
| | | ? 'finish ' |
| | | : scope.row.status == 4 |
| | | : scope.row.status === 4 |
| | | ? 'cancel ' |
| | | : 'fail ' |
| | | " |
| | | > |
| | | {{ |
| | | scope.row.status == 1 |
| | | scope.row.status === 1 |
| | | ? '待执行' |
| | | : scope.row.status == 2 |
| | | : scope.row.status === 2 |
| | | ? '执行中' |
| | | : scope.row.status == 3 |
| | | : scope.row.status === 3 |
| | | ? '完成' |
| | | : scope.row.status == 4 |
| | | : scope.row.status === 4 |
| | | ? '取消' |
| | | : '失败' |
| | | }} |
| | |
| | | const handleReset = () => { |
| | | dateRange.value = null |
| | | Object.keys(searchForm).forEach(key => { |
| | | if (key == 'start_date' || key == 'end_date') { |
| | | if (key === 'start_date' || key === 'end_date') { |
| | | searchForm[key] = null |
| | | } else if (key == 'ai_types') { |
| | | } else if (key === 'ai_types') { |
| | | searchForm[key] = [] |
| | | } else { |
| | | searchForm[key] = '' |
| | |
| | | infinite-scroll-immediate="true" |
| | | > |
| | | <div |
| | | :class="[index % 2 == 1 ? 'table-itemeven' : 'table-item']" |
| | | :class="[index % 2 === 1 ? 'table-itemeven' : 'table-item']" |
| | | v-for="(item, index) in tableList" |
| | | :key="index" |
| | | > |
| | |
| | | > |
| | | <div |
| | | class="table-item" |
| | | :class="[index % 2 == 1 ? '' : 'table-item-odd']" |
| | | :class="[index % 2 === 1 ? '' : 'table-item-odd']" |
| | | v-for="(item, index) in tableList" |
| | | :key="index" |
| | | @click="signMachineNestClick(item)" |
| | | |
| | | |
| | | > |
| | | <div class="name"> |
| | | <img class="imageicon" :src="overviewnextWay" alt="" /> |
| | |
| | | |
| | | let polygon = {} |
| | | |
| | | if (item.name == '县') { |
| | | if (item.name === '县') { |
| | | let material = new PolyGradientMaterial({ |
| | | color: Cesium.Color.fromCssColorString(arrColor[randomInt]), |
| | | opacity: 0.7, |
| | |
| | | const height = newValue?.height - res?.height; |
| | | //针对西安实时高度进行降低 |
| | | const wId = localStorage.getItem('bs_workspace_id'); |
| | | if (wId == 'f47ac10b-58cc-4372-a567-0e02b2c3d479') { |
| | | if (wId === 'f47ac10b-58cc-4372-a567-0e02b2c3d479') { |
| | | detailInfo.value.height = reduceHeight(height); |
| | | } else { |
| | | detailInfo.value.height = height.toFixed(1) || '--'; |
| | |
| | | newValue.deviceInfo[ |
| | | deviceInfo.value.dock.basic_osd?.sub_device?.device_sn ?? |
| | | osdVisible.sn |
| | | ]?.mode_code == undefined || newValue.deviceInfo[ |
| | | ]?.mode_code === undefined || newValue.deviceInfo[ |
| | | deviceInfo.value.dock.basic_osd?.sub_device?.device_sn ?? |
| | | osdVisible.sn |
| | | ]?.mode_code == 14 |