diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/index.vue b/ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/index.vue index 972431e0..f389047f 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/index.vue @@ -84,10 +84,18 @@ export default { formData: {} } }, - created() { - this.reset(true); - console.log("%c [ this.formData ]-82-「index.vue」", "font-size:15px; background:#9c7eed; color:#e0c2ff;", this.formData); + watch: { + formList: { + immediate: true, + handler() { + this.reset(true); + } + }, }, + // created() { + // this.reset(true); + // console.log("%c [ this.formData ]-82-「index.vue」", "font-size:15px; background:#9c7eed; color:#e0c2ff;", this.formData); + // }, computed: { modelFormData: { get() { diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/utils/defaultValue.js b/ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/utils/defaultValue.js index 1204221e..77a7b801 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/utils/defaultValue.js +++ b/ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/utils/defaultValue.js @@ -9,9 +9,9 @@ export const presetDefaultValue = { MultipleLabelItem(item) { return reduceDefaultValue(item.options?.options); }, - RadioGroup() { - return []; - }, + // RadioGroup() { + // return []; + // }, CheckboxGroup() { return []; }, diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/Table.vue b/ruoyi-ui/src/views/JiHeExpressway/components/Table.vue index bbff1b19..6927af95 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/Table.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/Table.vue @@ -56,6 +56,10 @@ div.Table { th.el-table__cell.is-leaf, td.el-table__cell { border-bottom: 0; + + div { + padding: 0; + } } .el-table__header-wrapper th, diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/index.vue index d5f5b647..d7006566 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/ConditionStatistics/index.vue @@ -476,9 +476,11 @@ export default { } } } + .abnormalList { padding-bottom: 20px; - .listItem{ + + .listItem { width: 410px; height: 34px; margin: 0 auto; @@ -505,6 +507,7 @@ export default { font-family: Hiragino Sans GB, Hiragino Sans GB; line-height: 40px; text-align: center; + .num { font-size: 14px; } @@ -517,14 +520,20 @@ export default { } } + .listItem.total { .value { color: #2fe2cf; text-shadow: 0px 1px 4px #2fe2cf; } } + .listItem.kilometer { .value { + span { + font-size: 10px; + } + color: #f29600; text-shadow: 0px 1px 4px #f29600; } diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/PerceiveEvent/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/PerceiveEvent/index.vue index 59832f20..de64fd58 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/PerceiveEvent/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/PerceiveEvent/index.vue @@ -111,23 +111,23 @@ export default { activeColor: "linear-gradient(180deg, #37E7FF 0%, #009BCC 100%)", options: [ { - key: 0, + key: "0", label: "应急", }, { - key: 1, + key: "1", label: "行1", }, { - key: 2, + key: "2", label: "行2", }, { - key: 3, + key: "3", label: "行3", }, { - key: 4, + key: "4", label: "行4", }, ], diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Thumbnail/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Thumbnail/index.vue index e14b42cb..d9ff5dad 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Thumbnail/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Thumbnail/index.vue @@ -53,8 +53,8 @@ export default { ctx.font = setFont(12 * zoom, "italic 900", "Arial Black"); ctx.fillStyle = "#ddc85a"; - ctx.fillText("项目起点", 210 * zoom, h / 2 - 50 * zoom); - ctx.fillText("K55+378.7", 210 * zoom, h / 2 - 33 * zoom); + ctx.fillText("项目起点", 270 * zoom, h / 2 - 50 * zoom); + ctx.fillText("K55+378.7", 270 * zoom, h / 2 - 33 * zoom); ctx.fillText("项目终点", w - 210 * zoom, h / 2 - 50 * zoom); ctx.fillText("K208+153.4", w - 210 * zoom, h / 2 - 33 * zoom);