当前位置:   article > 正文

uniapp 请求 添加header 同步读写缓存_uniapp添加header

uniapp添加header

uni.setStorage({
                            key: 'token',
                            data: res[1].data.msg,
                            success: function () {
                                console.log('success');
                            }
                        });
                    
                        _this.$store.commit('SET_TOKEN',res[1].data.msg) //
                        _this.$store.commit('SET_CUSTOMER_NAME',_this.customerName) //
                        _this.$store.commit('SET_CARD_NUMBER',_this.cardNumber) //
                        _this.$store.commit('SET_PHONE',_this.phone) // 

 

 console.log(this.$store.state.user.orgcode)    

  1. const baseurl='/api/'
  2. export function request(path,data,orgcode) {
  3. console.log("request path :" ,path)
  4. //console.log(data)
  5. // console.log("begin get token")
  6. var token =''
  7. uni.getStorage({
  8. key: 'token',
  9. success: function (res) {
  10. //console.log("success get token")
  11. //console.log(res)
  12. token=res.data
  13. },
  14. fail:function(){
  15. console.log("fail get token")
  16. }
  17. });
  18. //console.log("end get token")
  19. console.log("缓存中的token",token)
  20. return uni.request({
  21. url: baseurl+path,
  22. header:{
  23. 'orgcode': '0377000001', //自定义请求头信息
  24. 'reportToken':token
  25. },
  26. method: 'POST',
  27. data: data
  28. })
  29. }
  1. <template>
  2. <view class="login">
  3. <view class="content">
  4. <!-- 头部logo -->
  5. <view class="header">
  6. <image src="/static/yt.png"></image>
  7. </view>
  8. <!-- 主体表单 -->
  9. <view class="main">
  10. <wInput
  11. v-model="customerName"
  12. type="text"
  13. maxlength="11"
  14. placeholder="姓名"
  15. :focus="isFocus"
  16. ></wInput>
  17. <wInput
  18. v-model="cardNumber"
  19. type="text"
  20. maxlength="18"
  21. placeholder="身份证号"
  22. :focus="isFocus"
  23. ></wInput>
  24. <wInput
  25. v-model="phone"
  26. type="text"
  27. maxlength="11"
  28. placeholder="联系电话"
  29. :focus="isFocus"
  30. ></wInput>
  31. <wInput
  32. v-model="verifyCode"
  33. :focus="isFocus"
  34. type="number"
  35. maxlength="6"
  36. placeholder="验证码"
  37. isShowCode
  38. codeText="获取验证码"
  39. setTime="60"
  40. ref="runCode"
  41. @setCode="requestPhoneCode"
  42. ></wInput>
  43. </view>
  44. <wButton
  45. class="wbutton"
  46. text="立 即 查 询"
  47. :rotate="isRotate"
  48. @click="startLogin"
  49. ></wButton>
  50. <!-- 其他登录 -->
  51. <view class="other_login cuIcon">
  52. <view class="login_icon">
  53. <view class="cuIcon-weixin" @tap="login_weixin"></view>
  54. </view>
  55. <view class="login_icon">
  56. <view class="cuIcon-weibo" @tap="login_weibo"></view>
  57. </view>
  58. <view class="login_icon">
  59. <view class="cuIcon-github" @tap="login_github"></view>
  60. </view>
  61. </view>
  62. <!-- 底部信息 -->
  63. <view class="footer">
  64. <navigator url="forget" open-type="navigate">找回密码</navigator>
  65. <text>|</text>
  66. <navigator url="register" open-type="navigate">注册账号</navigator>
  67. </view>
  68. </view>
  69. </view>
  70. </template>
  71. <script>
  72. let _this;
  73. import wInput from '../../components/watch-login/watch-input.vue' //input
  74. import wButton from '../../components/watch-login/watch-button.vue' //button
  75. import {request} from '../../api/request'
  76. export default {
  77. data() {
  78. return {
  79. //logo图片 base64
  80. logoImage: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhAAAAIQCAYAAADQAFeJAAAABHNCSVQICAgIfAhkiAAAIABJREFUeJzt3Xl0FYXd//HPJAEMCQhESJBVhICigihCgCAgFmVRFgEVUavIgwparXvdqlatolipG0hFQRFEERBBNtlRWd2QVUQWEyCAhCRsyfz+qPWnrQghd+53Zu77dY6n5/Gxd97n1Nx8mJk7VwIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACA4nCsA4IgJSWlQXx8fENJDePi4s6QVNV13XKSykpKkpTkOM6JppEAgGPiuu6PkvJ++ivfcZxcST8UFRV9JenroqKir3bu3LnGNDIAGBD/pUqVKmc5jtNcUjNJ5ziO08i6CQBgYoXruiskfeK67qfbt2//wjrIT2J6QFSuXDnNcZyWcXFxzfTvwXCu/n1WAQCA/5Yv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ky6Ot0/ENn4CEJMSExM1cOBALV26VA899JCqVKlinYSAOOWUU/Tcc89p8eLF6tOnD99jgpjFgEBMSUhI0A033KAlS5boL3/5Cw9+wnGrWbOmBg8erMWLF//8CG0gljAgEDN69OihRYsW6ZFHHmE4IGJq1KihF154QTNmzFDz5s2tc4CoYUAg9Nq0aaMZM2bon//8p2rUqGGdg5A644wzNGHCBL399tuqX7++dQ7gOQYEQqtu3boaO3asxowZozPOOMM6BzHi/PPP15w5czR06FClpqZa5wCeYUAgdJKSkvToo4/q448/VuvWra1zEKMuu+wyLVy4UDfddBM3WiKUGBAIld69e2vx4sXq16+fEhJ4zAlsJSUl6YEHHtCcOXPUokUL6xwgohgQCIX09HRNmzZNzz33nCpXrmydA/xK3bp19e6772r48OE6+eSTrXOAiGBAINBOOOEEPfbYY5o7d64aNWpknQP8rs6dO2vZsmW66aabrFOAEmNAILDOO+88zZ8/X9dff711ClAsDzzwgKZNm6Y6depYpwDHjQGBwElKStLgwYM1ceJEVa9e3ToHOC6NGjXSxx9/rFtvvZWbLBFIDAgESuvWrbVw4UL16dPHOgUosdKlS+uee+7RRx99pNNOO806BygWBgQCoWzZsnruuec0duxYPluP0GnYsKFmz56tQYMGWacAx4wBAd8788wzNWfOHPXu3ds6BfDUfffdp9GjRys5Odk6BTgqBgR8y3EcDRo0SB9++CGPoEbMuOCCC/Txxx+rYcOG1inA72JAwJcqV66sCRMm6L777uOBUIg51atX14cffqhrr73WOgU4IgYEfKddu3aaP3++mjVrZp0CmCldurSeeOIJvfLKKypbtqx1DvA/GBDwlRtvvFGjRo3SiSeeaJ0C+MIll1yijz76SDVr1rROAX6FAQFfiIuL0z//+U89+OCDiovjX0vgl+rWrauZM2fq/PPPt04BfsY7NcxVqFBB77//vnr06GGdAvhWuXLlNGbMGP35z3+2TgEkMSBg7NRTT9XMmTPVtGlT6xTA9xzH0R133KG33npLSUlJ1jmIcQwImGnTpo2mTZumatWqWacAgdK2bVvNmDFDp5xyinUKYhgDAiYuu+w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1atXT7Nnz1ZCQoJ1iqndu3erf//+WrBggXUKfOiqq67SY489pjJlylinmJo5c6b69u1rnYFi4AwEPPPiiy/G/HhYsWKF2rZty3jAEY0ePVqdOnXSli1brFNMtW/fXpdddpl1BnyAARHjbrjhhpj/iNbw4cPVpUsXvmobR/X111+rbdu2mjVrlnWKqb/97W98SgVcwohlqampWrx4ccx+J8ChQ4c0cOBATZo0yToFAXTPPffo1ltvtc4ww6WM4OASBiJu6NChMTse9uzZox49ejAecNyefPJJDRo0SIWFhdYpJriUAQZEjOrRo4cyMzOtM0x8//336tSpk5YsWWKdgoAbP368evXqFbNfpvb444/rpJNOss6AEQZEDEpKStJDDz1knWHiP9998O2331qnICQWLVqkzp0764cffrBOibpy5crp/vvvt86AEQZEDLrnnntUuXJl64yomzVrlrp168aXJiHi1q5dqz/84Q9as2aNdUrU9e7dm+/OiVEMiBhTp04d/fGPf7TOiLoxY8boqquu0sGDB61TEFI7d+5Ux44dtXjxYuuUqHv22WetE2CAARFjnnvuOcXHx1tnRNUzzzyj22+/3ToDMSA/P1/du3fXtGnTrFOi6vTTT9e1115rnYEoY0DEkMsuu0xNmza1zoiqxx57TIMHD7bOQIy5/vrr9dFHH1lnRNVf/vIXvjMkxjAgYkTZsmX18MMPW2dE1eOPP64XXnjBOgMxqKioSNdee62mTJlinRI1ycnJ3FAZYxgQMWLQoEEx9eS4xx57TEOHDrXOQIzr379/TJ2JuPzyy1WnTh3rDEQJAyIGpKSkaMCAAdYZUTN06FDOPMAXioqKdP3118fMjZVxcXF68MEHrTMQJQyIGHDHHXfohBNOsM6IismTJ+vxxx+3zgB+VlhYqL59++qbb76xTomKDh066KyzzrLOQBQwIEKuevXqMfO8+gULFsTUmRYER15ennr27BkzD5t65JFHrBMQBQyIkLv33ntj4mObq1at0jXXXKOioiLrFOA35eTkqHfv3tq7d691iueaNWumtm3bWmfAYwyIEEtPT1f37t2tMzy3fft29e7dW/n5+dYpwO9at26drrnmmpj4Aq4HHnjAOgEeY0CEW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lnn22dAhwXBkRIff3115o2bZp1hqeqV6+ukSNHWmcAxVarVi2NGjVKZ5xxhj788EO98MILqlKlinUWUCwMiBAbPHiwXDfcn6Zt2bKlXn75ZesM4JglJSXprbfeUsWKFX/+e927d9eiRYt088038ykjBAYPkgqxHTt26LTTTlN6erp1iqcaNGigMmXKaP78+dYpwO9yHEdvv/22zjrrrP/5/5UuXVqtW7dWjx499M0332jz5s0GhQgjrx4kxRmIkHv66aetE6Ji0KBBuuaaa6wzgN/11FNPKSMj43f/mVq1amn8+PEaPXq0atasGaUyoPg4AxFyOTk5qlevnho0aGCd4rn27dvrm2++0bp166xTgP9x9913q3///sf8z9epU0c33HCDSpUqpWXLloX2AXHwHo+yxnE75ZRTtGjRIuuMqOndu7fmzZtnnQH87KabbtIDDzxw3P/9bdu26W9/+5vee++9CFYhVvAoaxy3jRs3atiwYdYZUTNy5Eg1atTIOgOQJF155ZUlGg+SdPLJJ+uFF17QxIkTdeqpp0aoDCgZzkDEiKSkJC1dulQVKlSwTomKH3/8UZdcconWrl1rnYIY1qVLF73yyitynMi91R4+fFgjR47Uk08+qby8vIi9LsKLMxAokby8PD3xxBPWGVFz4okn6t133w39J1DgX926ddOwYcMiOh4kKSEhQf369dOnn36qK664IqKvDRQHZyBiiOM4mjNnTkz9Ut2zZ4969OihVatWWacghvTu3VtDhgyJ+Hj4LV9//bVuu+02ffnll54fC8HEGQiUmOu6uvvuu60zoqpChQp6//33dc4551inIEb069dPzz33XFTGgyQ1bNhQH330kYYMGaJKlSpF5ZiAxICIOZ988knoH3H938qVK6d33nnnqJ+/B0rqvvvuM/m6ecdxdPnll2vx4sW64YYbFBfHWzu8xyWMGFS9enUtWbLEOsPEgAEDNHHiROsMhNDf//53XX311dYZkqT169frnnvu0cKFC61T4ANeXcLgQVIxaO/evTpw4IBat25tnRJ1nTt3VmFhoT755BPrFIREYmKi3nzzTV1yySXWKT+rVKmSevXqpfr162vp0qXat2+fdRIM8SApRFR8fLzmzJmjunXrWqeYeP/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bUtW7bo2Wef1bhx4/iGT5869dRTddddd6lz586Ki+P2r99z7733auTIkdYZiBAGBMykp6dr2rRpnOY9Bps2bdLgwYM1fvx46xT8JD09XXfeeac6d+5snRII48aN06233mqdgQhiQMBUx44dOU1fDBs2bNArr7yiUaNGWafErEaNGum2225Thw4drFMC48svv1SXLl104MAB6xREEAMC5u666y7ddttt1hmBsnPnTv3rX//SyJEjtXv3buucmNCiRQvdeuutat26tXVKoGRlZalDhw58D0wIMSDgC8OHD+dU8HF6/fXXNXLkSK1evdo6JZS6du2qG264QU2aNLFOCZy8vDx16tRJa9assU6BBxgQ8IVSpUpp0qRJPOK2BD7//HO99dZbevfdd5WXl2edE2gNGjRQnz591L17d57jcJwOHz6s7t27a8mSJdYp8AgDAr5RqVIlTZ8+PSa/JyCS9u/fr4kTJ2rChAmaO3eudU5gVKhQQV27dtWVV16pM8880zon8AYNGsRNvyHHgICv1K1bVx999FGov+I4mnbt2qVp06Zp0qRJmj9/voqKiqyTfKVChQrq3LmzunTpohYtWighIcE6KRSeeuopDRkyxDoDHmNAwHfat2/Ppww88OOPP2r27NmaOnWq5s+frz179lgnmahRo4Zat26tSy+9VJmZmdY5oTNmzBjdfvvt1hmIAgYEfOmKK67Qs88+a50RasuXL9e8efM0b948LV682DrHM+np6WratKmaN2+uzMxMpaamWieF1scff6wrr7zSOgNRwoCAb1199dX6+9//bp0RM5YtW6bPPvtMy5Yt0yeffKKcnBzrpONy5plnqmnTpmrZsqUyMjJUsWJF66SYsHTpUvXq1YvvcIkhDAj4Wr9+/fToo49aZ8SkrKwsff3111q9erVWrVqlNWvW6Ouvv7bO+pWaNWuqRo0aatq06c9nGbh/Jvq++OILde/enU//xBgGBHzv5ptv1v3332+dgZ98//332rRpkzZt2qTvvvtO33//vbZu3aqdO3fq+++/j9hxTjrpJFWrVk3VqlXTySefrLS0NNWsWfPnv8elCH/4+uuv1a1bN+Xm5lqnIMoYEAiE22+/XXfeead1Bo5BQUGBdu7cqaysLB0+fLhY/13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67reu6960ffv2j6xbIiVUA+InZVJTU+9wHOc+SWWtYwAAMS3fdd0nsrOzn5aPnyp5PMI4ICRJ5cqVOykxMfFGx3FudBynqnUPACCmfO+67kv5+fmv5ubm7rSO8UJoB8QvlKpcufKl8fHxt0jKtI4BAITafEn/zMrKeldSoXWMl2JhQPwsNTX1TMdxbpd0haQy1j0AgFDId133TUlDs7Ozv7SOiZaYGhC/EJeamtpWUh9JPRzHKW8dBAAIDtd19zqO815RUdFb27dvn6UAfHdFpMXqgPilE1JTU1tKutBxnPau657tOE7gP94KAIgc13ULJS2VNNNxnJlZWVmLJB00zjLFgPgv5cuXr1SmTJl2cXFxFzqO00RSHUmVrLsAAFG1S9K3kj4rKiqaeejQodm7d+/+0TrKTxgQx6BSpUrlExISTpF0iuM4tSWl/fTJjso//VXlp//kaZgA4G8FknZI2v7Tf+5wXfcHSVmu634naePhw4c37tq1a69hIwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACE0P8DU+fwQJkM0eMAAAAASUVORK5CYII=',
  81. phoneData:'', //用户/电话
  82. passData:'', //密码
  83. customerName:'',
  84. cardNumber:'',
  85. phone:'',
  86. verifyCode:'',
  87. isRotate: false, //是否加载旋转
  88. isFocus: true, // 是否聚焦
  89. orgcode:''
  90. };
  91. },
  92. components:{
  93. wInput,
  94. wButton,
  95. },
  96. mounted() {
  97. _this= this;
  98. //this.isLogin();
  99. },
  100. methods: {
  101. isLogin(){
  102. //判断缓存中是否登录过,直接登录
  103. // try {
  104. // const value = uni.getStorageSync('setUserData');
  105. // if (value) {
  106. // //有登录信息
  107. // console.log("已登录用户:",value);
  108. // _this.$store.dispatch("setUserData",value); //存入状态
  109. // uni.reLaunch({
  110. // url: '../../../pages/index',
  111. // });
  112. // }
  113. // } catch (e) {
  114. // // error
  115. // }
  116. },
  117. startLogin(e){
  118. console.log(e)
  119. //登录
  120. if(this.isRotate){
  121. //判断是否加载中,避免重复点击请求
  122. return false;
  123. }
  124. if (this.customerName.length == "") {
  125. uni.showToast({
  126. icon: 'none',
  127. position: 'bottom',
  128. title: '用户名不能为空'
  129. });
  130. return;
  131. }
  132. if (this.cardNumber.length < 10) {
  133. uni.showToast({
  134. icon: 'none',
  135. position: 'bottom',
  136. title: '身份证不正确'
  137. });
  138. return;
  139. }
  140. if (this.phone.length < 10) {
  141. uni.showToast({
  142. icon: 'none',
  143. position: 'bottom',
  144. title: '联系电话不正确'
  145. });
  146. return;
  147. }
  148. if (this.verifyCode.length < 4) {
  149. uni.showToast({
  150. icon: 'none',
  151. position: 'bottom',
  152. title: '验证码无效'
  153. });
  154. return;
  155. }
  156. //console.log("登录成功")
  157. _this.isRotate=true
  158. /*setTimeout(function(){
  159. _this.isRotate=false
  160. },3000)*/
  161. uni.showLoading({
  162. title: '登录中'
  163. });
  164. request('tj/phone_report/verify_code',
  165. {
  166. customerName:_this.customerName,
  167. cardNumber:_this.cardNumber,
  168. phone:_this.phone,verifyCode:_this.verifyCode,
  169. },
  170. _this.orgcode)
  171. .then(res => {
  172. console.log("res[1].data.msg",res[1].data.msg)
  173. console.log('success');
  174. if(res[1].data.code==200)
  175. {
  176. uni.setStorage({
  177. key: 'token',
  178. data: res[1].data.msg,
  179. success: function () {
  180. console.log('success');
  181. }
  182. });
  183. _this.$store.commit('SET_TOKEN',res[1].data.msg) //
  184. _this.$store.commit('SET_CUSTOMER_NAME',_this.customerName) //
  185. _this.$store.commit('SET_CARD_NUMBER',_this.cardNumber) //
  186. _this.$store.commit('SET_PHONE',_this.phone) //
  187. console.log('200')
  188. uni.reLaunch({
  189. url: '/pages/index/index',
  190. });
  191. }else
  192. {
  193. uni.showToast({
  194. icon: 'error',
  195. position: 'bottom',
  196. title: res[1].data.msg
  197. });
  198. }
  199. //简单验证下登录(不安全)
  200. /*
  201. if((res.data.data!=null)&&(res.data.data.length>0)){
  202. _this.$store.commit('SET_HISS',res.data.data) //存入体检记录
  203. try {
  204. //uni.setStorageSync('setUserData', userdata); //存入缓存
  205. } catch (e) {
  206. // error
  207. }
  208. uni.showToast({
  209. icon: 'success',
  210. position: 'bottom',
  211. title: '登录成功'
  212. });
  213. uni.reLaunch({
  214. url: '/pages/index/index',
  215. });
  216. }else{
  217. _this.passData=""
  218. uni.showToast({
  219. icon: 'error',
  220. position: 'bottom',
  221. title: '账号或密码错误'
  222. });
  223. }
  224. */
  225. uni.hideLoading();
  226. }).catch(err => {
  227. console.log('request fail', err);
  228. uni.showModal({
  229. content: err.errMsg,
  230. showCancel: false
  231. });
  232. uni.hideLoading();
  233. })
  234. _this.isRotate=false
  235. },
  236. login_weixin() {
  237. //微信登录
  238. uni.showToast({
  239. icon: 'none',
  240. position: 'bottom',
  241. title: '...'
  242. });
  243. },
  244. login_weibo() {
  245. //微博登录
  246. uni.showToast({
  247. icon: 'none',
  248. position: 'bottom',
  249. title: '...'
  250. });
  251. },
  252. login_github() {
  253. //github登录
  254. uni.showToast({
  255. icon: 'none',
  256. position: 'bottom',
  257. title: '...'
  258. });
  259. },
  260. requestPhoneCode(){
  261. if (this.customerName.length == "") {
  262. uni.showToast({
  263. icon: 'none',
  264. position: 'bottom',
  265. title: '用户名不能为空'
  266. });
  267. return;
  268. }
  269. if (this.cardNumber.length < 10) {
  270. uni.showToast({
  271. icon: 'none',
  272. position: 'bottom',
  273. title: '身份证不正确'
  274. });
  275. return;
  276. }
  277. //获取验证码
  278. if (_this.phone.length != 11) {
  279. uni.showToast({
  280. icon: 'none',
  281. position: 'bottom',
  282. title: '手机号不正确'
  283. });
  284. return false;
  285. }
  286. console.log("获取验证码")
  287. request('tj/phone_report/send_verify_code?phone='+_this.phone,
  288. {customerName:_this.customerName,
  289. cardNumber:_this.cardNumber,
  290. phone:_this.phone},null).then(res=>{
  291. }).catch(err=>{
  292. })
  293. this.$refs.runCode.$emit('runCode'); //触发倒计时(一般用于请求成功验证码后调用)
  294. /*uni.showToast({
  295. icon: 'none',
  296. position: 'bottom',
  297. title: '模拟倒计时触发'
  298. });*/
  299. /*setTimeout(function(){
  300. _this.$refs.runCode.$emit('runCode',0); //假装模拟下需要 终止倒计时
  301. uni.showToast({
  302. icon: 'none',
  303. position: 'bottom',
  304. title: '模拟倒计时终止'
  305. });
  306. },3000)*/
  307. }
  308. },
  309. onLoad: function (option) { //option为object类型,会序列化上个页面传递的参数
  310. console.log(option.orgcode)
  311. this.orgcode=option.orgcode
  312. this.$store.commit('SET_ORGCODE',this.orgcode)
  313. console.log(this.$store.state.user.orgcode)
  314. },
  315. created() {
  316. // uni.$on('setCode', this.recive)
  317. },
  318. beforeDestroy() {
  319. // uni.$off('setCode',this.recive)
  320. },
  321. }
  322. </script>
  323. <style>
  324. @import url("../../components/watch-login/css/icon.css");
  325. @import url("./css/main.css");
  326. </style>

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/喵喵爱编程/article/detail/858487
推荐阅读
相关标签
  

闽ICP备14008679号