|
@@ -141,6 +141,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
|
|
|
+ // 创建B端,服务端,客户端跳转
|
|
|
// 创建B端,服务端,客户端跳转
|
|
|
selectionReport(e) {
|
|
|
if (this.queryData.state !== '') {
|
|
@@ -149,24 +150,22 @@ export default {
|
|
|
this.data_type = ele
|
|
|
}
|
|
|
}
|
|
|
- console.log(e.radio)
|
|
|
- if (e.radio !== undefined) {
|
|
|
- if (e.radio) { // B端可以选择创建服务端或客户端
|
|
|
- if (e.radio === '1') {
|
|
|
- this.$router.push({ path: '/Platform/presentation/presentationReport', query: { task: this.data_type }})
|
|
|
- } else {
|
|
|
- this.$router.push({ path: '/Platform/presentation/PresentReport', query: { task: this.data_type }})
|
|
|
- }
|
|
|
+ if (e.radio !== undefined) { // B端可以选择创建服务端或客户端
|
|
|
+ if (e.radio === '1') {
|
|
|
+ this.$router.push({ path: '/Platform/presentation/presentationReport', query: { task: this.data_type }})
|
|
|
} else {
|
|
|
- if (this.data_type.type === 5) {
|
|
|
- this.$router.push({ path: '/Platform/presentation/presentationReport', query: { task: this.data_type }}) // 服务端
|
|
|
- } else {
|
|
|
- this.$router.push({ path: '/Platform/presentation/PresentReport', query: { task: this.data_type }}) // 客户端
|
|
|
- }
|
|
|
+ this.$router.push({ path: '/Platform/presentation/PresentReport', query: { task: this.data_type }})
|
|
|
}
|
|
|
} else {
|
|
|
this.$message({ message: '请选择想要创建服务端还是客户端', type: 'success', duration: 1000, offset: 150 })
|
|
|
}
|
|
|
+ if (this.DuanKopu === false) {
|
|
|
+ if (this.data_type.type === 5) {
|
|
|
+ this.$router.push({ path: '/Platform/presentation/presentationReport', query: { task: this.data_type }}) // 服务端
|
|
|
+ } else {
|
|
|
+ this.$router.push({ path: '/Platform/presentation/PresentReport', query: { task: this.data_type }}) // 客户端
|
|
|
+ }
|
|
|
+ }
|
|
|
} else {
|
|
|
this.centerDialogVisible = true
|
|
|
this.$message({ message: '提示,请选择要添加的任务ID', type: 'warning' })
|