Commit 115849de by zhuxiaomei

测试修改

parent 0a58cd1d
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
</div> </div>
<div>计划名称:{{ item.name }}</div> <div>计划名称:{{ item.name }}</div>
</div> </div>
<div @click.stop="_goFile(item.id)"> <div @click.stop="_goFile(item)">
<img src="../../assets/file-nav.png" style="width: 20px"> <img src="../../assets/file-nav.png" style="width: 20px">
</div> </div>
</div> </div>
...@@ -250,7 +250,9 @@ export default { ...@@ -250,7 +250,9 @@ export default {
this.checkListValue.splice(this.checkListValue.indexOf(item.id), 1); this.checkListValue.splice(this.checkListValue.indexOf(item.id), 1);
} }
} else { } else {
this._edit(item) if (item.progress === '草稿' || item.progress === '审批驳回') {
this._edit(item)
}
// if (item.testedType === 1) { // if (item.testedType === 1) {
// this.$router.push({path: '/sampling_plan/sampling_plan_detail_net', query: {id: item.id}}) // this.$router.push({path: '/sampling_plan/sampling_plan_detail_net', query: {id: item.id}})
// } else if (item.testedType === 0) { // } else if (item.testedType === 0) {
...@@ -300,8 +302,10 @@ export default { ...@@ -300,8 +302,10 @@ export default {
} }
} }
}, },
_goFile(id) { _goFile(item) {
this.$router.push({path: '/sampling_plan/file', query: {planId: id}}) if (item.progress === '草稿' || item.progress === '审批驳回') {
this.$router.push({path: '/sampling_plan/file', query: {planId: item.id}})
}
} }
} }
} }
......
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