|
|
@ -57,12 +57,12 @@ |
|
|
|
/* |
|
|
|
1. p1419896936236064768插件的所有事件及属性 |
|
|
|
*/ |
|
|
|
const p1419896936236064768 = { |
|
|
|
var p1419896936236064768 = { |
|
|
|
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'); |
|
|
|
var pId = that.parentNode.parentNode.getAttribute('data-pid'); |
|
|
|
var rId = that.parentNode.parentNode.getAttribute('data-rid'); |
|
|
|
var uId = that.parentNode.parentNode.getAttribute('data-uid'); |
|
|
|
var tId = that.parentNode.parentNode.getAttribute('data-tid'); |
|
|
|
location.href = `https://www.tall.wiki/qc/report?projectId=${pId}&roleId=${rId}&userId=${uId}&id=${tId}`; |
|
|
|
}, |
|
|
|
}; |
|
|
@ -88,7 +88,7 @@ |
|
|
|
<!-- 示例插件2 id=100--> |
|
|
|
<button class="bg-blue-500 py-2 px-5 rounded text-white" onclick="p100.show()">测试组建2</button> |
|
|
|
<script> |
|
|
|
const p100 = { |
|
|
|
var p100 = { |
|
|
|
name: 'hello tall plugin', |
|
|
|
show() { |
|
|
|
alert(this.name) |
|
|
|