Selaa lähdekoodia

设备资源管理,设备管理页面显示修改

yejian 2 vuotta sitten
vanhempi
commit
ad3fa43d78

+ 1 - 1
imcs-ui/src/components/Plugins/Plugins.js

@@ -31,7 +31,7 @@ export default {
          	// [程序执行状态]
          	STATUSTASKLIST: [{ value: '', label: '全部'},{ value: '1',label: '执行中'},{ value: '0', label: '停止' },{ value: '2', label: '已完成' }],
          	// 【生产资源】的[在线状态]
-         	INLINESTATUSLIST: [{ value: '', label: '全部'},{ value: '生产中',label: '生产中'},{ value: '离线', label: '离线'},{ value: '空闲', label: '空闲'},{ value: '报警', label: '报警'}],
+         	INLINESTATUSLIST: [{ value: '', label: '全部'},{ value: '2',label: '生产中'},{ value: '0', label: '离线'},{ value: '1', label: '空闲'},{ value: '3', label: '报警'}],
 
           CUTTINGTOOLAPPLYLIST: [{ value: '', label: '全部'},{ value: '0',label: '未处理'},{ value: '1', label: '缺料' },{ value: '2', label: '标记完成' }],
          	// 【级联选择器】-测试数据

+ 16 - 16
imcs-ui/src/views/zuihou/resourceProductMgr/deviceMgr/Index.vue

@@ -131,7 +131,7 @@
           this.$store.state.account.permissions.includes('resource:superview')
         "
       ></el-table-column>
-      <!-- <el-table-column              
+      <!-- <el-table-column
         prop="specification"
         :label="$t('resource.table.resours.specification')"
       ></el-table-column> -->
@@ -224,21 +224,21 @@
 <!--          </div>-->
 <!--        </template>-->
 <!--      </el-table-column>-->
-      <el-table-column
-        prop="controlStatus"
-        :label="$t('resource.table.resours.controlStatus')"
-        width="180px"
-        align="center"
-      >
-        <template slot-scope="{ row }">
-          <div
-            class="statusDiv"
-            :style="'background:' + row.controlStatus.background"
-          >
-            {{ row.controlStatus.text }}
-          </div>
-        </template>
-      </el-table-column>
+<!--      <el-table-column-->
+<!--        prop="controlStatus"-->
+<!--        :label="$t('resource.table.resours.controlStatus')"-->
+<!--        width="180px"-->
+<!--        align="center"-->
+<!--      >-->
+<!--        <template slot-scope="{ row }">-->
+<!--          <div-->
+<!--            class="statusDiv"-->
+<!--            :style="'background:' + row.controlStatus.background"-->
+<!--          >-->
+<!--            {{ row.controlStatus.text }}-->
+<!--          </div>-->
+<!--        </template>-->
+<!--      </el-table-column>-->
       <el-table-column
         prop="productionStatus"
         :label="$t('resource.table.resours.productionStatus')"

+ 15 - 15
imcs-ui/src/views/zuihou/resourceProductMgr/resourcesMgr/Index.vue

@@ -212,21 +212,21 @@
 <!--          </div>-->
 <!--        </template>-->
 <!--      </el-table-column>-->
-      <el-table-column
-        prop="controlStatus"
-        :label="$t('resource.table.resours.controlStatus')"
-        width="180px"
-        align="center"
-      >
-        <template slot-scope="{ row }">
-          <div
-            class="statusDiv"
-            :style="'background:' + row.controlStatus.background"
-          >
-            {{ row.controlStatus.text }}
-          </div>
-        </template>
-      </el-table-column>
+<!--      <el-table-column-->
+<!--        prop="controlStatus"-->
+<!--        :label="$t('resource.table.resours.controlStatus')"-->
+<!--        width="180px"-->
+<!--        align="center"-->
+<!--      >-->
+<!--        <template slot-scope="{ row }">-->
+<!--          <div-->
+<!--            class="statusDiv"-->
+<!--            :style="'background:' + row.controlStatus.background"-->
+<!--          >-->
+<!--            {{ row.controlStatus.text }}-->
+<!--          </div>-->
+<!--        </template>-->
+<!--      </el-table-column>-->
       <el-table-column
         prop="productionStatus"
         :label="$t('resource.table.resours.productionStatus')"