接口联调

dev-scheduling
jinna 3 months ago
parent 4f38264bec
commit d51f6186e9
  1. 16
      src/views/productionDisposition/hearingDialog.vue
  2. 3
      src/views/productionTesting/productionQuality.vue

@ -43,7 +43,7 @@
<el-select v-model="detailInfo.reviewOrderMode" placeholder="请选择" style="width: 400px;" :disabled="type == 'view'"> <el-select v-model="detailInfo.reviewOrderMode" placeholder="请选择" style="width: 400px;" :disabled="type == 'view'">
<el-option label="零件模式" value="1" /> <el-option label="零件模式" value="1" />
<el-option label="装配模式" value="2" /> <el-option label="装配模式" value="2" />
<el-option label="售后模式" value="3" /> <!-- <el-option label="售后模式" value="3" /> -->
</el-select> </el-select>
</el-descriptions-item> </el-descriptions-item>
@ -176,7 +176,7 @@
<span><i style="color:red">*</i>问题大类</span> <span><i style="color:red">*</i>问题大类</span>
</template> </template>
<template #default="scope"> <template #default="scope">
<el-select v-model="scope.row.ngType3Id" :disabled="!scope.row.faultType || type == 'view'" <el-select v-model="scope.row.ngType3Id" :disabled="!scope.row.ngType2Id || type == 'view'"
@change="changeBigQuestion" > @change="changeBigQuestion" >
<el-option v-for="item in errorBigArr" :key="item.id" :value="item.id" <el-option v-for="item in errorBigArr" :key="item.id" :value="item.id"
:label="item.name"></el-option> :label="item.name"></el-option>
@ -189,7 +189,7 @@
</template> </template>
<template #default="scope"> <template #default="scope">
<el-select v-model="scope.row.ngType4Id" <el-select v-model="scope.row.ngType4Id"
:disabled="!scope.row.questClass || type == 'view'" > :disabled="!scope.row.ngType3Id || type == 'view'" >
<el-option v-for="item in errorSmallArr" :key="item.id" :value="item.id" <el-option v-for="item in errorSmallArr" :key="item.id" :value="item.id"
:label="item.name"></el-option> :label="item.name"></el-option>
</el-select> </el-select>
@ -396,6 +396,16 @@ export default {
changeType(val){ changeType(val){
console.log('val---------------------',val) console.log('val---------------------',val)
}, },
submit(val){
this.detailInfo.bizType = this.testType == 1 ? 3 : this.testType == 2 ? this.disposalType == 1 ? 1 : 2 : ''
this.detailInfo.isBatProblem = this.checkList.includes('isBatProblem') ? 1 : 0
this.detailInfo.isClassicProblem = this.checkList.includes('isClassicProblem') ? 1 : 0
this.detailInfo.isLowError = this.checkList.includes('isLowError') ? 1 : 0
this.detailInfo.isQualityProblem = this.checkList.includes('isQualityProblem') ? 1 : 0
this.detailInfo.faultList = this.faultList
this.detailInfo.dutyList = this.dutyList
console.log('detail---------------------',this.detailInfo)
},
// //
submitInside(){ submitInside(){
// if(this.disposalType == 1){ // if(this.disposalType == 1){

@ -918,7 +918,7 @@ export default {
gaugeValue7: null, gaugeValue7: null,
gaugeValue8: null gaugeValue8: null
}; };
this.thicknessData = []
// if() // if()
let tmp = this.expandedRowKeys.find(item => item == row.id); let tmp = this.expandedRowKeys.find(item => item == row.id);
if (!tmp) { if (!tmp) {
@ -926,6 +926,7 @@ export default {
} }
this.isStart = !this.isStart; this.isStart = !this.isStart;
if(this.isStart){ if(this.isStart){
this.thicknessData = []
this.startTime = dateFormat(new Date(),'yyyy-MM-dd hh:mm:ss') this.startTime = dateFormat(new Date(),'yyyy-MM-dd hh:mm:ss')
this.firstInterval = setInterval(() =>{ this.firstInterval = setInterval(() =>{
this.getThickness(0,true,dateFormat(new Date(),'yyyy-MM-dd hh:mm:ss'),itemDetail) this.getThickness(0,true,dateFormat(new Date(),'yyyy-MM-dd hh:mm:ss'),itemDetail)

Loading…
Cancel
Save