From df5ded59c892c24f5a12192c859df7bea71ee095 Mon Sep 17 00:00:00 2001 From: "na.guo" Date: Fri, 7 Aug 2020 11:21:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=B7=E6=96=B0=E6=96=B9=E6=B3=95=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/images/refresh.png | Bin 0 -> 496 bytes src/assets/js/utils/refresh.js | 22 ++++++++++ .../InstitutionalManpower/index.vue | 41 +++++++++--------- 3 files changed, 43 insertions(+), 20 deletions(-) create mode 100644 public/images/refresh.png create mode 100644 src/assets/js/utils/refresh.js diff --git a/public/images/refresh.png b/public/images/refresh.png new file mode 100644 index 0000000000000000000000000000000000000000..ccc8ca7a8ecbdf9657477aeb79261e2f60f18015 GIT binary patch literal 496 zcmVPx#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D0fk9KK~y+Ty^=jk z!%!54Z$fA@I5>82ROq1CRS+yVs33@gsNf3fbWHOn<+<@sIsMITL4+evqQmNFJ z8q+k_V_~gU%Z|t6TTRmzqtGmRS-UrHQ5v6oQyOGHCJa1=KBtT@b#3F$XH#y~lwOK3{ zpM&TW>h*exd`4;}B>WO){}WoZTD@nL83WLY%gh(~eEuy8#o&_8nfH*IuFQA>vlAjR zdF*fOKag3;*_cxEDZ**EJn$7i#EJX>ymNXq8g&q)a2+;&kXHRL9m9o9HfW1OYg;Va za2`r-pD|i;qBuSJK7e1?@ { - this.items.push('0.00') + this.items.push('0') }) } else { let sum1 = 0 @@ -214,22 +212,25 @@ export default { }, created() { if (process.env.NODE_ENV != 'development') { - setTimeout(() => { - // eslint-disable-next-line no-undef - EWebBridge.webCallAppInJs('webview_right_button', { - btns: [ - { - img: this.$assetsUrl + 'images/ebiz/refresh.png', - route: { - flag: '', - extra: { - url: location.origin + '/#/institutionalPerform/BranchOffice' - } - } - } - ] - }) - }, 1000) + + refresh.refreshImg() + window.appCallBack=refresh.refreshCallBack() + // setTimeout(() => { + // // eslint-disable-next-line no-undef + // EWebBridge.webCallAppInJs('webview_right_button', { + // btns: [ + // { + // img: 'images/refresh.png', + // route: { + // flag: '', + // extra: { + // url: location.origin + '/#/institutionalPerform/BranchOffice' + // } + // } + // } + // ] + // }) + // }, 1000) } }, mounted() {