From 469195f1ea1eb2a6262f96ac824997450def41ef Mon Sep 17 00:00:00 2001 From: pangdongxu <850374051@qq.com> Date: Mon, 1 Sep 2025 10:48:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.json | 21 +- component/editor/editor.js | 1 + component/editor/editor.wxml | 9 +- component/editor/editor.wxss | 2 - image/apply/MSYH.png | Bin 0 -> 930 bytes image/icon/cancel_icon.png | Bin 1702 -> 0 bytes image/icon/cancel_icon2.png | Bin 0 -> 984 bytes image/index/nav_dlzh.png | Bin 0 -> 1404 bytes image/index/nav_jymx.png | Bin 0 -> 867 bytes image/index/nav_pjqs.png | Bin 0 -> 1728 bytes image/index/nav_pjsy.png | Bin 0 -> 898 bytes image/index/nav_sztj.png | Bin 0 -> 840 bytes image/index/nav_zzdz.png | Bin 0 -> 962 bytes pages/apply/index.wxml | 4 +- pages/apply/index.wxss | 4 + pages/apply/paymentTemplate/addNew/addNew.js | 382 ++++++++++-------- .../apply/paymentTemplate/addNew/addNew.wxml | 30 +- pages/discussions/detail/detail.js | 183 +++++++++ pages/discussions/detail/detail.json | 8 + pages/discussions/detail/detail.wxml | 44 ++ pages/discussions/detail/detail.wxss | 46 +++ pages/discussions/form/form.js | 242 +++++++++++ pages/discussions/form/form.json | 10 + pages/discussions/form/form.wxml | 36 ++ pages/discussions/form/form.wxss | 92 +++++ pages/discussions/list.js | 136 +++++++ pages/discussions/list.json | 17 + pages/discussions/list.wxml | 42 ++ pages/discussions/list.wxss | 348 ++++++++++++++++ pages/fixedAssets/fixedAssets.wxml | 18 +- pages/fixedAssets/fixedAssets.wxss | 2 +- pages/index/index.js | 4 +- pages/index/index.wxml | 7 +- pages/majorEvent/add/add.js | 35 +- pages/majorEvent/add/add.wxml | 52 ++- pages/noLoginIndex.wxml | 135 +------ pages/noLoginIndex.wxss | 2 +- pages/payee/add/add.js | 2 +- pages/payee/add/add.wxml | 2 +- pages/payee/index.js | 10 +- pages/paymentManager/toPay/toPay.js | 9 +- pages/paymentManager/toPay/toPay.wxml | 2 +- pages/phoneLogin.wxml | 37 +- pages/phoneLogin.wxss | 53 ++- pages/transaction/transaction.js | 20 + pages/transaction/transaction.wxml | 9 +- pages/user/login/login.wxml | 85 +++- pages/user/login/login.wxss | 2 +- pages/user/region/region.js | 10 +- pages/user/region/region.wxml | 35 +- pages/user/region/region.wxss | 31 +- project.private.config.json | 51 ++- utils/API.js | 18 +- 53 files changed, 1861 insertions(+), 427 deletions(-) create mode 100644 image/apply/MSYH.png delete mode 100644 image/icon/cancel_icon.png create mode 100644 image/icon/cancel_icon2.png create mode 100644 image/index/nav_dlzh.png create mode 100644 image/index/nav_jymx.png create mode 100644 image/index/nav_pjqs.png create mode 100644 image/index/nav_pjsy.png create mode 100644 image/index/nav_sztj.png create mode 100644 image/index/nav_zzdz.png create mode 100644 pages/discussions/detail/detail.js create mode 100644 pages/discussions/detail/detail.json create mode 100644 pages/discussions/detail/detail.wxml create mode 100644 pages/discussions/detail/detail.wxss create mode 100644 pages/discussions/form/form.js create mode 100644 pages/discussions/form/form.json create mode 100644 pages/discussions/form/form.wxml create mode 100644 pages/discussions/form/form.wxss create mode 100644 pages/discussions/list.js create mode 100644 pages/discussions/list.json create mode 100644 pages/discussions/list.wxml create mode 100644 pages/discussions/list.wxss diff --git a/app.json b/app.json index 9216162..fb2c0aa 100644 --- a/app.json +++ b/app.json @@ -21,9 +21,6 @@ "pages/bill/bill", "pages/statistics/statistics", "pages/user/region/region", - "pages/resources/resources", - "pages/resources/detail/detail", - "pages/resources/edit/edit", "pages/phoneLogin" ], "subPackages": [ @@ -159,6 +156,22 @@ "list/list", "detail/detail" ] + }, + { + "root": "pages/resources/", + "pages": [ + "resources", + "edit/edit", + "detail/detail" + ] + }, + { + "root": "pages/discussions/", + "pages": [ + "list", + "form/form", + "detail/detail" + ] } ], "window": { @@ -166,7 +179,7 @@ "navigationStyle": "custom", "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#fff", - "navigationBarTitleText": "农燊高科", + "navigationBarTitleText": "中农融信", "navigationBarTextStyle": "black" }, "sitemapLocation": "sitemap.json", diff --git a/component/editor/editor.js b/component/editor/editor.js index c3db795..1cf3543 100644 --- a/component/editor/editor.js +++ b/component/editor/editor.js @@ -24,6 +24,7 @@ Component({ }, ready() { const platform = wx.getSystemInfoSync().platform + console.log(platform); const isIOS = platform === 'ios' this.setData({ isIOS diff --git a/component/editor/editor.wxml b/component/editor/editor.wxml index 64395ba..53d9c35 100644 --- a/component/editor/editor.wxml +++ b/component/editor/editor.wxml @@ -1,7 +1,4 @@ - - - - + + \ No newline at end of file diff --git a/component/editor/editor.wxss b/component/editor/editor.wxss index 0dff491..86b26cc 100644 --- a/component/editor/editor.wxss +++ b/component/editor/editor.wxss @@ -20,9 +20,7 @@ .toolbar { padding: 0 16rpx; - height: 200rpx; width: 100%; - position: fixed; left: 0; right: 100%; bottom: 0; diff --git a/image/apply/MSYH.png b/image/apply/MSYH.png new file mode 100644 index 0000000000000000000000000000000000000000..0e0d0d6aaf5ef63fb20d5171ca7757cb466a7546 GIT binary patch literal 930 zcmV;T16}-yP)j3rDO>DmgB7kp0l8L1wLsz06a8rYWc8hB-c-vE`J zuvOM&d-G_IcPN%g07gCTFKWNT65O*2NV(QV51Ixj%+Hl7v%*eIs-z!kbD@ z2U9Og^PEY+LfisXNooPC=QAxdi+z$I0lWFua=u+rpZfim4o7;^$!K5F zd99Q)8`cS6qw1*o*g)y8F3T30<;~K#qOo6m-GdWU_x=kxE?Yt|TRkW{PG{C$#j*m% zAtOG{+DGD%P_?`!4KtKk)*({CZk`IJBm7S+f%Ux6+WJ4x?^fqy$vjFA z7U~{I#{&+U%PaoUYhe$o&x=x%+GS22vj678s074paTop6@HkqNQHcWeF>LW zMdJXSxZWl{RLi+|9hQ>3L|&9XeK$-Ah0P}5Aa{D0wO!T#DeZhDGrB35FG&fEwaK_L zGo1FZ=4?`Kc)=itqgr0@AoB%Do5;!DPA-7(dCSIBw9xaSU z7#f`x5KF^lS{Dat9JR$2KVGW{yl}IhO_9V3W$_!61j-l1)CsDJ{pbuB2Mf+q4I1OpRv{Q&XvA6+|1 zFrbMcftVOW!ao8AH6fS~)@}L+L_}T7h$zH>4*URNghgyO28@pZLUeqLkMkm7Koj*-zHyD((3~ze7}MOS4VF(=k=#Tu4-pDw(3oTcJK_h6@~yL|;x`$Ln2t1| zKx6q_AX>>lb~6qn&^@eTWTCsbx=seyFd;Fmkd)5=ahi-l13G@ig71_TRU9{<1G)+Q z*jzT?azyzU2o@SKU|JSog|pcAfnFS4gldj@M`IXjc#VwK3!Gj#+N0#q{L;dz)>ODD z3Hd{1laO!+PqDmIV43`$6URAF$lOrXH zh&LY= zbEiakqY{}h=ZL|v=(v{bH&7k_9GCy=-1YrsX-9FtDl;WfuLsvSJLmxfK4B{ z9189jA*0$ur=_h9>d%>;s5S|;?oj8`H$Q-&|=BqgR%J+B|}JJl%YKN3b1OzrkS zM6~vvTAfNY`S(Q2kT=t#vds;F98aq4`U%*>DLbsT>vBx2!*Tb$);V>}Wk{;TK*-yz zxYOlDoKQTe)++~K-)}SxF`r6V}w}mIURmUV{~0dBB_YAWMptsXcqg>?ksdc zb@^p_%5nK4BD9{ZEzo5#!$Mt?!gog(>)y*clLFCt+#2${MS$xv>}yJRaX5T(*kVmi zHf^)&V%!$;JQ4wHNNF*H0wPt5y0D*er+h+SP3}~UkDZ53^VwBgOl5tDDq-^QrJZDC zqr;o(S?&N0)d=}Ro;BQ5d^cNcL_`YukAR_h6SV?0Hbfs{&&idB*N)I)h`BRpVR?9uOl${(Y3!&9+vSgx!BI8`PYH<@79efP`iKpGuG9C@i9SxJ2kjxNO z`Qh^$K^)zsN5^SZ=y&b_pssxS1od-|)(UO6ddyIbe<|JDi?BvecIF?Z4D+*6E>p3VA@SDefi^~KXRZj&}} zgRxtc(}R$>9KICBeVoR}8aI$V4RM&G2uyU3@m=a_HQ|L@n)-l+gL!+Zz}VW;tGY|Unq50eF`=Vjz5n^bwO_VOz2j$ywCE}Tb=GZSx(8nFy<%i*2`bLjGH6+sYE5E3B?T620c%y z3cLU+IvMR@qYlL6d87P7!N{k2)`{t)px4Q0@=)iob5`V6Gzsy3PWun=6Cc7D(et$! wMB=rUdQxz|0<=HRLVr9{SanUWo!;dB1656CCWGnV^#A|>07*qoM6N<$f^tzO>;M1& diff --git a/image/icon/cancel_icon2.png b/image/icon/cancel_icon2.png new file mode 100644 index 0000000000000000000000000000000000000000..a979125fd276032373283aa10ee4e4faa6f85fc5 GIT binary patch literal 984 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 KMNUMnLSTYcgpwNo literal 0 HcmV?d00001 diff --git a/image/index/nav_jymx.png b/image/index/nav_jymx.png new file mode 100644 index 0000000000000000000000000000000000000000..cae1d0dd08f924cd79b74db75ebd79d73a96d556 GIT binary patch literal 867 zcmV-p1DyPcP)E$qN_7Igx9?~KNIarw4IN6wh z6cY;*0|Tg71B0J`{&9c!{#y~mwvZPNKJoDFI&3aSE(fWai~r9wX8p~mq|L;{D2vVF znst|SI=0S^M@|C2oV{%~=dGBPl6;Yv5?4r~e1 zyYipm-#3Sm{=qTexo2m}{KQ&b1FFT_tA;*E_@i`Fe$e;gDGiI-T zf!BdC>&lD%|NozX(?TZ3rlo$LDe2>%9_1+ zLr_agtB8@25qCL=<^xt{CRSEvMmBVh=}U6%oDn3yo)iZ%|6{z#n6~m3UI*&v=-@90 zi40;bagH_1B9#^q>p*5;AKL|kbQRQ7RYZ+r|hizW_))hrBLyau@HW^@O( z2k9MU`1bh%a$AsK6cd@m@GAR1D_rdl(?2Ej_93zZ{q!YcH(h)VZ*(9VNV5<`clG~O zp_~k_fh`?YCO(jyW$PXtU_WFnR2@;BCaU&HhzNZLpc;}!78U?CfH1uPs9`aIln|ts t!?4*yR1^|XNQcNgTW1t`p;UXvUvMuEi1HKA{7~V)FVgv%M7L*cbuCMFsZpZnSow~i= z?p@nI`E#=~|NQ&S_s`7#?-8ME63xtKFnvRrhG%FwQ>UVb*zaMb-8JuC)+E5$Z!^1G z1xSEX1b{4HS{CR8Z##eBz|eXxP_^tCFRoOafia8Hj%UAdUM~T-#R|J!!l?&tC-ao1 z^7b`rI|5(=K(Qz=Jy^8>0L1)&#TPg@KfyFc@p4jm5g6#IU~wCm_E9DR@R~rK_yTuX z1q^KA1w9cg77Ke;aRLSb*spklQ-?C0&35?p5P-o4u>+#Eovq&PYW2JV^I`qW^KNXN zR!mZgn)Ift!GR%wgY=j&`sEl?D~TR18pI)Rc;&X!JURbFp0laVY7$A~xmAg_X9o3g z8mVxN%rC0&1yT(T2GLBh$KnGZMAL+Rk<`x}EXEMQ5UMsR`L!w{b=%njw?xguBYT(r zv344+8bKuVz7Qsqdo#(wxW_=Bz~u8mAra$Ro9?L{#jZO( z=k(3{bI@0~aDr{-=qP!d3bf7G!T`QkbeG$6aGbRsg%gZf#fdQ2pqf5|%sE^=_Wtbvf? z=I1xP+CHE*-JU$c!#4j9A>r1-;J$etVlbN|>0VC#ovbL2yHV|=;O86GCHpVS`)&99 z7c$-)|5$q{(I>Xh3kWZmD`Se3)1#2O?J2KUiAHm7_&_^=86?^`yQL=k<)%8HCowpq zXdgnG{$ljH9qHrFsKHZ7dSJ>ZKCK3an;R^4S?I=B!z;u3PFok&f33@4l&_BX*4njc z4K?SqoDE!jIIp_CWn{|OsP%gnOh86z7wkQgt>}Azqe`#On>+2`B8www1CqO@xHiv- zS`{&5XSEnK1x6!UUG}97)kpN^aB#1U8nE?n=A>iZwxZ`|2XF~Wh}-P|tc?bp5GX0% zlbnx?;Zrh;m+Y!B7~jHRq^GqszxIy2pY+7K?7Nj!HLmfa2U`xEUp4isPT-o`P&u=NOYYw{I;*n%0mHanSTQat;L2DV2ci== zFz2R0tac;3Mk_OtmLwkL)PqZ74AdZBL%1?l)c=$1eKNIx`UR(i6@?>8ZmXh-@QKlD;?j6Nfsd`UCm&%A;A=s~e_RLQEC+ zHzjq*9+)e->Q9o)V|AP5hZesWPE!a;~ZQXYx7!8mpx1ZKtiPWJu^SWymq05vqIc;LL3XX zNo#eSHKTzvp3h0NjT&TWPi-Pgp~O~riqBQ=F|dYHS;-UyfbPYs^>Vs-)}!uT0;}aZ z1N^Au%E(WS{+Wll6Nf&s@6?LP`?wzf6I}J>2&XS_@vM`l5dhTt4gB8$aRzmdn&{zVv!gGu>JQ>d)`w?& z0O@^WAlrZ~0O7^!U#yMn)1_|{J#bhERu9&AnEB!W6biu$`M(4BRaets3k!mFd29Fs z$HCyGxNNa{{?`H@^Y!~1>qPjv1&TWi6r38sF!nG>=|H-{<$6`OVBhplKZ={s{o!A?;Yc`h(t^kj8d~Xwv{9ghH5nfF?py8VC-n zE40oGqRBz;Eo{u%)-mkw0T5m#RxJf=AMM(jE9x?ECPtfj5@def06RvyQLcb^;`PBF zAMXIW-F2a;;!=d=&k$P=7QWT+5Jf>U8H49u#_58{6bNP>}NG|&42 zK{`OnB00FSypI8h)h?GOmHJ6jB>Me|fSlkupN&%i(i920zn_y>&ru^SO_5~mMQP?0 z0eqtl7JEwTID0{nm=u;4XCgrwFjd2`&{pi=-G+0vI7@-cQKD!{1Lin3-?u9C~30=t5(b0TM^){?;Zd0dWAMmI9{wyayP@ zRz?eHltEcehk4(KbxTa3(A{G$$>F5_Ph$kgCgPLi8D?n)70AA}T@r(;XtJ0MP^n(u z)33ya<$wxge`~!2fbp4#b*lm5YbXjkhu*3I<_8epDk7}FPcGyAs0Sqbjzgg!c_ic& zP&J;oce0!-;P*fPxz(0j1?+09>b~7v`$&CaX|;LDp#FRWOH8>4L^os@7X*w$*#>_f z17oCL;x1_X9Ti@$7DV0w*C-bCnmvMb6Pq4z07pQ+8`;#XQDtx=!Sud1H{id_+?u}s Y0GF4%6$JB!X#fBK07*qoM6N<$f<}d&Y5)KL literal 0 HcmV?d00001 diff --git a/image/index/nav_sztj.png b/image/index/nav_sztj.png new file mode 100644 index 0000000000000000000000000000000000000000..e8310d6792443c0d8050bf586eee0f53acaece48 GIT binary patch literal 840 zcmV-O1GoH%P)ka7CsZuZ#8Gb>%=wrZ zIMo;!8TtP)Fmjz!Q}h4-zuyeM|6LVsJ@gnRMm0yhZE&(;WMmK~#X-nwS$;4c z<7?mh79>U$N0Aa`xE#&I@c-MLr=Jd)%sTs8I>q?5KRBQryqAv?kHednxvwceV2McPIS{xC5MVRO{K zKYw3P9uRYomG3G#m5 zL$RYiRXPjzXsJ)8hNJ%fXLu{zu#fVP0;Q|M6?s!%vvFoo5`CbGS%~lFK~Rf<;*bJ4 zDsF8_(?3S$T8bR?>(2#POMxnmidkFM0Bq3Jv;6z}uJ7tOl8XdT*(BI--~v^fE-*&{ z4Shc0{0V<17G?>2WfiQPlK=X7Y5v`7C1MQ+ULdQdYDj?`wIrxh>Q#e-1REoxHnyfP z$a0vY{{Q{gvNW{27Tp6haTLrFc&C9K()j!R`}cPS)}J5q^z5%QGB8R3#|xU426fic z)ls;jFnV3t(;@AsMxf7D6R1o>f%356h7WMS6Z(IK*MI*rI1;LmnVJ6Y1GdD)h>1Qz zW?_qZuozPABgu>*=O}BEyoXSH6vm9$P$bLzmsyTfbN({_eY7H=58mH{=?4I-oatAa Sm-7Yy0000 literal 0 HcmV?d00001 diff --git a/image/index/nav_zzdz.png b/image/index/nav_zzdz.png new file mode 100644 index 0000000000000000000000000000000000000000..f8119169ee8fd42124dc8571156f18708a988448 GIT binary patch literal 962 zcmV;z13mnSP)|&9J zOgt%}h#u6?pgbrfl5Q&Ip^^kwqA&?M=phd#mPE43?wYH%JM;D4$ga~kyE`+@3V{Q2 zm^bfx-*5ik``-KJ0U-qGebASSIxNuY6#h3z_H|QQzs_L43Tk(X-iDQIq{a;fooh8? zBAh#f)GAk$euqj*;*^cv&*PD#2td38j<(Ms#ma{3Dh7&M`ZOplDQQdKXI9&bE+?fC zFI;hM#j=wxK`|4je595-0Xp%~)nC*aUgye39-xSDBN8Y+EzSvYd}?ORSohD3o!pbj ziE}IMm+BcD5)4>Cbdyd00^EJ&Qv)^)k`1l|#YY$IL0fVjb&|r~XVi=}DQ zYH&dbYAU206njdt1b|$*!&s2J$`Y@|j6La_C*_uIQSN9|e6p&ZZ% zB#Ppiwd%!tQz6rWzq{IeD-%jZj4H|2P-~_0wW*L9!gf!S_s6(dkW!}G@oh{RN*KgQ`Ok#KzvW z#R=fJR5egNi@B6EY(CP;C}!e>oGC)TuT}vGB+JThW|~2yGDaS4J5F!Ir)qKHQXN(| kBn!boU+jqHo>r%S0AbO#F?{d6B>(^b07*qoM6N<$f+S704gdfE literal 0 HcmV?d00001 diff --git a/pages/apply/index.wxml b/pages/apply/index.wxml index 32ca231..f308874 100644 --- a/pages/apply/index.wxml +++ b/pages/apply/index.wxml @@ -17,9 +17,9 @@ {{item.bankUseType == 1 ?'基本户':'一般户'}} - + - + {{item.accountName}} diff --git a/pages/apply/index.wxss b/pages/apply/index.wxss index 190b3fc..de8fd9a 100644 --- a/pages/apply/index.wxss +++ b/pages/apply/index.wxss @@ -72,6 +72,10 @@ background:url('https://www.nongshen.net/static/wechat/bank_ZYB.png') no-repeat center; background-size: 105% 105%; } +.MSYH{ + background:url('https://www.nongshen.net/static/wechat/bank_MSYH.png') no-repeat center; + background-size: 105% 105%; +} .bank_other{ background:url('https://www.nongshen.net/static/wechat/bank_other.png') no-repeat center; background-size: 105% 105%; diff --git a/pages/apply/paymentTemplate/addNew/addNew.js b/pages/apply/paymentTemplate/addNew/addNew.js index 344aa61..c2fbf6e 100644 --- a/pages/apply/paymentTemplate/addNew/addNew.js +++ b/pages/apply/paymentTemplate/addNew/addNew.js @@ -178,7 +178,7 @@ Page({ payerAccount:'',//付款方账户 bankType:'',//所属银行 bankTypeText:'',//所属银行(展示用) - isPeers:'N',//是否同行 + isPeers:'',//是否同行 operatorCode:'',//操作员代码 enterpriseCode:'',//企业编码 expenditureAmount:'',//支出总金额 @@ -198,6 +198,7 @@ Page({ endTime:'',//到期日期 orderType:'',//汇票类型 bankAccountType:'2',//账户类别1 公户2私户 + accountType:'1',//账户类别1 公户2私户 villageAccountType:'',//账户分类 payeeList:[{//收款方账户集合 payeeId:'0',//收款方id @@ -259,6 +260,7 @@ Page({ showFile:false, showCapitalExpenditureType:false, showSteps:false, + showAccountType:false, activeStepsNames: 0, }, @@ -304,6 +306,13 @@ Page({ }) } }) + UTIL.httpRequest(API.URL_GET_GETDICTTYPE + 'bank_account_type', {method:'GET'}, { + success: (res) => { + that.setData({ + bankAccountTypeOptions:res.data, + }) + } + }) // 项目工程列表 UTIL.httpRequest(API.URL_GET_GETPROJECTLIST , {method:'GET'}, { success: (res) => { @@ -730,6 +739,12 @@ Page({ // 所属银行字典查询 UTIL.httpRequest(API.URL_GET_GETDICTTYPE + 'bank_type', {method:'GET'}, { success: (res) => { + + if(event.detail.value.bankType != 10){ + this.setData({ + ['form.accountType']: '' + }) + } this.setData({ [event.currentTarget.dataset.name]: false, [event.currentTarget.dataset.value+'.payer']: event.detail.value.accountName, @@ -739,7 +754,7 @@ Page({ [event.currentTarget.dataset.value+'.bankType']: event.detail.value.bankType, [event.currentTarget.dataset.value+'.payerAccount']:event.detail.value.bankAccountNumber, [event.currentTarget.dataset.value+'.balance']:event.detail.value.balance, - [event.currentTarget.dataset.value+'.isPeers']:"N", + [event.currentTarget.dataset.value+'.isPeers']:"", [event.currentTarget.dataset.value+'.payeeList'] : [{//收款方账户集合 payeeId:'0',//收款方id payee:'',//收款方 @@ -932,15 +947,28 @@ Page({ UTIL.showToastNoneIcon('请先选择付款方!'); return; } + if(event.currentTarget.dataset.banktype == 10){ + if(event.currentTarget.dataset.childaccounttype == null || event.currentTarget.dataset.childaccounttype == ''){ + UTIL.showToastNoneIcon('请先选择账户类型!'); + return; + } + }else{ + event.currentTarget.dataset.accounttype = ''; + this.setData({ + ['form.accountType']: '' + }) + } if(this.data.form.payeeList.length>10){ return; } - if(event.currentTarget.dataset.accounttype == null ){ - event.currentTarget.dataset.accounttype = '' - } + // if(event.currentTarget.dataset.accounttype == null ){ + // event.currentTarget.dataset.accounttype = '' + // } // '/pages/payee/index?isPeers='+event.currentTarget.dataset.ispeers+'&bankType='+event.currentTarget.dataset.banktype+'&accountType='+event.currentTarget.dataset.accounttype+'&transferType='+event.currentTarget.dataset.transfertype + '&index='+event.currentTarget.dataset.index+'&money='+this.data.form.transfers + console.log(this.data.form.isPeers); + console.log(event.currentTarget.dataset.isPeers); wx.navigateTo({ - url: '/pages/payee/index?transferType='+event.currentTarget.dataset.transfertype+'&money='+this.data.form.expenditureAmount + '&index='+event.currentTarget.dataset.index + '&isPeers='+this.data.form.isPeers+'&bankType='+event.currentTarget.dataset.banktype, + url: '/pages/payee/index?transferType='+event.currentTarget.dataset.transfertype+'&money='+this.data.form.expenditureAmount + '&index='+event.currentTarget.dataset.index + '&isPeers='+event.currentTarget.dataset.ispeers+'&bankType='+event.currentTarget.dataset.banktype+'&accountType='+event.currentTarget.dataset.accounttype, }) }, goPayee(event){ @@ -1692,7 +1720,7 @@ Page({ mediaType: ['image'], sourceType: ['album', 'camera'], camera: 'back', - count: 1, + count: 9, success(res) { console.log(res); res.tempFiles.forEach(item => { @@ -1705,48 +1733,54 @@ Page({ }) }) console.log(fileForm); - let tem = that.data.form.SJimage?that.data.form.SJimage:[]; - res.tempFiles.forEach(r=>{ - tem.push({ - tempFilePath:r.tempFilePath - }) - }) - console.log(tem); - that.setData({ - ["form.SJimage"]:tem, - ["form.fileForm"]:fileForm, - }) - let SJlength = that.data.form.SJimage == undefined ? 0:that.data.form.SJimage.length; - let FPlength = that.data.form.FPimage == undefined ? 0:that.data.form.FPimage.length; - let QTlength = that.data.form.QTimage == undefined ? 0:that.data.form.QTimage.length; - let SYLGKlength = that.data.form.SYLGKimage == undefined ? 0:that.data.form.SYLGKimage.length; - let fileNum = parseInt( SJlength ) + parseInt( FPlength ) + parseInt( QTlength ) + parseInt( SYLGKlength ) ; - that.setData({ - ["form.fileNum"]:fileNum, - }) const element = fileForm[0]; - wx.uploadFile({ - url: wx.getStorageSync('dressCode')+API.URL_GET_UPLOAD, - filePath: res.tempFiles[0].tempFilePath, - name: 'file', - header: { - "Content-Type": "multipart/form-data",//记得设置 - "chartset":"utf-8", - 'Authorization':'Bearer '+getApp().globalData.userInfo.token - }, - formData:element, - success (response){ - wx.showToast({ - title: '上传成功', - icon: 'success', - duration: 2000, - }) - }, - fail(res){ - console.log(res) - } + + let tem = that.data.form.SJimage?that.data.form.SJimage:[]; + + fileForm.forEach( (rr,index) => { + wx.uploadFile({ + url: wx.getStorageSync('dressCode')+API.URL_GET_UPLOAD, + filePath: rr.file, + name: 'file', + header: { + "Content-Type": "multipart/form-data",//记得设置 + "chartset":"utf-8", + 'Authorization':'Bearer '+getApp().globalData.userInfo.token + }, + formData:rr, + success (response){ + let data = JSON.parse(response.data); + console.log(data); + tem.push({ + tempFilePath:wx.getStorageSync('dressCode')+data.fileUrl, + id:data.id + }) + console.log(tem); + that.setData({ + ["form.SJimage"]:tem, + ["form.fileForm"]:fileForm, + }) + let SJlength = that.data.form.SJimage == undefined ? 0:that.data.form.SJimage.length; + let FPlength = that.data.form.FPimage == undefined ? 0:that.data.form.FPimage.length; + let QTlength = that.data.form.QTimage == undefined ? 0:that.data.form.QTimage.length; + let SYLGKlength = that.data.form.SYLGKimage == undefined ? 0:that.data.form.SYLGKimage.length; + let fileNum = parseInt( SJlength ) + parseInt( FPlength ) + parseInt( QTlength ) + parseInt( SYLGKlength ) ; + that.setData({ + ["form.fileNum"]:fileNum, + }) + wx.showToast({ + title: '上传成功', + icon: 'success', + duration: 2000, + }) + }, + fail(res){ + console.log(res) + } + }) }) + },fail(err){ console.log(err); @@ -1761,7 +1795,7 @@ Page({ mediaType: ['image'], sourceType: ['album', 'camera'], camera: 'back', - count: 1, + count: 9, success(res) { console.log(res); res.tempFiles.forEach(item => { @@ -1776,48 +1810,48 @@ Page({ let tem = that.data.form.FPimage?that.data.form.FPimage:[]; - res.tempFiles.forEach(r=>{ - tem.push({ - tempFilePath:r.tempFilePath - }) - }) + fileForm.forEach( rr => { + wx.uploadFile({ + url: wx.getStorageSync('dressCode')+API.URL_GET_UPLOAD, + filePath: rr.file, + name: 'file', + header: { + "Content-Type": "multipart/form-data",//记得设置 + "chartset":"utf-8", + 'Authorization':'Bearer '+getApp().globalData.userInfo.token + }, + formData:rr, + success (response){ + let data = JSON.parse(response.data); + console.log(data); + tem.push({ + tempFilePath:wx.getStorageSync('dressCode')+data.fileUrl, + id:data.id + }) - console.log(tem); - that.setData({ - ["form.FPimage"]:tem, - ["form.fileForm"]:fileForm - }) - let SJlength = that.data.form.SJimage == undefined ? 0:that.data.form.SJimage.length; - let FPlength = that.data.form.FPimage == undefined ? 0:that.data.form.FPimage.length; - let QTlength = that.data.form.QTimage == undefined ? 0:that.data.form.QTimage.length; - let SYLGKlength = that.data.form.SYLGKimage == undefined ? 0:that.data.form.SYLGKimage.length; - let fileNum = parseInt( SJlength ) + parseInt( FPlength ) + parseInt( QTlength ) + parseInt( SYLGKlength ) ; - that.setData({ - ["form.fileNum"]:fileNum, - }) - - const element = fileForm[0]; - console.log(element); - wx.uploadFile({ - url: wx.getStorageSync('dressCode')+API.URL_GET_UPLOAD, - filePath: res.tempFiles[0].tempFilePath, - name: 'file', - header: { - "Content-Type": "multipart/form-data",//记得设置 - "chartset":"utf-8", - 'Authorization':'Bearer '+getApp().globalData.userInfo.token - }, - formData:element, - success (response){ - wx.showToast({ - title: '上传成功', - icon: 'success', - duration: 2000, - }) - }, - fail(res){ - console.log(res) - } + console.log(tem); + that.setData({ + ["form.FPimage"]:tem, + ["form.fileForm"]:fileForm + }) + let SJlength = that.data.form.SJimage == undefined ? 0:that.data.form.SJimage.length; + let FPlength = that.data.form.FPimage == undefined ? 0:that.data.form.FPimage.length; + let QTlength = that.data.form.QTimage == undefined ? 0:that.data.form.QTimage.length; + let SYLGKlength = that.data.form.SYLGKimage == undefined ? 0:that.data.form.SYLGKimage.length; + let fileNum = parseInt( SJlength ) + parseInt( FPlength ) + parseInt( QTlength ) + parseInt( SYLGKlength ) ; + that.setData({ + ["form.fileNum"]:fileNum, + }) + wx.showToast({ + title: '上传成功', + icon: 'success', + duration: 2000, + }) + }, + fail(res){ + console.log(res) + } + }) }) },fail(err){ console.log(err); @@ -1831,7 +1865,7 @@ Page({ mediaType: ['image'], sourceType: ['album', 'camera'], camera: 'back', - count: 1, + count: 9, success(res) { console.log(res); res.tempFiles.forEach(item => { @@ -1846,46 +1880,47 @@ Page({ console.log(fileForm); let tem = that.data.form.QTimage?that.data.form.QTimage:[]; - res.tempFiles.forEach(r=>{ - tem.push({ - tempFilePath:r.tempFilePath + fileForm.forEach( rr => { + wx.uploadFile({ + url: wx.getStorageSync('dressCode')+API.URL_GET_UPLOAD, + filePath: rr.file, + name: 'file', + header: { + "Content-Type": "multipart/form-data",//记得设置 + "chartset":"utf-8", + 'Authorization':'Bearer '+getApp().globalData.userInfo.token + }, + formData:rr, + success (response){ + let data = JSON.parse(response.data); + console.log(data); + tem.push({ + tempFilePath:wx.getStorageSync('dressCode')+data.fileUrl, + id:data.id + }) + that.setData({ + ["form.QTimage"]:tem, + ["form.fileForm"]:fileForm + }) + let SJlength = that.data.form.SJimage == undefined ? 0:that.data.form.SJimage.length; + let FPlength = that.data.form.FPimage == undefined ? 0:that.data.form.FPimage.length; + let QTlength = that.data.form.QTimage == undefined ? 0:that.data.form.QTimage.length; + let SYLGKlength = that.data.form.SYLGKimage == undefined ? 0:that.data.form.SYLGKimage.length; + let fileNum = parseInt( SJlength ) + parseInt( FPlength ) + parseInt( QTlength ) + parseInt( SYLGKlength ) ; + that.setData({ + ["form.fileNum"]:fileNum, + }) + wx.showToast({ + title: '上传成功', + icon: 'success', + duration: 2000, + }) + }, + fail(res){ + console.log(res) + } }) }) - that.setData({ - ["form.QTimage"]:tem, - ["form.fileForm"]:fileForm - }) - let SJlength = that.data.form.SJimage == undefined ? 0:that.data.form.SJimage.length; - let FPlength = that.data.form.FPimage == undefined ? 0:that.data.form.FPimage.length; - let QTlength = that.data.form.QTimage == undefined ? 0:that.data.form.QTimage.length; - let SYLGKlength = that.data.form.SYLGKimage == undefined ? 0:that.data.form.SYLGKimage.length; - let fileNum = parseInt( SJlength ) + parseInt( FPlength ) + parseInt( QTlength ) + parseInt( SYLGKlength ) ; - that.setData({ - ["form.fileNum"]:fileNum, - }) - - const element = fileForm[0]; - wx.uploadFile({ - url: wx.getStorageSync('dressCode')+API.URL_GET_UPLOAD, - filePath: res.tempFiles[0].tempFilePath, - name: 'file', - header: { - "Content-Type": "multipart/form-data",//记得设置 - "chartset":"utf-8", - 'Authorization':'Bearer '+getApp().globalData.userInfo.token - }, - formData:element, - success (response){ - wx.showToast({ - title: '上传成功', - icon: 'success', - duration: 2000, - }) - }, - fail(res){ - console.log(res) - } - }) },fail(err){ console.log(err); @@ -1899,7 +1934,7 @@ Page({ mediaType: ['image'], sourceType: ['album', 'camera'], camera: 'back', - count: 1, + count: 9, success(res) { console.log(res); res.tempFiles.forEach(item => { @@ -1914,46 +1949,47 @@ Page({ console.log(fileForm); let tem = that.data.form.SYLGKimage?that.data.form.SYLGKimage:[]; - res.tempFiles.forEach(r=>{ - tem.push({ - tempFilePath:r.tempFilePath + fileForm.forEach( rr => { + wx.uploadFile({ + url: wx.getStorageSync('dressCode')+API.URL_GET_UPLOAD, + filePath: rr.file, + name: 'file', + header: { + "Content-Type": "multipart/form-data",//记得设置 + "chartset":"utf-8", + 'Authorization':'Bearer '+getApp().globalData.userInfo.token + }, + formData:rr, + success (response){ + let data = JSON.parse(response.data); + console.log(data); + tem.push({ + tempFilePath:wx.getStorageSync('dressCode')+data.fileUrl, + id:data.id + }) + that.setData({ + ["form.SYLGKimage"]:tem, + ["form.fileForm"]:fileForm + }) + let SJlength = that.data.form.SJimage == undefined ? 0:that.data.form.SJimage.length; + let FPlength = that.data.form.FPimage == undefined ? 0:that.data.form.FPimage.length; + let QTlength = that.data.form.QTimage == undefined ? 0:that.data.form.QTimage.length; + let SYLGKlength = that.data.form.SYLGKimage == undefined ? 0:that.data.form.SYLGKimage.length; + let fileNum = parseInt( SJlength ) + parseInt( FPlength ) + parseInt( QTlength ) + parseInt( SYLGKlength ) ; + that.setData({ + ["form.fileNum"]:fileNum, + }) + wx.showToast({ + title: '上传成功', + icon: 'success', + duration: 2000, + }) + }, + fail(res){ + console.log(res) + } }) }) - that.setData({ - ["form.SYLGKimage"]:tem, - ["form.fileForm"]:fileForm - }) - let SJlength = that.data.form.SJimage == undefined ? 0:that.data.form.SJimage.length; - let FPlength = that.data.form.FPimage == undefined ? 0:that.data.form.FPimage.length; - let QTlength = that.data.form.QTimage == undefined ? 0:that.data.form.QTimage.length; - let SYLGKlength = that.data.form.SYLGKimage == undefined ? 0:that.data.form.SYLGKimage.length; - let fileNum = parseInt( SJlength ) + parseInt( FPlength ) + parseInt( QTlength ) + parseInt( SYLGKlength ) ; - that.setData({ - ["form.fileNum"]:fileNum, - }) - - const element = fileForm[0]; - wx.uploadFile({ - url: wx.getStorageSync('dressCode')+API.URL_GET_UPLOAD, - filePath: res.tempFiles[0].tempFilePath, - name: 'file', - header: { - "Content-Type": "multipart/form-data",//记得设置 - "chartset":"utf-8", - 'Authorization':'Bearer '+getApp().globalData.userInfo.token - }, - formData:element, - success (response){ - wx.showToast({ - title: '上传成功', - icon: 'success', - duration: 2000, - }) - }, - fail(res){ - console.log(res) - } - }) },fail(err){ console.log(err); @@ -2327,13 +2363,13 @@ Page({ } options.splice(e.currentTarget.dataset.index,1); let length = this.data.form.fileNum - 1; - this.setData({ - [e.currentTarget.dataset.name]:options, - ["form.fileNum"]:length, - ["form.fileForm"]:file, - }) UTIL.httpRequest(API.URL_GET_GETFILEREMOVE+e.currentTarget.dataset.id , {method:'GET'}, { success: (res) => { + this.setData({ + [e.currentTarget.dataset.name]:options, + ["form.fileNum"]:length, + ["form.fileForm"]:file, + }) wx.showToast({ title: '删除成功!', icon: 'success', @@ -2425,6 +2461,10 @@ Page({ }, addPayee(){ console.log(this.data.form.payeeList); + if(this.data.form.payeeList.length > 10){ + UTIL.showToastNoneIcon('收款方过多,请使用批量上传功能'); + return; + } for(let i = 0 ; i < this.data.form.payeeList.length ; i++ ){ if(!this.data.form.payeeList[i].payee && !this.data.form.payeeList[i].payeeAccount && !this.data.form.payeeList[i].bankDeposit && !this.data.form.payeeList[i].bankTypeText){ UTIL.showToastNoneIcon('请勿添加多个空付款人'); diff --git a/pages/apply/paymentTemplate/addNew/addNew.wxml b/pages/apply/paymentTemplate/addNew/addNew.wxml index 0b74472..31b8250 100644 --- a/pages/apply/paymentTemplate/addNew/addNew.wxml +++ b/pages/apply/paymentTemplate/addNew/addNew.wxml @@ -240,7 +240,7 @@ - + @@ -251,11 +251,11 @@ 收款方信息 - + 批量上传 - + + @@ -273,12 +273,32 @@ + + + + + + 公户 + 私户 + + + + + + + - + 收款方选择 @@ -375,7 +395,7 @@ - + diff --git a/pages/discussions/detail/detail.js b/pages/discussions/detail/detail.js new file mode 100644 index 0000000..47c647d --- /dev/null +++ b/pages/discussions/detail/detail.js @@ -0,0 +1,183 @@ +// pages/contract/add/add.js +import * as UTIL from '../../../utils/util.js'; +import * as API from '../../../utils/API.js'; +const app = getApp(); +Page({ + + /** + * 页面的初始数据 + */ + data: { + isIPX: app.globalData.isIPX, + id:null, + voteTypeOptions: [], + voteStatusOptions: [], + voteResultOptions: [], + fileList: [], + form:{} + }, + back:function(){ + wx.navigateBack({ + delta: 1 + }) + }, + /** + * 生命周期函数--监听页面加载 + */ + onLoad(options) { + this.setData({id:options.id}) + + }, + goForm(e){ + wx.navigateTo({ + url: '../form/form?id='+e.currentTarget.dataset.id, + }) + }, + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady() { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow() { + UTIL.httpRequest(API.URL_GET_GETDICTTYPE + 'vote_type', {method:'GET'}, { + success: (res) => { + this.setData({ + voteTypeOptions:res.data, + }) + } + }) + UTIL.httpRequest(API.URL_GET_GETDICTTYPE + 'vote_status', {method:'GET'}, { + success: (res) => { + this.setData({ + voteStatusOptions:res.data, + }) + } + }) + UTIL.httpRequest(API.URL_GET_GETDICTTYPE + 'vote_result', {method:'GET'}, { + success: (res) => { + this.setData({ + voteResultOptions:res.data, + }) + } + }) + //获取收入合同状态 + UTIL.httpRequest(API.URL_GET_VOTEDETAIL + this.data.id , {method:'GET'}, { + success: (res) => { + res.data.voteStatusText = UTIL.getTransform(res.data.voteStatus,this.data.voteStatusOptions); + res.data.voteTypeText = UTIL.getTransform(res.data.voteType,this.data.voteTypeOptions); + res.data.yesForm = []; + res.data.noForm = []; + res.data.everForm = []; + res.data.detailList.map(rr=>{ + rr.voteResultText = UTIL.getTransform(rr.voteResult,this.data.voteResultOptions); + if(rr.voteResult == 1){ + res.data.yesForm.push(rr); + } + if(rr.voteResult == 2){ + res.data.noForm.push(rr); + } + if(rr.voteResult == 3){ + res.data.everForm.push(rr); + } + }) + console.log(res.data); + this.setData({'form':res.data}); + this.asyncFun(this.data.id); + } + }) + }, + asyncFun(id){ + this.data.form.fileList = []; + let uploadList = this.data.uploadOptions + let newList = [] + let _this = this + let oData = { + tableId: id, + tableName: "t_hz_vote", //上传表 + bizPath: "subcontract", + method:'GET' + } + UTIL.httpRequest(API.URL_GET_ATTACHMENTLIST, oData, { + success: (rr) => { + if(rr.code==200&&rr.rows.length>0){ + rr.rows.map((rrr,index) => { + rrr.url = wx.getStorageSync('dressCode') + rrr.fileUrl + if(index==rr.rows.length-1){ + newList.push(Object.assign({},{"list":rr.rows})) + _this.setData({"form.fileList":_this.data.fileList.concat(newList)}); + } + }) + console.log(this.data.fileList); + }else{ + let newuploadList = uploadList + newuploadList.map(rd => { + rd.list = newList + }) + _this.setData({"form.fileList":newuploadList}); + } + } + }) + }, + lookDown(file,detail){ + // 获取指定字符串最后一次出现的位置,返回index + var index1 = file.detail.url.lastIndexOf('.'); + // substr(start, length) 抽取从start下标开始的length个字符,返回新的字符串; + var style = file.detail.url.substr(index1 + 1) + //判断图片类型,不需要下载,不做处理 + if(style=='png'||style=='jpg'||style=='jpeg'||style=='bmp'||style=='gif'||style=='webp'||style=='psd'||style== 'svg'||style=='tiff'){ + //判断非图片类型 + }else{ + wx.downloadFile({ + url: file.detail.url, + success(data){ + wx.openDocument({ + filePath: data.tempFilePath, + fileType: style, + showMenu:true, + success(res){ + } + }) + } + }) + } + }, + /** + * 生命周期函数--监听页面隐藏 + */ + onHide() { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload() { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh() { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom() { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage() { + + } +}) \ No newline at end of file diff --git a/pages/discussions/detail/detail.json b/pages/discussions/detail/detail.json new file mode 100644 index 0000000..279ab1e --- /dev/null +++ b/pages/discussions/detail/detail.json @@ -0,0 +1,8 @@ +{ + "navigationStyle": "custom", + "usingComponents": { + "van-cell": "@vant/weapp/cell/index", + "van-upload": "@vant/weapp/uploader/index", + "van-cell-group": "@vant/weapp/cell-group/index" + } +} \ No newline at end of file diff --git a/pages/discussions/detail/detail.wxml b/pages/discussions/detail/detail.wxml new file mode 100644 index 0000000..4a001b1 --- /dev/null +++ b/pages/discussions/detail/detail.wxml @@ -0,0 +1,44 @@ + + + + 查看四议表决 + + + + + + + + + + + + + + + + {{form.yesForm.length}}人同意 + {{form.noForm.length}}人不同意 + {{form.everForm.length}}人弃权 + + + 同意: + {{item.voteBy}} + + + 不同意: + {{item.voteBy}} + + + 弃权: + {{item.voteBy}} + + + + + + 我要表决 + + + + \ No newline at end of file diff --git a/pages/discussions/detail/detail.wxss b/pages/discussions/detail/detail.wxss new file mode 100644 index 0000000..a1641f6 --- /dev/null +++ b/pages/discussions/detail/detail.wxss @@ -0,0 +1,46 @@ +/* pages/payee/add/add.wxss */ +.main-box{ + background: #ffffff; + padding: 20px; + width: 94%; + margin: 0 auto; + border-radius: 10px; + box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.16); +} +.van-cell{ + padding-left: 0!important; + padding-right: 0!important; +} + +.tit{ + line-height: 20px; + font-size: 16px; + font-weight: bold; +} +.bottom{ + width: 100%; + margin: 0 auto; + text-align: center; + margin-top: 30px; + margin-bottom: 30px; + display: flex; +} + +.bottom view { + width: 47%; + margin: 0 auto; + border-radius: 30px; + display: inline-block; +} + +.btn2{ + background-image: linear-gradient(to right, #49CDFC, #2C6BF6); + color: #fff; + text-align: center; + width: 40%; + border-radius: 100px; + margin: 5vh auto 3vh; +} +.table-boxs>view{ + line-height: 80rpx; +} \ No newline at end of file diff --git a/pages/discussions/form/form.js b/pages/discussions/form/form.js new file mode 100644 index 0000000..489f9f8 --- /dev/null +++ b/pages/discussions/form/form.js @@ -0,0 +1,242 @@ +// pages/contract/add/add.js +import * as UTIL from '../../../utils/util.js'; +import * as API from '../../../utils/API.js'; +import SignaturePad from '../../../utils/signature_pad'; +let signaturePad = {}; +let pix = 7; +let penColor = 'black'; +let lineWidth = 0.6; + +const app = getApp(); +Page({ + + /** + * 页面的初始数据 + */ + data: { + isIPX: app.globalData.isIPX, + id:null, + autosize:{ maxHeight: 100, minHeight: 50 }, + form:{ + voteResult: '1' + }, + penColor: 'black', + lineWidth: 0.6, + isEmpty: true, + baseItem:"", + item:{}, + url:"", + isShow:false + }, + back:function(){ + wx.navigateBack({ + delta: 2 + }) + }, + /** + * 生命周期函数--监听页面加载 + */ + onLoad(options) { + this.setData({id:options.id}) + this.getUserInfo(); + this.getBaseUrl() + //获取收入合同状态 + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady() { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow() { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide() { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload() { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh() { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom() { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage() { + + }, + onChange(event) { + console.log(event.detail); + this.setData({ + [event.currentTarget.dataset.value]: event.detail, + }); + }, + /* 获取用户信息*/ + getUserInfo(){ + UTIL.httpRequest(API.URL_GET_GETINFO, {method:'GET'}, { + success: (res) => { + if (res.code == API.SUCCESS_CODE) { + this.setData({item:res.user}) + // if(this.data.item.electronicSignature==null||this.data.item.electronicSignature==""){ + // this.setData({isShow:false}) + var ctx = wx.createCanvasContext('handWriting'); + const data = { + devicePixelRatio: pix, + }; + signaturePad = new SignaturePad(ctx, data); + // }else{ + // this.setData({isShow:true}) + // } + } + } + }) + }, +getBaseUrl:function(){ + let params={ + configKey: "system.attachment.url"} + UTIL.httpRequest(API.URL_GET_SYSCONFIG,params,{ + success: (res) => { + if (res.code == API.SUCCESS_CODE) { + console.log(res.rows[0].configValue+this.data.item.electronicSignature) + this.setData({url:res.rows[0].configValue+this.data.item.electronicSignature}) + } + } + }) +}, +uploadScaleStart(e) { + const item = { + penColor: penColor, + lineWidth: lineWidth + }; + signaturePad._handleTouchStart(e, item); +}, +uploadScaleMove(e) { + signaturePad._handleTouchMove(e); +}, +uploadScaleEnd: function(e) { + signaturePad._handleTouchEnd(e); + const isEmpty = signaturePad.isEmpty(); + this.setData({ + isEmpty: isEmpty + }) +}, +retDraw: function() { + this.setData({isShow:false}) + var ctx = wx.createCanvasContext('handWriting'); + const data = { + devicePixelRatio: pix, + }; + signaturePad = new SignaturePad(ctx, data); + signaturePad.clear(); + const isEmpty = signaturePad.isEmpty(); + this.setData({ + isEmpty: isEmpty + }) +}, +getSysInfo: function() { + var that = this + wx.getSystemInfo({ + success: function(res) { + pix = res.pixelRatio + that.setData({ + width: res.windowWidth * pix, + height: res.windowHeight * pix + }) + } + }) +}, +//保存canvas图像 +subCanvas: function() { + let _this = this + if (this.data.isEmpty) { + wx.showToast({ + title: '请签字后提交', + duration: 2000, + icon:"none" + }) + return false + } + wx.canvasToTempFilePath({ + canvasId: 'handWriting', + success: function(res) { + _this.data.form.voteId = _this.data.id; + _this.data.form.file = res.tempFilePath; + _this.data.form.voteBy = _this.data.item.userName; + + wx.uploadFile({ +       url: wx.getStorageSync('dressCode')+API.votedetailAdd, //服务器地址 +       filePath:res.tempFilePath,//本地照片地址 +       name: 'file', + formData: _this.data.form, + header: { + 'Content-Type': 'multipart/form-data', + 'Authorization':'Bearer '+getApp().globalData.userInfo.token, //如果需要token的话要传 + }, +       success (res){ + let dd = JSON.parse(res.data) + if(dd.code==200){ + wx.showToast({ + title: dd.msg, + duration: 2000, + icon:"success" + }) + setTimeout(() => { + _this.back() + }, 2000); + }else{ + wx.showToast({ + title: dd.msg, + duration: 2000, + icon:"none" + }) + } +       } +     }) + }, + fail: function(res) { + console.log(res) + } + }) +}, +// 保存电子签名 +saveESign : function(item){ + UTIL.httpRequest(API.URL_POST_USEREDIT,item,{ + success: (res) => { + if (res.code == API.SUCCESS_CODE) { + wx.showToast({ + title: "保存成功!", + duration: 2000, + icon:"success" + }) + } + } + }) +} +}) \ No newline at end of file diff --git a/pages/discussions/form/form.json b/pages/discussions/form/form.json new file mode 100644 index 0000000..e2feb9c --- /dev/null +++ b/pages/discussions/form/form.json @@ -0,0 +1,10 @@ +{ + "navigationStyle": "custom", + "usingComponents": { + "van-field": "@vant/weapp/field/index", + "van-radio": "@vant/weapp/radio/index", + "van-cell": "@vant/weapp/cell/index", + "van-icon": "@vant/weapp/icon/index", + "van-radio-group": "@vant/weapp/radio-group/index" + } +} \ No newline at end of file diff --git a/pages/discussions/form/form.wxml b/pages/discussions/form/form.wxml new file mode 100644 index 0000000..65adcee --- /dev/null +++ b/pages/discussions/form/form.wxml @@ -0,0 +1,36 @@ + + + + 四议表决 + + + + + + + 同意 + 不同意 + 弃权 + + + + + + + + 重签 + + + + + + + + + + + 保存 + + + + \ No newline at end of file diff --git a/pages/discussions/form/form.wxss b/pages/discussions/form/form.wxss new file mode 100644 index 0000000..2ca8662 --- /dev/null +++ b/pages/discussions/form/form.wxss @@ -0,0 +1,92 @@ +/* pages/payee/add/add.wxss */ +.main-box{ + background: #ffffff; + padding: 20px 0; + width: 94%; + margin: 0 auto; + border-radius: 10px; + box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.16); +} + +.tit{ + line-height: 20px; + font-size: 16px; + font-weight: bold; +} +.bottom{ + width: 100%; + margin: 0 auto; + text-align: center; + margin-top: 30px; + margin-bottom: 30px; + display: flex; +} + +.bottom view { + width: 47%; + margin: 0 auto; + border-radius: 30px; + display: inline-block; +} + +.btn2{ + background-image: linear-gradient(to right, #49CDFC, #2C6BF6); + color: #fff; + text-align: center; + width: 40%; + border-radius: 100px; + margin: 5vh auto 3vh; +} +.table-boxs>view{ + line-height: 80rpx; +} + +.wrapper { + width: 100%; + height: 20vh; + overflow: hidden; + display: flex; + align-content: center; + flex-direction: row; + justify-content: center; + font-size: 28rpx; + position: relative; +} + +.hand-writing { + background: #f9f9f9; + width: 100%; + height: 20vh; +} + +.hand-right { + display: flex; + align-items: center; + justify-content: center; +} + +.hand-center { + border: 1rpx dashed #e9e9e9; + flex: 1; + overflow: hidden; + box-sizing: border-box; +} + + +.del-btn { + color: #02d000; +} + +.del-btn image { + position: absolute; + top: 13rpx; + left: 25rpx; +} + +.sub-btn { + position: absolute; + bottom: 52rpx; + color: #999999; + transform: rotate(90deg); + margin-bottom: 30rpx; +} \ No newline at end of file diff --git a/pages/discussions/list.js b/pages/discussions/list.js new file mode 100644 index 0000000..c9e9651 --- /dev/null +++ b/pages/discussions/list.js @@ -0,0 +1,136 @@ +// pages/project/project.js +import * as UTIL from '../../utils/util.js'; +import * as API from '../../utils/API.js'; +let EVN_CONFIG = require('../../env/env'); + +const app = getApp(); +Page({ + + /** + * 页面的初始数据 + */ + data: { + isIPX: app.globalData.isIPX, + name:"", + value:'', + pageNums:1, + showUpload:false, + uploadOptions:[], + voteTypeOptions:[], + fileList:[], + itemId:"", + itemIndex:"", + list:[], + fileEvent:{}, + projectList:[] + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad(options) { + var _this = this; + let qu = wx.createSelectorQuery() + qu.select("#top_view").boundingClientRect() + qu.exec(res => { + _this.setData({ + scrollHeight:wx.getSystemInfoSync().windowHeight-res[0].height-res[0].top + }) + }) + }, + goDetail(e){ + console.log('aaaaaaaaa'); + wx.navigateTo({ + url: 'detail/detail?id='+e.currentTarget.dataset.id, + }) + }, + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady() { + this.onShow(); + }, + goSearch(e){ + this.setData({name:e.detail}) + this.onShow(); + }, + back:function(){ + wx.navigateBack({ + delta: 1 + }) + }, + /** + * 生命周期函数--监听页面显示 + */ + onShow() { + var that = this; + //获取附件字典 + UTIL.httpRequest(API.URL_GET_GETDICTTYPE + 'vote_status', {method:'GET'}, { + success: (res) => { + this.setData({ + voteStatusOptions:res.data, + }) + UTIL.httpRequest(API.URL_GET_GETDICTTYPE + 'vote_type', {method:'GET'}, { + success: (res) => { + this.setData({ + voteTypeOptions:res.data, + }) + let params= { + itemName:this.data.name, + method:'GET' + } + UTIL.httpRequest(API.URL_GET_VOTELIST, params,{ + success: (response) => { + if (response.code == API.SUCCESS_CODE) { + response.rows.map(rr=>{ + rr.voteStatusText = UTIL.getTransform(rr.voteStatus,that.data.voteStatusOptions); + rr.voteTypeText = UTIL.getTransform(rr.voteType,that.data.voteTypeOptions); + }) + that.setData({ + projectList:response.rows + }) + } + } + }) + } + }) + } + }) + + + }, + /** + * 生命周期函数--监听页面隐藏 + */ + onHide() { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload() { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh() { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom() { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage() { + + } +}) \ No newline at end of file diff --git a/pages/discussions/list.json b/pages/discussions/list.json new file mode 100644 index 0000000..6e4aadf --- /dev/null +++ b/pages/discussions/list.json @@ -0,0 +1,17 @@ +{ + "usingComponents": { + "van-checkbox": "@vant/weapp/checkbox/index", + "van-checkbox-group": "@vant/weapp/checkbox-group/index", + "van-cell": "@vant/weapp/cell/index", + "van-cell-group": "@vant/weapp/cell-group/index", + "van-search": "@vant/weapp/search/index", + "van-radio": "@vant/weapp/radio/index", + "van-radio-group": "@vant/weapp/radio-group/index", + "van-swipe-cell": "@vant/weapp/swipe-cell/index", + "van-dropdown-menu": "@vant/weapp/dropdown-menu/index", + "van-dropdown-item": "@vant/weapp/dropdown-item/index", + "van-tag": "@vant/weapp/tag/index", + "van-action-sheet": "@vant/weapp/action-sheet/index", + "van-upload": "@vant/weapp/uploader/index" + } +} \ No newline at end of file diff --git a/pages/discussions/list.wxml b/pages/discussions/list.wxml new file mode 100644 index 0000000..07c9359 --- /dev/null +++ b/pages/discussions/list.wxml @@ -0,0 +1,42 @@ + + + + 四议表决 + + + + + + + + + + + + + {{item.itemName}} + + + {{item.voteStatusText}} + + + + + + + {{item.itemAt}} + + + {{item.voteTypeText}} + + + + + \ No newline at end of file diff --git a/pages/discussions/list.wxss b/pages/discussions/list.wxss new file mode 100644 index 0000000..76becc0 --- /dev/null +++ b/pages/discussions/list.wxss @@ -0,0 +1,348 @@ +/* pages/bank/bank.wxss */ +.van-search__content { + border: 1px solid #5CAE77!important; + background: #fff!important; +} +van-search { + flex: 1; +} +.search_box{ + display: flex; +} +.add_btn{ + flex: 0.2; + padding: var(--search-padding,10px 12px); + padding-left: 0; +} +.add_btn text{ + background-color: #62AD66; + display: block; + height: 100%; + text-align: center; + line-height: 36px; + color: #fff; + border-radius: 36px; + box-shadow: 0px 5px 5px #ddd; +} +text{display: block;} +.work_plan{ + padding: 40rpx 32.5rpx 30rpx; + display: flex; +} + +.work_plan .menu_item{ + background-color: #fff; + box-shadow: 2px 5px 5px #ddd; + border-radius: 60rpx; + text-align: center; + position: relative; + margin-right: 20px; + padding: 8px 10px; +} +.work_plan .menu_item.active{ + background-color: #2C8E68; + color: #fff; +} +.work_plan .menu_item .remind{ + height: 30rpx; + background: #e90101; + color: #fff; + font-size: 26rpx; + position: absolute; + line-height: 30rpx; + padding:0 10rpx; + border-radius: 25px; + top: -10rpx; + right: -10rpx; +} + +.work_plan .more{ + flex: 1; + text-align: center; + line-height: 60rpx; + font-size: 36rpx; + color: #31936c; +} +.deleteBox{ + width: 130px; + text-align: center; + height: 100%; + background: #F6F6F6; + align-items: center; + display: flex; +} +.workflow .workflow_list{ + height: 150rpx; + background-color: #fff; + border-radius: 24rpx; + box-shadow:0rpx 0rpx 10rpx rgba(0,0,0,.1); + margin-bottom: 20rpx; + padding:15rpx 25rpx 10rpx 35rpx; +} +.workflow .workflow_list .process_intro{ + display: flex; + height: 62rpx; + align-items: center; +} + +.workflow .process_intro .name{ + width: 390rpx; + font-size: 34rpx; + margin-right: 30rpx; + display: flex; + justify-content: space-between; + align-items: center; +} +.workflow .process_intro .name .name_tit{ + width: 290rpx; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} +.van-swipe-cell { + width: 94%; + background: #fff; + border-radius: 10px; + box-shadow: 2px 5px 5px #ddd; + margin: 0 auto; + margin-bottom: 15px; +} +.li{ + width: 100%; + padding: 14px; +} +.tit_box{ + display: flex; + justify-content: space-between; +} +.tit_box_left{ + display: flex; + align-items: center; +} +.detail_box{ + margin-top: 10px; + display: flex; + justify-content: space-between; +} +.detail_box text{ + color:#878787; +} +.fkmc { + line-height: 20px; + font-size: 16px; +} +.detail_time .detail_box_money{ + font-size: 14px; +} +.detail_time_box{ + display: flex; + justify-content: space-between; + margin-top: 10px; +} +.detail_time{ + display: flex; + align-items: center; + padding-left: 3px; +} +.detail_time text{ + font-size: 12px; + margin-left: 5px; + color: #878787; +} +.li .detail_box_left text{ + text-align: center; +} +.li .detail_box_left .fkdw{ + color: #B5B5B5; + font-size: 14px; + margin-top: 5px; +} +.li .detail_box_center{ + color: #666666; + font-size: 12px; + text-align: center; +} +.li .detail_box_right text{ + text-align: center; +} +.li .detail_box_right .skdw{ + color: #B5B5B5; + font-size: 14px; + margin-top: 5px; +} + +.li .fksr{ + display: flex; + align-items: center; + margin-top: 15px; + color: #2C8E68; + font-size: 16px; +} +.li .wtj{ + display: flex; + align-items: center; + justify-content: center; + padding: 3px 8px; + border-radius: 5px; + font-size: 14px; +} +.no{ + background-color:#fbe3e3; + color: #e90000; +} +.white{ + background-color:#feeadc; + color: #fc9a55; +} +.yes{ + background-color:#ddeee3; + color: #5cae77; +} +.other{ + background-color:#f0f1f6; + color: #878787; +} +.li .tit{ + font-size: 16px; + color: #333333; + line-height: 25px; + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 1; + word-break: break-all; + overflow: hidden; + margin-left: 5px; +} +.li .fj_name{ + font-size: 14px; + color: #B3DB62; + line-height: 25px; +} +.li .time{ + font-size: 14px; + color: #9B9CAA; +} +.li .money{ + font-size: 18px; + color: #5CAE77; +} +.tit_type{ + display: flex; + align-items: center; + flex-shrink: 0; +} +.tit_type text{ + background: rgba(92, 174, 119, 0.2); + color: #5CAE77; + padding: 2px 10px; +} +.van-checkbox__label { + display: flex; + justify-content: space-between; + width: 100%; +} + +.van-checkbox__icon-wrap { + border-radius: 5px; +} +.van-checkbox__icon { + border-radius: 5px; + border: 2px solid #2C8E68!important; + background-color: rgba(44, 142, 104, 0.2); +} +.bottom{ + width: 100%; + margin: 0 auto; + text-align: center; + padding: 15px 0; + display: flex; + position: fixed; + bottom: 0%; + background: #fff; + box-shadow: 0 0 5px #ddd; +} + +.bottom view { + width: 47%; + margin: 0 auto; + border-radius: 30px; + display: inline-block; +} + +.bottom .btn2{ + border: 1px solid transparent; + padding: 10px 0px; + background-image: linear-gradient(to right, #2C8E68, #5CAE77); + color: #fff; +} + +.downView{ + display: flex; + justify-content: center; + align-items: center; + padding: 0 20px; + border: 1px solid #5CAE77; + border-radius: 50px; + background: #fff; + margin-left: auto; +} +.downView image{ + width: 10px; + height: 8px; + margin-left: 10px; +} +.hp_type{ + padding: 4vw 3%; + display: flex; + border-bottom: 1px solid #eee; +} +.hp_type view{ + padding: 2vw 6%; + background: #EEEEEE; + border-radius: 60px; + margin-right: 3%; + width: 30vw; + text-align: center; +} +.hp_button{ + display: flex; + justify-content: space-around; + padding:4vw 0 6vw; +} +.hp_button view{ + padding: 3vw 6%; + background: #EEEEEE; + border-radius: 60px; + width: 30vw; + text-align: center; +} +.van-dropdown-menu { + margin-bottom: 15px; +} +.fj-box text{ + background-color: #5CAE77; + color: #ffffff; + text-align: center; + border-radius: 5px; + white-space:pre-wrap; + padding: 5rpx 8rpx; + width: 50rpx; + margin: 0px 14px; + font-size: 24rpx; +} +.fj-li{ + margin-top: 20px; + display: flex; + /* flex-wrap: wrap; */ +} +.fj-li .img_li{ + width: 100%; + height: 18.5vw; +} + +.fj-li .img_add{ + overflow: hidden; +} +.van-icon-description{ + font-size: 60px; +} diff --git a/pages/fixedAssets/fixedAssets.wxml b/pages/fixedAssets/fixedAssets.wxml index f8ab42b..512d21a 100644 --- a/pages/fixedAssets/fixedAssets.wxml +++ b/pages/fixedAssets/fixedAssets.wxml @@ -16,7 +16,7 @@ 填报 - + @@ -80,6 +80,22 @@ 附件 + + + + + + 处置 + + + + + + + + 出租 + + + + + + 四议表决 diff --git a/pages/majorEvent/add/add.js b/pages/majorEvent/add/add.js index 870ccd1..099f03a 100644 --- a/pages/majorEvent/add/add.js +++ b/pages/majorEvent/add/add.js @@ -60,6 +60,12 @@ Page({ res.data.approvalTemplateName = op[0].name; this.setData({'form':res.data}) this.selectComponent('#hf_editor').setHtml(res.data.eventContent); + this.selectComponent('#hf_editor2').setHtml(res.data.dzbty); + this.selectComponent('#hf_editor3').setHtml(res.data.lwhsy); + this.selectComponent('#hf_editor4').setHtml(res.data.dqyshsyhjy); + this.selectComponent('#hf_editor5').setHtml(res.data.cydbhjy); + this.selectComponent('#hf_editor6').setHtml(res.data.jcjggk); + this.selectComponent('#hf_editor7').setHtml(res.data.ssqkgk); } }) }else{ @@ -80,22 +86,28 @@ Page({ this.setData({'form.eventTime':data}); }, getHtml(e) {//从组件获取值 - this.data.form.eventContent = e.detail.content.html + this.setData({ + [e.currentTarget.dataset.name]:e.detail.content.html + }); }, - insertImage(){ //图片上传插入示例 - wx.chooseImage({ + insertImage(e){ //图片上传插入示例 + wx.chooseMedia({ count: 1, success: r => { // 本地测试图片插入 // this.selectComponent('#hf_editor').insertSrc(res.tempFilePaths[0]); + console.log(r.tempFiles[0]); wx.uploadFile({ //调用图片上传接口 url: wx.getStorageSync('dressCode')+'/common/upload', - filePath: r.tempFilePaths[0], - name: 'imgFile', + filePath: r.tempFiles[0].tempFilePath, + header: { + 'Authorization':'Bearer '+getApp().globalData.userInfo.token + }, + name: 'file', success: res => { - console.log(); - let imgUrl = JSON.parse(res.data).url - this.selectComponent('#hf_editor').insertSrc(wx.getStorageSync('dressCode')+'/common/upload' + imgUrl);//调用组件insertSrc方法 + console.log(111111); + let imgUrl = JSON.parse(res.data).fileName + this.selectComponent('#'+e.currentTarget.dataset.id).insertSrc(wx.getStorageSync('dressCode')+imgUrl);//调用组件insertSrc方法 } }) } @@ -177,6 +189,13 @@ Page({ var that = this; that.data.form.method = 'POST'; that.data.form.eventContent = that.data.form.eventContent.replace(/\\/g,"/") + that.data.form.eventContent = that.data.form.eventContent.replace(/"/g,"'") + that.data.form.dzbty = that.data.form.dzbty.replace(/"/g,"'") + that.data.form.lwhsy = that.data.form.lwhsy.replace(/"/g,"'") + that.data.form.dqyshsyhjy = that.data.form.dqyshsyhjy.replace(/"/g,"'") + that.data.form.cydbhjy = that.data.form.cydbhjy.replace(/"/g,"'") + that.data.form.jcjggk = that.data.form.jcjggk.replace(/"/g,"'") + that.data.form.ssqkgk = that.data.form.ssqkgk.replace(/"/g,"'") console.log(that.data.form); if(that.data.form.id==""||that.data.form.id==null){ UTIL.httpRequest(API.URL_POST_MAJOREVENTADD, that.data.form , { diff --git a/pages/majorEvent/add/add.wxml b/pages/majorEvent/add/add.wxml index 7e92c12..8d6ca31 100644 --- a/pages/majorEvent/add/add.wxml +++ b/pages/majorEvent/add/add.wxml @@ -4,8 +4,7 @@ {{form.id?"":"新增"}}重大项目 - - + *发生日期 @@ -41,27 +40,44 @@ - - - - - + + + + - + + + + - + + + + - + + + + - + + + + - + + + + - + + + + - - - 保存 - - \ No newline at end of file + + + 保存 + + \ No newline at end of file diff --git a/pages/noLoginIndex.wxml b/pages/noLoginIndex.wxml index a6b4f9c..e3d3ddf 100644 --- a/pages/noLoginIndex.wxml +++ b/pages/noLoginIndex.wxml @@ -1,135 +1,2 @@ - - - - - - - - - 支出申请 - - - - - - 收入登记 - - - - - - 记账申请 - - - - - - 支付管理 - - - - - - - - - - - - - - -常用功能 - - - - - - 合同信息 - - - - 固定资产 - - - - 资源资产 - - - - 工程项目 - - - - - - - 财务公开 - - - - - 开户行 - - - - 收款方 - - - - 村账户 - - - - 银行汇票 - - - - 重大事项 - - - - - 交易明细 - - - - 转账对账 - - - - 收支统计 - - - - 票据签收 - - - - - - {{showListText}} - - - - - - 待办 - 已办 - 已提交 - 草稿箱 - - \ No newline at end of file + diff --git a/pages/noLoginIndex.wxss b/pages/noLoginIndex.wxss index bfe7486..cd154ab 100644 --- a/pages/noLoginIndex.wxss +++ b/pages/noLoginIndex.wxss @@ -1,6 +1,6 @@ /* pages/noLoginIndex.wxss */ page{ - background-color: #ffffff!important; + background-color: #F6F6F6!important; height: 100vh; } .navList_main{ diff --git a/pages/payee/add/add.js b/pages/payee/add/add.js index 19b9a77..0e2b45e 100644 --- a/pages/payee/add/add.js +++ b/pages/payee/add/add.js @@ -250,7 +250,7 @@ Page({ }else{ wx.hideLoading(); wx.showToast({ - title: "提交失败!", + title: res.msg, duration: 2000, icon:"error" }) diff --git a/pages/payee/add/add.wxml b/pages/payee/add/add.wxml index e78ffee..108b842 100644 --- a/pages/payee/add/add.wxml +++ b/pages/payee/add/add.wxml @@ -50,7 +50,7 @@ value="{{ form.accountType }}" bind:change="onChange" direction="horizontal" - data-value="form.accountType" + data-formname="form.accountType" > 公户 私户 diff --git a/pages/payee/index.js b/pages/payee/index.js index 7a48dd6..935f48a 100644 --- a/pages/payee/index.js +++ b/pages/payee/index.js @@ -24,7 +24,7 @@ Page({ that.setData({ isPeers:options.isPeers,//是否同行 bankType:options.bankType,//所属银行 - // accountType:options.accountType,//账户类型 + accountType:options.accountType,//账户类型 payeeType:options.transferType,//申请转帐类型 money:options.money,//申请转帐类型 index:options.index @@ -37,7 +37,7 @@ Page({ isAsc:'desc', isPeers:that.data.isPeers,//是否同行 bankType:that.data.bankType,//所属银行 - // accountType:that.data.accountType,//账户类型 + accountType:that.data.accountType,//账户类型 // payeeType:that.data.payeeType,//申请转帐类型 status:'0', method:'GET' @@ -54,10 +54,8 @@ Page({ var list = []; array.map(res3=>{ // .replace(/^(.{6})(?:\d+)(.{4})$/,"\$1****\$2") - console.log('111111111111'); res3.payeeAccountText = res3.payeeAccount; res3.bankTypeText = (res.data.filter(function (e) { return e.dictValue == res3.bankType; }))[0].dictLabel; - console.log((res.data.filter(function (e) { return e.dictValue == res3.bankType; }))[0].dictLabel); if(payeeType == 2 && array.length>0){ if(res3.payeeType == 4 || res3.payeeType == 3 ){ list.push(res3) @@ -93,7 +91,7 @@ Page({ isAsc:'asc', // isPeers:that.data.isPeers,//是否同行 // bankType:that.data.bankType,//所属银行 - // accountType:that.data.accountType,//账户类型 + accountType:that.data.accountType,//账户类型 // payeeType:that.data.payeeType,//申请转帐类型 status:'0', name:e.detail, @@ -189,7 +187,7 @@ Page({ } prevPage.setData({ ["form.payeeList["+that.data.index+"]"]: array[0],//将想要传的信息赋值给上一个页面data中的值 - ["form.accountType"]:array[0].accountType + // ["form.accountType"]:array[0].accountType }) that.back() } diff --git a/pages/paymentManager/toPay/toPay.js b/pages/paymentManager/toPay/toPay.js index 15f8053..068a8c1 100644 --- a/pages/paymentManager/toPay/toPay.js +++ b/pages/paymentManager/toPay/toPay.js @@ -111,8 +111,13 @@ Page({ confirmText: '确定', success: function (e) { //非建行 - if(_this.data.data.alternateField1==null||_this.data.data.alternateField1.length<1){ - UTIL.showToastNoneIcon("请输入验证码!"); + // if(_this.data.data.alternateField1==null||_this.data.data.alternateField1.length<1){ + // UTIL.showToastNoneIcon("请输入验证码!"); + // }else{ + // _this.setData({'showPopup':true}) + // } + if(_this.data.data.accountPassword==null||_this.data.data.accountPassword.length<1){ + UTIL.showToastNoneIcon("请输入支付口令!"); }else{ _this.setData({'showPopup':true}) } diff --git a/pages/paymentManager/toPay/toPay.wxml b/pages/paymentManager/toPay/toPay.wxml index f71fb1b..2cf65cd 100644 --- a/pages/paymentManager/toPay/toPay.wxml +++ b/pages/paymentManager/toPay/toPay.wxml @@ -57,7 +57,7 @@ - + diff --git a/pages/phoneLogin.wxml b/pages/phoneLogin.wxml index c93b4fd..da113c7 100644 --- a/pages/phoneLogin.wxml +++ b/pages/phoneLogin.wxml @@ -1,35 +1,44 @@ - + + + - + - - + 账户密码登录 + - + + + + 电子回单 + + + diff --git a/pages/user/login/login.wxml b/pages/user/login/login.wxml index 5ecc150..c4379b4 100644 --- a/pages/user/login/login.wxml +++ b/pages/user/login/login.wxml @@ -13,24 +13,22 @@ - 关于”农燊云e三资+“的小程序服务(以下简称“本服务”)的说明: - 1.本服务是已线下签约客户的内部办公移动端工具,不统一对外开放! - 2.本服务不设用户注册功能,不采集用户信息! - 3.”微信一键登录“是通过该微信手机号验证系统后台用户中心是否存在此用户,存在则授权登录令牌! + 为使用融信云微信小程序服务(以下简称“本服务”或“小程序服务”),您应当阅读并遵守《融信云微信小程序用户协议》,请务必审慎阅读、充分理解各条款内容,特别是免除或限制责任的相应条款,以及开通或使用某项服务的单独协议,并选择接受或不接受。 + 除非您已阅读并接受本条款所有条款,否则您无权使用融信云微信小程序服务。您对本服务的登录、查看、发布信息等行为即视为已阅读并同意本条款的约束。 + 如果您未满18周岁,请在法定监护人的陪同下阅读本您协议,并特别注意未成年人使用条款。 + 一、协议的范围 + 1.1本条款是用户(以下简称“您”)与融信云之间关于用户使用小程序服务所订立的协议。“用户”是指注册、登录、使用微信小程序的个人或组织;“其他用户”是指包括其他微信小程序用户、微信公众账号用户和微信用户等除您本人外与小程序服务相关的用户。 + 1.2本服务是指融信云根据本协议向您提供的服务,包括协助您交接和管理租赁车辆等。我们会不断丰富您使用本服务的终端、形式等,如您已注册使用一种形式的服务,则可以以同一账号使用其他服务,本协议自动适用于您对所有版本的软件和服务的使用。 + 1.3提供本服务的微信小程序的所有权和全部的使用权均归融信云所有,您开通后仅授权使用部分功能,具体以产品展示的为准。 + 1.4小程序属于微信公众账号,在不与本协议冲突的情况下,您应遵守《微信公众平台服务协议》、《腾讯微信软件许可及服务协议》等关于微信公众账号的其他相关规定。 + 1.5本协议内容包括本协议正文及所有我们已经发布或将来可能发布的隐私权政策、各项政策、规则、声明、通知、警示、提示、说明(以下统称为“用户规则”)。前述用户规则为本协议不可分割的补充部分,与本协议具有同等法律效力。如您使用融信云产品及服务,视为您同意上述补充部分。 + + 二、小程序注册与审核 + + 2.1账号注册 + 2.1.1您在使用本服务前需要先进行注册和认证。您确认,在您开始注册使用融信云产品及服务前,您应当是具备完全民事权利能力和与所从事的民事行为相适应的行为能力的自然人、法人或其他组织。若您不具备前述主体资格,请勿使用服务,否则您及您的监护人应承担因此而导致的一切后果,且我们有权注销(永久冻结)您的账户,并向您及您的监护人索偿。 + 2.1.2当您按照注册页面提示填写信息、阅读并同意本协议且完成全部注册程序后,您可获得融信云平台账户并成为产品用户,即有权使用融信云平台并获得相应服务。融信云平台只允许每位用户使用一个主账户,但您可以在授权范围内获得多个子账号。 + 2.1.3该账户是您通过融信云平台寻求并获得服务的唯一有效身份证明,请您妥善保管账号和密码。为使您更好地使用融信云平台的各项服务,保障您的账户安全,本小程序主体可要求您按本协议、用户规则及我国法律规定完成实名认证。 + 2.1.4为维护小程序的健康运营,您应当准确完整地提供您的最新信息(包括您的名称及电子邮件地址、联系电话、联系地址等)。并且您承诺,在使用本服务的过程中提交和发布的信息均是真实、合法的,因不实信息导致融信云或者第三方合法权益受损的,由您独立承担全部责任。 + 2.2账号安全 + 2.2.1在您成功注册后,我们将根据您的身份要素识别您的身份和授权登录。“身份要素”包括但不限于您的账户名称、密码、短信校验码、手机号码、身份证件号码及人脸信息、眼纹信息。您同意基于不同的终端以及您的使用习惯,我们可能采取不同的验证措施识别您的身份。 + 2.2.2如您发现账号遭他人非法使用,应立即通知本小程序主体。因黑客行为或您自身保管疏忽导致账号、密码遭他人非法使用所发生的一切责任,均应由您本人承担,本小程序主体不承担任何责任。 + 2.2.3您注册成功后,融信云将给予您一个帐号,并由您自行设置相应密码,任何该账户项下的预订及支付等行为均视为您本人的操作。您应对您账户项下的所有行为结果(包括但不限于授权、绑定、结算)负责。 + + 三、服务及规范 + + 3.1服务内容 + 3.1.1本服务内容包含【支持通讯录、车辆调度、车辆管理、账单管理、业务信息推荐及】等技术功能,这些功能服务可能根据用户需求的变化,随着因服务版本不同、或服务提供方的单方判断而被优化或修改,或因定期、不定期的维护而暂缓提供。 + 3.1.2融信云有权自行决定对服务或服务任何部分及其相关功能、应用软件进行变更、升级、修改、转移,并有权决定以适当的方式进行公示或通知。 + 3.2服务费用 + 3.2.1融信云平台向您提供的服务目前是免费的。我们保留日后就程序及/或服务向您收费的权利。如果我们决定收取此类费用,我们会采取合理途径并以足够合理的期限提前通过法定程序并以本协议约定的方式通知您,确保您有充分选择的权利。 + 3.2.2您在使用小程序的过程中与第三方发生的费用结算,融信云仅为您使用微信小程序服务提供技术支持,本协议的签署不代表融信云成为您在汽车租赁过程中的参与者。融信云不对基于服务而产生的任何行为担保、许可或向任何第三人承担共同责任。 + 3.3服务使用规则 + 3.3.1您在本服务中或通过本服务所传送、发布的任何内容并不反映或代表,也不得被视为反映或代表融信云的观点、立场或政策,融信云对此不承担任何责任。 + 3.3.2您不得利用融信云账号或本服务进行如下行为:\n(1)提交、发布虚假信息,或盗用他人头像或资料,冒充、利用他人名义的;\n(2)强制、诱导其他您关注、点击链接页面或分享信息的;\n(3)虚构事实、隐瞒真相以误导、欺骗他人的;\n(4)利用技术手段批量建立虚假账号的;\n(5)利用平台账号或本服务从事任何违法犯罪活动的;\n(6)制作、发布与以上行为相关的方法、工具,或对此类方法、工具进行运营或传播,无论这些行为是否为商业目的;\n(7)其他违反法律法规规定、侵犯其他您合法权益、干扰融信云正常运营或融信云未明示授权的行为。 + 3.3.3融信云有权查阅您的注册、交易数据及交易行为,如发现可能存在违反法律法规、本协议或相关规则的情形或其他任何问题,融信云有权直接做出其认为合理的处理,包括但不限于通知修改、删除相关信息,停止被协议项下的服务内容等。前述约定不代表融信云应对您的行为承担任何连带责任,您应对此产生的法律责任独立负责。 + + 四、法律责任 + + 4.1用户责任 + 4.1.1您应遵守《微信公众平台服务协议》中关于“法律责任”的约定,除非该等约定与本协议存在冲突。 + 4.1.2如果我们发现或收到他人举报或投诉您违反本协议约定的,我们有权不经通知随时对相关内容,包括但不限于对您的资料、聊天记录进行审查、删除,并视情节轻重对违规账号处以包括但不限于警告、账号封禁、设备封禁、功能封禁的处罚,且通知您处理结果。 + 4.1.3您理解并同意,因您违反相关法律法规或本协议约定引发的任何后果,均由您独立承担责任、赔偿损失,与我们无关。如侵害到融信云或他人权益的,您须自行承担全部责任和赔偿一切损失。 + 4.2平台责任本小程序主体保证并承诺,本小程序主体系合法成立的法人,依据本协议约定向您提供相关网络服务,并会参考您提出的建议不断改善我们的服务,努力提高您的使用满意度。 + 4.3责任限制 + 4.3.1本服务仅为您与第三方之间的汽车租赁行为而提供协助,融信云并非其中的参与者,对汽车租赁过程中产生的一切纠纷不承担任何责任。 + 4.3.2您理解并确认,我们需要定期或不定期地对融信云平台或相关的设备进行检修或者维护,且互联网连接能力受到全球网路稳定性、技术状态、使用者所在地与使用的网路、电力供应、政府管制、计算机病毒、黑客攻击等既存不确定性的限制,如因此类情况而造成服务在合理时间内的中断,我们无需为此承担任何责任,但会事先进行通告。 + 4.3.3您理解并同意,在使用本服务的过程中,可能会遇到不可抗力等风险因素,使本服务发生中断。不可抗力是指不能预见、不能克服并不能避免且对一方或双方造成重大影响的客观事件,包括但不限于自然灾害如洪水、地震、瘟疫流行和风暴等以及社会事件如战争、动乱、政府行为等。出现上述情况时,融信云将努力在第一时间与相关单位配合,及时进行修复,但是由此给您造成的损失融信云在法律允许的范围内免责。 + 4.3.4融信云不保证为向您提供便利而设置的外部链接的准确性和完整性。同时,对于该等外部链接指向的不由融信云实际控制的任何网页上的内容,融信云不承担任何责任。 + 4.4知识产权声明 + 4.4.1融信云在本服务中提供的内容(包括但不限于网页、文字、图片、音频、视频、图表等)的知识产权归融信云所有,您在使用本服务中所产生的内容的知识产权归您或相关权利人所有。 + 4.4.2除另有特别声明外,融信云提供本服务时所依托软件的著作权、专利权、代码技术及其他知识产权均归融信云所有。 + + 五、隐私政策 + + 5.1保护用户隐私是的融信云一项基本政策,融信云保证不对外公开或向第三方提供您的注册资料及您在使用网络服务时存储在融信云的非公开内容,但下列情况除外:\n(1)事先获得用户的明确授权;\n(2)根据有关的法律法规要求;\n(3)按照相关政府主管部门的要求;\n(4)为维护社会公众的利益;\n(5)为维护融信云的合法权益。 + 5.2当融信云与第三方合作向用户提供相关的网络服务,在此情况下,如该第三方允诺严格承担与融信云同等的保护用户隐私的责任,则视为您授权融信云将包含个人注册资料在内的相关信息仅提供给该等第三方。 + + 六、协议解除和终止 + + 6.1如有下列情形的,我们有权单方面解除本协议,终止向您提供服务:\n(1)您为了非法目的而使用本服务的;\n(2)您使用本服务损害融信云或其他第三方合法权益的;\n(3)您违反法律法规或本协议约定或违反与腾讯的其他约定的;\n(4)根据法律规定平台用户应提交真实信息,而您提供的资料不真实、或未能提供合理证明以证明其真实性的; + 6.2您同意,除上述所述情形外,融信云有权根据风险及自身业务运营情况需要,随时终止向您提供本服务及接口的部分及全部,因此导致您无法使用服务或服务受到限制的,融信云不构成违约,亦不承担任何法律责任。 + 6.3您停用该服务,或融信云终止向您提供本协议项下的服务后,融信云不再为您保留原账户中与之相关的任何信息。 + 6.4您使用本服务即视为您已阅读并同意受本协议的约束。融信云小程序主体有权在必要时修改本协议。您可以在相关服务页面查阅最新版本的协议。本协议变更后,如果您继续使用微信小程序服务,即视为您已接受修改后的协议。如果您不接受修改后的协议,应当停止使用小程序服务。 + + 七、违约责任如 + + 如您因为使用本服务给融信云造成损失的或者给第三方造成损失的,该损失(包括为维权而产生的合理支出)由您来承担。 + + 八、法律管辖 + + 8.1如双方就本协议内容或其执行发生任何争议,双方应友好协商解决;协商不成时,任何一方均可向融信云所在地的人民法院提起诉讼。 + 8.2本协议的成立、生效、履行、解释及纠纷解决,适用中华人民共和国大陆地区法律(不包括冲突法)8.3本协议条款无论因何种原因部分无效或不可执行,其余条款仍有效,对双方都具有约束力。 \ No newline at end of file diff --git a/pages/user/login/login.wxss b/pages/user/login/login.wxss index e89aa70..59c4a2c 100644 --- a/pages/user/login/login.wxss +++ b/pages/user/login/login.wxss @@ -33,7 +33,7 @@ width: 89vw; height: 5.17vh; background:#ffffff; - margin:1vh auto 0; + margin:0 auto; border-radius: 5.17vh; text-align: center; line-height: 5.17vh; diff --git a/pages/user/region/region.js b/pages/user/region/region.js index 1e3a5ca..e0e28bd 100644 --- a/pages/user/region/region.js +++ b/pages/user/region/region.js @@ -10,7 +10,8 @@ Page({ data: { isIPX: app.globalData.isIPX, activeNames: ['1'], - nowDress:'' + nowDress:'', + identity:'bzy' }, /** @@ -45,6 +46,13 @@ Page({ url: '../login/login', }) }, + identityChange(e){ + const type = e.currentTarget.dataset.type; + wx.setStorageSync('identity', type); + this.setData({ + identity: type, + }); + }, /** * 生命周期函数--监听页面初次渲染完成 */ diff --git a/pages/user/region/region.wxml b/pages/user/region/region.wxml index 7cdb503..e3a1fa7 100644 --- a/pages/user/region/region.wxml +++ b/pages/user/region/region.wxml @@ -3,6 +3,18 @@ 选择城市 + @@ -15,15 +27,16 @@ {{nowDress == '' ? '暂未选择':nowDress}} + + + + + + + {{dressItem.name}} + + + + + - - - - - - - {{dressItem.name}} - - - - \ No newline at end of file diff --git a/pages/user/region/region.wxss b/pages/user/region/region.wxss index b10e995..6f044fb 100644 --- a/pages/user/region/region.wxss +++ b/pages/user/region/region.wxss @@ -1,6 +1,6 @@ /* pages/user/region/region.wxss */ page{ - background-color: #ffffff; + background: #F6F6F6; } text{ display: block; @@ -11,9 +11,11 @@ text{ justify-content: space-between; } .top_win{ - width: 90%; + width: 96%; margin: 0 auto; - border-bottom: 1px dashed #DCDCDC; + background: #ffffff; + padding: 4%; + border-radius: 15px; } .top{ margin: 0 auto 15px; @@ -35,18 +37,31 @@ text{ background: url("https://www.nongshen.net/static/wechat/local.png") no-repeat 15px center; margin-bottom: 15px; } -.list_bar .list_bar_text{ +.nowDress2{ border: 1px solid #2C8E68; width: auto; display: inline-block; - padding: 5px 20px; + padding: 5px 20px 5px 20px; border-radius: 50px; color: #333333; margin-bottom: 15px; - margin-right: 3%; + margin-right: 15px; +} +.nowDress2.active{ + background: linear-gradient( 92deg, #2FE398 0%, #00B268 100%); + border-color: transparent; + color: #ffffff; } -.list_bar .list_bar_text:nth-child(4n){ - margin-right: 0%; +.list_bar .list_bar_text{ + border: 1px solid #2C8E68; + display: block; + width: 22%; + padding: 5px 0; + border-radius: 50px; + color: #333333; + margin-bottom: 15px; + margin-right: 3%; + text-align: center; } .van-collapse-item__content { display: flex; diff --git a/project.private.config.json b/project.private.config.json index f7428af..8f73078 100644 --- a/project.private.config.json +++ b/project.private.config.json @@ -5,6 +5,55 @@ "condition": { "miniprogram": { "list": [ + { + "name": "pages/paymentManager/paymentManager", + "pathName": "pages/paymentManager/toPay/toPay", + "query": "", + "scene": null, + "launchMode": "default" + }, + { + "name": "报账员首页", + "pathName": "pages/index/index_bzy", + "query": "", + "launchMode": "default", + "scene": null + }, + { + "name": "pages/phoneLogin", + "pathName": "pages/phoneLogin", + "query": "", + "launchMode": "default", + "scene": null + }, + { + "name": "pages/majorEvent/add/add", + "pathName": "pages/majorEvent/add/add", + "query": "", + "launchMode": "default", + "scene": null + }, + { + "name": "pages/transaction/transaction", + "pathName": "pages/transaction/transaction", + "query": "", + "launchMode": "default", + "scene": null + }, + { + "name": "pages/discussions/detail/detail", + "pathName": "pages/discussions/detail/detail", + "query": "id=12", + "launchMode": "default", + "scene": null + }, + { + "name": "pages/discussions/detail/detail", + "pathName": "pages/discussions/detail/detail", + "query": "id=5", + "launchMode": "default", + "scene": null + }, { "name": "pages/finance/list_balance_ranking/list_balance_ranking", "pathName": "pages/finance/list_balance_ranking/list_balance_ranking", @@ -240,5 +289,5 @@ }, "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", "projectname": "nsgk_yebz", - "libVersion": "3.7.11" + "libVersion": "3.8.11" } \ No newline at end of file diff --git a/utils/API.js b/utils/API.js index cda2487..1226ab8 100644 --- a/utils/API.js +++ b/utils/API.js @@ -511,6 +511,9 @@ const queryReceiptPhoto8= `/yinnong/receipt/queryReceiptPhoto8/`; //回单18 const queryReceiptPhoto18= `/yinnong/receipt/queryReceiptPhoto18/`; +//回单18 +const queryReceiptPhoto10= `/yinnong/receipt/queryReceiptPhoto10/`; + //验证验证码 const bankReceiptPhoto4sms= `/yinnong/receipt/bankReceiptPhoto4sms`; @@ -648,6 +651,15 @@ const URL_GET_ENTITYLIST = `/entity/entity/list`; //查询主体基本信息列表 const URL_GET_ENTITYDETAIL = `/entity/entity/get/`; +//查询主体基本信息列表 +const URL_GET_VOTELIST = `/subcontract/vote/list`; + +//查询主体基本信息列表 +const URL_GET_VOTEDETAIL = `/subcontract/vote/get/`; + +//查询主体基本信息列表 +const votedetailAdd = `/subcontract/vote/votedetailAdd`; + @@ -880,8 +892,12 @@ export { queryReceiptPhoto6, queryReceiptPhoto8, queryReceiptPhoto18, + queryReceiptPhoto10, bankReceiptPhoto4sms, reapply, URL_GET_ENTITYLIST, - URL_GET_ENTITYDETAIL + URL_GET_ENTITYDETAIL, + URL_GET_VOTELIST, + URL_GET_VOTEDETAIL, + votedetailAdd } \ No newline at end of file