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

fix:修改营销工具bug

上级 56b9c06b
......@@ -23,7 +23,7 @@
</div>
<div class="step-content2" v-if="stepsIndex === 1">
<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-input v-model="form.title"></el-input>
</el-form-item>
......@@ -184,7 +184,7 @@ export default {
getReportDetail(id) {
getReportDetail(id).then(res => {
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.registerIndex = cachData[1].registerIndex
this.dataIndex = cachData[1].dataIndex
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论