Browse Source

每月质控报告

1-baogao
aBin 4 years ago
parent
commit
e5d779a14b
  1. 12
      index.html

12
index.html

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

Loading…
Cancel
Save