Ver código fonte

页面更新

sr 4 anos atrás
pai
commit
7cb3affdcd

+ 6 - 1
ruoyi-ui/src/components/Echarts/index.vue

@@ -54,7 +54,12 @@
         };
 
         // 使用刚指定的配置项和数据显示图表。
-        myChart.setOption(option);
+        myChart.setOption(option);
+        setTimeout(function (){
+        	    window.onresize = function () {
+        	    	myChart.resize();
+        	    }
+        	},200)
       }
     },
     mounted() {

+ 4 - 2
ruoyi-ui/src/views/management/info/index.vue

@@ -84,7 +84,9 @@
         </el-form-item>
         <el-form-item label="所属行业:" prop="industry">
           <el-radio-group v-model="xs_form.industry">
-            <el-radio :label="item.dictLabel" :value="item.dictValue" v-for="item in industryOptions"></el-radio>
+            <el-radio :label="item.dictValue" v-for="item in industryOptions">
+              {{item.dictLabel}}
+            </el-radio>
           </el-radio-group>
         </el-form-item>
         <el-form-item label="状态:" prop="isBackbussiness">
@@ -338,7 +340,7 @@
         this.$refs["forms"].validate(valid => {
           if (valid) {
             let data = JSON.parse(JSON.stringify(this.xs_form))
-            data.industryCategory = data.industryCategory.join(',')
+            data.industryCategory = data.industryCategory.join(',')
             listProject(data).then(res => {
               this.msgSuccess("添加成功");
               this.flags = false;