修改维保提交

This commit is contained in:
龙运模 2025-01-17 14:06:42 +08:00
parent 812f8e9935
commit 95fbe0176c
2 changed files with 42 additions and 47 deletions

View File

@ -5,15 +5,15 @@ NODE_ENV = production
VUE_APP_TITLE = 象纬云科
# 测试环境
# VUE_APP_API_BASEURL = https://dev.api.linkwing.com/api/v1
# VUE_APP_API_DEV = https://dev.api.linkwing.com/api/v1
# VUE_APP_WS_URL = wss://dev.api.linkwing.com/wss
# VUE_APP_WSS_URL = wss://dev.api.linkwing.com/wss
VUE_APP_API_BASEURL = https://dev.api.linkwing.com/api/v1
VUE_APP_API_DEV = https://dev.api.linkwing.com/api/v1
VUE_APP_WS_URL = wss://dev.api.linkwing.com/wss
VUE_APP_WSS_URL = wss://dev.api.linkwing.com/wss
# 线上环境
# 接口地址 # WS地址
VUE_APP_API_BASEURL = https://prod.api.linkwing.com/api/v1
VUE_APP_API_DEV = https://prod.api.linkwing.com/api/v1
VUE_APP_WS_URL = wss://prod.api.linkwing.com/wss
VUE_APP_WSS_URL = wss://prod.api.linkwing.com/wss
# VUE_APP_API_BASEURL = https://prod.api.linkwing.com/api/v1
# VUE_APP_API_DEV = https://prod.api.linkwing.com/api/v1
# VUE_APP_WS_URL = wss://prod.api.linkwing.com/wss
# VUE_APP_WSS_URL = wss://prod.api.linkwing.com/wss

View File

@ -72,7 +72,7 @@
<el-col :span="24" class="flexCol">
<span class="name">维修动作</span>
<span class="text">
<el-radio-group v-model="item.action" :size="size">
<el-radio-group v-model="item.repair_action" :size="size">
<el-radio :value="1" :label="1">更换</el-radio>
<el-radio :value="2" :label="2">修复</el-radio>
<el-radio :value="3" :label="3">无需修复</el-radio>
@ -81,54 +81,49 @@
</el-col>
</el-row>
<el-row :gutter="24" style="margin: 0">
<el-col :span="6" :lg="6" :md="8" :xs="24">
<span class="name">不良原因</span>
<div class="text">
<el-input :size="size" v-model="item.new_part_mpn"></el-input>
</div>
</el-col>
<el-col :span="6" :lg="6" :md="8" :xs="24">
<span class="name">不良现象</span>
<div class="text">
<el-input :size="size" v-model="item.new_part_sn"></el-input>
</div>
</el-col>
<el-col :span="6" :lg="6" :md="8" :xs="24">
<span class="name">现场步骤分析</span>
<div class="text">
<el-input :size="size" v-model="item.sla_non_compliance_reason"></el-input>
<el-input :size="size" v-model="item.confirmed_defects" placeholder="不良现象"></el-input>
</div>
</el-col>
<el-col :span="6" :lg="6" :md="8" :xs="24">
<span class="name">SLA不达标原因</span>
<div class="text">
<el-input :size="size" v-model="item.confirmed_defects"></el-input>
<el-input :size="size" v-model="item.sla_non_compliance_reason" placeholder="SLA不达标原因"></el-input>
</div>
</el-col>
</el-row>
</div>
<div class="btnAdd">
<!-- <el-button type="primary" plain :size="size" @click="addOrder">添加部件信息</el-button>-->
<!-- <el-row>-->
<!-- <el-col :span="24" :lg="24" class="colFlex">-->
<!-- <span class="label labelText">验证ERP库存</span>-->
<!-- <span class="text">-->
<!-- <el-radio-group v-model="info.is_verify_erp_inventory">-->
<!-- <el-radio :value="true" :label="true"></el-radio>-->
<!-- <el-radio :value="false" :label="false"></el-radio>-->
<!-- </el-radio-group>-->
<!-- </span>-->
<!-- </el-col>-->
<!-- </el-row>-->
<div class="cardBody">
<sc-table ref="table" :data="info.component_info" style="width: 100%;" :hidePagination="true" :hideDo="true" :hideEmpty="true" :size="size">
<sc-table-column type="index" label="序号" width="65"></sc-table-column>
<sc-table-column prop="component_serial_no" label="部件SN/Sp" :show-overflow-tooltip="true" width="160"></sc-table-column>
<sc-table-column prop="component_manufacturer" label="部件厂商" :show-overflow-tooltip="true" width="130"></sc-table-column>
<sc-table-column prop="component_model" label="部件型号" :show-overflow-tooltip="true" width="160"></sc-table-column>
<sc-table-column prop="component_pn" label="部件PN/Sp" :show-overflow-tooltip="true" width="150"></sc-table-column>
<sc-table-column prop="bd_backup_count" label="甚于BD数" :show-overflow-tooltip="true" width="120"></sc-table-column>
</sc-table>
<el-row :gutter="24" style="margin: 0">
<el-col :span="12" :lg="12" :md="12" :xs="24">
<span class="name">现场步骤分析</span>
<div class="text">
<el-input type="textarea" :size="size" v-model="item.analysis_steps" placeholder="现场步骤分析"></el-input>
</div>
</el-col>
</el-row>
<div class="btnAdd" v-if="item.repair_action === 1">
<div class="cardBody">
<sc-table ref="table" :data="params.repair_info" style="width: 100%;" :hidePagination="true" :hideDo="true" :hideEmpty="true" :size="size">
<sc-table-column type="index" label="序号" width="65"></sc-table-column>
<sc-table-column prop="new_part_mpn" label="部件MPN" :show-overflow-tooltip="true" width="240">
<template #default="scope">
<el-input :size="size" v-model="scope.row.new_part_mpn" placeholder="部件MPN"></el-input>
</template>
</sc-table-column>
<sc-table-column prop="new_part_sn" label="部件SN" :show-overflow-tooltip="true" width="240">
<template #default="scope">
<el-input :size="size" v-model="scope.row.new_part_sn" placeholder="部件SN"></el-input>
</template>
</sc-table-column>
<sc-table-column prop="sla" label="部件SLA" :show-overflow-tooltip="true" width="240">
<template #default="scope">
<el-input :size="size" v-model="scope.row.sla" placeholder="部件SLA"></el-input>
</template>
</sc-table-column>
</sc-table>
</div>
</div>
</div>
</div>
@ -165,7 +160,7 @@ export default {
sla_non_compliance_reason:"",
confirmed_defects:"",
analysis_steps:"",
action:""
repair_action:""
}
]
},