Commit 93e31b08 authored by baiyanhao's avatar baiyanhao

发起评审-页面跳转修改

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