From b1a4952d61d216999f24a7449b7521a52fc7053b Mon Sep 17 00:00:00 2001 From: liuye Date: Fri, 11 Oct 2024 14:31:51 +0800 Subject: [PATCH 01/13] =?UTF-8?q?=E9=A6=96=E9=A1=B5banner=20css?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/project/biaopin/AppHome/AppHome.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/project/biaopin/AppHome/AppHome.vue b/src/project/biaopin/AppHome/AppHome.vue index 3870b23..2caf48e 100644 --- a/src/project/biaopin/AppHome/AppHome.vue +++ b/src/project/biaopin/AppHome/AppHome.vue @@ -376,13 +376,15 @@ export default { } .banner-flex { - display: flex; - justify-content: space-between; + // display: flex; + // justify-content: space-between; padding: 0 32px; .item-banner { + display: inline-block; width: calc(50% - 16px); height: 160px; position: relative; + margin-bottom: 16px; img { width: 100%; height: 100%; @@ -404,6 +406,9 @@ export default { line-height: 32px; } } + .item-banner:nth-of-type(2n-1) { + margin-right: 32px; + } .color-3872BC { color: #3872BC; } From 1efe6010a263c51562732a32f4d664201fa7862c Mon Sep 17 00:00:00 2001 From: liuye Date: Mon, 14 Oct 2024 10:52:02 +0800 Subject: [PATCH 02/13] css --- src/project/biaopin/AppHome/AppHome.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/project/biaopin/AppHome/AppHome.vue b/src/project/biaopin/AppHome/AppHome.vue index 2caf48e..d0a7837 100644 --- a/src/project/biaopin/AppHome/AppHome.vue +++ b/src/project/biaopin/AppHome/AppHome.vue @@ -379,9 +379,10 @@ export default { // display: flex; // justify-content: space-between; padding: 0 32px; + box-sizing: border-box; .item-banner { display: inline-block; - width: calc(50% - 16px); + width: calc(50% - 20px); height: 160px; position: relative; margin-bottom: 16px; From 991114848a8d97acd8a3c9b9ce6fcf8125f4d4e0 Mon Sep 17 00:00:00 2001 From: liuye Date: Thu, 17 Oct 2024 14:55:21 +0800 Subject: [PATCH 03/13] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wuxi/AppOrderList/AppOrderList.vue | 323 ++++++++++++++++++ src/project/wuxi/AppOrderList/Detail.vue | 197 +++++++++++ .../wuxi/AppRedemptionPoints/myOrderList.vue | 26 +- 3 files changed, 543 insertions(+), 3 deletions(-) create mode 100644 src/project/wuxi/AppOrderList/AppOrderList.vue create mode 100644 src/project/wuxi/AppOrderList/Detail.vue diff --git a/src/project/wuxi/AppOrderList/AppOrderList.vue b/src/project/wuxi/AppOrderList/AppOrderList.vue new file mode 100644 index 0000000..0ca53c8 --- /dev/null +++ b/src/project/wuxi/AppOrderList/AppOrderList.vue @@ -0,0 +1,323 @@ + + + + + diff --git a/src/project/wuxi/AppOrderList/Detail.vue b/src/project/wuxi/AppOrderList/Detail.vue new file mode 100644 index 0000000..e2f2877 --- /dev/null +++ b/src/project/wuxi/AppOrderList/Detail.vue @@ -0,0 +1,197 @@ + + + + + diff --git a/src/project/wuxi/AppRedemptionPoints/myOrderList.vue b/src/project/wuxi/AppRedemptionPoints/myOrderList.vue index 0c7329d..4f20284 100644 --- a/src/project/wuxi/AppRedemptionPoints/myOrderList.vue +++ b/src/project/wuxi/AppRedemptionPoints/myOrderList.vue @@ -29,12 +29,17 @@
去购买
-

核销码:{{item.verificationCode}}

+

核销码:{{item.verificationCode}}二维码

取消订单
+ +
+ +
+
@@ -56,7 +61,9 @@ export default { 'background': '#2D7DFF' }, list: [], - current: 1 + current: 1, + showImg: false, + imgUrl: '' } }, computed: { @@ -125,6 +132,10 @@ export default { } }) }, + viewImg(row) { + this.imgUrl = row.maQrcode + this.showImg = true + } }, onReachBottom() { this.current = this.current + 1 @@ -290,6 +301,9 @@ export default { color: #2D7DFF; margin-left: 8px; } + .qr-code { + margin-left: 32px; + } } .btn { width: 136px; @@ -309,7 +323,13 @@ export default { } } } - + .img-box { + padding: 32px; + img { + width: 300px; + height: 300px; + } + } } From 10cbef1f578a9f07522ba25376413dc890f9bdfe Mon Sep 17 00:00:00 2001 From: liuye Date: Mon, 21 Oct 2024 09:25:30 +0800 Subject: [PATCH 04/13] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/project/wuxi/AppOrderList/AppOrderList.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/project/wuxi/AppOrderList/AppOrderList.vue b/src/project/wuxi/AppOrderList/AppOrderList.vue index 0ca53c8..93c000c 100644 --- a/src/project/wuxi/AppOrderList/AppOrderList.vue +++ b/src/project/wuxi/AppOrderList/AppOrderList.vue @@ -24,9 +24,9 @@ -

兑换人:{{item.remarks}}

-

兑换时间:{{item.remarks}}

-
+

兑换人:{{item.examineUserName}}

+

兑换时间:{{item.examineTime}}

+

订单核销
From b77882a5744fceb49aab874da1a41331ba60222e Mon Sep 17 00:00:00 2001 From: liuye Date: Mon, 21 Oct 2024 09:31:48 +0800 Subject: [PATCH 05/13] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/project/wuxi/AppOrderList/AppOrderList.vue | 4 ++-- src/project/wuxi/AppOrderList/Detail.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/project/wuxi/AppOrderList/AppOrderList.vue b/src/project/wuxi/AppOrderList/AppOrderList.vue index 93c000c..47b7260 100644 --- a/src/project/wuxi/AppOrderList/AppOrderList.vue +++ b/src/project/wuxi/AppOrderList/AppOrderList.vue @@ -24,8 +24,8 @@ -

兑换人:{{item.examineUserName}}

-

兑换时间:{{item.examineTime}}

+

兑换人:{{item.integralUserName}}

+

兑换时间:{{item.createTime}}

订单核销
diff --git a/src/project/wuxi/AppOrderList/Detail.vue b/src/project/wuxi/AppOrderList/Detail.vue index e2f2877..362308b 100644 --- a/src/project/wuxi/AppOrderList/Detail.vue +++ b/src/project/wuxi/AppOrderList/Detail.vue @@ -3,7 +3,7 @@
兑换人 - {{info.examineUserName}} + {{info.integralUserName}}
商品名称 From 59e072ed47c39fb4ab31a1d8529e60a1c2112285 Mon Sep 17 00:00:00 2001 From: liuye Date: Mon, 21 Oct 2024 15:01:26 +0800 Subject: [PATCH 06/13] text --- src/project/wuxi/AppOrderList/Detail.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/project/wuxi/AppOrderList/Detail.vue b/src/project/wuxi/AppOrderList/Detail.vue index 362308b..5a38a9f 100644 --- a/src/project/wuxi/AppOrderList/Detail.vue +++ b/src/project/wuxi/AppOrderList/Detail.vue @@ -25,7 +25,7 @@ -
From 137891332a2557dac7a80811929a2e0e103a4ceb Mon Sep 17 00:00:00 2001 From: liuye Date: Mon, 21 Oct 2024 16:41:32 +0800 Subject: [PATCH 07/13] =?UTF-8?q?=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/project/wuxi/AppOrderList/Detail.vue | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/src/project/wuxi/AppOrderList/Detail.vue b/src/project/wuxi/AppOrderList/Detail.vue index 5a38a9f..edc2ea6 100644 --- a/src/project/wuxi/AppOrderList/Detail.vue +++ b/src/project/wuxi/AppOrderList/Detail.vue @@ -27,11 +27,12 @@
+
From fd73698c4810ff3df7646fbc34807f21ee15eb06 Mon Sep 17 00:00:00 2001 From: liuye Date: Thu, 24 Oct 2024 11:16:03 +0800 Subject: [PATCH 08/13] =?UTF-8?q?=E9=9A=8F=E6=89=8B=E6=8B=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mods/conv/AppPhotoReport/PhotoForm.vue | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/src/mods/conv/AppPhotoReport/PhotoForm.vue b/src/mods/conv/AppPhotoReport/PhotoForm.vue index 55093a3..8bce63a 100644 --- a/src/mods/conv/AppPhotoReport/PhotoForm.vue +++ b/src/mods/conv/AppPhotoReport/PhotoForm.vue @@ -92,11 +92,12 @@
提交
+
+ + diff --git a/src/project/lianhua/AppNewFarmerBank/AppNewFarmerBankOld.vue b/src/project/lianhua/AppNewFarmerBank/AppNewFarmerBankOld.vue new file mode 100644 index 0000000..b005a3e --- /dev/null +++ b/src/project/lianhua/AppNewFarmerBank/AppNewFarmerBankOld.vue @@ -0,0 +1,396 @@ + + + + + diff --git a/src/project/lianhua/AppNewFarmerBank/handpick.vue b/src/project/lianhua/AppNewFarmerBank/handpick.vue new file mode 100644 index 0000000..2ad774b --- /dev/null +++ b/src/project/lianhua/AppNewFarmerBank/handpick.vue @@ -0,0 +1,199 @@ + + + + + \ No newline at end of file diff --git a/src/project/lianhua/AppNewFarmerBank/img/xz.png b/src/project/lianhua/AppNewFarmerBank/img/xz.png new file mode 100644 index 0000000000000000000000000000000000000000..98f78cdab2ae85e91b206b3aa327d3557742f637 GIT binary patch literal 1489 zcmV;?1upuDP)Px#L}ge>W=%~1DgXcg2mk?xX#fNO00031000^Q000001E2u_0{{R30RRC20H6W@ z1ONa40RR91FrWhf1ONa40RR91FaQ7m0NXcg3;+NHJ4r-ARA>d&noVdMM;L}@cBNJ^ zB?~o1|NbirdCoHaxgS%CGGZo=f_^#iltpyyV8Qav%53jJnzmovoqgFihVd%S62_L zudlxqhT&-;h2gM&X04-Y@%^G*(#wD98M;-Olt zaV`vlbFgt1e*-aX{e%3oQaX3?dH2rP*cb)IK4J^-{j~wddHi`0gqKm9dc%05A>Qm9 z&Ub@AuDGsPLwc=HC{##PtyYK73dKf46dfl#hV_-%mxI66A|nD^Q}mX?-|K-jymavrwNm~s^<#q`9) z#J8~BXvbDt0u~k)UTHLfA5f7;qp0M*5V^~x(uv>Nsiak&a{1vKLe#I|<-DftOW$>! z_r}M^|7=yZr2yZ5cnZe9hatZ86~JFAl}g{WGMwajxm>A|5sW8A8W7dC|#b}O1EntrYT1AkLzmN!bJ zlb^Ngm(dE6q}kuf5lsacxA_%i3qm-bdfv&eXejN&_aA&BMDQi* zt-_t&Z01h81hB)_>y1B92tF@wc;3XvX@f`W^Zog+O-odAIrr6_9ova!X47%BAv}Ga zZWDc;McTM7hHEioMnX5ru}y#;=haZT!Va63&qslFrpZ7S++X1^PR3}SO#%GEnvWDa z&82RSHc^OHX|j-s`N&9CTV_)Lrw6zR*Ae%-HO|{glbp#!HZmGkWkw0$*lXrCQ0OY9 zNh;}f8OugiGP6DVb%i7lo7fegb}NvPte~7FyZR0=#I3RA z`QFASoo2MmN&w^Yc(MUyXLO*oH)W8GjAS*;dPT-nKjZTnyKc_CC_=N5)kaNJ3lNo? z3piC6;%1b%*YI`ZT7};$hE*YM3gFHN!WPrK3lUfCs$b>G_#atx*qsY6F&*8-*%UxV zvoqo&d8}4bA?|HqyexFU=UuYkwI0P#?~^ggu}uInG`KT@3~(iOXok46J;-1>ZiQ@Q zj1p}Vzy~_|o0~)uA?@&@4sl0|q?gupt33jS*C%&Irb)6(0BFX^f`=0xHlh2B1w#~{w>wd*ieShI~^v$dM1}V3| zXtQtItX2g5viU~0oMA{Z?krZ%D*t;21H}b1%CM^LY;;=@JjeN|fsG#2YPBLDv;C<- rR0PxfI`-v{J$4G=H5Wx${oLk%)9=4SDWBtd00000NkvXXu0mjfj7GBY literal 0 HcmV?d00001 diff --git a/src/project/lianhua/AppNewFarmerBank/img/xzh.png b/src/project/lianhua/AppNewFarmerBank/img/xzh.png new file mode 100644 index 0000000000000000000000000000000000000000..967fa399ea01a0d7fced8adb1f7a3129aabdeb2c GIT binary patch literal 1730 zcmV;z20i(SP)Px#L}ge>W=%~1DgXcg2mk?xX#fNO00031000^Q000001E2u_0{{R30RRC20H6W@ z1ONa40RR91F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4XvcouY&pYPNbG7ghK&DBjI`)xk<@= zNhRd+28_-YQBS4B$Gf z)G9EcRIb=lS{vo8dLF!}^#{(6Kl*5<>w%`3)Tynlhl>SzpDjMwtW08bFj#G+yZNN0 zE*4u_>Z)97bUPU0CzC@%pB{LmRL0bYo6VimFwGAD9B&38UhMCSLG$qRV9PBtcK5Q) zeUp;QyU_I~CWi-Z_B_|1LG z%5mDWlcNJy4((Z`B@!Fy3$R#CYNDU=+6BMgXIEw~pH$v*x&F*zw^MfBYjkmPB++*A z>U6GK^IqR4rCTY}N-BK`%q_FB01zOZ$SmF$!v#RYr{wbTWHMpTzMT}O9SF|=YVAgS z{px1=9auQ8yb#MUuWi5P3B589P~xP^2k-?q5#Mn1tD-n zC-M=|8{^5uYrS}WUm-e33N`Sd&e)aI&aVm9i@Hu`e>}GD5qLL~HBFOshW6XZhmxxw4H#|I?S9^MKUQZ-$ z1ETsIf9uvmMMGN*2KgQ>Q*VsNx)11e)b_Wn()@z@Pf# z;bZc@-HdUMfgeqd45kj#_(P3=0-=bxc>UJ72l^wwm%o3xn}2R*{M6OMAZ>FLx@sl7 z=Btv%wVNNmB74S8fA`H^ +
+
+
事件类型
+ +
+ {{ form.applyItemName }} + 请选择 + +
+
+
+

详情描述

+ +
{{ form.content.length }}/300
+
+
+

上传图片

+
+ +
+
可上传图片,最多上传9张。
+
+
+

上传视频

+
+ +
+
可上传视频,最大30M。
+
+ +
+
所属网格
+ + + +
+ +
+
提交申请
+
+
+ + + + + \ No newline at end of file diff --git a/src/project/lianhua/AppNewFarmerBank/integralApply.vue b/src/project/lianhua/AppNewFarmerBank/integralApply.vue new file mode 100644 index 0000000..e32f1a1 --- /dev/null +++ b/src/project/lianhua/AppNewFarmerBank/integralApply.vue @@ -0,0 +1,125 @@ + + + + + \ No newline at end of file diff --git a/src/project/lianhua/AppNewFarmerBank/integralDetail.vue b/src/project/lianhua/AppNewFarmerBank/integralDetail.vue new file mode 100644 index 0000000..038583f --- /dev/null +++ b/src/project/lianhua/AppNewFarmerBank/integralDetail.vue @@ -0,0 +1,158 @@ + + + + + \ No newline at end of file diff --git a/src/project/lianhua/AppNewFarmerBank/integralRank.vue b/src/project/lianhua/AppNewFarmerBank/integralRank.vue new file mode 100644 index 0000000..e529ca5 --- /dev/null +++ b/src/project/lianhua/AppNewFarmerBank/integralRank.vue @@ -0,0 +1,480 @@ + + + diff --git a/src/project/lianhua/AppNewFarmerBank/integralTask.vue b/src/project/lianhua/AppNewFarmerBank/integralTask.vue new file mode 100644 index 0000000..6fdfaf6 --- /dev/null +++ b/src/project/lianhua/AppNewFarmerBank/integralTask.vue @@ -0,0 +1,216 @@ + + + + + \ No newline at end of file diff --git a/src/project/lianhua/AppNewFarmerBank/integral_select.png b/src/project/lianhua/AppNewFarmerBank/integral_select.png new file mode 100644 index 0000000000000000000000000000000000000000..c613222f700ecbbe5f136cc6bb9c0e51943ecfb3 GIT binary patch literal 2238 zcmV;v2toIWP)Px-cu7P-RA@uxS!;|{R~7!&KIh(f+_^J6q%b2LtuRAL(FC--jKpHo;t!Bk`DFq! zGuFh!2*JOt*#4D(F)^{u3_{{Bv_<$KZIl{}ysD7sG!zD`PH_f`FwER}-h0koX6n_(l~)HE4F`>J6d}Q{+V$Q;sNYp3n$36 zzdiE2cJ*%nqyUI1p=$%`6lD;ppF9(>^Z6|^>ybLb#K8xyA+7h0DL|s z+DF&A?4AMe7yuVQD1D6aF0h~$*tkj|X?xpe9md7$8V|<+%PQ#!i7yMlM;2Mza$Tvb zh>3}40RF;M$H>xgt$z<-jc>dhFm1?2E(29Iu&GsHL5koAQ~eJuz>zS z#=E!55-|gUNuB25)C)KPf6?^74hP_KPjzGtL-W2k;{)n^_EQQi%LrL#%J=}BfJoXv z?;Xb9|E1%oB+EQcC_17$)BB_1VLE`o__mRKfIeK7@i|~cBS8QNZGxLGrig$LIthSV z0}Lw>t4uzf)PCJvcO(o%ApqZat9^JoGv3S#)@a3Xfn^H_LLC#@aq2BQX&5TqdB|~| z2zJv%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LDrTH#f*#sea-1kzf+D}&Os1|Y~j~T zR@=yKhCap&ov@%btx{N6^t3oAPm9;JG(hr1q6lh_+g*3OT)CVd0J7_&hp^16MEtUw zV`p`dT8ceK-mZcEpY zyJfYqf+k%`?Q_?(n;B=zg6ejUraGp!DPM8sE{H=x5aT7TC1>~)Gks-ai*lDOAoG%a z=OMcnd$mQxe_*?Q2VSSKpd~CP@s*l02OcO?rbXWyTmB&9oc-itYFWQh84_K-sjYwC z=iWtWd+URr*500};>@E53PE7^(E93X`rVhFv=+&iKfUihn3&+N;&{X5xio%uG8*OA z;Af#-!#mckQNNaHS9^-F7wEh+Z3?`DJOBUy M07*qoM6N<$f+(*&UH||9 literal 0 HcmV?d00001 diff --git a/src/project/lianhua/AppNewFarmerBank/libs/qqmap-wx-jssdk.js b/src/project/lianhua/AppNewFarmerBank/libs/qqmap-wx-jssdk.js new file mode 100644 index 0000000..8fa1477 --- /dev/null +++ b/src/project/lianhua/AppNewFarmerBank/libs/qqmap-wx-jssdk.js @@ -0,0 +1 @@ +var ERROR_CONF = { KEY_ERR: 311, KEY_ERR_MSG: 'key格式错误', PARAM_ERR: 310, PARAM_ERR_MSG: '请求参数信息有误', SYSTEM_ERR: 600, SYSTEM_ERR_MSG: '系统错误', WX_ERR_CODE: 1000, WX_OK_CODE: 200 }; var BASE_URL = 'https://apis.map.qq.com/ws/'; var URL_SEARCH = BASE_URL + 'place/v1/search'; var URL_SUGGESTION = BASE_URL + 'place/v1/suggestion'; var URL_GET_GEOCODER = BASE_URL + 'geocoder/v1/'; var URL_CITY_LIST = BASE_URL + 'district/v1/list'; var URL_AREA_LIST = BASE_URL + 'district/v1/getchildren'; var URL_DISTANCE = BASE_URL + 'distance/v1/'; var URL_DIRECTION = BASE_URL + 'direction/v1/'; var MODE = { driving: 'driving', transit: 'transit' }; var EARTH_RADIUS = 6378136.49; var Utils = { safeAdd(x, y) { var lsw = (x & 0xffff) + (y & 0xffff); var msw = (x >> 16) + (y >> 16) + (lsw >> 16); return (msw << 16) | (lsw & 0xffff) }, bitRotateLeft(num, cnt) { return (num << cnt) | (num >>> (32 - cnt)) }, md5cmn(q, a, b, x, s, t) { return this.safeAdd(this.bitRotateLeft(this.safeAdd(this.safeAdd(a, q), this.safeAdd(x, t)), s), b) }, md5ff(a, b, c, d, x, s, t) { return this.md5cmn((b & c) | (~b & d), a, b, x, s, t) }, md5gg(a, b, c, d, x, s, t) { return this.md5cmn((b & d) | (c & ~d), a, b, x, s, t) }, md5hh(a, b, c, d, x, s, t) { return this.md5cmn(b ^ c ^ d, a, b, x, s, t) }, md5ii(a, b, c, d, x, s, t) { return this.md5cmn(c ^ (b | ~d), a, b, x, s, t) }, binlMD5(x, len) { x[len >> 5] |= 0x80 << (len % 32); x[((len + 64) >>> 9 << 4) + 14] = len; var i; var olda; var oldb; var oldc; var oldd; var a = 1732584193; var b = -271733879; var c = -1732584194; var d = 271733878; for (i = 0; i < x.length; i += 16) { olda = a; oldb = b; oldc = c; oldd = d; a = this.md5ff(a, b, c, d, x[i], 7, -680876936); d = this.md5ff(d, a, b, c, x[i + 1], 12, -389564586); c = this.md5ff(c, d, a, b, x[i + 2], 17, 606105819); b = this.md5ff(b, c, d, a, x[i + 3], 22, -1044525330); a = this.md5ff(a, b, c, d, x[i + 4], 7, -176418897); d = this.md5ff(d, a, b, c, x[i + 5], 12, 1200080426); c = this.md5ff(c, d, a, b, x[i + 6], 17, -1473231341); b = this.md5ff(b, c, d, a, x[i + 7], 22, -45705983); a = this.md5ff(a, b, c, d, x[i + 8], 7, 1770035416); d = this.md5ff(d, a, b, c, x[i + 9], 12, -1958414417); c = this.md5ff(c, d, a, b, x[i + 10], 17, -42063); b = this.md5ff(b, c, d, a, x[i + 11], 22, -1990404162); a = this.md5ff(a, b, c, d, x[i + 12], 7, 1804603682); d = this.md5ff(d, a, b, c, x[i + 13], 12, -40341101); c = this.md5ff(c, d, a, b, x[i + 14], 17, -1502002290); b = this.md5ff(b, c, d, a, x[i + 15], 22, 1236535329); a = this.md5gg(a, b, c, d, x[i + 1], 5, -165796510); d = this.md5gg(d, a, b, c, x[i + 6], 9, -1069501632); c = this.md5gg(c, d, a, b, x[i + 11], 14, 643717713); b = this.md5gg(b, c, d, a, x[i], 20, -373897302); a = this.md5gg(a, b, c, d, x[i + 5], 5, -701558691); d = this.md5gg(d, a, b, c, x[i + 10], 9, 38016083); c = this.md5gg(c, d, a, b, x[i + 15], 14, -660478335); b = this.md5gg(b, c, d, a, x[i + 4], 20, -405537848); a = this.md5gg(a, b, c, d, x[i + 9], 5, 568446438); d = this.md5gg(d, a, b, c, x[i + 14], 9, -1019803690); c = this.md5gg(c, d, a, b, x[i + 3], 14, -187363961); b = this.md5gg(b, c, d, a, x[i + 8], 20, 1163531501); a = this.md5gg(a, b, c, d, x[i + 13], 5, -1444681467); d = this.md5gg(d, a, b, c, x[i + 2], 9, -51403784); c = this.md5gg(c, d, a, b, x[i + 7], 14, 1735328473); b = this.md5gg(b, c, d, a, x[i + 12], 20, -1926607734); a = this.md5hh(a, b, c, d, x[i + 5], 4, -378558); d = this.md5hh(d, a, b, c, x[i + 8], 11, -2022574463); c = this.md5hh(c, d, a, b, x[i + 11], 16, 1839030562); b = this.md5hh(b, c, d, a, x[i + 14], 23, -35309556); a = this.md5hh(a, b, c, d, x[i + 1], 4, -1530992060); d = this.md5hh(d, a, b, c, x[i + 4], 11, 1272893353); c = this.md5hh(c, d, a, b, x[i + 7], 16, -155497632); b = this.md5hh(b, c, d, a, x[i + 10], 23, -1094730640); a = this.md5hh(a, b, c, d, x[i + 13], 4, 681279174); d = this.md5hh(d, a, b, c, x[i], 11, -358537222); c = this.md5hh(c, d, a, b, x[i + 3], 16, -722521979); b = this.md5hh(b, c, d, a, x[i + 6], 23, 76029189); a = this.md5hh(a, b, c, d, x[i + 9], 4, -640364487); d = this.md5hh(d, a, b, c, x[i + 12], 11, -421815835); c = this.md5hh(c, d, a, b, x[i + 15], 16, 530742520); b = this.md5hh(b, c, d, a, x[i + 2], 23, -995338651); a = this.md5ii(a, b, c, d, x[i], 6, -198630844); d = this.md5ii(d, a, b, c, x[i + 7], 10, 1126891415); c = this.md5ii(c, d, a, b, x[i + 14], 15, -1416354905); b = this.md5ii(b, c, d, a, x[i + 5], 21, -57434055); a = this.md5ii(a, b, c, d, x[i + 12], 6, 1700485571); d = this.md5ii(d, a, b, c, x[i + 3], 10, -1894986606); c = this.md5ii(c, d, a, b, x[i + 10], 15, -1051523); b = this.md5ii(b, c, d, a, x[i + 1], 21, -2054922799); a = this.md5ii(a, b, c, d, x[i + 8], 6, 1873313359); d = this.md5ii(d, a, b, c, x[i + 15], 10, -30611744); c = this.md5ii(c, d, a, b, x[i + 6], 15, -1560198380); b = this.md5ii(b, c, d, a, x[i + 13], 21, 1309151649); a = this.md5ii(a, b, c, d, x[i + 4], 6, -145523070); d = this.md5ii(d, a, b, c, x[i + 11], 10, -1120210379); c = this.md5ii(c, d, a, b, x[i + 2], 15, 718787259); b = this.md5ii(b, c, d, a, x[i + 9], 21, -343485551); a = this.safeAdd(a, olda); b = this.safeAdd(b, oldb); c = this.safeAdd(c, oldc); d = this.safeAdd(d, oldd) } return [a, b, c, d] }, binl2rstr(input) { var i; var output = ''; var length32 = input.length * 32; for (i = 0; i < length32; i += 8) { output += String.fromCharCode((input[i >> 5] >>> (i % 32)) & 0xff) } return output }, rstr2binl(input) { var i; var output = []; output[(input.length >> 2) - 1] = undefined; for (i = 0; i < output.length; i += 1) { output[i] = 0 } var length8 = input.length * 8; for (i = 0; i < length8; i += 8) { output[i >> 5] |= (input.charCodeAt(i / 8) & 0xff) << (i % 32) } return output }, rstrMD5(s) { return this.binl2rstr(this.binlMD5(this.rstr2binl(s), s.length * 8)) }, rstrHMACMD5(key, data) { var i; var bkey = this.rstr2binl(key); var ipad = []; var opad = []; var hash; ipad[15] = opad[15] = undefined; if (bkey.length > 16) { bkey = this.binlMD5(bkey, key.length * 8) } for (i = 0; i < 16; i += 1) { ipad[i] = bkey[i] ^ 0x36363636; opad[i] = bkey[i] ^ 0x5c5c5c5c } hash = this.binlMD5(ipad.concat(this.rstr2binl(data)), 512 + data.length * 8); return this.binl2rstr(this.binlMD5(opad.concat(hash), 512 + 128)) }, rstr2hex(input) { var hexTab = '0123456789abcdef'; var output = ''; var x; var i; for (i = 0; i < input.length; i += 1) { x = input.charCodeAt(i); output += hexTab.charAt((x >>> 4) & 0x0f) + hexTab.charAt(x & 0x0f) } return output }, str2rstrUTF8(input) { return unescape(encodeURIComponent(input)) }, rawMD5(s) { return this.rstrMD5(this.str2rstrUTF8(s)) }, hexMD5(s) { return this.rstr2hex(this.rawMD5(s)) }, rawHMACMD5(k, d) { return this.rstrHMACMD5(this.str2rstrUTF8(k), str2rstrUTF8(d)) }, hexHMACMD5(k, d) { return this.rstr2hex(this.rawHMACMD5(k, d)) }, md5(string, key, raw) { if (!key) { if (!raw) { return this.hexMD5(string) } return this.rawMD5(string) } if (!raw) { return this.hexHMACMD5(key, string) } return this.rawHMACMD5(key, string) }, getSig(requestParam, sk, feature, mode) { var sig = null; var requestArr = []; Object.keys(requestParam).sort().forEach(function (key) { requestArr.push(key + '=' + requestParam[key]) }); if (feature == 'search') { sig = '/ws/place/v1/search?' + requestArr.join('&') + sk } if (feature == 'suggest') { sig = '/ws/place/v1/suggestion?' + requestArr.join('&') + sk } if (feature == 'reverseGeocoder') { sig = '/ws/geocoder/v1/?' + requestArr.join('&') + sk } if (feature == 'geocoder') { sig = '/ws/geocoder/v1/?' + requestArr.join('&') + sk } if (feature == 'getCityList') { sig = '/ws/district/v1/list?' + requestArr.join('&') + sk } if (feature == 'getDistrictByCityId') { sig = '/ws/district/v1/getchildren?' + requestArr.join('&') + sk } if (feature == 'calculateDistance') { sig = '/ws/distance/v1/?' + requestArr.join('&') + sk } if (feature == 'direction') { sig = '/ws/direction/v1/' + mode + '?' + requestArr.join('&') + sk } sig = this.md5(sig); return sig }, location2query(data) { if (typeof data == 'string') { return data } var query = ''; for (var i = 0; i < data.length; i++) { var d = data[i]; if (!!query) { query += ';' } if (d.location) { query = query + d.location.lat + ',' + d.location.lng } if (d.latitude && d.longitude) { query = query + d.latitude + ',' + d.longitude } } return query }, rad(d) { return d * Math.PI / 180.0 }, getEndLocation(location) { var to = location.split(';'); var endLocation = []; for (var i = 0; i < to.length; i++) { endLocation.push({ lat: parseFloat(to[i].split(',')[0]), lng: parseFloat(to[i].split(',')[1]) }) } return endLocation }, getDistance(latFrom, lngFrom, latTo, lngTo) { var radLatFrom = this.rad(latFrom); var radLatTo = this.rad(latTo); var a = radLatFrom - radLatTo; var b = this.rad(lngFrom) - this.rad(lngTo); var distance = 2 * Math.asin(Math.sqrt(Math.pow(Math.sin(a / 2), 2) + Math.cos(radLatFrom) * Math.cos(radLatTo) * Math.pow(Math.sin(b / 2), 2))); distance = distance * EARTH_RADIUS; distance = Math.round(distance * 10000) / 10000; return parseFloat(distance.toFixed(0)) }, getWXLocation(success, fail, complete) { wx.getLocation({ type: 'gcj02', success: success, fail: fail, complete: complete }) }, getLocationParam(location) { if (typeof location == 'string') { var locationArr = location.split(','); if (locationArr.length === 2) { location = { latitude: location.split(',')[0], longitude: location.split(',')[1] } } else { location = {} } } return location }, polyfillParam(param) { param.success = param.success || function () { }; param.fail = param.fail || function () { }; param.complete = param.complete || function () { } }, checkParamKeyEmpty(param, key) { if (!param[key]) { var errconf = this.buildErrorConfig(ERROR_CONF.PARAM_ERR, ERROR_CONF.PARAM_ERR_MSG + key + '参数格式有误'); param.fail(errconf); param.complete(errconf); return true } return false }, checkKeyword(param) { return !this.checkParamKeyEmpty(param, 'keyword') }, checkLocation(param) { var location = this.getLocationParam(param.location); if (!location || !location.latitude || !location.longitude) { var errconf = this.buildErrorConfig(ERROR_CONF.PARAM_ERR, ERROR_CONF.PARAM_ERR_MSG + ' location参数格式有误'); param.fail(errconf); param.complete(errconf); return false } return true }, buildErrorConfig(errCode, errMsg) { return { status: errCode, message: errMsg } }, handleData(param, data, feature) { if (feature == 'search') { var searchResult = data.data; var searchSimplify = []; for (var i = 0; i < searchResult.length; i++) { searchSimplify.push({ id: searchResult[i].id || null, title: searchResult[i].title || null, latitude: searchResult[i].location && searchResult[i].location.lat || null, longitude: searchResult[i].location && searchResult[i].location.lng || null, address: searchResult[i].address || null, category: searchResult[i].category || null, tel: searchResult[i].tel || null, adcode: searchResult[i].ad_info && searchResult[i].ad_info.adcode || null, city: searchResult[i].ad_info && searchResult[i].ad_info.city || null, district: searchResult[i].ad_info && searchResult[i].ad_info.district || null, province: searchResult[i].ad_info && searchResult[i].ad_info.province || null }) } param.success(data, { searchResult: searchResult, searchSimplify: searchSimplify }) } else if (feature == 'suggest') { var suggestResult = data.data; var suggestSimplify = []; for (var i = 0; i < suggestResult.length; i++) { suggestSimplify.push({ adcode: suggestResult[i].adcode || null, address: suggestResult[i].address || null, category: suggestResult[i].category || null, city: suggestResult[i].city || null, district: suggestResult[i].district || null, id: suggestResult[i].id || null, latitude: suggestResult[i].location && suggestResult[i].location.lat || null, longitude: suggestResult[i].location && suggestResult[i].location.lng || null, province: suggestResult[i].province || null, title: suggestResult[i].title || null, type: suggestResult[i].type || null }) } param.success(data, { suggestResult: suggestResult, suggestSimplify: suggestSimplify }) } else if (feature == 'reverseGeocoder') { var reverseGeocoderResult = data.result; var reverseGeocoderSimplify = { address: reverseGeocoderResult.address || null, latitude: reverseGeocoderResult.location && reverseGeocoderResult.location.lat || null, longitude: reverseGeocoderResult.location && reverseGeocoderResult.location.lng || null, adcode: reverseGeocoderResult.ad_info && reverseGeocoderResult.ad_info.adcode || null, city: reverseGeocoderResult.address_component && reverseGeocoderResult.address_component.city || null, district: reverseGeocoderResult.address_component && reverseGeocoderResult.address_component.district || null, nation: reverseGeocoderResult.address_component && reverseGeocoderResult.address_component.nation || null, province: reverseGeocoderResult.address_component && reverseGeocoderResult.address_component.province || null, street: reverseGeocoderResult.address_component && reverseGeocoderResult.address_component.street || null, street_number: reverseGeocoderResult.address_component && reverseGeocoderResult.address_component.street_number || null, recommend: reverseGeocoderResult.formatted_addresses && reverseGeocoderResult.formatted_addresses.recommend || null, rough: reverseGeocoderResult.formatted_addresses && reverseGeocoderResult.formatted_addresses.rough || null }; if (reverseGeocoderResult.pois) { var pois = reverseGeocoderResult.pois; var poisSimplify = []; for (var i = 0; i < pois.length; i++) { poisSimplify.push({ id: pois[i].id || null, title: pois[i].title || null, latitude: pois[i].location && pois[i].location.lat || null, longitude: pois[i].location && pois[i].location.lng || null, address: pois[i].address || null, category: pois[i].category || null, adcode: pois[i].ad_info && pois[i].ad_info.adcode || null, city: pois[i].ad_info && pois[i].ad_info.city || null, district: pois[i].ad_info && pois[i].ad_info.district || null, province: pois[i].ad_info && pois[i].ad_info.province || null }) } param.success(data, { reverseGeocoderResult: reverseGeocoderResult, reverseGeocoderSimplify: reverseGeocoderSimplify, pois: pois, poisSimplify: poisSimplify }) } else { param.success(data, { reverseGeocoderResult: reverseGeocoderResult, reverseGeocoderSimplify: reverseGeocoderSimplify }) } } else if (feature == 'geocoder') { var geocoderResult = data.result; var geocoderSimplify = { title: geocoderResult.title || null, latitude: geocoderResult.location && geocoderResult.location.lat || null, longitude: geocoderResult.location && geocoderResult.location.lng || null, adcode: geocoderResult.ad_info && geocoderResult.ad_info.adcode || null, province: geocoderResult.address_components && geocoderResult.address_components.province || null, city: geocoderResult.address_components && geocoderResult.address_components.city || null, district: geocoderResult.address_components && geocoderResult.address_components.district || null, street: geocoderResult.address_components && geocoderResult.address_components.street || null, street_number: geocoderResult.address_components && geocoderResult.address_components.street_number || null, level: geocoderResult.level || null }; param.success(data, { geocoderResult: geocoderResult, geocoderSimplify: geocoderSimplify }) } else if (feature == 'getCityList') { var provinceResult = data.result[0]; var cityResult = data.result[1]; var districtResult = data.result[2]; param.success(data, { provinceResult: provinceResult, cityResult: cityResult, districtResult: districtResult }) } else if (feature == 'getDistrictByCityId') { var districtByCity = data.result[0]; param.success(data, districtByCity) } else if (feature == 'calculateDistance') { var calculateDistanceResult = data.result.elements; var distance = []; for (var i = 0; i < calculateDistanceResult.length; i++) { distance.push(calculateDistanceResult[i].distance) } param.success(data, { calculateDistanceResult: calculateDistanceResult, distance: distance }) } else if (feature == 'direction') { var direction = data.result.routes; param.success(data, direction) } else { param.success(data) } }, buildWxRequestConfig(param, options, feature) { var that = this; options.header = { "content-type": "application/json" }; options.method = 'GET'; options.success = function (res) { var data = res.data; if (data.status === 0) { that.handleData(param, data, feature) } else { param.fail(data) } }; options.fail = function (res) { res.statusCode = ERROR_CONF.WX_ERR_CODE; param.fail(that.buildErrorConfig(ERROR_CONF.WX_ERR_CODE, res.errMsg)) }; options.complete = function (res) { var statusCode = +res.statusCode; switch (statusCode) { case ERROR_CONF.WX_ERR_CODE: { param.complete(that.buildErrorConfig(ERROR_CONF.WX_ERR_CODE, res.errMsg)); break } case ERROR_CONF.WX_OK_CODE: { var data = res.data; if (data.status === 0) { param.complete(data) } else { param.complete(that.buildErrorConfig(data.status, data.message)) } break } default: { param.complete(that.buildErrorConfig(ERROR_CONF.SYSTEM_ERR, ERROR_CONF.SYSTEM_ERR_MSG)) } } }; return options }, locationProcess(param, locationsuccess, locationfail, locationcomplete) { var that = this; locationfail = locationfail || function (res) { res.statusCode = ERROR_CONF.WX_ERR_CODE; param.fail(that.buildErrorConfig(ERROR_CONF.WX_ERR_CODE, res.errMsg)) }; locationcomplete = locationcomplete || function (res) { if (res.statusCode == ERROR_CONF.WX_ERR_CODE) { param.complete(that.buildErrorConfig(ERROR_CONF.WX_ERR_CODE, res.errMsg)) } }; if (!param.location) { that.getWXLocation(locationsuccess, locationfail, locationcomplete) } else if (that.checkLocation(param)) { var location = Utils.getLocationParam(param.location); locationsuccess(location) } } }; class QQMapWX { constructor(options) { if (!options.key) { throw Error('key值不能为空') } this.key = options.key }; search(options) { var that = this; options = options || {}; Utils.polyfillParam(options); if (!Utils.checkKeyword(options)) { return } var requestParam = { keyword: options.keyword, orderby: options.orderby || '_distance', page_size: options.page_size || 10, page_index: options.page_index || 1, output: 'json', key: that.key }; if (options.address_format) { requestParam.address_format = options.address_format } if (options.filter) { requestParam.filter = options.filter } var distance = options.distance || "1000"; var auto_extend = options.auto_extend || 1; var region = null; var rectangle = null; if (options.region) { region = options.region } if (options.rectangle) { rectangle = options.rectangle } var locationsuccess = function (result) { if (region && !rectangle) { requestParam.boundary = "region(" + region + "," + auto_extend + "," + result.latitude + "," + result.longitude + ")"; if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'search') } } else if (rectangle && !region) { requestParam.boundary = "rectangle(" + rectangle + ")"; if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'search') } } else { requestParam.boundary = "nearby(" + result.latitude + "," + result.longitude + "," + distance + "," + auto_extend + ")"; if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'search') } } wx.request(Utils.buildWxRequestConfig(options, { url: URL_SEARCH, data: requestParam }, 'search')) }; Utils.locationProcess(options, locationsuccess) }; getSuggestion(options) { var that = this; options = options || {}; Utils.polyfillParam(options); if (!Utils.checkKeyword(options)) { return } var requestParam = { keyword: options.keyword, region: options.region || '全国', region_fix: options.region_fix || 0, policy: options.policy || 0, page_size: options.page_size || 10, page_index: options.page_index || 1, get_subpois: options.get_subpois || 0, output: 'json', key: that.key }; if (options.address_format) { requestParam.address_format = options.address_format } if (options.filter) { requestParam.filter = options.filter } if (options.location) { var locationsuccess = function (result) { requestParam.location = result.latitude + ',' + result.longitude; if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'suggest') } wx.request(Utils.buildWxRequestConfig(options, { url: URL_SUGGESTION, data: requestParam }, "suggest")) }; Utils.locationProcess(options, locationsuccess) } else { if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'suggest') } wx.request(Utils.buildWxRequestConfig(options, { url: URL_SUGGESTION, data: requestParam }, "suggest")) } }; reverseGeocoder(options) { var that = this; options = options || {}; Utils.polyfillParam(options); var requestParam = { coord_type: options.coord_type || 5, get_poi: options.get_poi || 0, output: 'json', key: that.key }; if (options.poi_options) { requestParam.poi_options = options.poi_options } var locationsuccess = function (result) { requestParam.location = result.latitude + ',' + result.longitude; if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'reverseGeocoder') } wx.request(Utils.buildWxRequestConfig(options, { url: URL_GET_GEOCODER, data: requestParam }, 'reverseGeocoder')) }; Utils.locationProcess(options, locationsuccess) }; geocoder(options) { var that = this; options = options || {}; Utils.polyfillParam(options); if (Utils.checkParamKeyEmpty(options, 'address')) { return } var requestParam = { address: options.address, output: 'json', key: that.key }; if (options.region) { requestParam.region = options.region } if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'geocoder') } wx.request(Utils.buildWxRequestConfig(options, { url: URL_GET_GEOCODER, data: requestParam }, 'geocoder')) }; getCityList(options) { var that = this; options = options || {}; Utils.polyfillParam(options); var requestParam = { output: 'json', key: that.key }; if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'getCityList') } wx.request(Utils.buildWxRequestConfig(options, { url: URL_CITY_LIST, data: requestParam }, 'getCityList')) }; getDistrictByCityId(options) { var that = this; options = options || {}; Utils.polyfillParam(options); if (Utils.checkParamKeyEmpty(options, 'id')) { return } var requestParam = { id: options.id || '', output: 'json', key: that.key }; if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'getDistrictByCityId') } wx.request(Utils.buildWxRequestConfig(options, { url: URL_AREA_LIST, data: requestParam }, 'getDistrictByCityId')) }; calculateDistance(options) { var that = this; options = options || {}; Utils.polyfillParam(options); if (Utils.checkParamKeyEmpty(options, 'to')) { return } var requestParam = { mode: options.mode || 'walking', to: Utils.location2query(options.to), output: 'json', key: that.key }; if (options.from) { options.location = options.from } if (requestParam.mode == 'straight') { var locationsuccess = function (result) { var locationTo = Utils.getEndLocation(requestParam.to); var data = { message: "query ok", result: { elements: [] }, status: 0 }; for (var i = 0; i < locationTo.length; i++) { data.result.elements.push({ distance: Utils.getDistance(result.latitude, result.longitude, locationTo[i].lat, locationTo[i].lng), duration: 0, from: { lat: result.latitude, lng: result.longitude }, to: { lat: locationTo[i].lat, lng: locationTo[i].lng } }) } var calculateResult = data.result.elements; var distanceResult = []; for (var i = 0; i < calculateResult.length; i++) { distanceResult.push(calculateResult[i].distance) } return options.success(data, { calculateResult: calculateResult, distanceResult: distanceResult }) }; Utils.locationProcess(options, locationsuccess) } else { var locationsuccess = function (result) { requestParam.from = result.latitude + ',' + result.longitude; if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'calculateDistance') } wx.request(Utils.buildWxRequestConfig(options, { url: URL_DISTANCE, data: requestParam }, 'calculateDistance')) }; Utils.locationProcess(options, locationsuccess) } }; direction(options) { var that = this; options = options || {}; Utils.polyfillParam(options); if (Utils.checkParamKeyEmpty(options, 'to')) { return } var requestParam = { output: 'json', key: that.key }; if (typeof options.to == 'string') { requestParam.to = options.to } else { requestParam.to = options.to.latitude + ',' + options.to.longitude } var SET_URL_DIRECTION = null; options.mode = options.mode || MODE.driving; SET_URL_DIRECTION = URL_DIRECTION + options.mode; if (options.from) { options.location = options.from } if (options.mode == MODE.driving) { if (options.from_poi) { requestParam.from_poi = options.from_poi } if (options.heading) { requestParam.heading = options.heading } if (options.speed) { requestParam.speed = options.speed } if (options.accuracy) { requestParam.accuracy = options.accuracy } if (options.road_type) { requestParam.road_type = options.road_type } if (options.to_poi) { requestParam.to_poi = options.to_poi } if (options.from_track) { requestParam.from_track = options.from_track } if (options.waypoints) { requestParam.waypoints = options.waypoints } if (options.policy) { requestParam.policy = options.policy } if (options.plate_number) { requestParam.plate_number = options.plate_number } } if (options.mode == MODE.transit) { if (options.departure_time) { requestParam.departure_time = options.departure_time } if (options.policy) { requestParam.policy = options.policy } } var locationsuccess = function (result) { requestParam.from = result.latitude + ',' + result.longitude; if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'direction', options.mode) } wx.request(Utils.buildWxRequestConfig(options, { url: SET_URL_DIRECTION, data: requestParam }, 'direction')) }; Utils.locationProcess(options, locationsuccess) } }; module.exports = QQMapWX; \ No newline at end of file diff --git a/src/project/lianhua/AppNewFarmerBank/pickDetail.vue b/src/project/lianhua/AppNewFarmerBank/pickDetail.vue new file mode 100644 index 0000000..02286a6 --- /dev/null +++ b/src/project/lianhua/AppNewFarmerBank/pickDetail.vue @@ -0,0 +1,125 @@ + + + + + \ No newline at end of file diff --git a/src/project/lianhua/AppNewFarmerBank/selectType.vue b/src/project/lianhua/AppNewFarmerBank/selectType.vue new file mode 100644 index 0000000..87920c9 --- /dev/null +++ b/src/project/lianhua/AppNewFarmerBank/selectType.vue @@ -0,0 +1,155 @@ + + + + + diff --git a/src/project/lianhua/AppNewFarmerBank/signIn.vue b/src/project/lianhua/AppNewFarmerBank/signIn.vue new file mode 100644 index 0000000..1b2d77a --- /dev/null +++ b/src/project/lianhua/AppNewFarmerBank/signIn.vue @@ -0,0 +1,96 @@ + + + + \ No newline at end of file diff --git a/src/project/lianhua/AppNewFarmerBank/taskDetail.vue b/src/project/lianhua/AppNewFarmerBank/taskDetail.vue new file mode 100644 index 0000000..54c2c6f --- /dev/null +++ b/src/project/lianhua/AppNewFarmerBank/taskDetail.vue @@ -0,0 +1,548 @@ + + + + + From ad36c17f3c213c2c9e92ecb010d8effb7974da4f Mon Sep 17 00:00:00 2001 From: liuye Date: Thu, 24 Oct 2024 16:18:53 +0800 Subject: [PATCH 10/13] =?UTF-8?q?=E7=A7=AF=E5=88=86=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../biaopin/AppNewFarmerBank/integralTask.vue | 18 +- .../biaopin/AppNewFarmerBank/taskDetail.vue | 24 +- .../AppNewFarmerBank/AppNewFarmerBank.vue | 345 ----------- .../AppNewFarmerBank/AppNewFarmerBankOld.vue | 396 ------------- .../lianhua/AppNewFarmerBank/handpick.vue | 199 ------- .../lianhua/AppNewFarmerBank/img/xz.png | Bin 1489 -> 0 bytes .../lianhua/AppNewFarmerBank/img/xzh.png | Bin 1730 -> 0 bytes .../lianhua/AppNewFarmerBank/integral.png | Bin 2101 -> 0 bytes .../lianhua/AppNewFarmerBank/integralAdd.vue | 254 -------- .../AppNewFarmerBank/integralApply.vue | 125 ---- .../AppNewFarmerBank/integralDetail.vue | 158 ----- .../lianhua/AppNewFarmerBank/integralRank.vue | 480 --------------- .../lianhua/AppNewFarmerBank/integralTask.vue | 216 ------- .../AppNewFarmerBank/integral_select.png | Bin 2238 -> 0 bytes .../AppNewFarmerBank/libs/qqmap-wx-jssdk.js | 1 - .../lianhua/AppNewFarmerBank/pickDetail.vue | 125 ---- .../lianhua/AppNewFarmerBank/selectType.vue | 155 ----- .../lianhua/AppNewFarmerBank/signIn.vue | 96 --- .../lianhua/AppNewFarmerBank/taskDetail.vue | 548 ------------------ 19 files changed, 33 insertions(+), 3107 deletions(-) delete mode 100644 src/project/lianhua/AppNewFarmerBank/AppNewFarmerBank.vue delete mode 100644 src/project/lianhua/AppNewFarmerBank/AppNewFarmerBankOld.vue delete mode 100644 src/project/lianhua/AppNewFarmerBank/handpick.vue delete mode 100644 src/project/lianhua/AppNewFarmerBank/img/xz.png delete mode 100644 src/project/lianhua/AppNewFarmerBank/img/xzh.png delete mode 100644 src/project/lianhua/AppNewFarmerBank/integral.png delete mode 100644 src/project/lianhua/AppNewFarmerBank/integralAdd.vue delete mode 100644 src/project/lianhua/AppNewFarmerBank/integralApply.vue delete mode 100644 src/project/lianhua/AppNewFarmerBank/integralDetail.vue delete mode 100644 src/project/lianhua/AppNewFarmerBank/integralRank.vue delete mode 100644 src/project/lianhua/AppNewFarmerBank/integralTask.vue delete mode 100644 src/project/lianhua/AppNewFarmerBank/integral_select.png delete mode 100644 src/project/lianhua/AppNewFarmerBank/libs/qqmap-wx-jssdk.js delete mode 100644 src/project/lianhua/AppNewFarmerBank/pickDetail.vue delete mode 100644 src/project/lianhua/AppNewFarmerBank/selectType.vue delete mode 100644 src/project/lianhua/AppNewFarmerBank/signIn.vue delete mode 100644 src/project/lianhua/AppNewFarmerBank/taskDetail.vue diff --git a/src/project/biaopin/AppNewFarmerBank/integralTask.vue b/src/project/biaopin/AppNewFarmerBank/integralTask.vue index 11efc9a..6fdfaf6 100644 --- a/src/project/biaopin/AppNewFarmerBank/integralTask.vue +++ b/src/project/biaopin/AppNewFarmerBank/integralTask.vue @@ -17,20 +17,30 @@
- +
{{ item.type == 0 ? '进场时间:' : '报名时间:' }}
{{ item.intoBegintime.substring(0, 16)}} 至 {{ item.intoEndtime.substring(0, 16) }}
- +
离场时间:
{{ item.exitBegintime.substring(0, 16) }} 至 {{ item.exitEndtime.substring(0, 16) }}
- +
任务类型:
{{ $dict.getLabel('fdIntegralTaskType', item.type) }}
+
+ +
名额:
+
{{ item.quota || 0 }}
+
+
+ +
参与人数:
+
{{ item.memberCount || 0}}
+
@@ -190,7 +200,7 @@ export default { font-weight: 400; color: #666666; align-self: center; - width: 130px; + // width: 130px; } .value { color: #333333; diff --git a/src/project/biaopin/AppNewFarmerBank/taskDetail.vue b/src/project/biaopin/AppNewFarmerBank/taskDetail.vue index a2d6513..54c2c6f 100644 --- a/src/project/biaopin/AppNewFarmerBank/taskDetail.vue +++ b/src/project/biaopin/AppNewFarmerBank/taskDetail.vue @@ -12,32 +12,46 @@
基础信息
- +
{{ info.address }}
- + 导航
- +
{{ $dict.getLabel('fdIntegralTaskType', info.type) }}
- + +
+ +
{{ info.quota || 0 }}
+
+
+
+ +
+ +
{{ info.memberCount || 0 }}
+
+
+
+
{{ info.intoBegintime.substring(0, 16) }} 至 {{ info.intoEndtime.substring(0, 16) }}
- +
{{ info.exitBegintime.substring(0, 16) }} 至 {{ info.exitEndtime.substring(0, 16) }}
diff --git a/src/project/lianhua/AppNewFarmerBank/AppNewFarmerBank.vue b/src/project/lianhua/AppNewFarmerBank/AppNewFarmerBank.vue deleted file mode 100644 index 259df5d..0000000 --- a/src/project/lianhua/AppNewFarmerBank/AppNewFarmerBank.vue +++ /dev/null @@ -1,345 +0,0 @@ - - - - diff --git a/src/project/lianhua/AppNewFarmerBank/AppNewFarmerBankOld.vue b/src/project/lianhua/AppNewFarmerBank/AppNewFarmerBankOld.vue deleted file mode 100644 index b005a3e..0000000 --- a/src/project/lianhua/AppNewFarmerBank/AppNewFarmerBankOld.vue +++ /dev/null @@ -1,396 +0,0 @@ - - - - - diff --git a/src/project/lianhua/AppNewFarmerBank/handpick.vue b/src/project/lianhua/AppNewFarmerBank/handpick.vue deleted file mode 100644 index 2ad774b..0000000 --- a/src/project/lianhua/AppNewFarmerBank/handpick.vue +++ /dev/null @@ -1,199 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/project/lianhua/AppNewFarmerBank/img/xz.png b/src/project/lianhua/AppNewFarmerBank/img/xz.png deleted file mode 100644 index 98f78cdab2ae85e91b206b3aa327d3557742f637..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1489 zcmV;?1upuDP)Px#L}ge>W=%~1DgXcg2mk?xX#fNO00031000^Q000001E2u_0{{R30RRC20H6W@ z1ONa40RR91FrWhf1ONa40RR91FaQ7m0NXcg3;+NHJ4r-ARA>d&noVdMM;L}@cBNJ^ zB?~o1|NbirdCoHaxgS%CGGZo=f_^#iltpyyV8Qav%53jJnzmovoqgFihVd%S62_L zudlxqhT&-;h2gM&X04-Y@%^G*(#wD98M;-Olt zaV`vlbFgt1e*-aX{e%3oQaX3?dH2rP*cb)IK4J^-{j~wddHi`0gqKm9dc%05A>Qm9 z&Ub@AuDGsPLwc=HC{##PtyYK73dKf46dfl#hV_-%mxI66A|nD^Q}mX?-|K-jymavrwNm~s^<#q`9) z#J8~BXvbDt0u~k)UTHLfA5f7;qp0M*5V^~x(uv>Nsiak&a{1vKLe#I|<-DftOW$>! z_r}M^|7=yZr2yZ5cnZe9hatZ86~JFAl}g{WGMwajxm>A|5sW8A8W7dC|#b}O1EntrYT1AkLzmN!bJ zlb^Ngm(dE6q}kuf5lsacxA_%i3qm-bdfv&eXejN&_aA&BMDQi* zt-_t&Z01h81hB)_>y1B92tF@wc;3XvX@f`W^Zog+O-odAIrr6_9ova!X47%BAv}Ga zZWDc;McTM7hHEioMnX5ru}y#;=haZT!Va63&qslFrpZ7S++X1^PR3}SO#%GEnvWDa z&82RSHc^OHX|j-s`N&9CTV_)Lrw6zR*Ae%-HO|{glbp#!HZmGkWkw0$*lXrCQ0OY9 zNh;}f8OugiGP6DVb%i7lo7fegb}NvPte~7FyZR0=#I3RA z`QFASoo2MmN&w^Yc(MUyXLO*oH)W8GjAS*;dPT-nKjZTnyKc_CC_=N5)kaNJ3lNo? z3piC6;%1b%*YI`ZT7};$hE*YM3gFHN!WPrK3lUfCs$b>G_#atx*qsY6F&*8-*%UxV zvoqo&d8}4bA?|HqyexFU=UuYkwI0P#?~^ggu}uInG`KT@3~(iOXok46J;-1>ZiQ@Q zj1p}Vzy~_|o0~)uA?@&@4sl0|q?gupt33jS*C%&Irb)6(0BFX^f`=0xHlh2B1w#~{w>wd*ieShI~^v$dM1}V3| zXtQtItX2g5viU~0oMA{Z?krZ%D*t;21H}b1%CM^LY;;=@JjeN|fsG#2YPBLDv;C<- rR0PxfI`-v{J$4G=H5Wx${oLk%)9=4SDWBtd00000NkvXXu0mjfj7GBY diff --git a/src/project/lianhua/AppNewFarmerBank/img/xzh.png b/src/project/lianhua/AppNewFarmerBank/img/xzh.png deleted file mode 100644 index 967fa399ea01a0d7fced8adb1f7a3129aabdeb2c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1730 zcmV;z20i(SP)Px#L}ge>W=%~1DgXcg2mk?xX#fNO00031000^Q000001E2u_0{{R30RRC20H6W@ z1ONa40RR91FrWhf1ONa40RR91FaQ7m0NXcg3;+NIEJ;K`RA>d&T5oJrMG&9ayJD%m zR}d0KjUS}Ff`!yX5lKYRM2N=7pNKKhssxq97&K^z7;KjUA!_7ufO9*h5Ky@jkBiA{x!#{1n%cZL4Hj7L1chK~{ zEADb6SWZAofuN?KmJoUo@DL$%R9_S8_eSPX5z>irZsc`CIQJks3bvjST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-Z_B_|1LG z%5mDWlcNJy4((Z`B@!Fy3$R#CYNDU=+6BMgXIEw~pH$v*x&F*zw^MfBYjkmPB++*A z>U6GK^IqR4rCTY}N-BK`%q_FB01zOZ$SmF$!v#RYr{wbTWHMpTzMT}O9SF|=YVAgS z{px1=9auQ8yb#MUuWi5P3B589P~xP^2k-?q5#Mn1tD-n zC-M=|8{^5uYrS}WUm-e33N`Sd&e)aI&aVm9i@Hu`e>}GD5qLL~HBFOshW6XZhmxxw4H#|I?S9^MKUQZ-$ z1ETsIf9uvmMMGN*2KgQ>Q*VsNx)11e)b_Wn()@z@Pf# z;bZc@-HdUMfgeqd45kj#_(P3=0-=bxc>UJ72l^wwm%o3xn}2R*{M6OMAZ>FLx@sl7 z=Btv%wVNNmB74S8fA`H^ -
-
-
事件类型
- -
- {{ form.applyItemName }} - 请选择 - -
-
-
-

详情描述

- -
{{ form.content.length }}/300
-
-
-

上传图片

-
- -
-
可上传图片,最多上传9张。
-
-
-

上传视频

-
- -
-
可上传视频,最大30M。
-
- -
-
所属网格
- - - -
- -
-
提交申请
-
-
- - - - - \ No newline at end of file diff --git a/src/project/lianhua/AppNewFarmerBank/integralApply.vue b/src/project/lianhua/AppNewFarmerBank/integralApply.vue deleted file mode 100644 index e32f1a1..0000000 --- a/src/project/lianhua/AppNewFarmerBank/integralApply.vue +++ /dev/null @@ -1,125 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/project/lianhua/AppNewFarmerBank/integralDetail.vue b/src/project/lianhua/AppNewFarmerBank/integralDetail.vue deleted file mode 100644 index 038583f..0000000 --- a/src/project/lianhua/AppNewFarmerBank/integralDetail.vue +++ /dev/null @@ -1,158 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/project/lianhua/AppNewFarmerBank/integralRank.vue b/src/project/lianhua/AppNewFarmerBank/integralRank.vue deleted file mode 100644 index e529ca5..0000000 --- a/src/project/lianhua/AppNewFarmerBank/integralRank.vue +++ /dev/null @@ -1,480 +0,0 @@ - - - diff --git a/src/project/lianhua/AppNewFarmerBank/integralTask.vue b/src/project/lianhua/AppNewFarmerBank/integralTask.vue deleted file mode 100644 index 6fdfaf6..0000000 --- a/src/project/lianhua/AppNewFarmerBank/integralTask.vue +++ /dev/null @@ -1,216 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/project/lianhua/AppNewFarmerBank/integral_select.png b/src/project/lianhua/AppNewFarmerBank/integral_select.png deleted file mode 100644 index c613222f700ecbbe5f136cc6bb9c0e51943ecfb3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2238 zcmV;v2toIWP)Px-cu7P-RA@uxS!;|{R~7!&KIh(f+_^J6q%b2LtuRAL(FC--jKpHo;t!Bk`DFq! zGuFh!2*JOt*#4D(F)^{u3_{{Bv_<$KZIl{}ysD7sG!zD`PH_f`FwER}-h0koX6n_(l~)HE4F`>J6d}Q{+V$Q;sNYp3n$36 zzdiE2cJ*%nqyUI1p=$%`6lD;ppF9(>^Z6|^>ybLb#K8xyA+7h0DL|s z+DF&A?4AMe7yuVQD1D6aF0h~$*tkj|X?xpe9md7$8V|<+%PQ#!i7yMlM;2Mza$Tvb zh>3}40RF;M$H>xgt$z<-jc>dhFm1?2E(29Iu&GsHL5koAQ~eJuz>zS z#=E!55-|gUNuB25)C)KPf6?^74hP_KPjzGtL-W2k;{)n^_EQQi%LrL#%J=}BfJoXv z?;Xb9|E1%oB+EQcC_17$)BB_1VLE`o__mRKfIeK7@i|~cBS8QNZGxLGrig$LIthSV z0}Lw>t4uzf)PCJvcO(o%ApqZat9^JoGv3S#)@a3Xfn^H_LLC#@aq2BQX&5TqdB|~| z2zJv%c){(eKV1xB$}m4@lkJ%`4zmR9QtznJiqnuHY-&-clG}_EZU4I*I++75^lA)^ z#)1fJxN8$Vo9#;X~+)$`Z2ky%w*nG6Ub{H3uzz2){{8aEXIC{P#5*FN{X-gO-g7XT1!@vN{{xM8Z?bW9RP6YU^MhLbKzG(1 z3aI3r<8z<(4xb`|NTwt59mNQ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cnd$mQxe_*?Q2VSSKpd~CP@s*l02OcO?rbXWyTmB&9oc-itYFWQh84_K-sjYwC z=iWtWd+URr*500};>@E53PE7^(E93X`rVhFv=+&iKfUihn3&+N;&{X5xio%uG8*OA z;Af#-!#mckQNNaHS9^-F7wEh+Z3?`DJOBUy M07*qoM6N<$f+(*&UH||9 diff --git a/src/project/lianhua/AppNewFarmerBank/libs/qqmap-wx-jssdk.js b/src/project/lianhua/AppNewFarmerBank/libs/qqmap-wx-jssdk.js deleted file mode 100644 index 8fa1477..0000000 --- a/src/project/lianhua/AppNewFarmerBank/libs/qqmap-wx-jssdk.js +++ /dev/null @@ -1 +0,0 @@ -var ERROR_CONF = { KEY_ERR: 311, KEY_ERR_MSG: 'key格式错误', PARAM_ERR: 310, PARAM_ERR_MSG: '请求参数信息有误', SYSTEM_ERR: 600, SYSTEM_ERR_MSG: '系统错误', WX_ERR_CODE: 1000, WX_OK_CODE: 200 }; var BASE_URL = 'https://apis.map.qq.com/ws/'; var URL_SEARCH = BASE_URL + 'place/v1/search'; var URL_SUGGESTION = BASE_URL + 'place/v1/suggestion'; var URL_GET_GEOCODER = BASE_URL + 'geocoder/v1/'; var URL_CITY_LIST = BASE_URL + 'district/v1/list'; var URL_AREA_LIST = BASE_URL + 'district/v1/getchildren'; var URL_DISTANCE = BASE_URL + 'distance/v1/'; var URL_DIRECTION = BASE_URL + 'direction/v1/'; var MODE = { driving: 'driving', transit: 'transit' }; var EARTH_RADIUS = 6378136.49; var Utils = { safeAdd(x, y) { var lsw = (x & 0xffff) + (y & 0xffff); var msw = (x >> 16) + (y >> 16) + (lsw >> 16); return (msw << 16) | (lsw & 0xffff) }, bitRotateLeft(num, cnt) { return (num << cnt) | (num >>> (32 - cnt)) }, md5cmn(q, a, b, x, s, t) { return this.safeAdd(this.bitRotateLeft(this.safeAdd(this.safeAdd(a, q), this.safeAdd(x, t)), s), b) }, md5ff(a, b, c, d, x, s, t) { return this.md5cmn((b & c) | (~b & d), a, b, x, s, t) }, md5gg(a, b, c, d, x, s, t) { return this.md5cmn((b & d) | (c & ~d), a, b, x, s, t) }, md5hh(a, b, c, d, x, s, t) { return this.md5cmn(b ^ c ^ d, a, b, x, s, t) }, md5ii(a, b, c, d, x, s, t) { return this.md5cmn(c ^ (b | ~d), a, b, x, s, t) }, binlMD5(x, len) { x[len >> 5] |= 0x80 << (len % 32); x[((len + 64) >>> 9 << 4) + 14] = len; var i; var olda; var oldb; var oldc; var oldd; var a = 1732584193; var b = -271733879; var c = -1732584194; var d = 271733878; for (i = 0; i < x.length; i += 16) { olda = a; oldb = b; oldc = c; oldd = d; a = this.md5ff(a, b, c, d, x[i], 7, -680876936); d = this.md5ff(d, a, b, c, x[i + 1], 12, -389564586); c = this.md5ff(c, d, a, b, x[i + 2], 17, 606105819); b = this.md5ff(b, c, d, a, x[i + 3], 22, -1044525330); a = this.md5ff(a, b, c, d, x[i + 4], 7, -176418897); d = this.md5ff(d, a, b, c, x[i + 5], 12, 1200080426); c = this.md5ff(c, d, a, b, x[i + 6], 17, -1473231341); b = this.md5ff(b, c, d, a, x[i + 7], 22, -45705983); a = this.md5ff(a, b, c, d, x[i + 8], 7, 1770035416); d = this.md5ff(d, a, b, c, x[i + 9], 12, -1958414417); c = this.md5ff(c, d, a, b, x[i + 10], 17, -42063); b = this.md5ff(b, c, d, a, x[i + 11], 22, -1990404162); a = this.md5ff(a, b, c, d, x[i + 12], 7, 1804603682); d = this.md5ff(d, a, b, c, x[i + 13], 12, -40341101); c = this.md5ff(c, d, a, b, x[i + 14], 17, -1502002290); b = this.md5ff(b, c, d, a, x[i + 15], 22, 1236535329); a = this.md5gg(a, b, c, d, x[i + 1], 5, -165796510); d = this.md5gg(d, a, b, c, x[i + 6], 9, -1069501632); c = this.md5gg(c, d, a, b, x[i + 11], 14, 643717713); b = this.md5gg(b, c, d, a, x[i], 20, -373897302); a = this.md5gg(a, b, c, d, x[i + 5], 5, -701558691); d = this.md5gg(d, a, b, c, x[i + 10], 9, 38016083); c = this.md5gg(c, d, a, b, x[i + 15], 14, -660478335); b = this.md5gg(b, c, d, a, x[i + 4], 20, -405537848); a = this.md5gg(a, b, c, d, x[i + 9], 5, 568446438); d = this.md5gg(d, a, b, c, x[i + 14], 9, -1019803690); c = this.md5gg(c, d, a, b, x[i + 3], 14, -187363961); b = this.md5gg(b, c, d, a, x[i + 8], 20, 1163531501); a = this.md5gg(a, b, c, d, x[i + 13], 5, -1444681467); d = this.md5gg(d, a, b, c, x[i + 2], 9, -51403784); c = this.md5gg(c, d, a, b, x[i + 7], 14, 1735328473); b = this.md5gg(b, c, d, a, x[i + 12], 20, -1926607734); a = this.md5hh(a, b, c, d, x[i + 5], 4, -378558); d = this.md5hh(d, a, b, c, x[i + 8], 11, -2022574463); c = this.md5hh(c, d, a, b, x[i + 11], 16, 1839030562); b = this.md5hh(b, c, d, a, x[i + 14], 23, -35309556); a = this.md5hh(a, b, c, d, x[i + 1], 4, -1530992060); d = this.md5hh(d, a, b, c, x[i + 4], 11, 1272893353); c = this.md5hh(c, d, a, b, x[i + 7], 16, -155497632); b = this.md5hh(b, c, d, a, x[i + 10], 23, -1094730640); a = this.md5hh(a, b, c, d, x[i + 13], 4, 681279174); d = this.md5hh(d, a, b, c, x[i], 11, -358537222); c = this.md5hh(c, d, a, b, x[i + 3], 16, -722521979); b = this.md5hh(b, c, d, a, x[i + 6], 23, 76029189); a = this.md5hh(a, b, c, d, x[i + 9], 4, -640364487); d = this.md5hh(d, a, b, c, x[i + 12], 11, -421815835); c = this.md5hh(c, d, a, b, x[i + 15], 16, 530742520); b = this.md5hh(b, c, d, a, x[i + 2], 23, -995338651); a = this.md5ii(a, b, c, d, x[i], 6, -198630844); d = this.md5ii(d, a, b, c, x[i + 7], 10, 1126891415); c = this.md5ii(c, d, a, b, x[i + 14], 15, -1416354905); b = this.md5ii(b, c, d, a, x[i + 5], 21, -57434055); a = this.md5ii(a, b, c, d, x[i + 12], 6, 1700485571); d = this.md5ii(d, a, b, c, x[i + 3], 10, -1894986606); c = this.md5ii(c, d, a, b, x[i + 10], 15, -1051523); b = this.md5ii(b, c, d, a, x[i + 1], 21, -2054922799); a = this.md5ii(a, b, c, d, x[i + 8], 6, 1873313359); d = this.md5ii(d, a, b, c, x[i + 15], 10, -30611744); c = this.md5ii(c, d, a, b, x[i + 6], 15, -1560198380); b = this.md5ii(b, c, d, a, x[i + 13], 21, 1309151649); a = this.md5ii(a, b, c, d, x[i + 4], 6, -145523070); d = this.md5ii(d, a, b, c, x[i + 11], 10, -1120210379); c = this.md5ii(c, d, a, b, x[i + 2], 15, 718787259); b = this.md5ii(b, c, d, a, x[i + 9], 21, -343485551); a = this.safeAdd(a, olda); b = this.safeAdd(b, oldb); c = this.safeAdd(c, oldc); d = this.safeAdd(d, oldd) } return [a, b, c, d] }, binl2rstr(input) { var i; var output = ''; var length32 = input.length * 32; for (i = 0; i < length32; i += 8) { output += String.fromCharCode((input[i >> 5] >>> (i % 32)) & 0xff) } return output }, rstr2binl(input) { var i; var output = []; output[(input.length >> 2) - 1] = undefined; for (i = 0; i < output.length; i += 1) { output[i] = 0 } var length8 = input.length * 8; for (i = 0; i < length8; i += 8) { output[i >> 5] |= (input.charCodeAt(i / 8) & 0xff) << (i % 32) } return output }, rstrMD5(s) { return this.binl2rstr(this.binlMD5(this.rstr2binl(s), s.length * 8)) }, rstrHMACMD5(key, data) { var i; var bkey = this.rstr2binl(key); var ipad = []; var opad = []; var hash; ipad[15] = opad[15] = undefined; if (bkey.length > 16) { bkey = this.binlMD5(bkey, key.length * 8) } for (i = 0; i < 16; i += 1) { ipad[i] = bkey[i] ^ 0x36363636; opad[i] = bkey[i] ^ 0x5c5c5c5c } hash = this.binlMD5(ipad.concat(this.rstr2binl(data)), 512 + data.length * 8); return this.binl2rstr(this.binlMD5(opad.concat(hash), 512 + 128)) }, rstr2hex(input) { var hexTab = '0123456789abcdef'; var output = ''; var x; var i; for (i = 0; i < input.length; i += 1) { x = input.charCodeAt(i); output += hexTab.charAt((x >>> 4) & 0x0f) + hexTab.charAt(x & 0x0f) } return output }, str2rstrUTF8(input) { return unescape(encodeURIComponent(input)) }, rawMD5(s) { return this.rstrMD5(this.str2rstrUTF8(s)) }, hexMD5(s) { return this.rstr2hex(this.rawMD5(s)) }, rawHMACMD5(k, d) { return this.rstrHMACMD5(this.str2rstrUTF8(k), str2rstrUTF8(d)) }, hexHMACMD5(k, d) { return this.rstr2hex(this.rawHMACMD5(k, d)) }, md5(string, key, raw) { if (!key) { if (!raw) { return this.hexMD5(string) } return this.rawMD5(string) } if (!raw) { return this.hexHMACMD5(key, string) } return this.rawHMACMD5(key, string) }, getSig(requestParam, sk, feature, mode) { var sig = null; var requestArr = []; Object.keys(requestParam).sort().forEach(function (key) { requestArr.push(key + '=' + requestParam[key]) }); if (feature == 'search') { sig = '/ws/place/v1/search?' + requestArr.join('&') + sk } if (feature == 'suggest') { sig = '/ws/place/v1/suggestion?' + requestArr.join('&') + sk } if (feature == 'reverseGeocoder') { sig = '/ws/geocoder/v1/?' + requestArr.join('&') + sk } if (feature == 'geocoder') { sig = '/ws/geocoder/v1/?' + requestArr.join('&') + sk } if (feature == 'getCityList') { sig = '/ws/district/v1/list?' + requestArr.join('&') + sk } if (feature == 'getDistrictByCityId') { sig = '/ws/district/v1/getchildren?' + requestArr.join('&') + sk } if (feature == 'calculateDistance') { sig = '/ws/distance/v1/?' + requestArr.join('&') + sk } if (feature == 'direction') { sig = '/ws/direction/v1/' + mode + '?' + requestArr.join('&') + sk } sig = this.md5(sig); return sig }, location2query(data) { if (typeof data == 'string') { return data } var query = ''; for (var i = 0; i < data.length; i++) { var d = data[i]; if (!!query) { query += ';' } if (d.location) { query = query + d.location.lat + ',' + d.location.lng } if (d.latitude && d.longitude) { query = query + d.latitude + ',' + d.longitude } } return query }, rad(d) { return d * Math.PI / 180.0 }, getEndLocation(location) { var to = location.split(';'); var endLocation = []; for (var i = 0; i < to.length; i++) { endLocation.push({ lat: parseFloat(to[i].split(',')[0]), lng: parseFloat(to[i].split(',')[1]) }) } return endLocation }, getDistance(latFrom, lngFrom, latTo, lngTo) { var radLatFrom = this.rad(latFrom); var radLatTo = this.rad(latTo); var a = radLatFrom - radLatTo; var b = this.rad(lngFrom) - this.rad(lngTo); var distance = 2 * Math.asin(Math.sqrt(Math.pow(Math.sin(a / 2), 2) + Math.cos(radLatFrom) * Math.cos(radLatTo) * Math.pow(Math.sin(b / 2), 2))); distance = distance * EARTH_RADIUS; distance = Math.round(distance * 10000) / 10000; return parseFloat(distance.toFixed(0)) }, getWXLocation(success, fail, complete) { wx.getLocation({ type: 'gcj02', success: success, fail: fail, complete: complete }) }, getLocationParam(location) { if (typeof location == 'string') { var locationArr = location.split(','); if (locationArr.length === 2) { location = { latitude: location.split(',')[0], longitude: location.split(',')[1] } } else { location = {} } } return location }, polyfillParam(param) { param.success = param.success || function () { }; param.fail = param.fail || function () { }; param.complete = param.complete || function () { } }, checkParamKeyEmpty(param, key) { if (!param[key]) { var errconf = this.buildErrorConfig(ERROR_CONF.PARAM_ERR, ERROR_CONF.PARAM_ERR_MSG + key + '参数格式有误'); param.fail(errconf); param.complete(errconf); return true } return false }, checkKeyword(param) { return !this.checkParamKeyEmpty(param, 'keyword') }, checkLocation(param) { var location = this.getLocationParam(param.location); if (!location || !location.latitude || !location.longitude) { var errconf = this.buildErrorConfig(ERROR_CONF.PARAM_ERR, ERROR_CONF.PARAM_ERR_MSG + ' location参数格式有误'); param.fail(errconf); param.complete(errconf); return false } return true }, buildErrorConfig(errCode, errMsg) { return { status: errCode, message: errMsg } }, handleData(param, data, feature) { if (feature == 'search') { var searchResult = data.data; var searchSimplify = []; for (var i = 0; i < searchResult.length; i++) { searchSimplify.push({ id: searchResult[i].id || null, title: searchResult[i].title || null, latitude: searchResult[i].location && searchResult[i].location.lat || null, longitude: searchResult[i].location && searchResult[i].location.lng || null, address: searchResult[i].address || null, category: searchResult[i].category || null, tel: searchResult[i].tel || null, adcode: searchResult[i].ad_info && searchResult[i].ad_info.adcode || null, city: searchResult[i].ad_info && searchResult[i].ad_info.city || null, district: searchResult[i].ad_info && searchResult[i].ad_info.district || null, province: searchResult[i].ad_info && searchResult[i].ad_info.province || null }) } param.success(data, { searchResult: searchResult, searchSimplify: searchSimplify }) } else if (feature == 'suggest') { var suggestResult = data.data; var suggestSimplify = []; for (var i = 0; i < suggestResult.length; i++) { suggestSimplify.push({ adcode: suggestResult[i].adcode || null, address: suggestResult[i].address || null, category: suggestResult[i].category || null, city: suggestResult[i].city || null, district: suggestResult[i].district || null, id: suggestResult[i].id || null, latitude: suggestResult[i].location && suggestResult[i].location.lat || null, longitude: suggestResult[i].location && suggestResult[i].location.lng || null, province: suggestResult[i].province || null, title: suggestResult[i].title || null, type: suggestResult[i].type || null }) } param.success(data, { suggestResult: suggestResult, suggestSimplify: suggestSimplify }) } else if (feature == 'reverseGeocoder') { var reverseGeocoderResult = data.result; var reverseGeocoderSimplify = { address: reverseGeocoderResult.address || null, latitude: reverseGeocoderResult.location && reverseGeocoderResult.location.lat || null, longitude: reverseGeocoderResult.location && reverseGeocoderResult.location.lng || null, adcode: reverseGeocoderResult.ad_info && reverseGeocoderResult.ad_info.adcode || null, city: reverseGeocoderResult.address_component && reverseGeocoderResult.address_component.city || null, district: reverseGeocoderResult.address_component && reverseGeocoderResult.address_component.district || null, nation: reverseGeocoderResult.address_component && reverseGeocoderResult.address_component.nation || null, province: reverseGeocoderResult.address_component && reverseGeocoderResult.address_component.province || null, street: reverseGeocoderResult.address_component && reverseGeocoderResult.address_component.street || null, street_number: reverseGeocoderResult.address_component && reverseGeocoderResult.address_component.street_number || null, recommend: reverseGeocoderResult.formatted_addresses && reverseGeocoderResult.formatted_addresses.recommend || null, rough: reverseGeocoderResult.formatted_addresses && reverseGeocoderResult.formatted_addresses.rough || null }; if (reverseGeocoderResult.pois) { var pois = reverseGeocoderResult.pois; var poisSimplify = []; for (var i = 0; i < pois.length; i++) { poisSimplify.push({ id: pois[i].id || null, title: pois[i].title || null, latitude: pois[i].location && pois[i].location.lat || null, longitude: pois[i].location && pois[i].location.lng || null, address: pois[i].address || null, category: pois[i].category || null, adcode: pois[i].ad_info && pois[i].ad_info.adcode || null, city: pois[i].ad_info && pois[i].ad_info.city || null, district: pois[i].ad_info && pois[i].ad_info.district || null, province: pois[i].ad_info && pois[i].ad_info.province || null }) } param.success(data, { reverseGeocoderResult: reverseGeocoderResult, reverseGeocoderSimplify: reverseGeocoderSimplify, pois: pois, poisSimplify: poisSimplify }) } else { param.success(data, { reverseGeocoderResult: reverseGeocoderResult, reverseGeocoderSimplify: reverseGeocoderSimplify }) } } else if (feature == 'geocoder') { var geocoderResult = data.result; var geocoderSimplify = { title: geocoderResult.title || null, latitude: geocoderResult.location && geocoderResult.location.lat || null, longitude: geocoderResult.location && geocoderResult.location.lng || null, adcode: geocoderResult.ad_info && geocoderResult.ad_info.adcode || null, province: geocoderResult.address_components && geocoderResult.address_components.province || null, city: geocoderResult.address_components && geocoderResult.address_components.city || null, district: geocoderResult.address_components && geocoderResult.address_components.district || null, street: geocoderResult.address_components && geocoderResult.address_components.street || null, street_number: geocoderResult.address_components && geocoderResult.address_components.street_number || null, level: geocoderResult.level || null }; param.success(data, { geocoderResult: geocoderResult, geocoderSimplify: geocoderSimplify }) } else if (feature == 'getCityList') { var provinceResult = data.result[0]; var cityResult = data.result[1]; var districtResult = data.result[2]; param.success(data, { provinceResult: provinceResult, cityResult: cityResult, districtResult: districtResult }) } else if (feature == 'getDistrictByCityId') { var districtByCity = data.result[0]; param.success(data, districtByCity) } else if (feature == 'calculateDistance') { var calculateDistanceResult = data.result.elements; var distance = []; for (var i = 0; i < calculateDistanceResult.length; i++) { distance.push(calculateDistanceResult[i].distance) } param.success(data, { calculateDistanceResult: calculateDistanceResult, distance: distance }) } else if (feature == 'direction') { var direction = data.result.routes; param.success(data, direction) } else { param.success(data) } }, buildWxRequestConfig(param, options, feature) { var that = this; options.header = { "content-type": "application/json" }; options.method = 'GET'; options.success = function (res) { var data = res.data; if (data.status === 0) { that.handleData(param, data, feature) } else { param.fail(data) } }; options.fail = function (res) { res.statusCode = ERROR_CONF.WX_ERR_CODE; param.fail(that.buildErrorConfig(ERROR_CONF.WX_ERR_CODE, res.errMsg)) }; options.complete = function (res) { var statusCode = +res.statusCode; switch (statusCode) { case ERROR_CONF.WX_ERR_CODE: { param.complete(that.buildErrorConfig(ERROR_CONF.WX_ERR_CODE, res.errMsg)); break } case ERROR_CONF.WX_OK_CODE: { var data = res.data; if (data.status === 0) { param.complete(data) } else { param.complete(that.buildErrorConfig(data.status, data.message)) } break } default: { param.complete(that.buildErrorConfig(ERROR_CONF.SYSTEM_ERR, ERROR_CONF.SYSTEM_ERR_MSG)) } } }; return options }, locationProcess(param, locationsuccess, locationfail, locationcomplete) { var that = this; locationfail = locationfail || function (res) { res.statusCode = ERROR_CONF.WX_ERR_CODE; param.fail(that.buildErrorConfig(ERROR_CONF.WX_ERR_CODE, res.errMsg)) }; locationcomplete = locationcomplete || function (res) { if (res.statusCode == ERROR_CONF.WX_ERR_CODE) { param.complete(that.buildErrorConfig(ERROR_CONF.WX_ERR_CODE, res.errMsg)) } }; if (!param.location) { that.getWXLocation(locationsuccess, locationfail, locationcomplete) } else if (that.checkLocation(param)) { var location = Utils.getLocationParam(param.location); locationsuccess(location) } } }; class QQMapWX { constructor(options) { if (!options.key) { throw Error('key值不能为空') } this.key = options.key }; search(options) { var that = this; options = options || {}; Utils.polyfillParam(options); if (!Utils.checkKeyword(options)) { return } var requestParam = { keyword: options.keyword, orderby: options.orderby || '_distance', page_size: options.page_size || 10, page_index: options.page_index || 1, output: 'json', key: that.key }; if (options.address_format) { requestParam.address_format = options.address_format } if (options.filter) { requestParam.filter = options.filter } var distance = options.distance || "1000"; var auto_extend = options.auto_extend || 1; var region = null; var rectangle = null; if (options.region) { region = options.region } if (options.rectangle) { rectangle = options.rectangle } var locationsuccess = function (result) { if (region && !rectangle) { requestParam.boundary = "region(" + region + "," + auto_extend + "," + result.latitude + "," + result.longitude + ")"; if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'search') } } else if (rectangle && !region) { requestParam.boundary = "rectangle(" + rectangle + ")"; if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'search') } } else { requestParam.boundary = "nearby(" + result.latitude + "," + result.longitude + "," + distance + "," + auto_extend + ")"; if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'search') } } wx.request(Utils.buildWxRequestConfig(options, { url: URL_SEARCH, data: requestParam }, 'search')) }; Utils.locationProcess(options, locationsuccess) }; getSuggestion(options) { var that = this; options = options || {}; Utils.polyfillParam(options); if (!Utils.checkKeyword(options)) { return } var requestParam = { keyword: options.keyword, region: options.region || '全国', region_fix: options.region_fix || 0, policy: options.policy || 0, page_size: options.page_size || 10, page_index: options.page_index || 1, get_subpois: options.get_subpois || 0, output: 'json', key: that.key }; if (options.address_format) { requestParam.address_format = options.address_format } if (options.filter) { requestParam.filter = options.filter } if (options.location) { var locationsuccess = function (result) { requestParam.location = result.latitude + ',' + result.longitude; if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'suggest') } wx.request(Utils.buildWxRequestConfig(options, { url: URL_SUGGESTION, data: requestParam }, "suggest")) }; Utils.locationProcess(options, locationsuccess) } else { if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'suggest') } wx.request(Utils.buildWxRequestConfig(options, { url: URL_SUGGESTION, data: requestParam }, "suggest")) } }; reverseGeocoder(options) { var that = this; options = options || {}; Utils.polyfillParam(options); var requestParam = { coord_type: options.coord_type || 5, get_poi: options.get_poi || 0, output: 'json', key: that.key }; if (options.poi_options) { requestParam.poi_options = options.poi_options } var locationsuccess = function (result) { requestParam.location = result.latitude + ',' + result.longitude; if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'reverseGeocoder') } wx.request(Utils.buildWxRequestConfig(options, { url: URL_GET_GEOCODER, data: requestParam }, 'reverseGeocoder')) }; Utils.locationProcess(options, locationsuccess) }; geocoder(options) { var that = this; options = options || {}; Utils.polyfillParam(options); if (Utils.checkParamKeyEmpty(options, 'address')) { return } var requestParam = { address: options.address, output: 'json', key: that.key }; if (options.region) { requestParam.region = options.region } if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'geocoder') } wx.request(Utils.buildWxRequestConfig(options, { url: URL_GET_GEOCODER, data: requestParam }, 'geocoder')) }; getCityList(options) { var that = this; options = options || {}; Utils.polyfillParam(options); var requestParam = { output: 'json', key: that.key }; if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'getCityList') } wx.request(Utils.buildWxRequestConfig(options, { url: URL_CITY_LIST, data: requestParam }, 'getCityList')) }; getDistrictByCityId(options) { var that = this; options = options || {}; Utils.polyfillParam(options); if (Utils.checkParamKeyEmpty(options, 'id')) { return } var requestParam = { id: options.id || '', output: 'json', key: that.key }; if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'getDistrictByCityId') } wx.request(Utils.buildWxRequestConfig(options, { url: URL_AREA_LIST, data: requestParam }, 'getDistrictByCityId')) }; calculateDistance(options) { var that = this; options = options || {}; Utils.polyfillParam(options); if (Utils.checkParamKeyEmpty(options, 'to')) { return } var requestParam = { mode: options.mode || 'walking', to: Utils.location2query(options.to), output: 'json', key: that.key }; if (options.from) { options.location = options.from } if (requestParam.mode == 'straight') { var locationsuccess = function (result) { var locationTo = Utils.getEndLocation(requestParam.to); var data = { message: "query ok", result: { elements: [] }, status: 0 }; for (var i = 0; i < locationTo.length; i++) { data.result.elements.push({ distance: Utils.getDistance(result.latitude, result.longitude, locationTo[i].lat, locationTo[i].lng), duration: 0, from: { lat: result.latitude, lng: result.longitude }, to: { lat: locationTo[i].lat, lng: locationTo[i].lng } }) } var calculateResult = data.result.elements; var distanceResult = []; for (var i = 0; i < calculateResult.length; i++) { distanceResult.push(calculateResult[i].distance) } return options.success(data, { calculateResult: calculateResult, distanceResult: distanceResult }) }; Utils.locationProcess(options, locationsuccess) } else { var locationsuccess = function (result) { requestParam.from = result.latitude + ',' + result.longitude; if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'calculateDistance') } wx.request(Utils.buildWxRequestConfig(options, { url: URL_DISTANCE, data: requestParam }, 'calculateDistance')) }; Utils.locationProcess(options, locationsuccess) } }; direction(options) { var that = this; options = options || {}; Utils.polyfillParam(options); if (Utils.checkParamKeyEmpty(options, 'to')) { return } var requestParam = { output: 'json', key: that.key }; if (typeof options.to == 'string') { requestParam.to = options.to } else { requestParam.to = options.to.latitude + ',' + options.to.longitude } var SET_URL_DIRECTION = null; options.mode = options.mode || MODE.driving; SET_URL_DIRECTION = URL_DIRECTION + options.mode; if (options.from) { options.location = options.from } if (options.mode == MODE.driving) { if (options.from_poi) { requestParam.from_poi = options.from_poi } if (options.heading) { requestParam.heading = options.heading } if (options.speed) { requestParam.speed = options.speed } if (options.accuracy) { requestParam.accuracy = options.accuracy } if (options.road_type) { requestParam.road_type = options.road_type } if (options.to_poi) { requestParam.to_poi = options.to_poi } if (options.from_track) { requestParam.from_track = options.from_track } if (options.waypoints) { requestParam.waypoints = options.waypoints } if (options.policy) { requestParam.policy = options.policy } if (options.plate_number) { requestParam.plate_number = options.plate_number } } if (options.mode == MODE.transit) { if (options.departure_time) { requestParam.departure_time = options.departure_time } if (options.policy) { requestParam.policy = options.policy } } var locationsuccess = function (result) { requestParam.from = result.latitude + ',' + result.longitude; if (options.sig) { requestParam.sig = Utils.getSig(requestParam, options.sig, 'direction', options.mode) } wx.request(Utils.buildWxRequestConfig(options, { url: SET_URL_DIRECTION, data: requestParam }, 'direction')) }; Utils.locationProcess(options, locationsuccess) } }; module.exports = QQMapWX; \ No newline at end of file diff --git a/src/project/lianhua/AppNewFarmerBank/pickDetail.vue b/src/project/lianhua/AppNewFarmerBank/pickDetail.vue deleted file mode 100644 index 02286a6..0000000 --- a/src/project/lianhua/AppNewFarmerBank/pickDetail.vue +++ /dev/null @@ -1,125 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/project/lianhua/AppNewFarmerBank/selectType.vue b/src/project/lianhua/AppNewFarmerBank/selectType.vue deleted file mode 100644 index 87920c9..0000000 --- a/src/project/lianhua/AppNewFarmerBank/selectType.vue +++ /dev/null @@ -1,155 +0,0 @@ - - - - - diff --git a/src/project/lianhua/AppNewFarmerBank/signIn.vue b/src/project/lianhua/AppNewFarmerBank/signIn.vue deleted file mode 100644 index 1b2d77a..0000000 --- a/src/project/lianhua/AppNewFarmerBank/signIn.vue +++ /dev/null @@ -1,96 +0,0 @@ - - - - \ No newline at end of file diff --git a/src/project/lianhua/AppNewFarmerBank/taskDetail.vue b/src/project/lianhua/AppNewFarmerBank/taskDetail.vue deleted file mode 100644 index 54c2c6f..0000000 --- a/src/project/lianhua/AppNewFarmerBank/taskDetail.vue +++ /dev/null @@ -1,548 +0,0 @@ - - - - - From 9162649d9d3d56d4c0db668fb80d60ceabe18e31 Mon Sep 17 00:00:00 2001 From: liuye Date: Tue, 12 Nov 2024 14:47:31 +0800 Subject: [PATCH 11/13] token --- src/project/biaopin/AppPatrolReport/Add.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/project/biaopin/AppPatrolReport/Add.vue b/src/project/biaopin/AppPatrolReport/Add.vue index 1fb5e9c..5b5e4e1 100644 --- a/src/project/biaopin/AppPatrolReport/Add.vue +++ b/src/project/biaopin/AppPatrolReport/Add.vue @@ -87,7 +87,6 @@ export default { ...mapState(['user']), }, onLoad() { - this.typeList() this.forms.girdId = this.user.girdInfos2G[0].girdId this.forms.girdName = this.user.girdInfos2G[0].girdName this.forms.girdMemberId = this.user.girdMemberId @@ -95,6 +94,9 @@ export default { this.forms.name = this.user.name this.forms.phone = this.user.phone }, + onShow() { + this.typeList() + }, methods: { chooseAddress() { uni.authorize({ @@ -129,7 +131,9 @@ export default { }) }, typeList() { - this.$instance.post(`/app/apppatrolreportgroupv2/list?current=1&size=9999`).then((res) => { + this.$instance.post(`/app/apppatrolreportgroupv2/list?current=1&size=9999`, null, { + withoutToken: true, + }).then((res) => { if (res.code == 0) { this.myList = res.data.records } From 924fefcc0ec2a80695301708660c8428cdc4dc8d Mon Sep 17 00:00:00 2001 From: liuye Date: Tue, 12 Nov 2024 16:47:27 +0800 Subject: [PATCH 12/13] =?UTF-8?q?=E9=9A=8F=E6=89=8B=E6=8B=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mods/conv/AppPhotoReport/PhotoForm.vue | 8 ++++++-- src/project/biaopin/AppPatrolReport/Add.vue | 8 ++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/mods/conv/AppPhotoReport/PhotoForm.vue b/src/mods/conv/AppPhotoReport/PhotoForm.vue index 8bce63a..c856dcc 100644 --- a/src/mods/conv/AppPhotoReport/PhotoForm.vue +++ b/src/mods/conv/AppPhotoReport/PhotoForm.vue @@ -168,7 +168,9 @@ export default { }) }, getDict() { - this.$instance.post(`/app/appclapeventgroup/list?current=1&size=100000`).then(res => { + this.$instance.post(`/app/appclapeventgroup/list?current=1&size=100000`, null, { + withoutToken: true, + }).then(res => { if (res.code == 0) { this.dictList = res.data.records.map(v => { return { @@ -233,7 +235,9 @@ export default { }, getAuth() { this.$nextTick(() => { - this.token && this.getUserInfo() + this.token && this.getUserInfo().then(() => { + this.getDict() + }) }) } } diff --git a/src/project/biaopin/AppPatrolReport/Add.vue b/src/project/biaopin/AppPatrolReport/Add.vue index 5b5e4e1..1fb5e9c 100644 --- a/src/project/biaopin/AppPatrolReport/Add.vue +++ b/src/project/biaopin/AppPatrolReport/Add.vue @@ -87,6 +87,7 @@ export default { ...mapState(['user']), }, onLoad() { + this.typeList() this.forms.girdId = this.user.girdInfos2G[0].girdId this.forms.girdName = this.user.girdInfos2G[0].girdName this.forms.girdMemberId = this.user.girdMemberId @@ -94,9 +95,6 @@ export default { this.forms.name = this.user.name this.forms.phone = this.user.phone }, - onShow() { - this.typeList() - }, methods: { chooseAddress() { uni.authorize({ @@ -131,9 +129,7 @@ export default { }) }, typeList() { - this.$instance.post(`/app/apppatrolreportgroupv2/list?current=1&size=9999`, null, { - withoutToken: true, - }).then((res) => { + this.$instance.post(`/app/apppatrolreportgroupv2/list?current=1&size=9999`).then((res) => { if (res.code == 0) { this.myList = res.data.records } From 65459954ada528200517c975945937a4e6ddc8f7 Mon Sep 17 00:00:00 2001 From: liuye Date: Wed, 13 Nov 2024 10:19:30 +0800 Subject: [PATCH 13/13] =?UTF-8?q?=E9=9A=8F=E6=89=8B=E6=8B=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mods/conv/AppPhotoReport/PhotoForm.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mods/conv/AppPhotoReport/PhotoForm.vue b/src/mods/conv/AppPhotoReport/PhotoForm.vue index c856dcc..3e8e8f2 100644 --- a/src/mods/conv/AppPhotoReport/PhotoForm.vue +++ b/src/mods/conv/AppPhotoReport/PhotoForm.vue @@ -141,7 +141,8 @@ export default { success: () => { uni.chooseLocation({ success: res => { - this.form.address = res.address + console.log(res) + this.form.address = res.name this.form.lat = res.latitude this.form.lng = res.longitude }