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;
|
||||
|
||||
}
|
||||
::v-deep .el-tree__empty-text {
|
||||
width: 200px;
|
||||
position: absolute;
|
||||
left: 315%;
|
||||
top: 600%;
|
||||
transform: translate(-50%, -50%);
|
||||
color: #737996;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -86,7 +86,10 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { getSafetyPerilInfo, getTodayInspectionInfo } from '@/assets/js/api/zhongjianFourth'
|
||||
import {
|
||||
// getSafetyPerilInfo,
|
||||
getTodayInspectionInfo
|
||||
} from '@/assets/js/api/zhongjianFourth'
|
||||
import { mapState } from 'vuex'
|
||||
|
||||
import Card from '../components/Card.vue'
|
||||
@ -121,23 +124,23 @@ export default {
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.getSafetyPerilInfo()
|
||||
// this.getSafetyPerilInfo()
|
||||
this.getTodayInspectionInfo()
|
||||
},
|
||||
computed: {
|
||||
...mapState(['projectSn']),
|
||||
},
|
||||
methods: {
|
||||
/** 查询安全隐患数据 */
|
||||
getSafetyPerilInfo() {
|
||||
getSafetyPerilInfo({ projectSn: this.projectSn }).then(res => {
|
||||
console.log('查询安全隐患数据: ', res);
|
||||
const safetyPeril = this.safetyPeril;
|
||||
Object.keys(safetyPeril).forEach(key => {
|
||||
safetyPeril[key] = res.result[key];
|
||||
})
|
||||
})
|
||||
},
|
||||
// /** 查询安全隐患数据 */
|
||||
// getSafetyPerilInfo() {
|
||||
// getSafetyPerilInfo({ projectSn: this.projectSn }).then(res => {
|
||||
// console.log('查询安全隐患数据: ', res);
|
||||
// const safetyPeril = this.safetyPeril;
|
||||
// Object.keys(safetyPeril).forEach(key => {
|
||||
// safetyPeril[key] = res.result[key];
|
||||
// })
|
||||
// })
|
||||
// },
|
||||
/** 查询今日巡检数据 */
|
||||
getTodayInspectionInfo() {
|
||||
getTodayInspectionInfo({ projectSn: this.projectSn }).then(res => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user