Commit dc7a5bd6 by 米嘉伟

冲突

parent 53ca1a28
......@@ -704,6 +704,24 @@
v-if="scope.row.srcBarcode"
@click.stop='closeSelected'
>
<!-- <el-tooltip
class="item"
effect="dark"
content="编辑"
placement="top"
:open-delay="500"
@click="handleClick(scope.row)"
>
<div
class="icon bj"
@click="handleClick(scope.row)"
>
<img
src="../../assets/img/qbryk/bj.svg"
alt=""
/>
</div>
</el-tooltip> -->
<el-tooltip
class="item"
effect="dark"
......@@ -1501,33 +1519,8 @@ export default {
handleClick (row) {
console.log(row);
if (this.showType == 1) {
// 清除bus
this.$bus.off('ryzwbjImage');
this.$bus.off('ryzwbjType');
this.$bus.off('ryzwbjTDZ');
this.$bus.off('zwType');
this.$bus.off('setRxInfo')
this.$bus.off('openRyDaxx')
// 先清除路由懒加载
this.$store.commit('layout/delcachePageName', 'ryzwbj')
// 清除sessionStorage值
sessionStorage.clear()
this.$store.commit("rydaxx/setRyInfo", row);
this.$router.push("/ryzwbj/" + row.id + "/" + row.barcode);
} else if (this.showType == 3) {
// 清除bus
this.$bus.off('ajzwbjImage');
this.$bus.off('ajzwbjType');
this.$bus.off('ajzwbjTDZ');
this.$bus.off('zwType');
this.$bus.off('openAjDaxx');
this.$bus.off('updateList');
this.$bus.off('updateList_hand')
// 先清除路由懒加载
this.$store.commit('layout/delcachePageName', 'ajzwbj')
// 清除sessionStorage值
sessionStorage.clear()
this.$store.commit('ajdaxx/setAjInfo', row)
this.$router.push('/ajzwbj/' + row.id + '/' + row.barcode)
} else if (this.showType == 2) {
console.log(row)
......
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