提交 2ef85500 authored 作者: lihuihui's avatar lihuihui

fix:修改营销工具bug

上级 56b9c06b
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
</div> </div>
<div class="step-content2" v-if="stepsIndex === 1"> <div class="step-content2" v-if="stepsIndex === 1">
<div class="form-box"> <div class="form-box">
<el-form ref="form" :model="form" label-width="80px" :disabled="$route.query.type === 1 ? false : true"> <el-form ref="form" :model="form" label-width="80px" :disabled="$route.query.type !== 1 ? false : true">
<el-form-item label="标题"> <el-form-item label="标题">
<el-input v-model="form.title"></el-input> <el-input v-model="form.title"></el-input>
</el-form-item> </el-form-item>
...@@ -184,7 +184,7 @@ export default { ...@@ -184,7 +184,7 @@ export default {
getReportDetail(id) { getReportDetail(id) {
getReportDetail(id).then(res => { getReportDetail(id).then(res => {
const cachData = res.data.detail.answer.commit_report const cachData = res.data.detail.answer.commit_report
if (this.$route.query.type === 1) { if (this.$route.query.type === 0) {
this.stepsIndex = cachData[1].steps this.stepsIndex = cachData[1].steps
this.registerIndex = cachData[1].registerIndex this.registerIndex = cachData[1].registerIndex
this.dataIndex = cachData[1].dataIndex this.dataIndex = cachData[1].dataIndex
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论