Browse Source

看板样式修改

callm 11 months ago
parent
commit
5e20b3799c
4 changed files with 8 additions and 8 deletions
  1. 2 2
      package.json
  2. 4 4
      src/components/labechart/right1chart/chart.vue
  3. 1 1
      src/views/shop/index.vue
  4. 1 1
      vue.config.js

+ 2 - 2
package.json

@@ -3,8 +3,8 @@
   "version": "1.5.1",
   "private": true,
   "scripts": {
-    "serve": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve",
-    "build": "set NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build",
+    "serve": "vue-cli-service serve",
+    "build": "vue-cli-service build",
     "lint": "vue-cli-service lint"
   },
   "dependencies": {

+ 4 - 4
src/components/labechart/right1chart/chart.vue

@@ -56,7 +56,7 @@ export default {
         ],
         series: [
           {
-            name: '投入',
+            name: '设备1',
             type: 'bar',
             barWidth: 15,
             emphasis: {
@@ -71,7 +71,7 @@ export default {
             },
           },
           {
-            name: '产出',
+            name: '设备2',
             type: 'bar',
             barWidth: 15,
             stack: 'Ad',
@@ -87,7 +87,7 @@ export default {
             },
           },
           {
-            name: '不良',
+            name: '设备3',
             type: 'bar',
             stack: 'Ad',
             barWidth: 10,
@@ -97,7 +97,7 @@ export default {
             }
           },
           {
-            name: 'UPH',
+            name: '控制标准',
             type: 'line',
             barWidth: 15,
             data:[],

+ 1 - 1
src/views/shop/index.vue

@@ -54,7 +54,7 @@
 
               <el-select v-model="stepcode" class="dropdown" @change ="handleBlur" style="width: 150px">
                 <el-option
-                        v-for="item in stepcode"
+                        v-for="item in stepdata"
                         :key="item.ST_CODE"
                         :label="item.ST_NAME"
                         :value="item.ST_CODE"

+ 1 - 1
vue.config.js

@@ -11,7 +11,7 @@ module.exports = {
   devServer: {
     proxy: {
       "/mes":{           // /proxy_url 这个用来和根路径 baseURL 进行匹配
-        target:'http://119.145.107.26:8099/mes',   // target: 'http://mes.ubtob.net:8099/mes/', http://218.64.89.153:8099/mes/, 'http://localhost:8099/uas/' ,这个是填写跨域的请求域名+端口号,也就是要请求的URL(不包含URL路径)
+        target:'http://172.16.51.3:8099/mes',   // target: 'http://mes.ubtob.net:8099/mes/', http://218.64.89.153:8099/mes/, 'http://localhost:8099/uas/' ,这个是填写跨域的请求域名+端口号,也就是要请求的URL(不包含URL路径)
         changeOrigin: true,  // 是否允许跨域请求,在本地会创建一个虚拟服务端,然后发送请求的数据,并同时接收请求的数据,这样服务端和服务端进行数据的交互就不会有跨域问题
         pathRewrite: {   // 路径重写
           '^/mes': '' // 替换target中的请求地址,原请求为 http://127.0.0.1:8000/kuayu 实际请求为 http://127.0.0.1:8000/proxy_url/kuayu