Commit 115849de by zhuxiaomei

测试修改

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