Sfoglia il codice sorgente

修改预制曲线标志以及空首页

yuhan 1 anno fa
parent
commit
3d8082ae50

+ 6 - 4
src/components/page/GlobalFooter.vue

@@ -1,17 +1,19 @@
 <template>
   <div class="footer">
-    <div class="links">
+    <!-- <div class="links">
       <a href="http://www.jeecg.com" target="_blank">JEECG 首页</a>
       <a href="https://github.com/zhangdaiscott/jeecg-boot" target="_blank">
         <a-icon type="github"/>
       </a>
       <a href="https://ant.design/">Ant Design</a>
       <a href="https://vuecomponent.github.io/ant-design-vue/docs/vue/introduce-cn/">Vue Antd</a>
-    </div>
+    </div> -->
     <div class="copyright">
-      Copyright
+      <!-- 修改框架 -->
+      Copyright &copy; 2023 山东研讯智能科技有限公司 出品
+      <!-- Copyright
       <a-icon type="copyright"/>
-      2019 <span>JEECG开源社区 出品</span>
+      2019 <span>JEECG开源社区 出品</span> -->
     </div>
   </div>
 </template>

+ 41 - 0
src/views/dashboard/Analysis copy.vue

@@ -0,0 +1,41 @@
+<template>
+  <div>
+    <index-chart v-if="indexStyle==1"></index-chart>
+    <index-bdc v-if="indexStyle==2"></index-bdc>
+    <index-task v-if="indexStyle==3"></index-task>
+    <div style="width: 100%;text-align: right;margin-top: 20px">
+      请选择首页样式:
+      <a-radio-group v-model="indexStyle">
+        <a-radio :value="1">统计图表</a-radio>
+        <a-radio :value="2">统计图表2</a-radio>
+        <a-radio :value="3">任务表格</a-radio>
+      </a-radio-group>
+    </div>
+  </div>
+</template>
+
+<script>
+  import IndexChart from './IndexChart'
+  import IndexTask from "./IndexTask"
+  import IndexBdc from './IndexBdc'
+
+  export default {
+    name: "Analysis",
+    components: {
+      IndexChart,
+      IndexTask,
+      IndexBdc
+    },
+    data() {
+      return {
+        indexStyle:1
+      }
+    },
+    created() {
+
+    },
+    methods: {
+
+    }
+  }
+</script>

+ 16 - 33
src/views/dashboard/Analysis.vue

@@ -1,41 +1,24 @@
 <template>
   <div>
-    <index-chart v-if="indexStyle==1"></index-chart>
-    <index-bdc v-if="indexStyle==2"></index-bdc>
-    <index-task v-if="indexStyle==3"></index-task>
-    <div style="width: 100%;text-align: right;margin-top: 20px">
-      请选择首页样式:
-      <a-radio-group v-model="indexStyle">
-        <a-radio :value="1">统计图表</a-radio>
-        <a-radio :value="2">统计图表2</a-radio>
-        <a-radio :value="3">任务表格</a-radio>
-      </a-radio-group>
-    </div>
+    
   </div>
 </template>
 
 <script>
-  import IndexChart from './IndexChart'
-  import IndexTask from "./IndexTask"
-  import IndexBdc from './IndexBdc'
-
-  export default {
-    name: "Analysis",
-    components: {
-      IndexChart,
-      IndexTask,
-      IndexBdc
-    },
-    data() {
-      return {
-        indexStyle:1
-      }
-    },
-    created() {
-
-    },
-    methods: {
-
+export default {
+  name: '',
+  data () {
+    return {
     }
+  },
+  created () {
+  },
+  mounted () {
+  },
+  methods: {
   }
-</script>
+}
+</script>
+
+<style lang="less" scoped>
+</style>

+ 11 - 11
src/views/modules_guAn/visualization/modules/YuzhiCurve.vue

@@ -86,15 +86,15 @@ export default {
       // immediate: true,
       deep: true
     },
-    marks: {
-      handler(newValue, oldValue){
-        console.log('预制曲线线段', newValue, oldValue)
-        // this.refreshData(newValue)
-        this.markData = newValue
-      },
-      // immediate: true,
-      deep: true
-    },
+    // marks: {
+    //   handler(newValue, oldValue){
+    //     console.log('预制曲线线段', newValue, oldValue)
+    //     // this.refreshData(newValue)
+    //     this.markData = newValue
+    //   },
+    //   // immediate: true,
+    //   deep: true
+    // },
     'chooseXunhuan.circname': {
       handler(newValue, oldValue){
         if(newValue){
@@ -109,17 +109,17 @@ export default {
     // this.changeData(moniData)
   },
   mounted () {
+    // console.log('mark', this.data, this.marks, this.markData)
     this.$nextTick(() => {
       this.initYuzhiCurve()
       this.refreshData(this.data)
-      // this.setMarkLine()
     })
   },
   methods: {
     setMarkLine(data, color){
       console.log(data, color)
       var markLines = []
-      this.markData.forEach((item, index) => {
+      this.marks.forEach((item, index) => {
         var y = (data[index] + data[index + 1]) / 2
         markLines.push([
           {