大屏增加BIM交底
parent
3ecc6f1edd
commit
dad2c9f335
|
@ -294,6 +294,9 @@ export default {
|
||||||
case 702:
|
case 702:
|
||||||
this.$router.push("/bimRoaming");
|
this.$router.push("/bimRoaming");
|
||||||
break;
|
break;
|
||||||
|
case 704:
|
||||||
|
this.$router.push("/bimBriefing");
|
||||||
|
break;
|
||||||
case 701:
|
case 701:
|
||||||
this.$router.push("/bimManage");
|
this.$router.push("/bimManage");
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -72,6 +72,13 @@ const routes = [
|
||||||
component: () =>
|
component: () =>
|
||||||
import(/* webpackChunkName: "bimRoaming" */ "../views/bimRoaming.vue"),
|
import(/* webpackChunkName: "bimRoaming" */ "../views/bimRoaming.vue"),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: "/bimBriefing",
|
||||||
|
name: "bimBriefing",
|
||||||
|
meta: { nav: 704 },
|
||||||
|
component: () =>
|
||||||
|
import(/* webpackChunkName: "bimBriefing" */ "../views/bimBriefing.vue"),
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: "/videoMonitor",
|
path: "/videoMonitor",
|
||||||
name: "videoMonitor",
|
name: "videoMonitor",
|
||||||
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
<template>
|
||||||
|
<div class="bim-briefing main-page">
|
||||||
|
111
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: 'BimBriefing',
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less">
|
||||||
|
.bim-briefing{
|
||||||
|
|
||||||
|
}
|
||||||
|
</style>
|
|
@ -16,6 +16,7 @@ import com.yanzhu.manage.domain.GreenCarbonData;
|
||||||
import com.yanzhu.manage.domain.GreenCarbonItem;
|
import com.yanzhu.manage.domain.GreenCarbonItem;
|
||||||
import com.yanzhu.manage.service.IGreenCarbonDataService;
|
import com.yanzhu.manage.service.IGreenCarbonDataService;
|
||||||
import com.yanzhu.manage.service.IGreenCarbonItemService;
|
import com.yanzhu.manage.service.IGreenCarbonItemService;
|
||||||
|
import org.apache.commons.lang3.StringUtils;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
@ -188,7 +189,8 @@ public class GreenCarbonItemController extends BaseController
|
||||||
List<GreenCarbonItem> list = greenCarbonItemService.selectGreenCarbonItemList(where);
|
List<GreenCarbonItem> list = greenCarbonItemService.selectGreenCarbonItemList(where);
|
||||||
if(list.size()>0){
|
if(list.size()>0){
|
||||||
for(GreenCarbonItem it : list){
|
for(GreenCarbonItem it : list){
|
||||||
if(!it.getId().equals(greenCarbonItem.getId())){
|
if(!it.getId().equals(greenCarbonItem.getId())
|
||||||
|
&& StringUtils.equals(it.getCarbonName(),greenCarbonItem.getCarbonName())){
|
||||||
return AjaxResult.error("当前项目已存在相同数据!");
|
return AjaxResult.error("当前项目已存在相同数据!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue