diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/CheckboxGroup/index.vue b/ruoyi-ui/src/views/JiHeExpressway/components/CheckboxGroup/index.vue new file mode 100644 index 00000000..f85bf199 --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/components/CheckboxGroup/index.vue @@ -0,0 +1,66 @@ + + + + + diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/Descriptions.vue b/ruoyi-ui/src/views/JiHeExpressway/components/Descriptions.vue index 9f887836..d2ecd9c5 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/Descriptions.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/Descriptions.vue @@ -1,13 +1,13 @@ @@ -46,6 +48,18 @@ export default { default: "3" } }, + data() { + return { + formData: {} + } + }, + created() { + this.formData = this.formList.reduce((prev, { key, default: defaultData }) => { + prev[key] = defaultData || null; + + return prev + }, {}) + }, computed: { gridStyle() { return (item, index) => ({ diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/TimeLine/TimeLine1/index.vue b/ruoyi-ui/src/views/JiHeExpressway/components/TimeLine/TimeLine1/index.vue index f784fe11..e37a3da9 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/TimeLine/TimeLine1/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/TimeLine/TimeLine1/index.vue @@ -27,6 +27,7 @@