|
|
|
|
@ -288,12 +288,12 @@ |
|
|
|
|
<template #footer> |
|
|
|
|
<span class="dialog-footer"> |
|
|
|
|
<el-button plain @click="closeDialog">取消</el-button> |
|
|
|
|
<el-button type="primary" v-if="testType == 1 && type != 'view'" @click="submit(21)">保存</el-button> |
|
|
|
|
<el-button type="primary" v-if="testType == 1 && type != 'view'" @click="submit(-1)">保存</el-button> |
|
|
|
|
<el-button type="primary" v-if="testType == 2 && type != 'view'" @click="submitInside">提交</el-button> |
|
|
|
|
<el-button type="primary" v-if="testType == 1 && type != 'view'" plain @click="submit(22)">提交质保</el-button> |
|
|
|
|
<el-button type="primary" v-if="testType == 1 && type != 'view'" plain @click="submit(23)">提交工艺</el-button> |
|
|
|
|
<el-button type="primary" v-if="testType == 1 && type != 'view'" plain @click="submit(24)">提交设计</el-button> |
|
|
|
|
<el-button type="primary" v-if="testType == 1 && type != 'view'" plain @click="submit(25)">提交设计变更</el-button> |
|
|
|
|
<el-button type="primary" v-if="testType == 1 && type != 'view'" plain @click="submit(1)">提交质保</el-button> |
|
|
|
|
<el-button type="primary" v-if="testType == 1 && type != 'view'" plain @click="submit(2)">提交工艺</el-button> |
|
|
|
|
<el-button type="primary" v-if="testType == 1 && type != 'view'" plain @click="submit(3)">提交设计</el-button> |
|
|
|
|
<el-button type="primary" v-if="testType == 1 && type != 'view'" plain @click="submit(4)">提交设计变更</el-button> |
|
|
|
|
</span> |
|
|
|
|
</template> |
|
|
|
|
</el-dialog> |
|
|
|
|
@ -613,7 +613,7 @@ export default { |
|
|
|
|
console.log('detail---------------------',this.detailInfo) |
|
|
|
|
createProductionDisposition(this.detailInfo).then(res =>{ |
|
|
|
|
if(res.data.code == 200){ |
|
|
|
|
this.$message.success(val == '21' ? '保存成功' : '提交成功') |
|
|
|
|
this.$message.success(val == '-1' ? '保存成功' : '提交成功') |
|
|
|
|
this.closeDialog(true) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
|