Browse Source

Merge branch 'develop' of http://39.106.31.193:9211/mengff/jihe-hs into develop

wangqin
hui 9 months ago
parent
commit
c0ffaba918
  1. 3
      ruoyi-ui/src/views/JiHeExpressway/components/Dialog/index.vue
  2. 40
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/Carousel/index.vue
  3. 21
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/FormEvent/data.js
  4. 4
      ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/index.vue

3
ruoyi-ui/src/views/JiHeExpressway/components/Dialog/index.vue

@ -165,7 +165,8 @@ export default {
.dialog-content { .dialog-content {
padding: 9px 21px 27px 21px; padding: 9px 21px 27px 21px;
max-height: 96vh; max-height: 90vh;
overflow-y: auto;
} }
.bottom-right { .bottom-right {

40
ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/EventDetailDialog/Carousel/index.vue

@ -5,7 +5,9 @@
<VueSlickCarousel v-bind="settings" ref="CarouselRef" class="vueSlickCarousel"> <VueSlickCarousel v-bind="settings" ref="CarouselRef" class="vueSlickCarousel">
<div v-for="(item, index) in pictures" :key="index" class="item"> <div v-for="(item, index) in pictures" :key="index" class="item">
<!-- <img :src="require(`@screen/images/${item}`)" style="height: 100%"> --> <!-- <img :src="require(`@screen/images/${item}`)" style="height: 100%"> -->
<img :src="item" style="height: 100%"> <!-- <img :src="item" style="height: 100%"> -->
<el-image style="height: 100%" :src="item" :preview-src-list="pictures">
</el-image>
</div> </div>
</VueSlickCarousel> </VueSlickCarousel>
@ -27,37 +29,20 @@ export default {
pictures: { pictures: {
type: Array, type: Array,
default: () => [ default: () => [
"shareWith/message-active.svg", "https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg",
"shareWith/message.svg", "https://cube.elemecdn.com/6/94/4d3ea53c084bad6931a56d5158a48jpeg.jpeg",
"shareWith/website-active.svg", // "require('@screen/images/shareWith/message-active.svg')",
"shareWith/website.svg", // "require('@screen/images/shareWith/message.svg')",
"shareWith/weChat-active.svg", // "require('@screen/images/shareWith/website-active.svg')",
"shareWith/weChat-active.svg" // "require('@screen/images/shareWith/website.svg')",
// "require('@screen/images/shareWith/weChat-active.svg')",
// "require('@screen/images/shareWith/weChat-active.svg')"
] ]
}, },
}, },
data() { data() {
return { return {
carouselItems: [ carouselItems: [],
{
"imageURL": "shareWith/message-active.svg"
},
{
"imageURL": "shareWith/message.svg"
},
{
"imageURL": "shareWith/website-active.svg"
},
{
"imageURL": "shareWith/website.svg"
},
{
"imageURL": "shareWith/weChat-active.svg"
},
{
"imageURL": "shareWith/weChat-active.svg"
}
],
settings: { settings: {
infinite: true, infinite: true,
arrows: false, arrows: false,
@ -74,6 +59,7 @@ export default {
this.$refs.CarouselRef.prev() this.$refs.CarouselRef.prev()
}, },
nextSlide() { nextSlide() {
// console.log('pics',this.pictures)
this.$refs.CarouselRef.next() this.$refs.CarouselRef.next()
}, },
}, },

21
ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/FormEvent/data.js

@ -35,7 +35,7 @@ export const tabConfigList = [
}, },
{ {
label: "地点:", label: "地点:",
key: "dcEventAccident.dd", key: "dcEventAccident.location",
isAlone: false, isAlone: false,
required: true, required: true,
options: { options: {
@ -71,11 +71,11 @@ export const tabConfigList = [
}, },
{ {
label: "匝道:", label: "匝道:",
key: "dcEventAccident.dd", key: "dcEventAccident.rampId",
type: "select",
isAlone: false, isAlone: false,
required: true, required: true,
options: { options: {
placeholder: "服务区地点",
}, },
visible:(data) => { visible:(data) => {
if(data?.dcEventAccident?.locationType == 3){ if(data?.dcEventAccident?.locationType == 3){
@ -107,11 +107,22 @@ export const tabConfigList = [
}, },
{ {
label: "地点:", label: "地点:",
key: "dcEventAccident.dd", key: "dcEventAccident.location",
type: "select",
isAlone: false, isAlone: false,
required: true, required: true,
options: { options: {
placeholder: "服务区地点", placeholder: "收费站地点",
options: [
{
value: "1",
label: "入口车道",
},
{
value: "2",
label: "出口车道",
},
],
}, },
visible:(data) => { visible:(data) => {
if(data?.dcEventAccident?.locationType == 4){ if(data?.dcEventAccident?.locationType == 4){

4
ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/index.vue

@ -199,8 +199,8 @@ export default {
if (this.type == "month") { if (this.type == "month") {
xData.push(it.day.split("-")[2] + "日"); xData.push(it.day.split("-")[2] + "日");
} }
if (this.type == "day") { if (this.type == "date") {
xData.push(it.time.split(" ")[1] + "时"); xData.push(it.time.split(" ")[1] + "时");
} }
if (this.type == "quarter") { if (this.type == "quarter") {
xData.push(it.month + '月'); xData.push(it.month + '月');

Loading…
Cancel
Save