Skip to content

Commit

Permalink
Merge pull request WeBankBlockchain#655 from 724338817/dev0929
Browse files Browse the repository at this point in the history
dev0929modified
  • Loading branch information
mingzhenliu authored Sep 29, 2021
2 parents e002c23 + 674e45b commit 6e63d86
Show file tree
Hide file tree
Showing 17 changed files with 72 additions and 75 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
vertical-align: -0.15em;
fill: currentColor;
overflow: hidden;
}</style></head><body><body><div id=app style="height: 100% !important;"></div><script type=text/javascript src=./static/js/0.714e566ade85ec8d6bdf.js></script><script type=text/javascript src=./static/js/3.3be06719b992ec2b68d8.js></script><script type=text/javascript src=./static/js/runtime.ae846189f4d523a0caf3.js></script><script type=text/javascript src=./static/js/5.3de44c8af7d57401ccff.js></script></body><script>if (self == top) {
}</style></head><body><body><div id=app style="height: 100% !important;"></div><script type=text/javascript src=./static/js/0.0b763e72125d2d26208c.js></script><script type=text/javascript src=./static/js/3.eb12a41a6deb04d256ae.js></script><script type=text/javascript src=./static/js/runtime.ae846189f4d523a0caf3.js></script><script type=text/javascript src=./static/js/5.3de44c8af7d57401ccff.js></script></body><script>if (self == top) {
var antiClickjack = document.getElementById("antiClickjack");
antiClickjack.parentNode.removeChild(antiClickjack);
} else {
Expand Down
53 changes: 53 additions & 0 deletions src/main/resources/static/static/js/0.0b763e72125d2d26208c.js

Large diffs are not rendered by default.

Binary file not shown.
53 changes: 0 additions & 53 deletions src/main/resources/static/static/js/0.714e566ade85ec8d6bdf.js

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.
7 changes: 6 additions & 1 deletion web/src/components/editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
<el-table-column prop="data" label="data" align="left" :show-overflow-tooltip="true">
<template slot-scope="scope">
<i class="wbs-icon-baocun font-12 copy-public-key" @click="copyPubilcKey(scope.row.data)" :title="$t('title.copy')"></i>
<span>{{scope.row.data}}</span>
<span>{{ abc(scope.row.data) }}</span>
</template>
</el-table-column>
</el-table>
Expand Down Expand Up @@ -206,6 +206,11 @@ export default {
},
methods: {
abc(arr) {
// return arr.replace(/\'/g, "");
if(!Array.isArray(arr)){return arr}
return '['+arr.toString()+']'
},
modelClose() {
this.$emit('close')
},
Expand Down
1 change: 1 addition & 0 deletions web/src/svgIcons/svg/evidenceId.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions web/src/svgIcons/svg/pointsId.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions web/src/svgIcons/svg/propertyId.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions web/src/svgIcons/svg/toolboxId.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions web/src/svgIcons/svg/traceId.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion web/src/views/abiList/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,10 @@ export default {
sendSuccess(val) {
this.dialogVisible = false;
this.editorShow = true;
this.editorData = val;
this.editorData = null;
this.editorData = val.resData;
this.editorInput = val.input;
this.editorOutput = val.data.outputs;
},
editorClose() {
this.editorShow = false;
Expand Down
20 changes: 2 additions & 18 deletions web/src/views/contractWarehouse/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<el-col :span="12" v-for="(item, index) in wareHouseList" :key="index">
<li class="item-warehouse">
<div class="left-warehouse">
<svg-icon :icon-class='item.iconName' class="font-120" style=""></svg-icon>
<svg-icon :icon-class='item.storeIcon' class="font-120" style=""></svg-icon>
<!-- <el-image style="width: 120px; height: 120px" :src="item.storeIcon">
<div slot="error" class="image-slot">
<i class="el-icon-picture-outline"></i>
Expand Down Expand Up @@ -107,24 +107,8 @@ export default {
getContractStore()
.then(res => {
this.loading = false;
if (res.data.code === 0) {
if (res.data.code === 0) {
var list = res.data.data;
var iconList = ["tools", "supply", "points"];
list.forEach((item, index) => {
switch (item.storeIcon) {
case "toolboxId":
item.iconName = "tools"
break;
case "evidenceId":
item.iconName = "supply"
break;
case "pointsId":
item.iconName = "points"
break;
default:
break;
}
});
this.wareHouseList = list;
} else {
Expand Down

0 comments on commit 6e63d86

Please sign in to comment.