|
|
@ -51,7 +51,7 @@ |
|
|
|
<div data-root="p1419895529168707584" class="flex justify-between"> |
|
|
|
<button class="bg-green-500 py-1 px-3 rounded text-white" style="display:none" onclick="p1419895529168707584.bindOne(this)"></button> |
|
|
|
<button class="bg-blue-500 py-1 px-3 rounded text-white" style="display:none" onclick="p1419895529168707584.bindOne(this)">绑定平车</button> |
|
|
|
<div style="width:100px;height:30px" onclick="p1419895529168707584.bindOne(this)" > |
|
|
|
<div style="width:100px;height:30px" onclick="p1419895529168707584.jumpDetail(this)" > |
|
|
|
<img style="height:100%;width:100" src="https://www.tall.wiki/staticrec/photos/zkpc.jpg"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -119,12 +119,19 @@ |
|
|
|
} |
|
|
|
const p1419895529168707584 = { |
|
|
|
bindOne(that) { |
|
|
|
console.log(that) |
|
|
|
const pId = that.parentNode.parentNode.getAttribute('data-pid'); |
|
|
|
const rId = that.parentNode.parentNode.getAttribute('data-rid'); |
|
|
|
const uId = that.parentNode.parentNode.getAttribute('data-uid'); |
|
|
|
const tId = that.parentNode.parentNode.getAttribute('data-tid'); |
|
|
|
location.href = `https://www.tall.wiki/qc/choice?projectId=${pId}&roleId=${rId}&userId=${uId}&id=${tId}`; |
|
|
|
}, |
|
|
|
jumpDetail(that) { |
|
|
|
const pId = that.parentNode.parentNode.getAttribute('data-pid'); |
|
|
|
const rId = that.parentNode.parentNode.getAttribute('data-rid'); |
|
|
|
const uId = that.parentNode.parentNode.getAttribute('data-uid'); |
|
|
|
const tId = that.parentNode.parentNode.getAttribute('data-tid'); |
|
|
|
location.href = `https://www.tall.wiki/qc/control?projectId=${pId}&roleId=${rId}&userId=${uId}&id=${tId}`; |
|
|
|
|
|
|
|
} |
|
|
|
}; |
|
|
|
</script> |
|
|
|