diff --git a/src/components/KeyProjectHidden/index.vue b/src/components/KeyProjectHidden/index.vue
index b3d7267..89b0c09 100644
--- a/src/components/KeyProjectHidden/index.vue
+++ b/src/components/KeyProjectHidden/index.vue
@@ -35,6 +35,10 @@
隐患处置 |
限期整改 |
+
+ 发现时间 |
+ {{ formatDate(pd.CREATTIME,'yyyy-MM-DD HH:mm') }} |
+
整改期限 |
{{ pd.RECTIFICATIONDEADLINE }} |
@@ -145,6 +149,7 @@
import { requestFN } from '@/utils/request'
import { videoPlayer } from 'vue-video-player'
import 'video.js/dist/video-js.css'
+import { formatDate } from 'element-ui/src/utils/date-util'
export default {
components: { videoPlayer },
props: {
@@ -184,9 +189,11 @@ export default {
}
},
created() {
+ this.activeName = this.$parent.previousPage
this.getData()
},
methods: {
+ formatDate,
getData() {
requestFN(
'/keyprojectcheck/findHidden',
@@ -206,6 +213,7 @@ export default {
this.$refs.hdVideoPlayer.player.pause()
},
goBack() {
+ this.$parent.previousPage = true
if (this.activeName) {
this.$parent.activeName = this.activeName
} else {
diff --git a/src/views/gatemachine/area/components/EditDevice.vue b/src/views/gatemachine/second/area/components/EditDevice.vue
similarity index 100%
rename from src/views/gatemachine/area/components/EditDevice.vue
rename to src/views/gatemachine/second/area/components/EditDevice.vue
diff --git a/src/views/gatemachine/area/components/edit.vue b/src/views/gatemachine/second/area/components/edit.vue
similarity index 100%
rename from src/views/gatemachine/area/components/edit.vue
rename to src/views/gatemachine/second/area/components/edit.vue
diff --git a/src/views/gatemachine/area/components/infoList.vue b/src/views/gatemachine/second/area/components/infoList.vue
similarity index 100%
rename from src/views/gatemachine/area/components/infoList.vue
rename to src/views/gatemachine/second/area/components/infoList.vue
diff --git a/src/views/gatemachine/area/components/list.vue b/src/views/gatemachine/second/area/components/list.vue
similarity index 100%
rename from src/views/gatemachine/area/components/list.vue
rename to src/views/gatemachine/second/area/components/list.vue
diff --git a/src/views/gatemachine/area/components/listDevice.vue b/src/views/gatemachine/second/area/components/listDevice.vue
similarity index 100%
rename from src/views/gatemachine/area/components/listDevice.vue
rename to src/views/gatemachine/second/area/components/listDevice.vue
diff --git a/src/views/gatemachine/area/index.vue b/src/views/gatemachine/second/area/index.vue
similarity index 100%
rename from src/views/gatemachine/area/index.vue
rename to src/views/gatemachine/second/area/index.vue
diff --git a/src/views/gatemachine/gateDoor/components/EditDevice.vue b/src/views/gatemachine/second/gateDoor/components/EditDevice.vue
similarity index 100%
rename from src/views/gatemachine/gateDoor/components/EditDevice.vue
rename to src/views/gatemachine/second/gateDoor/components/EditDevice.vue
diff --git a/src/views/gatemachine/gateDoor/components/EditPath.vue b/src/views/gatemachine/second/gateDoor/components/EditPath.vue
similarity index 100%
rename from src/views/gatemachine/gateDoor/components/EditPath.vue
rename to src/views/gatemachine/second/gateDoor/components/EditPath.vue
diff --git a/src/views/gatemachine/gateDoor/components/ListDevice.vue b/src/views/gatemachine/second/gateDoor/components/ListDevice.vue
similarity index 100%
rename from src/views/gatemachine/gateDoor/components/ListDevice.vue
rename to src/views/gatemachine/second/gateDoor/components/ListDevice.vue
diff --git a/src/views/gatemachine/gateDoor/components/edit.vue b/src/views/gatemachine/second/gateDoor/components/edit.vue
similarity index 98%
rename from src/views/gatemachine/gateDoor/components/edit.vue
rename to src/views/gatemachine/second/gateDoor/components/edit.vue
index e3f3c09..6f1a96d 100644
--- a/src/views/gatemachine/gateDoor/components/edit.vue
+++ b/src/views/gatemachine/second/gateDoor/components/edit.vue
@@ -77,14 +77,14 @@ import Pagination from '@/components/Pagination' // 通过 el-pagination二次
import { requestFN } from '@/utils/request'
import SelectTree from '@/components/SelectTree'
import waves from '@/directive/waves'
-import TiandiMap from '../../../../components/TianMap/TiandiMap'
+import TiandiMap from '../../../../../components/TianMap/TiandiMap'
let viewer = null
const Cesium = window.Cesium
Cesium.Ion.defaultAccessToken = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJkOWQ0MGYwMy0yODUwLTQ1YzktOGM4OC02MTMwY2UyZjNlMzQiLCJpZCI6MTY0NTUwLCJpYXQiOjE2OTM4OTU1Mjd9.1cC0sSzyj79LZv0ILNCcl0Mabw6hl8TNngFNFr7H8f4'
var subdomains = ['0', '1', '2', '3', '4', '5', '6', '7']
var tiandituTk = 'e8a16137fd226a62a23cc7ba5c9c78ce'
-const img_h = require('../../../../assets/images/map/h.png')
+const img_h = require('../../../../../assets/images/map/h.png')
export default {
components: { Pagination, SelectTree, TiandiMap },
diff --git a/src/views/gatemachine/gateDoor/components/infoList.vue b/src/views/gatemachine/second/gateDoor/components/infoList.vue
similarity index 100%
rename from src/views/gatemachine/gateDoor/components/infoList.vue
rename to src/views/gatemachine/second/gateDoor/components/infoList.vue
diff --git a/src/views/gatemachine/gateDoor/components/list.vue b/src/views/gatemachine/second/gateDoor/components/list.vue
similarity index 99%
rename from src/views/gatemachine/gateDoor/components/list.vue
rename to src/views/gatemachine/second/gateDoor/components/list.vue
index 6fde6db..141057a 100644
--- a/src/views/gatemachine/gateDoor/components/list.vue
+++ b/src/views/gatemachine/second/gateDoor/components/list.vue
@@ -191,7 +191,8 @@ export default {
requestFN(
'/mkmjDoor/list?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page,
{
- KEYWORDS: this.KEYWORDS
+ KEYWORDS: this.KEYWORDS,
+ AREA_LEVEL: '2'
}
).then((data) => {
this.listLoading = false
diff --git a/src/views/gatemachine/gateDoor/components/listPath.vue b/src/views/gatemachine/second/gateDoor/components/listPath.vue
similarity index 100%
rename from src/views/gatemachine/gateDoor/components/listPath.vue
rename to src/views/gatemachine/second/gateDoor/components/listPath.vue
diff --git a/src/views/gatemachine/gateDoor/components/platformvideo.vue b/src/views/gatemachine/second/gateDoor/components/platformvideo.vue
similarity index 100%
rename from src/views/gatemachine/gateDoor/components/platformvideo.vue
rename to src/views/gatemachine/second/gateDoor/components/platformvideo.vue
diff --git a/src/views/gatemachine/gateDoor/components/videoList.vue b/src/views/gatemachine/second/gateDoor/components/videoList.vue
similarity index 99%
rename from src/views/gatemachine/gateDoor/components/videoList.vue
rename to src/views/gatemachine/second/gateDoor/components/videoList.vue
index b26d7c8..7ff3258 100644
--- a/src/views/gatemachine/gateDoor/components/videoList.vue
+++ b/src/views/gatemachine/second/gateDoor/components/videoList.vue
@@ -145,7 +145,7 @@ import Pagination from '@/components/Pagination' // 通过 el-pagination二次
import { requestFN } from '@/utils/request'
import waves from '@/directive/waves'
import Platformvideo from './platformvideo'
-import TiandiMap from '../../../../components/TianMap/TiandiMap'
+import TiandiMap from '../../../../../components/TianMap/TiandiMap'
export default {
components: { Platformvideo, Pagination, TiandiMap },
diff --git a/src/views/gatemachine/gateDoor/index.vue b/src/views/gatemachine/second/gateDoor/index.vue
similarity index 100%
rename from src/views/gatemachine/gateDoor/index.vue
rename to src/views/gatemachine/second/gateDoor/index.vue
diff --git a/src/views/gatemachine/second/index.vue b/src/views/gatemachine/second/index.vue
new file mode 100644
index 0000000..98240ae
--- /dev/null
+++ b/src/views/gatemachine/second/index.vue
@@ -0,0 +1,3 @@
+
+
+
diff --git a/src/views/keyproject_evaluation/branch_hazard_assessment/components/evaluation.vue b/src/views/keyproject_evaluation/branch_hazard_assessment/components/evaluation.vue
index 03460a9..4c7fb05 100644
--- a/src/views/keyproject_evaluation/branch_hazard_assessment/components/evaluation.vue
+++ b/src/views/keyproject_evaluation/branch_hazard_assessment/components/evaluation.vue
@@ -335,12 +335,15 @@ export default {
}
},
goBack() {
+ this.$parent.isEvaluationKeepAlive = false
this.$parent.activeName = 'List'
},
fnViewHidden(HIDDEN_ID) {
// this.visible = true
// this.HIDDEN_ID = HIDDEN_ID
this.$parent.HIDDEN_ID = HIDDEN_ID
+ this.$parent.previousPage = this.$parent.activeName
+ this.$parent.isEvaluationKeepAlive = true
this.$parent.activeName = 'KeyProjectHidden'
},
fnEvaluationDialogChangeShow() {
diff --git a/src/views/keyproject_evaluation/branch_hazard_assessment/components/list.vue b/src/views/keyproject_evaluation/branch_hazard_assessment/components/list.vue
index 9f169ae..7f286c8 100644
--- a/src/views/keyproject_evaluation/branch_hazard_assessment/components/list.vue
+++ b/src/views/keyproject_evaluation/branch_hazard_assessment/components/list.vue
@@ -52,7 +52,7 @@
- {{row.CORP_NAME == '秦港股份有限公司' ? row.checked_count2 : row.checked_count3 }} / {{row.CORP_NAME == '秦港股份有限公司' ? row.count2 : row.checked_count3 }}
+ {{ row.CORP_NAME == '秦港股份有限公司' ? row.checked_count2 : row.checked_count3 }} / {{ row.CORP_NAME == '秦港股份有限公司' ? row.count2 : row.checked_count3 }}
@@ -126,6 +126,7 @@ export default {
this.$parent.CORPINFO_ID = CORPINFO_ID
this.$parent.EVALUATIONCONFIG_ID = EVALUATIONCONFIG_ID
this.$parent.TYPE = TYPE
+ this.$parent.isEvaluationKeepAlive = true
this.$parent.activeName = 'Evaluation'
}
}
diff --git a/src/views/keyproject_evaluation/branch_hazard_assessment/index.vue b/src/views/keyproject_evaluation/branch_hazard_assessment/index.vue
index 5e38916..1459e91 100644
--- a/src/views/keyproject_evaluation/branch_hazard_assessment/index.vue
+++ b/src/views/keyproject_evaluation/branch_hazard_assessment/index.vue
@@ -1,15 +1,19 @@
-
-
-
+
+
+
+
+
+
+
+