Merge branch 'dev-yjl' into 'shenzhen-dev'
中建四局-(安全管理页面)-注释无用接口 See merge request !62
This commit is contained in:
commit
ff9b98d091
@ -213,6 +213,15 @@ export default {
|
|||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
::v-deep .el-tree__empty-text {
|
||||||
|
width: 200px;
|
||||||
|
position: absolute;
|
||||||
|
left: 315%;
|
||||||
|
top: 600%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
color: #737996;
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -86,7 +86,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getSafetyPerilInfo, getTodayInspectionInfo } from '@/assets/js/api/zhongjianFourth'
|
import {
|
||||||
|
// getSafetyPerilInfo,
|
||||||
|
getTodayInspectionInfo
|
||||||
|
} from '@/assets/js/api/zhongjianFourth'
|
||||||
import { mapState } from 'vuex'
|
import { mapState } from 'vuex'
|
||||||
|
|
||||||
import Card from '../components/Card.vue'
|
import Card from '../components/Card.vue'
|
||||||
@ -121,23 +124,23 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getSafetyPerilInfo()
|
// this.getSafetyPerilInfo()
|
||||||
this.getTodayInspectionInfo()
|
this.getTodayInspectionInfo()
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(['projectSn']),
|
...mapState(['projectSn']),
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
/** 查询安全隐患数据 */
|
// /** 查询安全隐患数据 */
|
||||||
getSafetyPerilInfo() {
|
// getSafetyPerilInfo() {
|
||||||
getSafetyPerilInfo({ projectSn: this.projectSn }).then(res => {
|
// getSafetyPerilInfo({ projectSn: this.projectSn }).then(res => {
|
||||||
console.log('查询安全隐患数据: ', res);
|
// console.log('查询安全隐患数据: ', res);
|
||||||
const safetyPeril = this.safetyPeril;
|
// const safetyPeril = this.safetyPeril;
|
||||||
Object.keys(safetyPeril).forEach(key => {
|
// Object.keys(safetyPeril).forEach(key => {
|
||||||
safetyPeril[key] = res.result[key];
|
// safetyPeril[key] = res.result[key];
|
||||||
})
|
// })
|
||||||
})
|
// })
|
||||||
},
|
// },
|
||||||
/** 查询今日巡检数据 */
|
/** 查询今日巡检数据 */
|
||||||
getTodayInspectionInfo() {
|
getTodayInspectionInfo() {
|
||||||
getTodayInspectionInfo({ projectSn: this.projectSn }).then(res => {
|
getTodayInspectionInfo({ projectSn: this.projectSn }).then(res => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user