Commit 93e31b08 authored by baiyanhao's avatar baiyanhao

发起评审-页面跳转修改

parent ae4b260b
...@@ -529,7 +529,7 @@ export default { ...@@ -529,7 +529,7 @@ export default {
const aa = response const aa = response
if(aa){ if(aa){
alert('提交成功') alert('提交成功')
this.$router.push({path: '/login'}); this.$router.push({path: '/review/createReview'});
}else{ }else{
alert('提交失败') alert('提交失败')
} }
......
...@@ -475,7 +475,7 @@ export default { ...@@ -475,7 +475,7 @@ export default {
const aa = response const aa = response
if(aa){ if(aa){
alert('提交成功') alert('提交成功')
this.$router.push({path: '/login'}); this.$router.push({path: '/review/createReview'});
}else{ }else{
alert('提交失败') alert('提交失败')
} }
......
...@@ -587,7 +587,7 @@ export default { ...@@ -587,7 +587,7 @@ export default {
const aa = response const aa = response
if(aa){ if(aa){
alert('提交成功') alert('提交成功')
this.$router.push({path: '/login'}); this.$router.push({path: '/review/createReview'});
}else{ }else{
alert('提交失败') alert('提交失败')
} }
......
...@@ -454,7 +454,7 @@ export default { ...@@ -454,7 +454,7 @@ export default {
const aa = response const aa = response
if (aa) { if (aa) {
alert('提交成功') alert('提交成功')
this.$router.push({ path: '/login' }) this.$router.push({ path: '/review/createReview' })
} else { } else {
alert('提交失败') alert('提交失败')
} }
......
...@@ -491,7 +491,7 @@ ...@@ -491,7 +491,7 @@
const aa = response const aa = response
if(aa){ if(aa){
alert('提交成功') alert('提交成功')
this.$router.push({path: '/login'}); this.$router.push({path: '/review/createReview'});
}else{ }else{
alert('提交失败') alert('提交失败')
} }
......
...@@ -468,7 +468,7 @@ export default { ...@@ -468,7 +468,7 @@ export default {
const aa = response const aa = response
if (aa) { if (aa) {
alert('提交成功') alert('提交成功')
this.$router.push({ path: '/login' }) this.$router.push({ path: '/review/createReview' })
} else { } else {
alert('提交失败') alert('提交失败')
} }
......
...@@ -539,7 +539,7 @@ export default { ...@@ -539,7 +539,7 @@ export default {
const aa = response const aa = response
if (aa) { if (aa) {
alert('提交成功') alert('提交成功')
this.$router.push({ path: '/login' }) this.$router.push({ path: '/review/createReview' })
} else { } else {
alert('提交失败') alert('提交失败')
} }
......
...@@ -27,9 +27,7 @@ ...@@ -27,9 +27,7 @@
placeholder="车型检验" placeholder="车型检验"
@change="handleSelectType(formModel.tiaokuanfenlei)" @change="handleSelectType(formModel.tiaokuanfenlei)"
> >
<el-option <el-option :value="车型检验" />
:value = '车型检验'
/>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
...@@ -97,7 +95,7 @@ ...@@ -97,7 +95,7 @@
<el-input <el-input
v-model="formModel.yonglibianhao" v-model="formModel.yonglibianhao"
placeholder="请输入用例编号" placeholder="请输入用例编号"
:autosize="{ minRows: 3, maxRows: 6 }" :autosize="{ minRows: 3, maxRows: 6 }"
></el-input> ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
...@@ -105,7 +103,6 @@ ...@@ -105,7 +103,6 @@
<el-col :span="10"><p></p></el-col> <el-col :span="10"><p></p></el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="3"><p></p></el-col> <el-col :span="3"><p></p></el-col>
<el-col :span="8"> <el-col :span="8">
...@@ -293,7 +290,7 @@ export default { ...@@ -293,7 +290,7 @@ export default {
yonglibianhao: '', yonglibianhao: '',
shenchaxize: '', shenchaxize: '',
// shenchachangjing: '', // shenchachangjing: '',
yonglimiaoshu:'', yonglimiaoshu: ''
} }
} }
}, },
...@@ -307,10 +304,10 @@ export default { ...@@ -307,10 +304,10 @@ export default {
.catch(error => { .catch(error => {
console.log('testReviewer方法出错', error) console.log('testReviewer方法出错', error)
}) })
this.newResData.type = 'car' this.newResData.type = 'car'
this.newResData.standardNo = this.pageIndexSec.standardNo this.newResData.standardNo = this.pageIndexSec.standardNo
this.newResData.standardId = this.pageIndexSec.id this.newResData.standardId = this.pageIndexSec.id
this.newResData.name = this.pageIndexSec.name this.newResData.name = this.pageIndexSec.name
}, },
methods: { methods: {
//下拉框 选择检验类型 //下拉框 选择检验类型
...@@ -442,11 +439,11 @@ export default { ...@@ -442,11 +439,11 @@ export default {
this.newResDataAdd.newText = this.formModel.yonglibianhao this.newResDataAdd.newText = this.formModel.yonglibianhao
this.newResDataAdd.remark = this.newReviewSceneRemark this.newResDataAdd.remark = this.newReviewSceneRemark
this.newResDataAdd.usecaseId = this.formModel.yonglibianhao this.newResDataAdd.usecaseId = this.formModel.yonglibianhao
this.newResDataAdd.usecaseDescribe = this.formModel.yonglimiaoshu this.newResDataAdd.usecaseDescribe = this.formModel.yonglimiaoshu
this.newResDataAdd.reviewUsecaseId = '' this.newResDataAdd.reviewUsecaseId = ''
this.newResDataAdd.type = 'car' this.newResDataAdd.type = 'car'
console.log(this.newResDataAdd, '提交之前') console.log(this.newResDataAdd, '提交之前')
testInitatereviewAdd(this.newResDataAdd) testInitatereviewAdd(this.newResDataAdd)
...@@ -454,7 +451,7 @@ export default { ...@@ -454,7 +451,7 @@ export default {
const aa = response const aa = response
if (aa) { if (aa) {
alert('提交成功') alert('提交成功')
this.$router.push({ path: '/login' }) this.$router.push({ path: '/review/createReview' })
} else { } else {
alert('提交失败') alert('提交失败')
} }
......
...@@ -645,7 +645,7 @@ export default { ...@@ -645,7 +645,7 @@ export default {
const aa = response const aa = response
if (aa) { if (aa) {
alert('提交成功') alert('提交成功')
this.$router.push({ path: '/login' }) this.$router.push({ path: '/review/createReview' })
} else { } else {
alert('提交失败') alert('提交失败')
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment