Bladeren bron

部件电子档案列表增加团标状态与油气回收状态

DOVER-GLOBAL\11047086 1 jaar geleden
bovenliggende
commit
3292005592

+ 2 - 2
admin.ui.plus-master/.env.development

@@ -2,6 +2,6 @@
 ENV = 'development'
 
 # 本地环境接口地址
-VITE_API_URL = 'http://ipos.biz:8070'
-#VITE_API_URL = 'http://localhost:8000'
+#VITE_API_URL = 'http://ipos.biz:8070'
+VITE_API_URL = 'http://localhost:8000'
 

+ 2 - 2
admin.ui.plus-master/.env.production

@@ -8,5 +8,5 @@ VITE_COMPRESSION = true
 VITE_PUBLIC_PATH = '/'
 
 # 线上环境接口地址
-VITE_API_URL = 'http://ipos.biz:8070'
-#VITE_API_URL = 'http://localhost:8000'
+#VITE_API_URL = 'http://ipos.biz:8070'
+VITE_API_URL = 'http://localhost:8000'

+ 2 - 0
admin.ui.plus-master/src/api/admin/productionManagement/CommunalDto.ts

@@ -101,6 +101,8 @@ export interface ComponentGetPageOutPut{
   status: number | string
   key_name: number | string
   stand_name:number | string
+  tqcKeyState:number | string
+  ecvrKeyState:number | string
   createTime: Date
   remark:string |null
 }

+ 10 - 2
admin.ui.plus-master/src/views/admin/product/record/index.vue

@@ -66,10 +66,17 @@
                 </div>
               </template>
             </el-table-column>
-            <el-table-column prop="stand_name" label="团标状态" >
+            <el-table-column prop="tqcKeyState" label="团标状态" >
               <template #default="{ row }">
                 <div :style="{color:getComponentStatus(row.key_name).color}" class="bold-font">
-                  {{getComponentStatus(row.stand_name).name}}
+                  {{getComponentStatus(row.tqcKeyState).name}}
+                </div>
+              </template>
+            </el-table-column>
+            <el-table-column prop="ecvrKeyState" label="油气回收" >
+              <template #default="{ row }">
+                <div :style="{color:getComponentStatus(row.key_name).color}" class="bold-font">
+                  {{getComponentStatus(row.ecvrKeyState).name}}
                 </div>
               </template>
             </el-table-column>
@@ -240,6 +247,7 @@ onMounted(async () => {
 
 const onQuery = async () => {
   bomModel.loading = true
+  debugger
   const res = await new ComponentApi().getPage({ ...bomModel.pageInput, filter: bomModel.filterModel }).catch(() => {
     bomModel.loading = false
   })